How to Display Geo Package layer on my ArcGIS API Javascript Map

454
1
10-19-2021 11:33 AM
AJThomas
New Contributor II

Hello,

I am looking for information on how to display / use a geopackage on my ArcGIS Javascript api map.

I have been able to import and view the file in ArcMap, but what I really need is to be able to display or convert and display the information on my javascript API map.

Is this possible?

If someone could please let me know and/or point me in the right direction I would be very grateful.

Thanks,

~AJ

0 Kudos
1 Reply
Noah-Sager
Esri Regular Contributor

Here's a great blog article about using the GeoPackage with ArcGIS Pro.

https://www.esri.com/arcgis-blog/products/product/data-management/how-to-use-ogc-geopackages-in-arcg...

I don't think the ArcGIS API for JavaScript can't consume a GeoPackage directly. But if you can convert and publish as a feature layer, or as part of a webmap, then it should work fine.