+ Reply to Thread
Results 1 to 4 of 4

Thread: How do I connect to StreetMaps without Desktop?

  1. #1
    Andrew Weisensel
    Join Date
    Feb 2012
    Posts
    11
    Points
    1
    Answers Provided
    0


    0

    Default How do I connect to StreetMaps without Desktop?

    Hello,

    We've been informed that we can run Network Analyst connecting to StreetMaps Premium through ArcGIS Engine alone. So far the only references I have been able to find give me the impression that StreetMaps can only be accessed through ArcGIS Desktop or ArcGIS Server. Is this true? We are building a stand alone application written in C# that does not display any maps and utilizes the Network Analyst to perform routing calculations. So far we have successfully done this with various sample files, however I have yet to locate a way to connect to the StreetMaps to utilize the streets network dataset. Any help in this matter would be greatly appreciated.

    Thank you.

  2. #2
    Alexey Tereshenkov

    Join Date
    Apr 2010
    Posts
    889
    Points
    407
    Answers Provided
    56


    1

    Default Re: How do I connect to StreetMaps without Desktop?

    Andrew,

    You are right. Developers can use the StreetMap application programming interface (API) to run routing using the StreetMap Premium dataset which is essentially a .sdc (Smart Data Compression) street dataset. You can find StreetMap objects in the ESRI.ArcGIS.DataSourcesFile namespace.

    I am not sure if this interface from ArcObjects will be available in ArcGIS Engine (which is basically ArcObjects with the ArcGIS GUI objects removed). Let's wait what other folk say since this is not directly my area of expertise. Meanwhile, take a look at this sample if you did not yet. Maybe it will help you to move forward.

    Here is the sample on routing with StreetMap Premium data: http://help.arcgis.com/en/sdk/10.0/a...000039s000000/ with ArcObjects.
    Please use the new "Mark as Answer" and "Rate Post" buttons to the right hand side of the posts.
    • You help others searching this forum to find the answer directly.
    • You give credit to the folks who answer your questions.
    • You help to track unanswered questions.

  3. #3
    Alan Hatakeyama
    Join Date
    Feb 2010
    Posts
    123
    Points
    30
    Answers Provided
    5


    1
    This post is marked as the answer

    Default Re: How do I connect to StreetMaps without Desktop?

    Hi Andrew,

    Data in SDC format, like StreetMap data, can be accessed using not only the StreetMap API (as Alexey pointed out), but also using the Network Analyst API in ArcObjects.

    You may want to get started by first taking a look at "How to setup, solve, and save a network analysis problem" in the ArcObjects SDK. Note that this walkthrough demonstrates using a File Geodatabase, but the only code that changes when using SDC data is how to open the network dataset -- see "How to open a network dataset" to see the differences.

    There's also a sample that does this all as a standalone Engine application.

    Hopefully these should get you going in the right direction. Let us know if you have any further questions.


    Alan

    P.S., You may also want to post questions about using Network Analyst in the Network Analyst forum.
    Last edited by ahatakeyama; 03-09-2012 at 09:56 AM. Reason: Provide a link to the Network Analyst forum

  4. #4
    Andrew Weisensel
    Join Date
    Feb 2012
    Posts
    11
    Points
    1
    Answers Provided
    0


    0

    Default Re: How do I connect to StreetMaps without Desktop?

    Thanks for the responses. Ironically I had visited the links in both responses before my posting and was still having issues. Revisiting the How to open a network dataset link however got me to my resolution. I once again found myself with what I believed to be an issue of opening the workspace where the StreetMaps SDC was located. Turns out that it wasn't so much an issue of opening that workspace as it was unable to locate the tables and feature classes in the geodatabase. The solution I found was two different workspaces that directed to each individual file path to properly access the files needed for each step of the Network Analyst.

    Thanks for helping me get past my hurdle!

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts