Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/outdooractive/mvt-postgis
Postgis extensions for mvt-tools
https://github.com/outdooractive/mvt-postgis
geojson geospatial gis mapnik mvt postgis swift vector-map vector-tiles
Last synced: about 1 month ago
JSON representation
Postgis extensions for mvt-tools
- Host: GitHub
- URL: https://github.com/outdooractive/mvt-postgis
- Owner: Outdooractive
- License: mit
- Created: 2024-02-13T15:39:11.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-10-15T15:05:36.000Z (2 months ago)
- Last Synced: 2024-10-16T16:47:14.357Z (2 months ago)
- Topics: geojson, geospatial, gis, mapnik, mvt, postgis, swift, vector-map, vector-tiles
- Language: Swift
- Homepage:
- Size: 59.6 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2FOutdooractive%2Fmvt-postgis%2Fbadge%3Ftype%3Dswift-versions)](https://swiftpackageindex.com/Outdooractive/mvt-postgis)
[![](https://img.shields.io/endpoint?url=https%3A%2F%2Fswiftpackageindex.com%2Fapi%2Fpackages%2FOutdooractive%2Fmvt-postgis%2Fbadge%3Ftype%3Dplatforms)](https://swiftpackageindex.com/Outdooractive/mvt-postgis)# MVTPostgis
Creates vector tiles from Postgis databases.
## Requirements
This package requires Swift 5.9 or higher (at least Xcode 13), and compiles on macOS (\>= macOS 13) as well as Linux.
## Installation with Swift Package Manager
```swift
dependencies: [
.package(url: "https://github.com/Outdooractive/mvt-postgis", from: "1.0.5"),
],
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](https://swiftpackageindex.com/Outdooractive/mvt-postgis/main/documentation/mvtpostgis).
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## Links
- Libraries
- https://github.com/Outdooractive/gis-tools
- https://github.com/Outdooractive/mvt-tools- Mapnik Postgis documentation:
- https://github.com/mapnik/mapnik/wiki/PostGIS
- https://github.com/mapnik/mapnik/wiki/OptimizeRenderingWithPostGIS- Mapnik files:
- https://github.com/mapnik/mapnik/blob/master/test/unit/datasource/postgis.cpp
- https://github.com/mapnik/mapnik/blob/master/plugins/input/postgis/postgis_datasource.cpp- Other:
- https://github.com/plarson/fluent-postgis
- https://github.com/koher/swift-image
- https://github.com/t-ae/swim
- https://github.com/GEOSwift/GEOSwift## License
MIT
## Author
Thomas Rasch, Outdooractive