Select to view content in your preferred language

Visualizing Linear Referencing or Polyline M

3463
4
11-11-2013 05:14 AM
FabioAlmeida
New Contributor
Hello,

I would like to know if anyone has created some javascript code using esri libraries to visualize polylines M, for example in my case

I am accessing map layer for roads which show points as milepost?

Thanks anyway,

Fabio
0 Kudos
4 Replies
KaitlynnDavis
Regular Contributor
Do any of these samples provide the functionality you're looking for? If so, you might want to look into purchasing the Roads and Highways extension for ArcGIS Server

http://roadsandhighwayssample.esri.com/roads/samples/
0 Kudos
FabioAlmeida
New Contributor
Do any of these samples provide the functionality you're looking for? If so, you might want to look into purchasing the Roads and Highways extension for ArcGIS Server

http://roadsandhighwayssample.esri.com/roads/samples/


Hi Kait,

Yes, they do. Thanks very much. That is exactly what I need to implement, LRSServer extension.

So, Is Linear Referencing included in the Roads and Highways Extension? or Can I buy only Linear Referencing extension?

How does this work?

Thanks,

Fabio
0 Kudos
KaitlynnDavis
Regular Contributor
The Roads and Highways Extension for ArcGIS Server is the only way that you can add the Linear Referencing REST services to your web apps. Once you publish a map with linear referencing enabled, you then use the Roads and Highways REST API to write service calls into your JavaScript code.

Here's some documentation for it http://resources.arcgis.com/en/help/main/10.2/index.html#/Esri_Roads_and_Highways_for_Server_overvie...

We had considered purchasing it at our organization, but given the price we are delaying it until we have more web apps that could benefit from linear referencing capabilities. Roads and Highways seems most suitable for state transportation departments, but ultimately your best bet is to figure out how many of your web projects are in need of this extension and then contact an esri sales rep

There is another option also. You could create your own server object extension (SOE) using ArcObjects SDK for .NET or Java if you have it, but you would also have to have someone who knows server side programming. Here is a blog post that outlines the steps: http://blogs.esri.com/esri/arcgis/2011/08/19/a-server-object-extension-for-performing-dynamic-segmen...
0 Kudos
nicogis
MVP Frequent Contributor
0 Kudos