<?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: Help needed: Load SHP from File with Xamarin.Essentials FilePicker =&amp;gt; File not found: Invalid path or missing shapefile data. in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/help-needed-load-shp-from-file-with-xamarin/m-p/1118932#M10662</link>
    <description>&lt;P&gt;Hi Morten,&lt;/P&gt;&lt;P&gt;yes I did. I can read GEOJSON from same folder. Is it license problem?&lt;/P&gt;&lt;P&gt;cheers Georg&lt;/P&gt;</description>
    <pubDate>Fri, 19 Nov 2021 22:18:13 GMT</pubDate>
    <dc:creator>FranzNapf</dc:creator>
    <dc:date>2021-11-19T22:18:13Z</dc:date>
    <item>
      <title>Help needed: Load SHP from File with Xamarin.Essentials FilePicker =&gt; File not found: Invalid path or missing shapefile data.</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/help-needed-load-shp-from-file-with-xamarin/m-p/1117319#M10640</link>
      <description>&lt;P&gt;Hi and good evening,&lt;/P&gt;&lt;P&gt;my Xamarin.Forms App (tested on Android 10) must work offline, flexible and with vector data. My idea was to store the data in shape files or geojson on the external storage on the mobile device.&amp;nbsp; The selection should be done with filepicker from xamarin.essentials.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;var da_file = await FilePicker.PickAsync();&lt;/EM&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;String file_path = da_file.FullPath;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;Result&lt;EM&gt;: &lt;FONT color="#0000FF"&gt;/storage/emulated/0/Android/data/com.companyname.gasdetect/cache/2203693cc04e0be7f4f024d5f9499e13/04aee9d2077447eb922c8d44e3f1902d/gemeinden.shp&lt;/FONT&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;or Result:&lt;FONT color="#0000FF"&gt; &lt;EM&gt;/storage/emulated/0/Android/data/com.companyname.gasdetect/cache/2203693cc04e0be7f4f024d5f9499e13/66029f1ad161475b8474bc606a7003c8/railway.geojson&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;with:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;ShapefileFeatureTable myShapefile = await ShapefileFeatureTable.OpenAsync(file_path);&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;I get the result: &lt;FONT color="#0000FF"&gt;File not found: Invalid path or missing shapefile data.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;The files are there, the geojson file is loaded. I tested with several sets of shp files.&lt;/P&gt;&lt;P&gt;What is going here? or Do you have a better idea to solve the offline data challenge?&lt;/P&gt;&lt;P&gt;Thank you in advance.&lt;/P&gt;&lt;P&gt;Cheers Franz&lt;/P&gt;</description>
      <pubDate>Tue, 16 Nov 2021 16:32:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/help-needed-load-shp-from-file-with-xamarin/m-p/1117319#M10640</guid>
      <dc:creator>FranzNapf</dc:creator>
      <dc:date>2021-11-16T16:32:57Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed: Load SHP from File with Xamarin.Essentials FilePicker =&gt; File not found: Invalid path or missing shapefile data.</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/help-needed-load-shp-from-file-with-xamarin/m-p/1118770#M10656</link>
      <description>&lt;P&gt;Did you give the application permission to read that location?&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 17:28:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/help-needed-load-shp-from-file-with-xamarin/m-p/1118770#M10656</guid>
      <dc:creator>dotMorten_esri</dc:creator>
      <dc:date>2021-11-19T17:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help needed: Load SHP from File with Xamarin.Essentials FilePicker =&gt; File not found: Invalid path or missing shapefile data.</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/help-needed-load-shp-from-file-with-xamarin/m-p/1118932#M10662</link>
      <description>&lt;P&gt;Hi Morten,&lt;/P&gt;&lt;P&gt;yes I did. I can read GEOJSON from same folder. Is it license problem?&lt;/P&gt;&lt;P&gt;cheers Georg&lt;/P&gt;</description>
      <pubDate>Fri, 19 Nov 2021 22:18:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/help-needed-load-shp-from-file-with-xamarin/m-p/1118932#M10662</guid>
      <dc:creator>FranzNapf</dc:creator>
      <dc:date>2021-11-19T22:18:13Z</dc:date>
    </item>
  </channel>
</rss>

