<?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: REST API Query Geojson Format Error in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-api-query-geojson-format-error/m-p/69578#M327</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have this problem as well. Our issue seems to be related to polygons with complex (multipart or donut) geometry. We get a successful response with all other formats but geoJSON throws an error. I'm going to open a support case on the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 12 Oct 2018 18:00:22 GMT</pubDate>
    <dc:creator>BrianCollins</dc:creator>
    <dc:date>2018-10-12T18:00:22Z</dc:date>
    <item>
      <title>REST API Query Geojson Format Error</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-api-query-geojson-format-error/m-p/69576#M325</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi. &amp;nbsp;I’m&amp;nbsp;looking for some help with an error I get using the geojson query format when querying a particular map service layer hosted in AGS.&amp;nbsp; The error returned is “{"error":{"code":400,"message":"Failed to execute query.","details":[]}}” and seems to only occur on certain features.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you are interested, you can see what I mean here:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fgis11.services.ncdot.gov%2Farcgis%2Frest%2Fservices%2FNCDOT_STIP%2FMapServer%2F1%2Fquery" rel="nofollow" target="_blank"&gt;https://gis11.services.ncdot.gov/arcgis/rest/services/NCDOT_STIP/MapServer/1/query&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In the WHERE clause, you’ll get a returned feature if you enter OBJECTID=284.&amp;nbsp; If you enter OBJECTID=285, you’ll get the error.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas on what’s going on or where to look is much appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 Apr 2018 17:18:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-api-query-geojson-format-error/m-p/69576#M325</guid>
      <dc:creator>MaryEllen_Perko</dc:creator>
      <dc:date>2018-04-02T17:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Query Geojson Format Error</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-api-query-geojson-format-error/m-p/69577#M326</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you ever figured out the cause of this?&amp;nbsp; We are having the exact same problem!&amp;nbsp; Some polygons return the error, some don't...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2018 13:24:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-api-query-geojson-format-error/m-p/69577#M326</guid>
      <dc:creator>MarieAlexander</dc:creator>
      <dc:date>2018-07-11T13:24:56Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Query Geojson Format Error</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-api-query-geojson-format-error/m-p/69578#M327</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have this problem as well. Our issue seems to be related to polygons with complex (multipart or donut) geometry. We get a successful response with all other formats but geoJSON throws an error. I'm going to open a support case on the issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 12 Oct 2018 18:00:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-api-query-geojson-format-error/m-p/69578#M327</guid>
      <dc:creator>BrianCollins</dc:creator>
      <dc:date>2018-10-12T18:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Query Geojson Format Error</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-api-query-geojson-format-error/m-p/69579#M328</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did you ever solve this issue? I am getting rendering errors on complex polygons from a GeoJSON pulled from a feature service query. GeoJSON that is pulled from my open data site does not result in rendering errors. In the image below the brighter area is not there. I prefer the query method as it is slightly faster and it guarantees access to the latest data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="436588" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/436588_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2019 16:38:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-api-query-geojson-format-error/m-p/69579#M328</guid>
      <dc:creator>MalcolmMeyer2</dc:creator>
      <dc:date>2019-02-05T16:38:17Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Query Geojson Format Error</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-api-query-geojson-format-error/m-p/69580#M329</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We ended up using a different format other than GeoJSON – I believe we just used JSON&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Feb 2019 18:42:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-api-query-geojson-format-error/m-p/69580#M329</guid>
      <dc:creator>MarieAlexander</dc:creator>
      <dc:date>2019-02-05T18:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: REST API Query Geojson Format Error</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-api-query-geojson-format-error/m-p/69581#M330</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was just able to resolve the issue by tracing the bad feature, which was a polyline, attributing the new one and then deleting the old bad one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 30 Dec 2019 18:50:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/rest-api-query-geojson-format-error/m-p/69581#M330</guid>
      <dc:creator>LeithBritt1</dc:creator>
      <dc:date>2019-12-30T18:50:32Z</dc:date>
    </item>
  </channel>
</rss>

