omniscale / imposm3

Imposm imports OpenStreetMap data into PostGIS
http://imposm.org/docs/imposm3/latest/
Apache License 2.0
719 stars 157 forks source link

Feature-Request: Add support for custom geometry operations (generalized tables) #113

Open moodstubos opened 8 years ago

moodstubos commented 8 years ago

Hi, first of all: I am a fan of imposm3 - many thanks :-)

During the createing of generalized tables I would like to use some custom functions - e.g. the Sieve()-function of the postgis-vt-utilities (https://github.com/mapbox/postgis-vt-util/blob/master/src/Sieve.sql) makes sense to remove small holes in generalized polygons.

So I have to do somethink like this (manually):

INSERT INTO osm_areas_gen SELECT (...), Sieve( geometry, X ) FROM osm_areas

I hope my suggestion is helpful :-) Many thanks (and sorry for my english)

Graham