omniscale / imposm3

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

Add hstore field type for mappings. #7

Closed molind closed 11 years ago

molind commented 11 years ago

Hello,

I'm working on map renderer and a lot of data processing happens when data is already imported. One of features i really like to see - is hstore column with all tags of some geometry.

Is it possible to add field type "tags_hstore" or something like that to conserve all tags from original data?

olt commented 11 years ago

No, sorry. HStore is not supported.

molind commented 11 years ago

Ok. I'll fork and try to add this feature myself. Is there any hidden difficulty in architecture with HStores, or you just don't need it?

olt commented 11 years ago

Ok. I'll fork and try to add this feature myself.

Please check out my own fork, it's more recent: https://github.com/olt/imposm3 But be aware that a lot of parts are still work in progress.

Is there any hidden difficulty in architecture with HStores, or you just don't need it?

I have no use for it.

You need to make sure that the mapping will not filter out any unknown tags.