[OSM-talk] Speaking of daily change files...
John Smith
delta_foxtrot at yahoo.com
Sun Jul 19 23:49:32 BST 2009
In the last week or so there has been dumps that osm2pgsql fails to parse due to garbage characters, I even tried the -u switch for kicks, but unless I manually intervene and clean things up osm2pgsql refuses to deal with it.
Pretty sure I'm using the latest version, or near to it, was downloaded about the 1st.
# osm2pgsql -a -b 110,-50,179,-10 -s 20090718-20090719.osc.gz
osm2pgsql SVN version 0.66-16258
Using projection SRS 900913 (Spherical Mercator)
Applying Bounding box: 110.000000,-50.000000 to 179.000000,-10.000000
Setting up table: planet_osm_point
Setting up table: planet_osm_line
Setting up table: planet_osm_polygon
Setting up table: planet_osm_roads
Mid: pgsql, scale=100, cache=800MB, maxblocks=102401*8192
Setting up table: planet_osm_nodes
Setting up table: planet_osm_ways
Setting up table: planet_osm_rels
Reading in file: 20090718-20090719.osc.gz
Processing: Node(513k) Way(49k) Relation(0k)Entity: line 1883470: parser error : invalid character in attribute value
<tag k="name" v=��������������"/>
^
Entity: line 1883470: parser error : attributes construct error
<tag k="name" v=��������������"/>
^
Entity: line 1883470: parser error : Couldn't find end of Start Tag tag
<tag k="name" v=��������������"/>
^
20090718-20090719.osc.gz : failed to parse
Error occurred, cleaning up
More information about the talk
mailing list