Re: [sumo-user] Netconvert problem
Hello, I have reported the following problem Error: invalid vectorT subscript Quitting (on error). in the netconvert module of the sumo. I have been trying different partitions of the map to regenerate the error. the error does not occur with small map files. the smallest that caused the error is the baden-wuerttemberg-latest.osm I originally am trying to convert the following area of a paper due 11th of jan. May i kindly ask for ur help, if there is by any chance a working version at your end to convert this part of the map and make it public for me to download and start my work. the area i need is : --bounding-box top=50.5644529365 left=7.5113934084 bottom=47.5338000528 right=13.8350427083 thank you so much in advance :) best regards Quoting Jakob Erdmann namdre.s...@googlemail.com: Hello, this sounds like a bug in netconvert to me. Please try to find a small input file which triggers the error and send it to us (along with the list of used options). To produce a small input file you could try to download only one half of the original bounding box and the check which half triggers the bug. If you can manage to provide an input file of less than 100MB it will allows us to fix the problem much faster. regards, Jakob 2013/12/20 nardine.ba...@uni-ulm.de hello, I so much wish to thank you for the hint. it finally worked perfectly fine however towards the end it gave the following error Warning: Splitting vector close to end (pos: 0.08, length: 0.17) Warning: Could not use edge geometry for internal lane, node '1411389193'. Warning: Could not use edge geometry for internal lane, node '1411389193'. Warning: Splitting vector close to end (pos: 0.09, length: 0.19) Warning: Splitting vector close to end (pos: 0.00, length: 0.00) Warning: Splitting vector close to end (pos: 0.00, length: 0.00) Warning: Splitting vector close to end (pos: 0.02, length: 0.04) Error: invalid vectorT subscript Quitting (on error). i tried different partitioned map through osmosis and it gave the same output. How do u think I can solve it? thank you again :) best regards Quoting Michael Behrisch behri...@users.sourceforge.net: Hi, maybe it is important to note that you will need to use the 64bit version to make use of more than 2GB of RAM. http://sumo-sim.org/daily/sumo-msvc10x64-svn.zip Best regards, Michael 2013/12/17 Jakob Erdmann namdre.s...@googlemail.com: Splitting the osm file into smaller files is probably not going to help. The memory requirements grow linear with the size of the final network. On my linux box it took 35GB of RAM to import Germany so I suggest that you try again on a computer with more main memory. regards, Jakob 2013/12/17 nardine.ba...@uni-ulm.de hello, it works on small files the pc i work on is quad core with 8g rams and 150 g of free space on the hard disk. do i need more than that for the netconvert to convert my osm file? splitting the osm file into different small files that will be given all as input helps? what do u suggest for me to try? best regards -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu= /4140/ostg.clktrk ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
Re: [sumo-user] Netconvert problem
Hello, the error you encountered was caused by unexpected values in the OSM input. As Joerg correctly suggested, such a big area is likely to turn up problems which have not been encountered before. This particular issues is fixed in svn revision [15356]. regards, Jakob 2014/1/8 Joerg Schweizer joerg.schwei...@unibo.it Nardine, I am not a SUMO developer, just a user, but from my experience the size of the osm map you are trying to convert (Baden-Wuertemberg) is really big. I am not saying that it does not work, but it is likely that there are some combinations of elements/attributes/geometries in your osm file that cause eventually an error. Remember that anybody can insert data in osm and not everything is 100% conform. Now, dependent on what you want to do with your imported network, you can play with some netconvert options in order to filter and to cut down the amount of edges and nodes of your network. This may also eliminate some insane situations during the import process. Have you already tried these options: --junctions.join Joins junctions that are close to each other (recommended for OSM import) --junctions.join-dist FLOAT --tls.join-dist FLOAT Determines the maximal distance for joining traffic lights --geometry.remove Replace nodes which only define edge geometry by geometry points (joins edges) --remove-edges.isolated Removes isolated edges You can also try to eliminate edge types that are not necessary for your study. For example if you study inter-city traffic you may be only interested in roads of level 1-3: --keep-edges.by-type STROnly keep edges where type is in STR --remove-edges.by-type STR Remove edges where type is in STR But I have no experience with this option because I used OSMOSIS, another tool to filter osm data. My own minimal set of options are: --ramps.guess --tls.guess --tls.join -v --proj.utm --remove-edges.isolated --roundabouts.guess Hope it helps, Joerg On 08/01/14 10:05, nardine.ba...@uni-ulm.de wrote: Hello, I have reported the following problem Error: invalid vectorT subscript Quitting (on error). in the netconvert module of the sumo. I have been trying different partitions of the map to regenerate the error. the error does not occur with small map files. the smallest that caused the error is the baden-wuerttemberg-latest.osm I originally am trying to convert the following area of a paper due 11th of jan. May i kindly ask for ur help, if there is by any chance a working version at your end to convert this part of the map and make it public for me to download and start my work. the area i need is : --bounding-box top=50.5644529365 left=7.5113934084 bottom=47.5338000528 right=13.8350427083 thank you so much in advance :) best regards Quoting Jakob Erdmann namdre.s...@googlemail.com: Hello, this sounds like a bug in netconvert to me. Please try to find a small input file which triggers the error and send it to us (along with the list of used options). To produce a small input file you could try to download only one half of the original bounding box and the check which half triggers the bug. If you can manage to provide an input file of less than 100MB it will allows us to fix the problem much faster. regards, Jakob 2013/12/20 nardine.ba...@uni-ulm.de hello, I so much wish to thank you for the hint. it finally worked perfectly fine however towards the end it gave the following error Warning: Splitting vector close to end (pos: 0.08, length: 0.17) Warning: Could not use edge geometry for internal lane, node '1411389193'. Warning: Could not use edge geometry for internal lane, node '1411389193'. Warning: Splitting vector close to end (pos: 0.09, length: 0.19) Warning: Splitting vector close to end (pos: 0.00, length: 0.00) Warning: Splitting vector close to end (pos: 0.00, length: 0.00) Warning: Splitting vector close to end (pos: 0.02, length: 0.04) Error: invalid vectorT subscript Quitting (on error). i tried different partitioned map through osmosis and it gave the same output. How do u think I can solve it? thank you again :) best regards Quoting Michael Behrisch behri...@users.sourceforge.net: Hi, maybe it is important to note that you will need to use the 64bit version to make use of more than 2GB of RAM. http://sumo-sim.org/daily/sumo-msvc10x64-svn.zip Best regards, Michael 2013/12/17 Jakob Erdmann namdre.s...@googlemail.com: Splitting the osm file into smaller files is probably not going to help. The memory requirements grow linear with the size of the final network. On my linux box it took 35GB of RAM to import
Re: [sumo-user] Netconvert problem
hello, I so much wish to thank you for the hint. it finally worked perfectly fine however towards the end it gave the following error Warning: Splitting vector close to end (pos: 0.08, length: 0.17) Warning: Could not use edge geometry for internal lane, node '1411389193'. Warning: Could not use edge geometry for internal lane, node '1411389193'. Warning: Splitting vector close to end (pos: 0.09, length: 0.19) Warning: Splitting vector close to end (pos: 0.00, length: 0.00) Warning: Splitting vector close to end (pos: 0.00, length: 0.00) Warning: Splitting vector close to end (pos: 0.02, length: 0.04) Error: invalid vectorT subscript Quitting (on error). i tried different partitioned map through osmosis and it gave the same output. How do u think I can solve it? thank you again :) best regards Quoting Michael Behrisch behri...@users.sourceforge.net: Hi, maybe it is important to note that you will need to use the 64bit version to make use of more than 2GB of RAM. http://sumo-sim.org/daily/sumo-msvc10x64-svn.zip Best regards, Michael 2013/12/17 Jakob Erdmann namdre.s...@googlemail.com: Splitting the osm file into smaller files is probably not going to help. The memory requirements grow linear with the size of the final network. On my linux box it took 35GB of RAM to import Germany so I suggest that you try again on a computer with more main memory. regards, Jakob 2013/12/17 nardine.ba...@uni-ulm.de hello, it works on small files the pc i work on is quad core with 8g rams and 150 g of free space on the hard disk. do i need more than that for the netconvert to convert my osm file? splitting the osm file into different small files that will be given all as input helps? what do u suggest for me to try? best regards -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
Re: [sumo-user] Netconvert problem
Hello, this sounds like a bug in netconvert to me. Please try to find a small input file which triggers the error and send it to us (along with the list of used options). To produce a small input file you could try to download only one half of the original bounding box and the check which half triggers the bug. If you can manage to provide an input file of less than 100MB it will allows us to fix the problem much faster. regards, Jakob 2013/12/20 nardine.ba...@uni-ulm.de hello, I so much wish to thank you for the hint. it finally worked perfectly fine however towards the end it gave the following error Warning: Splitting vector close to end (pos: 0.08, length: 0.17) Warning: Could not use edge geometry for internal lane, node '1411389193'. Warning: Could not use edge geometry for internal lane, node '1411389193'. Warning: Splitting vector close to end (pos: 0.09, length: 0.19) Warning: Splitting vector close to end (pos: 0.00, length: 0.00) Warning: Splitting vector close to end (pos: 0.00, length: 0.00) Warning: Splitting vector close to end (pos: 0.02, length: 0.04) Error: invalid vectorT subscript Quitting (on error). i tried different partitioned map through osmosis and it gave the same output. How do u think I can solve it? thank you again :) best regards Quoting Michael Behrisch behri...@users.sourceforge.net: Hi, maybe it is important to note that you will need to use the 64bit version to make use of more than 2GB of RAM. http://sumo-sim.org/daily/sumo-msvc10x64-svn.zip Best regards, Michael 2013/12/17 Jakob Erdmann namdre.s...@googlemail.com: Splitting the osm file into smaller files is probably not going to help. The memory requirements grow linear with the size of the final network. On my linux box it took 35GB of RAM to import Germany so I suggest that you try again on a computer with more main memory. regards, Jakob 2013/12/17 nardine.ba...@uni-ulm.de hello, it works on small files the pc i work on is quad core with 8g rams and 150 g of free space on the hard disk. do i need more than that for the netconvert to convert my osm file? splitting the osm file into different small files that will be given all as input helps? what do u suggest for me to try? best regards -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu= /4140/ostg.clktrk ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
Re: [sumo-user] Netconvert problem
Hi, maybe it is important to note that you will need to use the 64bit version to make use of more than 2GB of RAM. http://sumo-sim.org/daily/sumo-msvc10x64-svn.zip Best regards, Michael 2013/12/17 Jakob Erdmann namdre.s...@googlemail.com: Splitting the osm file into smaller files is probably not going to help. The memory requirements grow linear with the size of the final network. On my linux box it took 35GB of RAM to import Germany so I suggest that you try again on a computer with more main memory. regards, Jakob 2013/12/17 nardine.ba...@uni-ulm.de hello, it works on small files the pc i work on is quad core with 8g rams and 150 g of free space on the hard disk. do i need more than that for the netconvert to convert my osm file? splitting the osm file into different small files that will be given all as input helps? what do u suggest for me to try? best regards -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
[sumo-user] Netconvert problem
Hello, I have a fatal problem with netconvert since a couple of months. I am trying to convert the osm file to sumo network file using netconvert the area i am trying to convert is the area of bayern and baden-württemberg combined together. I tried different methods with different computers, all running windows. I tried the prebuilt version and the latest svn version. i tried converting the downladed latest osm files of bayern and baden-wurttemberg with the netconvert call on both files separated iwth comma the output was: can not load nodes, quitting on error I tried cropping different parts usig osmosis, with the following command: \osmosis-latest\bin\bzcat germany-latest.osm.bz2 | osmosis --read-xml enableDateParsing=no file=-\ --bounding-box top=50.5644529365 left=7.5113934084 bottom=47.5338000528 right=13.8350427083 --write-xml file=out.osm and running the netconvert on the output file, i got the same error. I tried it with the latest svn reposetry folder and got an allocation error! I kindly badly need help. -- Rapidly troubleshoot problems before they affect your business. Most IT organizations don't have a clear picture of how application performance affects their revenue. With AppDynamics, you get 100% visibility into your Java,.NET, PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro! http://pubads.g.doubleclick.net/gampad/clk?id=84349831iu=/4140/ostg.clktrk ___ sumo-user mailing list sumo-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/sumo-user
Re: [sumo-user] NETCONVERT problem under Ubuntu
Hi, it's hard to say from a distance. Try to call netconvert --help and if you see a lot of projection options including things like --proj.utm, then coordinate conversion using proj is available. If it is not on one platform, then results should differ considerably. If proj is available on both platforms it could be that the distance is very close to 0.1m (which is the threshold) and it is a mere floating point issue. Best regards, Michael 2013/10/21 Wilmer Arellano warel...@my.fau.edu: Thank you Michael, This same example runs fine under windows. Is there something missing in my Ubuntu installation? Regards, Wilmer On Sat, Oct 19, 2013 at 3:46 PM, Michael Behrisch behri...@users.sourceforge.net wrote: Hi, the start and the end nodes are too close to each other. You could try removing geometry nodes (not sure if it helps though) or if you think you can safely leave out the edge simply use --ignore-errors. Best regards, Michael 2013/10/13 Wilmer Arellano warel...@my.fau.edu: Hello, My problem is more general than what I originally posted. When importing OSM maps I am having problems with NETCONVERT. I receive many: *Warning: Could not use edge geometry for internal lane, node* errors. These errors happen with any NETCONVERT options, like the example bellow. netconvert --remove-edges.isolated --type-files I-95.typ.xml --osm-files I-95.osm --plain-output-prefix SF1 If I later try a command similar to: *netconvert -c I-95.netccfg --type-files I-95.typ.xml -n SF1.nod.xml -e SF1.edg.xml --o SF1.net.xm* NETCONVERT quits on error with a log similar to: * Error: Edge's '98957963#3' from- and to-node are at the same position. Error: Edge's '98957963#5' from- and to-node are at the same position. Error: Edge's '98957963#6' from- and to-node are at the same position. Error: Edge's '98957966#1' from- and to-node are at the same position. done. Import done: 2725 nodes loaded. 35 types loaded. 6487 edges loaded. Quitting (on error). * Could you please give some orientation on what to fix? Thank you, Wilmer Arellano On Thu, Oct 10, 2013 at 12:48 PM, Jakob Erdmann namdre.s...@googlemail.comwrote: Hello, for me version 0.17.1 is correctly building the network according to your parameters and input files on ubuntu. Anyway, to obtain revision [14830] you need to check out the source from our subversion repository and build it yourself (see http://sumo-sim.org/wiki/Installing/Linux_Build). The ubuntu repositories are a bit behind at the moment (and only contain official releases anyway) regards, Jakob 2013/10/10 Wilmer Arellano warel...@my.fau.edu: Thank you Jakob, I am using SUMO 0.17.1. Installed several months ago. Could you please help wit the questions bellow? Do I need to reinstall SUMO using sudo add-apt-repository ppa:sumo/stable, sudo apt-get install sumo sumo-tools sumo-doc? or just copy and paste NETCONVERT? I was not able to find revision [14830] Could you please send a link? Regards, Wilmer Arellano On Thu, Oct 10, 2013 at 3:21 AM, Jakob Erdmann namdre.s...@googlemail.com wrote: Hello Wilmer, I suppose on Ubuntu you were using the very latest svn revision. This contains a change for reducing the output regarding OSM compound edge types. As a side effect this revision also introduces new edge types which were not covered by your SF1.typ.xml file causing an import error. (i.e. there was a new type highway.primary|railway.abandoned) I have rethought the issue and patched netconvert to prevent unnecessary creation of new type names (the compound railway.abandoned is not used anyway so the type will be called highway.primary as before. In conclusion: using revision [14830] your import should succeed. regards, Jakob 2013/10/10 Wilmer Arellano warel...@my.fau.edu: I am trying to import an OSM map both under Windows 7 and Ubuntu 12.10. Using the exact same commands the import fails on Ubunto, but works with no problem under Windows . The commands used are: 1. osmGet.py --prefix SF1 --bbox 26.0937883, -80.1782227, 26.7578734, -80.0422668 2. netconvert --remove-edges.by-type highway.secondary, highway.secondary_link, highway.tertiary, highway.tertiary_link, highway.unclassified, highway.residential, highway.road, highway.living_street, highway.pedestrian, highway.service, highway.bus_guideway, highway.track, highway.services, highway.unsurfaced, highway.footway, highway.path, highway.bridleway, highway.cycleway, highway.step, highway.steps, highway.stairs, railway.rail,railway.tram, railway.light_rail, railway.subway, railway.preserved, railway.narrow_gauge, railway.monorail, railway.funicular