<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Polyline midpoint in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/polyline-midpoint/m-p/197633#M927</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Using the rest api, I need to return a polyline feature and find the midpoint of the line.&amp;nbsp; It does not appear the api currently has any methods to return centroid or midpoints.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone have any thoughts on this ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 05 Feb 2013 19:57:35 GMT</pubDate>
    <dc:creator>Chula_VistaGIS</dc:creator>
    <dc:date>2013-02-05T19:57:35Z</dc:date>
    <item>
      <title>Polyline midpoint</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/polyline-midpoint/m-p/197633#M927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Using the rest api, I need to return a polyline feature and find the midpoint of the line.&amp;nbsp; It does not appear the api currently has any methods to return centroid or midpoints.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Does anyone have any thoughts on this ?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Bob&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2013 19:57:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/polyline-midpoint/m-p/197633#M927</guid>
      <dc:creator>Chula_VistaGIS</dc:creator>
      <dc:date>2013-02-05T19:57:35Z</dc:date>
    </item>
    <item>
      <title>Re: Polyline midpoint</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/polyline-midpoint/m-p/197634#M928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;if it isn't available via rest or api js you can: create soe (in ao use QueryPoint&amp;nbsp; for example) or gp or do it client side (see for example &lt;/SPAN&gt;&lt;A href="http://stackoverflow.com/questions/8542835/polyline-label-positioning-algorithm"&gt;http://stackoverflow.com/questions/8542835/polyline-label-positioning-algorithm&lt;/A&gt;&lt;SPAN&gt; )&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2013 18:09:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/polyline-midpoint/m-p/197634#M928</guid>
      <dc:creator>nicogis</dc:creator>
      <dc:date>2013-02-06T18:09:22Z</dc:date>
    </item>
    <item>
      <title>Re: Polyline midpoint</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/polyline-midpoint/m-p/197635#M929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;You can also calculate the mid point at client side, see this&lt;/SPAN&gt;&lt;A href="http://broux.dominique.free.fr/Silverlight/InteractiveSDK/Default.htm#LinearReferencing"&gt; LinearReferencing sample &lt;/A&gt;&lt;SPAN&gt;using the Silverlight/WPF API (midpoint is a particular case that you can get by: var midPoint = line.LinearPosition(line.Length()/2); )&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 11:32:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/polyline-midpoint/m-p/197635#M929</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2013-02-13T11:32:41Z</dc:date>
    </item>
  </channel>
</rss>

