<?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: Create Bezier Polygons (Spline Polygons) using Survey123 for Arboriculture Surveys in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/create-bezier-polygons-spline-polygons-using/m-p/1383876#M54868</link>
    <description>&lt;P&gt;Hi. Creating the bezier curve using JS will be quite a fun challenge! Check this out:&amp;nbsp;&lt;A href="https://javascript.info/bezier-curve" target="_blank"&gt;https://javascript.info/bezier-curve&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternatively, you can also take advantage of a couple of features that may work for your use case:&lt;/P&gt;&lt;P&gt;In your geoshape question type try the different body::esri:style methods available:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;vertex: draw a polygon one vertex at a time. Generates polygons with sharp corners&lt;/LI&gt;&lt;LI&gt;sketch: draw a polygon using a freehand tool. Corners will be smoother, although not quite Bezier curves&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IsmaelChivite_0-1708276137774.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/95120iDCD105AED8F995D6/image-size/large?v=v2&amp;amp;px=999" role="button" title="IsmaelChivite_0-1708276137774.png" alt="IsmaelChivite_0-1708276137774.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can also try the streaming method as described here:&amp;nbsp;&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/geotracegeoshape.htm" target="_blank"&gt;https://doc.arcgis.com/en/survey123/desktop/create-surveys/geotracegeoshape.htm&lt;/A&gt;&amp;nbsp; With streaming, mobile users can create a polygon or line while they walk.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 18 Feb 2024 17:14:48 GMT</pubDate>
    <dc:creator>IsmaelChivite</dc:creator>
    <dc:date>2024-02-18T17:14:48Z</dc:date>
    <item>
      <title>Create Bezier Polygons (Spline Polygons) using Survey123 for Arboriculture Surveys</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/create-bezier-polygons-spline-polygons-using/m-p/1383771#M54861</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;I’m working on a Survey123 survey to capture the tree canopy based on the centroid (Lat, Long), Norh, South, East and West distances in meters. The idea is the mobile worker locates a point in the map and add the other fours readings manually (N,S, E, W) in meters and Survey123 would create a Bezier polygon (spline polygon) based on the readings.&lt;/P&gt;&lt;P&gt;After doing some research, I think this could be possible by using JavaScript functions in Survey123 connect app. Some examples can be found here: &lt;A href="https://community.esri.com/t5/arcgis-survey123-blog/extending-survey123-smart-forms-with-custom-js/ba-p/898782" target="_blank" rel="noopener"&gt;https://community.esri.com/t5/arcgis-survey123-blog/extending-survey123-smart-forms-with-custom-js/ba-p/898782&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The ConvexHull example (script attached for reference) could be a good starting point to modify the code but I’m after a Bezier polygon instead of ConvexHull,&lt;/P&gt;&lt;P&gt;Below an example of the ConvexHull javascript example by ESRI:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="galiGIS_1-1708163195910.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/95097iE7051B199B6515E1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="galiGIS_1-1708163195910.png" alt="galiGIS_1-1708163195910.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Below an example of spline curve (not closed) although my aim is having a close smooth polygon:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="galiGIS_0-1708162888616.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/95095i84457E4119A0B3D4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="galiGIS_0-1708162888616.png" alt="galiGIS_0-1708162888616.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea how to achieve this?&lt;/P&gt;&lt;P&gt;Thanks &lt;span class="lia-unicode-emoji" title=":smiling_face_with_smiling_eyes:"&gt;😊&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Feb 2024 09:47:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/create-bezier-polygons-spline-polygons-using/m-p/1383771#M54861</guid>
      <dc:creator>galiGIS</dc:creator>
      <dc:date>2024-02-17T09:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: Create Bezier Polygons (Spline Polygons) using Survey123 for Arboriculture Surveys</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/create-bezier-polygons-spline-polygons-using/m-p/1383876#M54868</link>
      <description>&lt;P&gt;Hi. Creating the bezier curve using JS will be quite a fun challenge! Check this out:&amp;nbsp;&lt;A href="https://javascript.info/bezier-curve" target="_blank"&gt;https://javascript.info/bezier-curve&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Alternatively, you can also take advantage of a couple of features that may work for your use case:&lt;/P&gt;&lt;P&gt;In your geoshape question type try the different body::esri:style methods available:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;vertex: draw a polygon one vertex at a time. Generates polygons with sharp corners&lt;/LI&gt;&lt;LI&gt;sketch: draw a polygon using a freehand tool. Corners will be smoother, although not quite Bezier curves&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IsmaelChivite_0-1708276137774.png" style="width: 999px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/95120iDCD105AED8F995D6/image-size/large?v=v2&amp;amp;px=999" role="button" title="IsmaelChivite_0-1708276137774.png" alt="IsmaelChivite_0-1708276137774.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;You can also try the streaming method as described here:&amp;nbsp;&lt;A href="https://doc.arcgis.com/en/survey123/desktop/create-surveys/geotracegeoshape.htm" target="_blank"&gt;https://doc.arcgis.com/en/survey123/desktop/create-surveys/geotracegeoshape.htm&lt;/A&gt;&amp;nbsp; With streaming, mobile users can create a polygon or line while they walk.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 18 Feb 2024 17:14:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/create-bezier-polygons-spline-polygons-using/m-p/1383876#M54868</guid>
      <dc:creator>IsmaelChivite</dc:creator>
      <dc:date>2024-02-18T17:14:48Z</dc:date>
    </item>
  </channel>
</rss>

