2 Replies Latest reply on Mar 9, 2012 11:22 AM by platinumdesign

    How do I connect to StreetMaps without Desktop?


      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.
        • Re: How do I connect to StreetMaps without Desktop?

          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/arcobjects_net/conceptualhelp/index.html#/Sample_StreetMap_routing/00010000039s000000/ with ArcObjects.
          • 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!