Open dropyghost opened 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.
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=.
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
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
— 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=.
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
ArcGis
So how I know if Im replacing the map service correctly and what format should I publish my map?
I follow the requirement on the main page
But still getting some errors.
What are the proper step to Rebuld the Solution. I just want change the app to use my road network.