[OSM-dev] No more negative ids in osm2pgsql-imported DB?
yvecai
yvecai at gmail.com
Sun Feb 10 16:28:34 GMT 2013
I've just updated osm2pgsql from source (osm2pgsql SVN version 0.81.0
(64bit id space))
I don't have no negative ids in my DB anymore ???
I'm primarily interested in 'route' relations:
select count(*) from planet_osm_line where route is not null; ->
2998 OK
select count(*) from planet_osm_rels; -> 1579 OK
select count(*) from planet_osm_line where osm_id < 0; -> 0 not OK
Yves
Copy of piste.style:
# OsmType Tag DataType Flags
node simple text linear
node,way name text linear
node,way aerialway text linear
node,way amenity text nocache,polygon
node,way bridge text linear
node,way disused text linear
node,way foot text linear
node,way oneway text linear
node,way route text linear
node,way shop text polygon
node,way sport text polygon
node,way tourism text polygon
node,way tunnel text linear
nnode,way z_order int4 linear # This is calculated during
import
way piste:lift text linear
way piste:name text linear
way piste:lift:occupancy text linear
way piste:lift:capacity text linear
way piste:lift:duration text linear
node,way piste:type text linear
way piste:difficulty text linear
way piste:grooming text linear
way piste:oneway text linear
way piste:lit text linear
way piste:abandoned text linear
way gladed text linear
way competition text linear
way patrolled text linear
node,way color text linear
node,way colour text linear
way route_name text linear
More information about the dev
mailing list