<font face="Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size="2"><br>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.<br><br>Nick<br><br><font color="#990099">-----Paul Norman <penorman@mac.com> wrote: -----</font><div style="padding-left:5px;"><div style="padding-right:0px;padding-left:5px;border-left:solid black 2px;">To: 'Nick Whitelegg' <Nick.Whitelegg@solent.ac.uk><br>From: Paul Norman <penorman@mac.com><br>Date: 14/09/2013 07:56PM<br>Cc: dev@openstreetmap.org<br>Subject: RE: [OSM-dev] osm2pgsql: avoid addition to planet_osm_point when importing ways?<br><br><!--Notes ACF <meta http-equiv=Content-Type content="text/html; charset=utf-8">--><!--[if gte mso 9]><xml> <o:shapedefaults v:ext="edit" spidmax="1026" /> </xml><![endif]--><!--[if gte mso 9]><xml> <o:shapelayout v:ext="edit"> <o:idmap v:ext="edit" data="1" /> </o:shapelayout></xml><![endif]--><div class="WordSection1"><p class="MsoNormal"><span style="font-size: 11pt; font-family: "Calibri","sans-serif";"><font color="#1f497d">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.<o:p></o:p></font></span></p><p class="MsoNormal"><span style="font-size: 11pt; font-family: "Calibri","sans-serif";"><font color="#1f497d"><o:p> </o:p></font></span></p><div style="border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt"><div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in"><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Nick Whitelegg [mailto:Nick.Whitelegg@solent.ac.uk] <br><b>Sent:</b> Saturday, September 14, 2013 5:35 AM<br><b>To:</b> dev@openstreetmap.org<br><b>Subject:</b> [OSM-dev] osm2pgsql: avoid addition to planet_osm_point when importing ways?<o:p></o:p></span></p></div></div><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:"Verdana","sans-serif"">Hi,<br><br>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.<br><br>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?<br><br>None of the command line options seem to suggest that you can do this, unless I've missed something.<br><br>Thanks,<br>Nick</span><o:p></o:p></p></div></div></div></div></font>