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

2015-09-27 Thread Stefan Keller
Hi Kai and Paul, dear all Is there a solution to configure or lua-script osm2pgsql to populate osm_points only with nodes which onle have "user defined" tags (i.e. no osm_timestamp,osm_changeset,osm_version,osm_uid)? This would cut down the no. rows in table osm_point about ten times And: I

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

2013-09-15 Thread Nick Whitelegg
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

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

2013-09-15 Thread Kai Krueger
Nick Whitelegg-2 wrote 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? One option is to use the lua tag processing features. That gives you a lot of flexibility in determining what to import into the database.

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

2013-09-14 Thread Nick Whitelegg
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

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

2013-09-14 Thread Nick Whitelegg
btw the version of osm2pgsql is: osm2pgsql SVN version 0.81.0 (64bit id space) -Nick Whitelegg/FT/Solent wrote: - To: dev@openstreetmap.org From: Nick Whitelegg/FT/Solent Date: 14/09/2013 01:35PM Subject: osm2pgsql: avoid addition to planet_osm_point when importing ways? Hi, I want

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

2013-09-14 Thread Paul Norman
-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