Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

typos readme #14

Merged
merged 1 commit into from
Jun 8, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 12 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,23 @@ Pulls](https://img.shields.io/docker/pulls/pdok/sieve.svg)](https://hub.docker.c
Sieves [GeoPackage](https://www.geopackage.org/) Polygon geometries.

The purpose of this application is to prerefine the (MULTI)POLYGON geometries in
a geopackage used for vectortiles by filtering out geometries (based on the
given resolution) smaller then the pixels that are generated from the given
a geopackage used for vector tiles by filtering out geometries (based on the
given resolution) smaller than the pixels that are generated from the given
vectoriles. By doing this specific artifacts/errors regarding the rendering of
vectortiles can be omitted.
vector tiles can be omitted, and less data needs to be processed.

## Notes

- It will take a Geopackage and writes a new Geopackage where all the
(MULTI)POLYGON tables are sieve.
- All other geometry tables are 'untouched' and copied as-is.
- Other none geometry tables are not copied to the new geopackage.
(MULTI)POLYGON tables are sieved.
- All other spatial tables are 'untouched' and copied as-is.
- Other not spatial tables are not copied to the new geopackage.
- The area of a POLYGON is used for determining if the geometries will be
sieved, not the extent. So geometries with a extent larger then the given
resolution but with a area smaller then that resolution will be sieved.
- A MULTIPOLYGON will be spilt into seperated POLYGON's that will be sieved. So
a MULTIPOLYGON contain parts smaller then the given resolution will 'lose'
those parts.
resolution but with an area smaller then that resolution will be sieved.
- A MULTIPOLYGON will be split into separate POLYGONs that will be sieved. So
a MULTIPOLYGON containing elements smaller then the given resolution will have
those parts removed.

## Usage

Expand All @@ -35,6 +35,8 @@ go build .

go run . -s=[source GPKG] -t=[target GPKG] -r=[resolution for filtering] \
-p=[pagesize for writing to target GPKG]

go test .
```

## Docker
Expand Down