You can use netedit to cut of parts of the network. See http://sumo.dlr.de/wiki/NETEDIT#Reducing_the_extent_of_the_network regards, Jakob
2016-10-03 15:24 GMT+02:00 Tanuja S <[email protected]>: > Hi > > Thanks for that information. After setting the recommended options and > network size minimizing options, now i can open the complete HK network in > SUMO (but still there exist many warnings). > > Also, the network which i imported from OSM for the Hong Kong city has > many other neighboring cities of china as well which is default in the > network since it was downloaded in a rectangular box form. I am wondering > if i could remove all the unwanted neighbors of Hong Kong city? I tried > editing the network in JOSM, but when i try to copy and extract only hong > kong region it says JOSM is out of memory and this also takes really longer > time. I tried to fix this issue, but in vain, by referring to the JOSM > information: https://josm.openstreetmap.de/wiki/InstallNotes#Running. I > am using the 64 bit version of Java on a 64 bit Windows platform. Kindly > guide me if i could only extract the road network information on Hong Kong > by eliminating other neighboring redundant information. > > Thank You > > Regards, > Tanuja > > Regards, > Tanuja S > > On Fri, Sep 30, 2016 at 3:17 PM, Jakob Erdmann <[email protected] > > wrote: > >> 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#Recomm >> ended_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 >>> >>> >> > ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, SlashDot.org! http://sdm.link/slashdot _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
