[OSM-dev] osm2pgsql: avoid addition to planet_osm_point when importing ways?

Paul Norman penorman at mac.com
Sat Sep 14 18:54:33 UTC 2013


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/20130914/dae35706/attachment.html>


More information about the dev mailing list