Esri / route-planner-csharp

Routing and scheduling sample application using arcgis.com directions (network analysis) services.
Apache License 2.0
31 stars 37 forks source link

How Rebuild the solution? #26

Open dropyghost opened 8 years ago

dropyghost commented 8 years ago

I follow the requirement on the main page

But still getting some errors.

image

What are the proper step to Rebuld the Solution. I just want change the app to use my road network.

rConger commented 8 years ago

You don’t need to rebuild the app to use your own road network. Just use your network to publish route and VRP services and point to your services in services.xml.

-Rodney

From: dropyghost [mailto:notifications@github.com] Sent: Wednesday, March 09, 2016 07:45 To: Esri/route-planner-csharp Subject: [route-planner-csharp] How Rebuild the solution? (#26)

I follow the requirement on the main page

But still getting some errors.

[image]https://urldefense.proofpoint.com/v2/url?u=https-3A__cloud.githubusercontent.com_assets_10077853_13640701_f0319e3a-2De5e7-2D11e5-2D9207-2De63693b850f9.png&d=CwMCaQ&c=n6-cguzQvX_tUIrZOS_4Og&r=-A4AYYiEJOVeNWm0UFk04A&m=tPw57oJWuIrYHH_XRRDHQzmCB-waj155-L84UDv27fo&s=qAcZJt8mWUqUo7JUFCwrjbKonDJXl42-6-KZ8Ztxn0U&e=

What are the proper step to Rebuld the Solution. I just want change the app to use my road network.

— Reply to this email directly or view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Esri_route-2Dplanner-2Dcsharp_issues_26&d=CwMCaQ&c=n6-cguzQvX_tUIrZOS_4Og&r=-A4AYYiEJOVeNWm0UFk04A&m=tPw57oJWuIrYHHXRRDHQzmCB-waj155-L84UDv27fo&s=WIJ3N3VQ6rFvevIQYiUYv5PdmlRN-G881ZHE5qucfI&e=.

dropyghost commented 8 years ago

I install the prebuild version and doesnt have a services.xml file there. Also beside road network can I change setting to also use my maps?

C:\Program Files (x86)\RoutePlanner

image

rConger commented 8 years ago

Yes, all of this is in services.xml. C:\Program Data\RoutePlanner\services.xml

BTW, Program Data is a hidden directory by default.

From: dropyghost [mailto:notifications@github.com] Sent: Wednesday, March 09, 2016 08:12 To: Esri/route-planner-csharp Cc: Rodney Conger Subject: Re: [route-planner-csharp] How Rebuild the solution? (#26)

I install the prebuild version and doesnt have a services.xml file there. Also beside road network can I change setting to also use my maps?

C:\Program Files (x86)\RoutePlanner

[image]https://urldefense.proofpoint.com/v2/url?u=https-3A__cloud.githubusercontent.com_assets_10077853_13641767_df00cf74-2De5eb-2D11e5-2D9f0f-2D266ea5b8de09.png&d=CwMCaQ&c=n6-cguzQvX_tUIrZOS_4Og&r=-A4AYYiEJOVeNWm0UFk04A&m=XPKHJgiqOhFMhteAc1pmT3CxrG29WPWBQmHCPumfm5A&s=ejAY-dM-maPp80MsfDiVD10RNJDW__LjI3dFvBNU8zQ&e=

— Reply to this email directly or view it on GitHubhttps://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_Esri_route-2Dplanner-2Dcsharp_issues_26-23issuecomment-2D194368709&d=CwMCaQ&c=n6-cguzQvX_tUIrZOS_4Og&r=-A4AYYiEJOVeNWm0UFk04A&m=XPKHJgiqOhFMhteAc1pmT3CxrG29WPWBQmHCPumfm5A&s=FP1s5G5V5wh6J1jbAmOmYenDsj3LCDkc7j4R6MmX9_E&e=.

dropyghost commented 8 years ago

I change the file C:\ProgramData\RoutePlanner\services.xml and try replace the street and satellite map,I save the changes and restart the app. but didnt see any change or error, and still show same maps like is reading it from somewhere else or from a cached version.

Im using my service

http://xxx.xx.xx.xx/arcgis/rest/services/Capas/CA/MapServer?f=jsapi

    <service type="ArcGISCached" server="server.arcgisonline.com" basemap="true" visible="true">
      <name>Streets</name>
      <title>StreetMap World 2D</title>
      <soapurl>https://server.arcgisonline.com/arcgis/services/World_Street_Map/MapServer</soapurl>
      <opacity>1</opacity>
    </service>
    <service type="ArcGISCached" server="server.arcgisonline.com" basemap="true" visible="false">
      <name>Satellite</name>
      <title>Imagery World 2D</title>      
      <soapurl>https://server.arcgisonline.com/arcgis/services/World_Imagery/MapServer</soapurl>
      <opacity>1</opacity>
    </service>

Also looks like my map service is a different format/type as the one is beign used by planner.

My Map

image

ArcGis

image

So how I know if Im replacing the map service correctly and what format should I publish my map?