[Tile-serving] [openstreetmap/osm2pgsql] WIP: Add code to generalize polygons using two different strategies (PR #1830)
Paul Norman
notifications at github.com
Fri Dec 16 15:50:07 UTC 2022
I've been experimenting with the results now, and am having an error where the lower-left corner of each tile's polygon is being clipped away
I created the base table with
```sql
CREATE MATERIALIZED VIEW
osm_planet_trees
AS
SELECT
osm_id,
way,
name,
ref,
way_area
FROM planet_osm_polygon
WHERE "natural" = 'wood' OR landuse = 'forest'
```
then ran
``PGDATABASE=flex time ~/osm/osm2pgsql/build/osm2pgsql-gen -t planet_osm_trees -T
trees_z10 -g way -G name -s raster-union -x0 -X1024 -y0 -Y1024 -z10 -m 0.125``
The result in qgis looks like this:

--
Reply to this email directly or view it on GitHub:
https://github.com/openstreetmap/osm2pgsql/pull/1830#issuecomment-1355121839
You are receiving this because you are subscribed to this thread.
Message ID: <openstreetmap/osm2pgsql/pull/1830/c1355121839 at github.com>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/tile-serving/attachments/20221216/6591f413/attachment.htm>
More information about the Tile-serving
mailing list