[Qgis-user] Re: PostGIS database creation wizzard
Jukka Rahkonen
jukka.rahkonen at mmmtike.fi
Sun Mar 4 23:39:41 PST 2012
mick <bareman at ...> writes:
>
> On Sun, 04 Mar 2012 05:53:25 +0100
> "cavallini at ..."
> <cavallini at ...> wrote:
>
> > http://wiki.openstreetmap.org/wiki/Osm2pgsql ?
>
> osm2pgsql relies on the user already know which keys to keep and which to
dump, I can get partial success. I'm
> using it currently but I'm wanting to fine tune the procedure.
>
The easiest alternative for my mind is to use osm2pgsql with the hstore option
(-k). It will import all the keys and values into PostGIS. Then you can do the
rest with SQL http://www.postgresql.org/docs/current/interactive/hstore.html
Drawback is that you will get more data than necessary with the initial import.
-Jukka Rahkonen-
More information about the Qgis-user
mailing list