Skip to content

Latest commit

 

History

History
44 lines (32 loc) · 2.98 KB

File metadata and controls

44 lines (32 loc) · 2.98 KB

geopackage-python : Python-based tools for creating OGC GeoPackages.

GeoPackage Specification from the Open Geospatial Consortium

Build Status Coverage Status Stories in Ready Scrutinizer Code Quality

Table Of Contents

In addition to the above documentation, the following features are added in this fork

  • Added optional -maxlvl [number] parameter. Tiles level smaller or equal to this number will be packaged.
  • Added optional -tm ['swiss_lv03', swiss_lv05] parameter. Enables custom non-regular tile matrix (eCH-0056 or custom ESRI Tile Cache).
  • Added ability to package ESRI Exploded Tile Cache.
  • The Script configures the Geopackage with the Conf.xml file from ESRI Tile Cache format automatically.
  • Added ability to package tiles stored in a s3 bucket. Use s3:// to package s3 directory.
  • Ability to give an initial extent for the content (for zoom to layer functions in common GIS).
  • Added ability to package tiles stored in ESRI Compact Cache V2 Bundles.

###Examples

All levels of an exploded ArcGIS Cache (Script reads Conf.xml file from Cache).

  • python.exe tiles2gpkg_parallel.py -initialextent minX,minY,maxX,maxY \path_to_arcgis_cache\Layers_alllayers geopackage.gpkg

First 19 levels of an exploded ArcGIS Cache (Script reads Conf.xml file from Cache).

  • python.exe tiles2gpkg_parallel.py -maxlvl 19 -initialextent minX,minY,maxX,maxY \path_to_arcgis_cache\Layers_alllayers geopackage.gpkg

First 21 levels of a WMTS whose tiles are stored in Amazon S3 + custom initial extent.

  • tiles2gpkg_parallel.py -initialextent 2375000,980000,2998000,1421000 -maxlvl 21 -srs 2056 -tm swiss_lv95 -tileorigin ul s3://wts_instance_name/1.0.0/my_layer_name/default/timestamp/21781 geopackage.gpkg