omniscale / imposm3

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

type=multipolygon is always added to hstore #182

Open giggls opened 5 years ago

giggls commented 5 years ago

When importing multipolygons the type=multipolygon tag is always added to the hstore field.

Context

The type=multipolygon tag has (in contrast to the original OSM format) no relevance for simple features geometries thus it should be removed (at least by default). Unfortunately it does not work to add "type" to the ignore list in the mapping file either. In this case multipolygons are no longer imported at all.

When use_single_id_space is active adding the tag is even redundant, as the id < -1e17 will tell that the feature originates from an OSM multipolygon.

Expected Behavior

Remove type=multipolygon tag from hstore at least by default.

Actual Behavior

type=multipolygon tag is always added to hstore.