[OSM-dev] osm2pgsql: avoid addition to planet_osm_point when importing ways?
Nick Whitelegg
Nick.Whitelegg at solent.ac.uk
Sun Sep 15 14:00:43 UTC 2013
OK thanks for that, will have a play. I think I thought the style file was just for selecting which attributes were added as database columns rather than selecting which objects were added.
Nick
-----Paul Norman <penorman at mac.com> wrote: -----
To: 'Nick Whitelegg' <Nick.Whitelegg at solent.ac.uk>
From: Paul Norman <penorman at mac.com>
Date: 14/09/2013 07:56PM
Cc: dev at openstreetmap.org
Subject: RE: [OSM-dev] osm2pgsql: avoid addition to planet_osm_point when importing ways?
What are you using for a .style file? That’s what tells osm2pgsql what import where. You should be able to write one that doesn’t involve any points.
From: Nick Whitelegg [mailto:Nick.Whitelegg at solent.ac.uk]
Sent: Saturday, September 14, 2013 5:35 AM
To: dev at openstreetmap.org
Subject: [OSM-dev] osm2pgsql: avoid addition to planet_osm_point when importing ways?
Hi,
I want to import some highways into a PostGIS database but encounter a problem when any constituent nodes with tags are added to planet_osm_point.
Is there a way to tell osm2pgsql to *only* import the ways into planet_osm_line and not put anything into planet_osm_point at all?
None of the command line options seem to suggest that you can do this, unless I've missed something.
Thanks,
Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20130915/221a735c/attachment.html>
More information about the dev
mailing list