<?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 Inkscape svg - path offset from image in Survey123 in ArcGIS Survey123 Questions</title>
    <link>https://community.esri.com/t5/arcgis-survey123-questions/inkscape-svg-path-offset-from-image-in-survey123/m-p/847864#M22542</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When using image-map to display svg images created by&amp;nbsp;Inkscape, the clickable areas&amp;nbsp;always offset from the underlying image, while Adobe Illustrator's product doesn't have this issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="157" src="https://community.esri.com/legacyfs/online/461151_pastedImage_1.png" width="218" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The viewBox parameters were set up correctly according to the blog&amp;nbsp;&lt;A _jive_internal="true" href="https://community.esri.com/groups/survey123/blog/2019/09/26/using-the-image-map-appearance-in-survey123"&gt;Using the image-map appearance in Survey123&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/461152_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I presume the issue is caused by a transform statement added by Inkscape automatically when saving the image, simply editing this statement (either delete or set to '0, 0') will relocate the underlying image.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/461154_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder if&amp;nbsp;this is because I am doing something wrong or Survey123 doesn't work well with Inkscape svgs,&amp;nbsp;thank you.&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/349394"&gt;Brett Stokes&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Oct 2019 03:15:42 GMT</pubDate>
    <dc:creator>Jing_Sun</dc:creator>
    <dc:date>2019-10-04T03:15:42Z</dc:date>
    <item>
      <title>Inkscape svg - path offset from image in Survey123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/inkscape-svg-path-offset-from-image-in-survey123/m-p/847864#M22542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When using image-map to display svg images created by&amp;nbsp;Inkscape, the clickable areas&amp;nbsp;always offset from the underlying image, while Adobe Illustrator's product doesn't have this issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="157" src="https://community.esri.com/legacyfs/online/461151_pastedImage_1.png" width="218" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The viewBox parameters were set up correctly according to the blog&amp;nbsp;&lt;A _jive_internal="true" href="https://community.esri.com/groups/survey123/blog/2019/09/26/using-the-image-map-appearance-in-survey123"&gt;Using the image-map appearance in Survey123&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/461152_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I presume the issue is caused by a transform statement added by Inkscape automatically when saving the image, simply editing this statement (either delete or set to '0, 0') will relocate the underlying image.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/461154_pastedImage_4.png" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wonder if&amp;nbsp;this is because I am doing something wrong or Survey123 doesn't work well with Inkscape svgs,&amp;nbsp;thank you.&amp;nbsp;&lt;A href="https://community.esri.com/migrated-users/349394"&gt;Brett Stokes&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Oct 2019 03:15:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/inkscape-svg-path-offset-from-image-in-survey123/m-p/847864#M22542</guid>
      <dc:creator>Jing_Sun</dc:creator>
      <dc:date>2019-10-04T03:15:42Z</dc:date>
    </item>
    <item>
      <title>Re: Inkscape svg - path offset from image in Survey123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/inkscape-svg-path-offset-from-image-in-survey123/m-p/847865#M22543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jing,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You're not doing anything wrong! Inkscape is adding that transform function because you have your layer selected when relocating your graphics on the screen (as opposed to the &amp;lt;path&amp;gt; itself which just updates it's 'd' values).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can check this for yourself by creating a new SVG in Inkscape and draw a new path. Save your SVG without adjusting it at all - don't move, scale etc. You won't get a transform function added to the&amp;nbsp;layer group. Likewise, you can draw a new path, make sure the path is selected (not the parent layer), adjust it by moving etc and you still won't have a transform function applied.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess the key is to make sure you're not applying transforms to groups when editing your image.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Brett&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Oct 2019 04:55:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/inkscape-svg-path-offset-from-image-in-survey123/m-p/847865#M22543</guid>
      <dc:creator>BrettStokes</dc:creator>
      <dc:date>2019-10-04T04:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: Inkscape svg - path offset from image in Survey123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/inkscape-svg-path-offset-from-image-in-survey123/m-p/847866#M22544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Brett,&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;Your are correct that moving the path doesn't trigger [transform],&amp;nbsp;the operation that triggered [transform] in my case was&amp;nbsp;actually 'Resize Page to Selection'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then I&amp;nbsp;realize that Inkscape does [transform] when resizing canvas. &amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By default it opens a portrait A4 page, changing the page size or&amp;nbsp;orientation to any other&amp;nbsp;value will add a transform statement. Below is an empty portrait A5 page outputted by Inkscape.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="95" src="https://community.esri.com/legacyfs/online/461170_pastedImage_1.png" width="290" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does that mean we can't resize the page when using Inkscape to create svgs for Survey 123?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also found that by default, Inkscape outputs svg with width, height &amp;amp; viewBox parameters in the unit of (mm), while Survey 123 treats&amp;nbsp;those values as (px), meaning clickable areas will be dramatically resized in Survey 123. The solution is to change those units to (px) and define Scale to 1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-2 jive-image" height="569" src="https://community.esri.com/legacyfs/online/461172_pastedImage_3.png" width="390" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Sun&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Oct 2019 06:13:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/inkscape-svg-path-offset-from-image-in-survey123/m-p/847866#M22544</guid>
      <dc:creator>Jing_Sun</dc:creator>
      <dc:date>2019-10-04T06:13:47Z</dc:date>
    </item>
    <item>
      <title>Re: Inkscape svg - path offset from image in Survey123</title>
      <link>https://community.esri.com/t5/arcgis-survey123-questions/inkscape-svg-path-offset-from-image-in-survey123/m-p/847867#M22545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I had some issues with clicking svg in the app, but could fix the issues after regenerating svg file in px and scale 1 setting. Thanks for sharing your tips!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Nov 2019 23:00:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-survey123-questions/inkscape-svg-path-offset-from-image-in-survey123/m-p/847867#M22545</guid>
      <dc:creator>KerryKang1</dc:creator>
      <dc:date>2019-11-21T23:00:16Z</dc:date>
    </item>
  </channel>
</rss>

