Hello,
1) use option --output-file hong-kong_china.net.xml instead of
--plain-output-prefix
2) add the recommended options listed here:
http://sumo.dlr.de/wiki/Networks/Import/OpenStreetMap#Recommended_NETCONVERT_Options
3) You are running out of memory because the network is too big for your
computer. See Networks/Import/OpenStreetMap#Importing_large_Networks

regards,
Jakob

2016-09-29 14:49 GMT+02:00 Tanuja S <[email protected]>:

> Dear All,
>
> I am working on the transport network in Hong Kong. I downloaded the XML
> file of the complete road network for HK from:
> https://mapzen.com/data/metro-extracts/metro/hong-kong_china/.
>
> Then I used the netconvert option to convert the OSM file to .net
> file: netconvert --osm-files hong-kong_china.osm --plain-output-prefix
> hong-kong_china.net.xml
>
> I have few warnings (attached is the image of few warnings), the details of
> which I could find explained on the website. but, do these errors cause any
> serious problems if I don't fix them? Also, after the netconvert option my
> .net file is quite big(~1GB) and I am unable to open it in SUMO-GUI. It
> gives me the following error:
>
> Error: Error occurred: bad allocation while parsing
> 'C:\A_Office\Softwares\SUMO\SumoTutorials\hong-kong_china.osm\
> hong-kong_china_full.net.xml'
> Loading of net-file failed.
> Quitting (on error).
>
> I am using SUMO 0.27.1 on windows8, 64 bit. Kindly help me on this.
>
>
>
> Regards,
> Tanuja S
>
> ------------------------------------------------------------
> ------------------
>
> _______________________________________________
> sumo-user mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/sumo-user
>
>
------------------------------------------------------------------------------
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user

Reply via email to