<?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 Retrieve geometry of country boundary from OSM in Implementing ArcGIS Questions</title>
    <link>https://community.esri.com/t5/implementing-arcgis-questions/retrieve-geometry-of-country-boundary-from-osm/m-p/1404284#M755</link>
    <description>&lt;P&gt;I would like to retrieve the boundary geometry of many countries so I can conduct some intersection tests with other geometry I have. I have been successfully doing this with local shapefiles via ShapefileFeatureTable, and also via a ServiceFeatureTable service. Having retrieved the geometry it's a simple matter to do a geometryengine.intersects test to see if the two geometries overlap.&lt;/P&gt;&lt;P&gt;I now wish to use OpenStreetMap (OSM) as my data source. I really need some guidance as to how to get started. There seems 15 different ways and wrappers to the OSM data. I know I can do an overpass query to get what I want, but I struggle to convert the result into a feature that I can do spatial testing on. I assume there is an easy way to query OSM and end up with a feature or featurecollection. As an example, I am trying to do the equivalent of the overpass query below to get the boundary for Alaska.&lt;BR /&gt;&lt;BR /&gt;[out:json][timeout:25];&lt;BR /&gt;relation[boundary=administrative][admin_level=4]["name:en"=Alaska];&lt;BR /&gt;out geom;&lt;/P&gt;&lt;P&gt;This gives me geometry in json, but I have to convert it to a feature. I'm looking for a way to skip that step and get a query result from OSM in a feature/featurecollection.&lt;/P&gt;&lt;P&gt;My program is in VB.NET using EsriArcgisruntime 200, but I can follow C++.&lt;/P&gt;</description>
    <pubDate>Tue, 02 Apr 2024 06:30:49 GMT</pubDate>
    <dc:creator>MarcHillman</dc:creator>
    <dc:date>2024-04-02T06:30:49Z</dc:date>
    <item>
      <title>Retrieve geometry of country boundary from OSM</title>
      <link>https://community.esri.com/t5/implementing-arcgis-questions/retrieve-geometry-of-country-boundary-from-osm/m-p/1404284#M755</link>
      <description>&lt;P&gt;I would like to retrieve the boundary geometry of many countries so I can conduct some intersection tests with other geometry I have. I have been successfully doing this with local shapefiles via ShapefileFeatureTable, and also via a ServiceFeatureTable service. Having retrieved the geometry it's a simple matter to do a geometryengine.intersects test to see if the two geometries overlap.&lt;/P&gt;&lt;P&gt;I now wish to use OpenStreetMap (OSM) as my data source. I really need some guidance as to how to get started. There seems 15 different ways and wrappers to the OSM data. I know I can do an overpass query to get what I want, but I struggle to convert the result into a feature that I can do spatial testing on. I assume there is an easy way to query OSM and end up with a feature or featurecollection. As an example, I am trying to do the equivalent of the overpass query below to get the boundary for Alaska.&lt;BR /&gt;&lt;BR /&gt;[out:json][timeout:25];&lt;BR /&gt;relation[boundary=administrative][admin_level=4]["name:en"=Alaska];&lt;BR /&gt;out geom;&lt;/P&gt;&lt;P&gt;This gives me geometry in json, but I have to convert it to a feature. I'm looking for a way to skip that step and get a query result from OSM in a feature/featurecollection.&lt;/P&gt;&lt;P&gt;My program is in VB.NET using EsriArcgisruntime 200, but I can follow C++.&lt;/P&gt;</description>
      <pubDate>Tue, 02 Apr 2024 06:30:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/implementing-arcgis-questions/retrieve-geometry-of-country-boundary-from-osm/m-p/1404284#M755</guid>
      <dc:creator>MarcHillman</dc:creator>
      <dc:date>2024-04-02T06:30:49Z</dc:date>
    </item>
  </channel>
</rss>

