GithubHelp home page GithubHelp logo

techmavengeospatial / gpkg_tiles Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 53.65 MB

Generate Geopackage Map Tiles from Folder of Tiles

Home Page: https://portfolio.techmaven.net

Python 97.90% Roff 0.01% Cython 1.80% CMake 0.14% PowerShell 0.15% Batchfile 0.01%
geopackage gpkg map maptiles tiles

gpkg_tiles's Introduction

TMG_GeoPackage-VectorTiles_python_automation

This solution builds OGC GPKG GeoPackage Map Tiles

Supported Input Tiles

Raster Tiles PNG/JPEG

Heightmap

PNG Elevation-Terrain Tiles

Vector Tiles

It accepts MBTILES as your input and stores that into gpkg as seperate table/layer.

Please see our Commercial Offerings (Windows Apps)

Tile Utilities

https://portfolio.techmaven.net/apps/tile-utilities/

Map Tiling

https://maptiling.techmaven.net/

Geospatial Data Serving

https://geodataserver.techmaven.net/

https://tileserver.techmaven.net/

Mobile Apps

We also have mobile apps that work with GeoPackage

https://portfolio.techmaven.net/apps/

https://mapexplorer.techmaven.net/

https://earthexplorer.techmaven.net/

https://mapdiscovery.techmaven.net/

https://geonamesmapexplorer.techmaven.net/

https://geodatacollector.techmaven.net

Getting Started

  1. Options to use the command line tool

    • -h, --help show this help message and exit

    • -i INPUT, --input=INPUT Input path of mbtiles

    • -o OUTPUT, --output=OUTPUT Output path of gpkg

    • -p PROJECTION, --proj=PROJECTION ie. 3395/3857/4326

    • -r RESOURCE, --resource=RESOURCE Directory path of resources folder

    • -t TABLE, --table=TABLE Table name in geopackage

Example

--proj possible values can be 3395 3957 4326

3395 Projection

python tiles_to_rbt_gpkg.py --input "input file path of mbtiles" --output "output gpkg path" --proj 3395 --resource "Resource folder directory path" --table "tbl_hillshades"

3857 Projection

python tiles_to_rbt_gpkg.py --input "input file path of mbtiles" --output "output gpkg path" --proj 3857 --resource "Resource folder directory path" --table "tbl_cultural"

4326 Projection

python tiles_to_rbt_gpkg.py --input "input file path of mbtiles" --output "output gpkg path" --proj 4326 --resource "Resource folder directory path" --table "tbl_physical"

Dependencies

optparse

pip install optparse

pyproj

pip install pyproj

sqlite3

pip instal sqlite3

gpkg_tiles's People

Contributors

techmavengeospatial avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

Forkers

mubasherkhizer

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.