If you need now of this functionality I have create a simple soe where you can return measure M or create a point from M. http://www.arcgis.com/home/item.html?id=e3bfa7c991e34aa8872c937ca9169507
I also have added the test project (live) in js api esri.
Live:http://www.studioat.eu/js/samples/dsutility/
Given the latest version of ArcGIS Server and the latest Javascript API, what is the best method to 1) get measures down an m polyline based on a user click on the line and 2) dynamically displaying point values on a polyline based on a table of measured events down that line?
You can use my soe for get measures down an m polyline based on a user click on the line. For dynamically displaying point values on a polyline based on a table of measured events down that line depends if you have yet set in service this configuration or you need create on the fly the table and create the visualization on the fly. For this second approch I use a my soe. Esri has an Extension Desktop and Server for manager LRS http://desktop.arcgis.com/en/desktop/latest/guide-books/extensions/roads-and-highways/esri-roads-and-highways-for-server.htm see also: http://blogs.esri.com/esri/arcgis/2011/08/19/a-server-object-extension-for-performing-dynamic-segmentation/
Thank you...we loaded your soe onto our server with no issues and it is working well for us. It is exactly what we needed. Great job on this extension.
The dynamic segmentation utility has been very helpful. It seems, though, that the routeMeasureUnit parameter is not affecting the output at all. I can enter esriMeters or esriMiles and I get the same output. Does the service default to esriMeters? Have you seen this same behavior in your use of the utility?
Thanks,
Steve
Yes, I have same behavior. In code I have checked and I set the routeMeasureUnit correctly but there's something I don't get! Peraphs I need get unit of spatial reference and convert manually unit but in these case I don't understand use of the property routeMeasureUnit
Les membres connectés peuvent publier, suivre les mises à jour, et plus encore. Nouveau ici ? Inscrivez-vous gratuitement.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.