I am trying to work with M values in the Silverlight API.

I gather that the IdentifyParameters would be used to identify a milepost by clicking along the line, but what would I use to query an M value so the app could zoom to it upon a user-entered value?

To be clear, I am looking for a function quite like an address locator, but for M values.

  • The topic to look for is linear referencing and there are existing Q&As here (gis.stackexchange.com/questions/4012/… and gis.stackexchange.com/questions/6660/…) but I am not sure if either provide a solution.
    – PolyGeo
    Sep 21, 2014 at 2:56
  • Thanks, @PolyGeo. I think you referenced my own post in that first link, but I have seen the second one. It's a few years old. I have a feeling that solution is unnecessary since M values are supported at ArcGIS for Silverlight 3. I just don't know how in this particular instance.
    – deepblue6
    Sep 21, 2014 at 6:01
  • Oops - I've modified the link to put the one I meant instead but as you say if M values are supported in the ArcGIS API for Silverlight now then it sounds like it is just a case of needing an answer on how to use them.
    – PolyGeo
    Sep 21, 2014 at 6:09
  • Thanks again, @PolyGeo. I see the first link now. I think I can do this without a server call or geoprocessing service, etc. As I mentioned in the original question, it looks like Identify returns M values: click on the line and it returns the milepost. However, I need the opposite: give a milepost and the app will show the point along the line.
    – deepblue6
    Sep 21, 2014 at 6:16
  • Yep - that's linear referencing (aka dynamic segmentation and previously chainage) in ArcGIS for Desktop terminology. Unfortunately, I do not have ArcGIS API skills to help with this one.
    – PolyGeo
    Sep 21, 2014 at 6:19


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.