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 <[email protected]> wrote: -----
To: 'Nick Whitelegg' <[email protected]>
From: Paul Norman <[email protected]>
Date: 14/09/2013 07:56PM
Cc: [email protected]
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:[email protected]]
Sent: Saturday, September 14, 2013 5:35 AM
To: [email protected]
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
[email protected]
https://lists.openstreetmap.org/listinfo/dev