<?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: GeoJSON URL Query in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/geojson-url-query/m-p/1178660#M4162</link>
    <description>&lt;P&gt;Thanks Josh. I tried the URL below but it didn't work. I'm sure the formatting after "where=" is wrong. What can I do to correct it?&lt;/P&gt;&lt;P&gt;&lt;A href="https://services1.arcgis.com/5Yf8nIJWE7cxpd3N/arcgis/rest/services/Corporate_Limits_Hosted/FeatureServer/0/query?outFields=*&amp;amp;where=MUNICIPALITY='WS'&amp;amp;f=geojson" target="_blank"&gt;https://services1.arcgis.com/5Yf8nIJWE7cxpd3N/arcgis/rest/services/Corporate_Limits_Hosted/FeatureServer/0/query?outFields=*&amp;amp;where=MUNICIPALITY='WS'&amp;amp;f=geojson&lt;/A&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 31 May 2022 17:00:16 GMT</pubDate>
    <dc:creator>JoshBillings</dc:creator>
    <dc:date>2022-05-31T17:00:16Z</dc:date>
    <item>
      <title>GeoJSON URL Query</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/geojson-url-query/m-p/1178646#M4160</link>
      <description>&lt;P&gt;Hey all,&lt;/P&gt;&lt;P&gt;I need a GeoJSON URL of this &lt;A href="https://www.mapforsyth.org/datasets/96cb7ca5eee641608d7895b6b209a148_0/about" target="_self"&gt;layer&lt;/A&gt; with a query for the boundary of Winston-Salem only.&lt;/P&gt;&lt;P&gt;There is a GeoJSON URL for the entire feature service available (under API resources on the right) but I'm unsure as to how to use the "query?outFields=" in the URL to bring back Winston-Salem specifically.&lt;/P&gt;&lt;P&gt;Can anyone help?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2022 16:31:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/geojson-url-query/m-p/1178646#M4160</guid>
      <dc:creator>JoshBillings</dc:creator>
      <dc:date>2022-05-31T16:31:30Z</dc:date>
    </item>
    <item>
      <title>Re: GeoJSON URL Query</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/geojson-url-query/m-p/1178653#M4161</link>
      <description>&lt;P&gt;If you look at the REST API page for the Corporate Limits layer (ID:0) (&lt;A href="https://services1.arcgis.com/5Yf8nIJWE7cxpd3N/arcgis/rest/services/Corporate_Limits_Hosted/FeatureServer/0" target="_blank"&gt;Layer: Corporate Limits (ID:0) (arcgis.com)&lt;/A&gt;), you will see MUNICIPALITY uses coded values.&amp;nbsp; For Winston-Salem, that would be 'WS'.&amp;nbsp; So you want a where clause of:&lt;/P&gt;&lt;LI-CODE lang="sql"&gt;MUNICIPALITY='WS'&lt;/LI-CODE&gt;</description>
      <pubDate>Tue, 31 May 2022 16:48:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/geojson-url-query/m-p/1178653#M4161</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2022-05-31T16:48:03Z</dc:date>
    </item>
    <item>
      <title>Re: GeoJSON URL Query</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/geojson-url-query/m-p/1178660#M4162</link>
      <description>&lt;P&gt;Thanks Josh. I tried the URL below but it didn't work. I'm sure the formatting after "where=" is wrong. What can I do to correct it?&lt;/P&gt;&lt;P&gt;&lt;A href="https://services1.arcgis.com/5Yf8nIJWE7cxpd3N/arcgis/rest/services/Corporate_Limits_Hosted/FeatureServer/0/query?outFields=*&amp;amp;where=MUNICIPALITY='WS'&amp;amp;f=geojson" target="_blank"&gt;https://services1.arcgis.com/5Yf8nIJWE7cxpd3N/arcgis/rest/services/Corporate_Limits_Hosted/FeatureServer/0/query?outFields=*&amp;amp;where=MUNICIPALITY='WS'&amp;amp;f=geojson&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2022 17:00:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/geojson-url-query/m-p/1178660#M4162</guid>
      <dc:creator>JoshBillings</dc:creator>
      <dc:date>2022-05-31T17:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: GeoJSON URL Query</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/geojson-url-query/m-p/1178689#M4163</link>
      <description>&lt;P&gt;Can you elaborate on "didn't work?"&amp;nbsp; I just clicked on the hyperlink, and it opened a window with results I would expect.&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2022 17:34:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/geojson-url-query/m-p/1178689#M4163</guid>
      <dc:creator>JoshuaBixby</dc:creator>
      <dc:date>2022-05-31T17:34:29Z</dc:date>
    </item>
    <item>
      <title>Re: GeoJSON URL Query</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/geojson-url-query/m-p/1178702#M4165</link>
      <description>&lt;P&gt;I was testing the link by adding it to a web map. Got a message that said "unable to display filter" but I think it's because it's a GeoJSON URL. The feature showed up fine in the map. I think it's working fine, that just confused me. Thank you for your help!&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JoshuaBillings_0-1654019284569.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/42471iA4F10BD1DD5A0469/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JoshuaBillings_0-1654019284569.png" alt="JoshuaBillings_0-1654019284569.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 May 2022 17:48:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/geojson-url-query/m-p/1178702#M4165</guid>
      <dc:creator>JoshBillings</dc:creator>
      <dc:date>2022-05-31T17:48:50Z</dc:date>
    </item>
  </channel>
</rss>

