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 <penor...@mac.com> wrote: -----
To: 'Nick Whitelegg' <nick.whitel...@solent.ac.uk>
From: Paul Norman <penor...@mac.com>
Date: 14/09/2013 07:56PM
Cc: dev@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.whitel...@solent.ac.uk]
Sent: Saturday, September 14, 2013 5:35 AM
To: dev@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
_______________________________________________
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev