omniscale / imposm3

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

Add support for multiple types in the same table #188

Closed zdila closed 5 years ago

zdila commented 5 years ago

Currently only one type can be defined for a table. Sometimes we'd like to use single table for points and polygonss. Now we need to duplicate table definition with different name and type.

matburnham commented 5 years ago

I'm currently trying to do similar. Although doesn't appear to be documented, use_single_id_space seems to be what you're after. See single_table_mapping.json for an example.

zdila commented 5 years ago

Thanks @matburnham, this should be the solution. Now I am just afraid not to get indo #98. ~Pity that imposm3 seems to be no more maintained.~