<?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: How to stop the Point Shape field from being blank in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-stop-the-point-shape-field-from-being-blank/m-p/809615#M12975</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can get a default value in the geopoint using the calculation field. &amp;nbsp;For example "45.637665 -122.671670"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But then it always goes to that point and ignores the GPS. &amp;nbsp;Can I so something where the GPS is used if it has it but if null it uses a default point?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried&lt;/P&gt;&lt;P&gt;if(${GPS}= '0 0',"45.637665 -122.671670",${GPS})&lt;/P&gt;&lt;P&gt;if(${GPS}= '',"45.637665 -122.671670",${GPS})&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with no luck. &amp;nbsp;Any hints? &amp;nbsp;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using 1.8.27.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 31 Oct 2016 17:13:52 GMT</pubDate>
    <dc:creator>DougBrowning</dc:creator>
    <dc:date>2016-10-31T17:13:52Z</dc:date>
    <item>
      <title>How to stop the Point Shape field from being blank</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-stop-the-point-shape-field-from-being-blank/m-p/809613#M12973</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am having an issue where if someone does not allow the Survey123 app to see location the geopoint is blank. &amp;nbsp;This means it can not show on any map going forward. &amp;nbsp;So I can never "see" it anywhere. &amp;nbsp;It also means it is not visible to Data Drive Pages for some reason and ArcMap complains that shape can not be null. &amp;nbsp;I know of no way to edit the point location since I can never see it. &amp;nbsp;Also when I try to edit it in ArcMap Create local copy will never check it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to set a default location so at least this will not happen again? &amp;nbsp;How is everyone dealing with this issue?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did find in testing that if location is turned off the map is blank. &amp;nbsp;When you open it you must hit Home then move the map. &amp;nbsp;This is confusing users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 28 Oct 2016 23:18:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-stop-the-point-shape-field-from-being-blank/m-p/809613#M12973</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2016-10-28T23:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop the Point Shape field from being blank</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-stop-the-point-shape-field-from-being-blank/m-p/809614#M12974</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We addressed the issue of null geometry in Survey123 v1.8 - the client application submits a 0,0 location if it receives no location from the device and the user doesn't provide one manually. &amp;nbsp;Since you have ArcGIS Desktop,&amp;nbsp;ArcGIS Pro can work with the feature service directly without the need to create a local copy- it's a little awkward, but you can identify the null geometry records by selecting all of the records on the map visually and then switching the selection. &amp;nbsp;Geometry can be calculated using the 'Calculate Field' with a code block like:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;def createPT():
&amp;nbsp; &amp;nbsp; import arcpy
&amp;nbsp; &amp;nbsp; sr = arcpy.SpatialReference(4326)
&amp;nbsp; &amp;nbsp; pnt = arcpy.Point(None, None)
&amp;nbsp; &amp;nbsp; ptGeo = arcpy.PointGeometry(pnt, sr)
&amp;nbsp; &amp;nbsp; return ptGeo&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 16:56:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-stop-the-point-shape-field-from-being-blank/m-p/809614#M12974</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2021-12-12T16:56:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop the Point Shape field from being blank</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-stop-the-point-shape-field-from-being-blank/m-p/809615#M12975</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can get a default value in the geopoint using the calculation field. &amp;nbsp;For example "45.637665 -122.671670"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But then it always goes to that point and ignores the GPS. &amp;nbsp;Can I so something where the GPS is used if it has it but if null it uses a default point?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried&lt;/P&gt;&lt;P&gt;if(${GPS}= '0 0',"45.637665 -122.671670",${GPS})&lt;/P&gt;&lt;P&gt;if(${GPS}= '',"45.637665 -122.671670",${GPS})&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;with no luck. &amp;nbsp;Any hints? &amp;nbsp;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using 1.8.27.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2016 17:13:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-stop-the-point-shape-field-from-being-blank/m-p/809615#M12975</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2016-10-31T17:13:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop the Point Shape field from being blank</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-stop-the-point-shape-field-from-being-blank/m-p/809616#M12976</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That worked thanks. &amp;nbsp;Are you saying this should not have happened? &amp;nbsp;I am using 1.8 but it still did that. &amp;nbsp;Hopefully I can get something like the post below to work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2016 18:11:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-stop-the-point-shape-field-from-being-blank/m-p/809616#M12976</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2016-10-31T18:11:13Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop the Point Shape field from being blank</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-stop-the-point-shape-field-from-being-blank/m-p/809617#M12977</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to provide a default value, you can do so in the 'default' column, using the text string format. &amp;nbsp;That will prefill the location point. &amp;nbsp;The user would then need to press the 'Locate Me' button to get a GPS reading.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2016 18:15:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-stop-the-point-shape-field-from-being-blank/m-p/809617#M12977</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2016-10-31T18:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop the Point Shape field from being blank</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-stop-the-point-shape-field-from-being-blank/m-p/809618#M12978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, if you are using the 1.8 Survey123 application for collecting the points, you should not have seen null geometries; instead you should have seen points at 0,0.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2016 18:16:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-stop-the-point-shape-field-from-being-blank/m-p/809618#M12978</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2016-10-31T18:16:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop the Point Shape field from being blank</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-stop-the-point-shape-field-from-being-blank/m-p/809619#M12979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Default did not work but Calculation did. &amp;nbsp;Is there a way to ask if 0 then use I default? &amp;nbsp;I can not get the code to work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2016 18:19:53 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-stop-the-point-shape-field-from-being-blank/m-p/809619#M12979</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2016-10-31T18:19:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop the Point Shape field from being blank</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-stop-the-point-shape-field-from-being-blank/m-p/809620#M12980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm surprised that default did not work- it's working for me both in Connect and on device. &amp;nbsp;I've attached a sample that should work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2016 19:23:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-stop-the-point-shape-field-from-being-blank/m-p/809620#M12980</guid>
      <dc:creator>JamesTedrick</dc:creator>
      <dc:date>2016-10-31T19:23:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to stop the Point Shape field from being blank</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/how-to-stop-the-point-shape-field-from-being-blank/m-p/809621#M12981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found the issue. &amp;nbsp;If it is in default there are no " " around it but if it is a calculation then you need " ".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can get this code to work when it is not in the calculation of the field itself&lt;/P&gt;&lt;P&gt;if(${GPS}= '','45.637665 -122.671670','46.616385 -124.491775')&lt;/P&gt;&lt;P&gt;but when i put this if statement in the calculation for the GPS field it does not like that. &amp;nbsp;Cyclical reference which makes sense. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess I will let it default to 0 0 if that is working now. &amp;nbsp;I will report back if it keeps getting set to null.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Oct 2016 19:46:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/how-to-stop-the-point-shape-field-from-being-blank/m-p/809621#M12981</guid>
      <dc:creator>DougBrowning</dc:creator>
      <dc:date>2016-10-31T19:46:40Z</dc:date>
    </item>
  </channel>
</rss>

