<?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 Re: Polygons crossing the 180 meridian in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/polygons-crossing-the-180-meridian/m-p/128362#M3206</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/silverlight-api/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Geometry.Geometry~NormalizeCentralMeridian.html"&gt;NormalizeCentralMeridian &lt;/A&gt;&lt;SPAN&gt;method transforms a geometry to stay within the -180/+180 extent.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In case of a polyline or polygon crossing the dateline, the result is a polyline with 2 paths (and respectively a polygon with 2 rings), one close to -180 and the other close to +180 longitude.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can look at the&lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/silverlight-api/samples/start.htm#MapExtent"&gt; ShowMapExtent sample &lt;/A&gt;&lt;SPAN&gt;which uses the method NormalizeCentralMeridian.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Most generally you don't need to normalize a geometry for working at client side. More useful for the storage at server side.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 13 Feb 2013 11:23:33 GMT</pubDate>
    <dc:creator>DominiqueBroux</dc:creator>
    <dc:date>2013-02-13T11:23:33Z</dc:date>
    <item>
      <title>Polygons crossing the 180 meridian</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/polygons-crossing-the-180-meridian/m-p/128357#M3201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I am trying to display a set of polygons (rectangles) that cross the 180 meridian.&amp;nbsp; However instead of showing up as crossing the 180 meridian, they all show up as a very wide rectangle that goes the "other way" around the map.&amp;nbsp; It's as if east and west are reversed when the polygons cross the dateline.&amp;nbsp; Is this a known issue?&amp;nbsp; I currently have v2.4 of the API.&amp;nbsp; Is this fixed in a later version if it is an issue in 2.4?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 28 Jan 2013 13:27:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/polygons-crossing-the-180-meridian/m-p/128357#M3201</guid>
      <dc:creator>TraceyRichvalsky</dc:creator>
      <dc:date>2013-01-28T13:27:22Z</dc:date>
    </item>
    <item>
      <title>Re: Polygons crossing the 180 meridian</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/polygons-crossing-the-180-meridian/m-p/128358#M3202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;How is created your polygon?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If all X coordinates of your polygon are between -180 and 180, your polygon will not cross the date line (except if your polygon has been normalized and contains multi rings).&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 06 Feb 2013 15:23:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/polygons-crossing-the-180-meridian/m-p/128358#M3202</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2013-02-06T15:23:24Z</dc:date>
    </item>
    <item>
      <title>Re: Polygons crossing the 180 meridian</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/polygons-crossing-the-180-meridian/m-p/128359#M3203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Say I make a polygon from the following points:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NE point: Lat 45, Lon -178 (east of the meridian)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SE point: Lat 40, Lon -178&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;SW point: Lat 40, Lon 176 (west of the meridian)j&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NW point: Lat 45, Lon 176&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NE point: Lat 45, Lon -178 (to join to the original point and complete the polygon)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It should cross the meridian, but instead it goes the other way around the globe.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Feb 2013 17:38:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/polygons-crossing-the-180-meridian/m-p/128359#M3203</guid>
      <dc:creator>TraceyRichvalsky</dc:creator>
      <dc:date>2013-02-11T17:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: Polygons crossing the 180 meridian</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/polygons-crossing-the-180-meridian/m-p/128360#M3204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;To cross the meridian, you need either to use X coordinates &amp;lt; -180 or &amp;gt; 180, or you need to create 2 rings for your geometry.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In your case:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;NE point: Lat 45, Lon 182 (east of the meridian)&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; SE point: Lat 40, Lon 182&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; SW point: Lat 40, Lon 176 (west of the meridian)j&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; NW point: Lat 45, Lon 176&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; NE point: Lat 45, Lon 182 (to join to the original point and complete the polygon)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Then you can normalize that geometry and you'll get 2 rings.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2013 08:12:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/polygons-crossing-the-180-meridian/m-p/128360#M3204</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2013-02-12T08:12:46Z</dc:date>
    </item>
    <item>
      <title>Re: Polygons crossing the 180 meridian</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/polygons-crossing-the-180-meridian/m-p/128361#M3205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thank you - that helps a great deal!&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Could you please explain your last statement though?&amp;nbsp; "Then you can normalize that geometry and you'll get 2 rings."&amp;nbsp; I'm not sure how to do that or what effect it would have.&amp;nbsp; Thanks!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 11:04:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/polygons-crossing-the-180-meridian/m-p/128361#M3205</guid>
      <dc:creator>TraceyRichvalsky</dc:creator>
      <dc:date>2013-02-13T11:04:32Z</dc:date>
    </item>
    <item>
      <title>Re: Polygons crossing the 180 meridian</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/polygons-crossing-the-180-meridian/m-p/128362#M3206</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;The &lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/silverlight-api/apiref/ESRI.ArcGIS.Client~ESRI.ArcGIS.Client.Geometry.Geometry~NormalizeCentralMeridian.html"&gt;NormalizeCentralMeridian &lt;/A&gt;&lt;SPAN&gt;method transforms a geometry to stay within the -180/+180 extent.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;In case of a polyline or polygon crossing the dateline, the result is a polyline with 2 paths (and respectively a polygon with 2 rings), one close to -180 and the other close to +180 longitude.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You can look at the&lt;/SPAN&gt;&lt;A href="http://resources.arcgis.com/en/help/silverlight-api/samples/start.htm#MapExtent"&gt; ShowMapExtent sample &lt;/A&gt;&lt;SPAN&gt;which uses the method NormalizeCentralMeridian.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Most generally you don't need to normalize a geometry for working at client side. More useful for the storage at server side.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2013 11:23:33 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/polygons-crossing-the-180-meridian/m-p/128362#M3206</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2013-02-13T11:23:33Z</dc:date>
    </item>
  </channel>
</rss>

