WorldWindKotlin: Geopackage Tile Matrix Set defined in meters for EPSG:3857 is not supported

hi mate, load gpkg file get error message “java.lang.IllegalArgumentException: Angle.init: NaN is not supported!” “GpkgLayerFactory.createLayer: Unsupported GeoPackage contents”

` val geoPackageFile = TutorialUtil.unpackAsset(requireContext(), “rivers.gpkg”)

val layer = GpkgLayerFactory.createLayer(geoPackageFile.path) `

Do you have more examples of loading gpkg files? For example, global vector map .gpkg file. I tried several gpkg files but they all failed to load.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Comments: 36 (18 by maintainers)

Most upvoted comments

Hi, I have fixed additional small issue with coordinates calulation tolerance. Please pull latest develop version and you will see the result. Screenshot_20231225-140325_WorldWind Tutorials.jpg