[OSM-dev] osm2pgsql output possible to work with Java XAPI?

Andy Allan gravitystorm at gmail.com
Wed Jun 1 10:20:42 BST 2011


On Wed, Jun 1, 2011 at 12:05 AM, Stefan Keller <sfkeller at gmail.com> wrote:

> Sorry for insisting, but osm2pgsql supports hstore... Remains the
> version attribute.

osm2pgsql can output the version number, using the -x "extended
attributes" flag an the relevant changes to the .style file. Be warned
that the db size explodes if you enable the extended attribute options
for nodes since normally they aren't outputted to the points table.

I've used this before in a map style, see
https://github.com/MapQuest/TIGER-Edited-map for example which bases
the colour of the ways on, amongst other things, the version number.

Cheers,
Andy



More information about the dev mailing list