Dear All,
I would like to import Shanghai OSM map into SUMO. First, I downloaded Shanghai 
map from OSM, and then use osmosis: osmosis --rx Shanghai.osm --wkv 
"highway.motorway,highway.motorway_link" --un --wx Shanghai_filter.osm.
After that, I use net convert to convert the generated filtered Shanghai OSM 
file: 
netconvert -v --osm Shanghai_filter.osm -o Shanghai.net.xml.
However, I got the following error:
Found duplicate nodes. Substituting 1797706993 with 1797706927Found duplicate 
nodes. Substituting 3573748980 with 3573748979Found duplicate nodes. 
Substituting 3573748982 with 3573748981done.Parsing edges from osm-file 
'Shanghai_filter.osm'... done.Removing duplicate edges... done.Warning: In lane 
'91558319#7_0': Could not build shape.Warning: In lane '91558319#7_3': Could 
not build shape.Parsing relations from osm-file 'Shanghai_filter.osm'... 
Warning: No way found for reference '22895990' in relation '60434'Warning: 
Ignoring restriction relation '60434' with unknown from-way.Warning: Ignoring 
restriction relation '60434' with unknown to-way.Warning: No way found for 
reference '33731176' in relation '60435'Warning: Ignoring restriction relation 
'60435' with unknown from-way.Warning: Ignoring restriction relation '60435' 
with unknown to-way.Warning: No way found for reference '33731177' in relation 
'60436'Warning: No way found for reference '187246079' in relation 
'60436'Warning: Ignoring restriction relation '60436' with unknown 
from-way.Warning: Ignoring restriction relation '60436' with unknown 
to-way.Warning: No way found for reference '28931153' in relation 
'60438'Warning: No way found for reference '33731179' in relation 
'60438'Warning: Ignoring restriction relation '60438' with unknown 
from-way.Warning: Ignoring restriction relation '60438' with unknown 
to-way.Warning: No way found for reference '33731182' in relation 
'121173'Warning: Ignoring restriction relation '121173' with unknown 
from-way.Warning: Ignoring restriction relation '121173' with unknown 
to-way.Error: invalid multi-byte sequence In file 'Shanghai_filter.osm' At 
line/column 254619/25.
I found the line in the trace, which is : <tag k="timezone" v="Asia/Shanghai"/> 
and deleted '/' and rerun netconvert but I still got the same error at 
line/column 254619/25. I don't know how I should handle this problem. Here is 
the link to the file Shanghai_filter.osm: 
https://drive.google.com/file/d/0B87r979zQlLbVzZlMGs0QVhEbkU/view?usp=sharing
I'm a newbie in SUMO. Would you please tell me what I should do next?
Thank you.Best regards,Daisy
------------------------------------------------------------------------------
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to