<?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: Geographic coordinate to MapPoint in ArcGIS Pro SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/geographic-coordinate-to-mappoint/m-p/769554#M558</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;I created a MapPoint then used this code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; coords = &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-family: Consolas; font-size: small;"&gt;GeometryEngine&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;.Project(theMapPoint, &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-family: Consolas; font-size: small;"&gt;SpatialReferences&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;.WGS84) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-family: Consolas; font-size: small;"&gt;MapPoint&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;;&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; _pointSymbol = &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;SymbolFactory&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;.ConstructPointSymbol(&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;ColorFactory&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;.RedRGB, 6, &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;SimpleMarkerStyle&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;.Circle);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;AddOverlayAsync(coords, _pointSymbol.MakeSymbolReference());&lt;/P&gt;&lt;P&gt;ActiveMapView.ZoomTo(theMapPoint);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Jan 2017 21:12:47 GMT</pubDate>
    <dc:creator>DuaneWhistle</dc:creator>
    <dc:date>2017-01-23T21:12:47Z</dc:date>
    <item>
      <title>Geographic coordinate to MapPoint</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/geographic-coordinate-to-mappoint/m-p/769551#M555</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I'm trying to locate on the map a geographic coordinate. I haven't been able to find a ProSnippet,&amp;nbsp;arcgis pro sdk community samples or any other example that can give me clues on how to do it.&lt;A href="https://community.esri.com/t5/tag/arcgisprosdk/tg-p"&gt;#arcgisprosdk&lt;/A&gt; &lt;A href="https://community.esri.com/t5/tag/csharp/tg-p"&gt;#csharp&lt;/A&gt; &lt;A href="https://community.esri.com/t5/tag/addin/tg-p"&gt;#addin&lt;/A&gt; &lt;A href="https://community.esri.com/t5/tag/coordinate/tg-p"&gt;#coordinate&lt;/A&gt;‌ &lt;A href="https://community.esri.com/t5/tag/mappoint/tg-p"&gt;#mappoint&lt;/A&gt;‌&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 18:57:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/geographic-coordinate-to-mappoint/m-p/769551#M555</guid>
      <dc:creator>andresarias</dc:creator>
      <dc:date>2017-01-23T18:57:10Z</dc:date>
    </item>
    <item>
      <title>Re: Geographic coordinate to MapPoint</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/geographic-coordinate-to-mappoint/m-p/769552#M556</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andreas, can you be more specific please? You want to....zoom, pan to the location, select something at a location, show a dot (or similar) on a map "at" the location or...?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 20:05:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/geographic-coordinate-to-mappoint/m-p/769552#M556</guid>
      <dc:creator>CharlesMacleod</dc:creator>
      <dc:date>2017-01-23T20:05:30Z</dc:date>
    </item>
    <item>
      <title>Re: Geographic coordinate to MapPoint</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/geographic-coordinate-to-mappoint/m-p/769553#M557</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am creating a tool that would zoom in on specific geographic points. My idea is to have the list of geographic points with their geographic coordinates which the tool should convert to the current map mappoints, but as said I'm a bit clueless on how to go about.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 20:33:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/geographic-coordinate-to-mappoint/m-p/769553#M557</guid>
      <dc:creator>andresarias</dc:creator>
      <dc:date>2017-01-23T20:33:22Z</dc:date>
    </item>
    <item>
      <title>Re: Geographic coordinate to MapPoint</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/geographic-coordinate-to-mappoint/m-p/769554#M558</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;I created a MapPoint then used this code:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; coords = &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-family: Consolas; font-size: small;"&gt;GeometryEngine&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;.Project(theMapPoint, &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-family: Consolas; font-size: small;"&gt;SpatialReferences&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;.WGS84) &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-family: Consolas; font-size: small;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-family: Consolas; font-size: small;"&gt;MapPoint&lt;/SPAN&gt;&lt;SPAN style="font-family: Consolas; font-size: small;"&gt;;&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt; _pointSymbol = &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;SymbolFactory&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;.ConstructPointSymbol(&lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;ColorFactory&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;.RedRGB, 6, &lt;/SPAN&gt;&lt;SPAN style="color: #2b91af; font-size: small; font-family: Consolas;"&gt;SimpleMarkerStyle&lt;/SPAN&gt;&lt;SPAN style="font-size: small; font-family: Consolas;"&gt;.Circle);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;AddOverlayAsync(coords, _pointSymbol.MakeSymbolReference());&lt;/P&gt;&lt;P&gt;ActiveMapView.ZoomTo(theMapPoint);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 21:12:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/geographic-coordinate-to-mappoint/m-p/769554#M558</guid>
      <dc:creator>DuaneWhistle</dc:creator>
      <dc:date>2017-01-23T21:12:47Z</dc:date>
    </item>
    <item>
      <title>Re: Geographic coordinate to MapPoint</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/geographic-coordinate-to-mappoint/m-p/769555#M559</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is theMapPoint? Is it a point selected from the map? If so, that's not what I need. I need a way to convert geographic coordinates into MapPoints.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 21:40:00 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/geographic-coordinate-to-mappoint/m-p/769555#M559</guid>
      <dc:creator>andresarias</dc:creator>
      <dc:date>2017-01-23T21:40:00Z</dc:date>
    </item>
    <item>
      <title>Re: Geographic coordinate to MapPoint</title>
      <link>https://community.esri.com/t5/arcgis-pro-sdk-questions/geographic-coordinate-to-mappoint/m-p/769556#M560</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andreas, might I suggest starting here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create MapPoint&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/esri/arcgis-pro-sdk/wiki/ProSnippets-Geometry#construct-a-mappoint"&gt;https://github.com/esri/arcgis-pro-sdk/wiki/ProSnippets-Geometry#construct-a-mappoint&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Projection:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jivelink10" href="https://github.com/esri/arcgis-pro-sdk/wiki/ProSnippets-Geometry#project-from-wgs84-to-webmercator" title="https://github.com/esri/arcgis-pro-sdk/wiki/ProSnippets-Geometry#project-from-wgs84-to-webmercator"&gt;https://github.com/esri/arcgis-pro-sdk/wiki/ProSnippets-Geometry#project-from-wgs84-to-webmercator&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Zoom, Pan, etc.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/esri/arcgis-pro-sdk/wiki/ProSnippets-MapExploration#zoom-to-an-extent"&gt;https://github.com/esri/arcgis-pro-sdk/wiki/ProSnippets-MapExploration#zoom-to-an-extent&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and so, one example might be.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;QueuedTask.Run(() =&amp;gt; {&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;//Create a point&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;var pt = MapPointBuilder.CreateMapPoint(x,y,SpatialReferenceBuilder.CreateSpatialReference(4326));&lt;BR /&gt;&amp;nbsp; &amp;nbsp;//Buffer it - for purpose of zoom&lt;BR /&gt;&amp;nbsp; &amp;nbsp;var poly = GeometryEngine.Buffer(pt, buffer_size);&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;//do we need to project the buffer polygon?&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;if (!&lt;SPAN&gt;MapView.Active.&lt;/SPAN&gt;Map.SpatialReference.IsEqual(poly.SpatialReference)) {&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//project the polygon&lt;BR /&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;poly = GeometryEngine.Project(poly, &lt;SPAN&gt;MapView.Active&lt;/SPAN&gt;.Map.SpatialReference);&lt;BR /&gt;&amp;nbsp; &amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; //Zoom - add in a delay for animation effect&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; MapView.Active&lt;/SPAN&gt;.ZoomTo(poly,new TimeSpan(0, 0, 0, 3));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Jan 2017 22:22:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-sdk-questions/geographic-coordinate-to-mappoint/m-p/769556#M560</guid>
      <dc:creator>CharlesMacleod</dc:creator>
      <dc:date>2017-01-23T22:22:43Z</dc:date>
    </item>
  </channel>
</rss>

