<?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: Show a gpkg file as the basemap in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/show-a-gpkg-file-as-the-basemap/m-p/413061#M4931</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We currently use TPK files for our maps and serve them locally. However, our customer has shown interest in us including DWG/DXF files in the ArcGIS viewer. Would you happen to know if this is possible at all? Perhaps with some form of conversion?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aaron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Mar 2018 12:34:59 GMT</pubDate>
    <dc:creator>AaronMurphy3</dc:creator>
    <dc:date>2018-03-06T12:34:59Z</dc:date>
    <item>
      <title>Show a gpkg file as the basemap</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/show-a-gpkg-file-as-the-basemap/m-p/413055#M4925</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi everyone.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pretty simple question, does anyone know how I could show a gpkg file as a basemap? The docs haven't helped and a few samples mention geopackages but then use .shp files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aaron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2018 16:33:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/show-a-gpkg-file-as-the-basemap/m-p/413055#M4925</guid>
      <dc:creator>AaronMurphy3</dc:creator>
      <dc:date>2018-03-05T16:33:42Z</dc:date>
    </item>
    <item>
      <title>Re: Show a gpkg file as the basemap</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/show-a-gpkg-file-as-the-basemap/m-p/413056#M4926</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aaron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could use the code below to display a gpkg file:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Map myMap = new Map();&lt;/P&gt;&lt;P&gt;// Get the full path&lt;BR /&gt; string geoPackagePath = "..\\..\\AuroraCO.gpkg";&lt;/P&gt;&lt;P&gt;// Open the GeoPackage&lt;BR /&gt; GeoPackage myGeoPackage = await GeoPackage.OpenAsync(geoPackagePath);&lt;/P&gt;&lt;P&gt;// Read the raster images and get the first one&lt;BR /&gt; Raster gpkgRaster = myGeoPackage.GeoPackageRasters.FirstOrDefault();&lt;/P&gt;&lt;P&gt;// Make sure an image was found in the package&lt;BR /&gt; if (gpkgRaster == null) { return; }&lt;/P&gt;&lt;P&gt;// Create a layer to show the raster&lt;BR /&gt; RasterLayer newLayer = new RasterLayer(gpkgRaster);&lt;/P&gt;&lt;P&gt;await newLayer.LoadAsync();&lt;BR /&gt; myMap.Basemap.BaseLayers.Add(newLayer);&lt;/P&gt;&lt;P&gt;MyMapView.Map = myMap;&lt;BR /&gt; await MyMapView.SetViewpointCenterAsync(39.5517, -104.8589);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="gokg" class="image-1 jive-image j-img-original" src="https://community.esri.com/legacyfs/online/398121_gpkgAsRaster.PNG" style="width: 620px; height: 336px;" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Attached is the sample application. Hope that helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2018 17:19:39 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/show-a-gpkg-file-as-the-basemap/m-p/413056#M4926</guid>
      <dc:creator>NagmaYasmin</dc:creator>
      <dc:date>2018-03-05T17:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Show a gpkg file as the basemap</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/show-a-gpkg-file-as-the-basemap/m-p/413057#M4927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Nagma, that works great!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, I have come to realise that this will not completely fulfill my requirement. Is it possible to&amp;nbsp;use a mosaic file system with ArcGIS .NET? For example, have the image split into many tile PNGs across multiple folders and when you zoom in/out of the map it requests the new tiles from a server using z/x/y parameters?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Aaron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2018 17:57:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/show-a-gpkg-file-as-the-basemap/m-p/413057#M4927</guid>
      <dc:creator>AaronMurphy3</dc:creator>
      <dc:date>2018-03-05T17:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Show a gpkg file as the basemap</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/show-a-gpkg-file-as-the-basemap/m-p/413058#M4928</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe you may use MosaicDatasetRaster.AddRastersAync() method to add rasters to mosaic dataset. Have you tried this?&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://developers.arcgis.com/net/latest/wpf/api-reference//html/M_Esri_ArcGISRuntime_Rasters_MosaicDatasetRaster_AddRastersAsync.htm" title="https://developers.arcgis.com/net/latest/wpf/api-reference//html/M_Esri_ArcGISRuntime_Rasters_MosaicDatasetRaster_AddRastersAsync.htm"&gt;MosaicDatasetRaster.AddRastersAsync Method&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2018 18:08:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/show-a-gpkg-file-as-the-basemap/m-p/413058#M4928</guid>
      <dc:creator>NagmaYasmin</dc:creator>
      <dc:date>2018-03-05T18:08:12Z</dc:date>
    </item>
    <item>
      <title>Re: Show a gpkg file as the basemap</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/show-a-gpkg-file-as-the-basemap/m-p/413059#M4929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I saw it earlier but couldn't quite work out how to use it. Could you perhaps provide an example of how to use it with a service or even just locally? Currently with another map system we are able to just provide a url like so "../Diagrams/{z}/{x}/{y}.png"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2018 18:32:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/show-a-gpkg-file-as-the-basemap/m-p/413059#M4929</guid>
      <dc:creator>AaronMurphy3</dc:creator>
      <dc:date>2018-03-05T18:32:13Z</dc:date>
    </item>
    <item>
      <title>Re: Show a gpkg file as the basemap</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/show-a-gpkg-file-as-the-basemap/m-p/413060#M4930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aaron,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MosaicDatasetRaster takes sqlite datsset, it doesn't take png/tiff file though. So looks like the API won't work for you unless you use .geodatabase.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 05 Mar 2018 19:07:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/show-a-gpkg-file-as-the-basemap/m-p/413060#M4930</guid>
      <dc:creator>NagmaYasmin</dc:creator>
      <dc:date>2018-03-05T19:07:52Z</dc:date>
    </item>
    <item>
      <title>Re: Show a gpkg file as the basemap</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/show-a-gpkg-file-as-the-basemap/m-p/413061#M4931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I see!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We currently use TPK files for our maps and serve them locally. However, our customer has shown interest in us including DWG/DXF files in the ArcGIS viewer. Would you happen to know if this is possible at all? Perhaps with some form of conversion?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Aaron&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2018 12:34:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/show-a-gpkg-file-as-the-basemap/m-p/413061#M4931</guid>
      <dc:creator>AaronMurphy3</dc:creator>
      <dc:date>2018-03-06T12:34:59Z</dc:date>
    </item>
    <item>
      <title>Re: Show a gpkg file as the basemap</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/show-a-gpkg-file-as-the-basemap/m-p/413062#M4932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In ArcMap, you can export this type of file to shapefile and then consume that shape file in runtime application.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Mar 2018 17:28:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/show-a-gpkg-file-as-the-basemap/m-p/413062#M4932</guid>
      <dc:creator>NagmaYasmin</dc:creator>
      <dc:date>2018-03-06T17:28:14Z</dc:date>
    </item>
  </channel>
</rss>

