Contents

outdooractive/mvt-postgis

Creates vector tiles from Postgis databases.

Requirements

This package requires Swift 5.10 or higher (at least Xcode 14), and compiles on macOS (\>= macOS 14) as well as Linux.

Installation with Swift Package Manager

dependencies: [
    .package(url: "https://github.com/Outdooractive/mvt-postgis", from: "1.2.4"),
],
targets: [
    .target(name: "MyTarget", dependencies: [
        .product(name: "MVTPostgis", package: "mvt-postgis"),
    ]),
]

This project uses to other libraries that handle the hard work, please have a look at them as well:

  • https://github.com/Outdooractive/gis-tools
  • https://github.com/Outdooractive/mvt-tools

Features

TODO

Usage

Please see also the API documentation.

TODO

Contributing

Please create an issue or open a pull request with a fix

TODOs and future improvements

  • Restart queries after timeout
  • Explore ST_AsMVTGeom
  • Documentation (!)
  • Tests

License

MIT

Author

Thomas Rasch, Outdooractive

Package Metadata

Repository: outdooractive/mvt-postgis

Default branch: main

README: README.md