<?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: Correct invalid geometry for hosted feature layer record in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/correct-invalid-geometry-for-hosted-feature-layer/m-p/1351284#M55968</link>
    <description>&lt;P&gt;Thanks.&amp;nbsp; Was overly cautious to edit it in Pro as it's a Survey123 layer and also the itemID has lots of dependencies if for some horrible reason it were to get republished by Pro.&amp;nbsp; I used the GUI of the REST API ApplyEdits for the geometry update and it worked great and the backup now works.&lt;/P&gt;&lt;P&gt;Very strange that the Longitude of 1.23456789 came into the layer (from Survey123) as 123456789 i.e. missing the decimal point.&amp;nbsp; Probably a support request to Esri if it happens again.&lt;/P&gt;&lt;P&gt;applyEdits syntax if useful to anyone:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
"attributes": {
"objectid": 1

},
"geometry": {
"x": 1.23456789,
"y": 9.87654321
}
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 19 Nov 2023 19:34:03 GMT</pubDate>
    <dc:creator>DavidPike</dc:creator>
    <dc:date>2023-11-19T19:34:03Z</dc:date>
    <item>
      <title>Correct invalid geometry for hosted feature layer record</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/correct-invalid-geometry-for-hosted-feature-layer/m-p/1351219#M55956</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a hosted feature layer which has been published from Survey123.&amp;nbsp;&lt;/P&gt;&lt;P&gt;CRS WGS84&lt;/P&gt;&lt;P&gt;On attempting to manually backup this layer (Export to FGDB) the export fails with a generic error.&amp;nbsp; Shapefile didn't work, KML worked but had empty output.&amp;nbsp; non spatial formats worked OK, CSV, JSON etc.&lt;/P&gt;&lt;P&gt;On inspecting the JSON I could see some strange coordinates which may be causing the issue.&lt;/P&gt;&lt;P&gt;I'm in the UK so the Lat Longs will be something like' -2 , 52' all the records show coords around this so nothing stands out.&amp;nbsp; The obvious exception is a record in the layer which has coord values of of '-260,000 , 52'&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1.&amp;nbsp; Does anyone have an idea how this could happen from a survey submission?&lt;/P&gt;&lt;P&gt;2.&amp;nbsp; Also is this a Python/Rest API fix or am I missing something obvious to do to fix it in the AGOL GUI?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any comments or suggestions at all are much appreciated.&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 18 Nov 2023 16:23:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/correct-invalid-geometry-for-hosted-feature-layer/m-p/1351219#M55956</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2023-11-18T16:23:59Z</dc:date>
    </item>
    <item>
      <title>Re: Correct invalid geometry for hosted feature layer record</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/correct-invalid-geometry-for-hosted-feature-layer/m-p/1351235#M55962</link>
      <description>&lt;P&gt;Try with ArcGIS Pro Move To editing tool? Select the record from the attribute table&lt;/P&gt;&lt;P&gt;&lt;A href="https://pro.arcgis.com/en/pro-app/latest/help/editing/move-a-feature-to-specified-location.htm" target="_blank"&gt;https://pro.arcgis.com/en/pro-app/latest/help/editing/move-a-feature-to-specified-location.htm&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 18 Nov 2023 22:54:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/correct-invalid-geometry-for-hosted-feature-layer/m-p/1351235#M55962</guid>
      <dc:creator>ChristopherCounsell</dc:creator>
      <dc:date>2023-11-18T22:54:54Z</dc:date>
    </item>
    <item>
      <title>Re: Correct invalid geometry for hosted feature layer record</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/correct-invalid-geometry-for-hosted-feature-layer/m-p/1351284#M55968</link>
      <description>&lt;P&gt;Thanks.&amp;nbsp; Was overly cautious to edit it in Pro as it's a Survey123 layer and also the itemID has lots of dependencies if for some horrible reason it were to get republished by Pro.&amp;nbsp; I used the GUI of the REST API ApplyEdits for the geometry update and it worked great and the backup now works.&lt;/P&gt;&lt;P&gt;Very strange that the Longitude of 1.23456789 came into the layer (from Survey123) as 123456789 i.e. missing the decimal point.&amp;nbsp; Probably a support request to Esri if it happens again.&lt;/P&gt;&lt;P&gt;applyEdits syntax if useful to anyone:&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
"attributes": {
"objectid": 1

},
"geometry": {
"x": 1.23456789,
"y": 9.87654321
}
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 19 Nov 2023 19:34:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/correct-invalid-geometry-for-hosted-feature-layer/m-p/1351284#M55968</guid>
      <dc:creator>DavidPike</dc:creator>
      <dc:date>2023-11-19T19:34:03Z</dc:date>
    </item>
  </channel>
</rss>

