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 <[email protected]>wrote: > 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 <[email protected]>: > > 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 < > [email protected]> > > 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 <[email protected]>: > >> > 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" > >> > --remove-edges.isolated --type-files SF1.typ.xml --osm-files > >> > SF1_bbox.osm.xml --plain-output-prefix SF1 > >> > 3. netconvert -c SF1.netccfg --type-files SF1.typ.xml -n > SF1.nod.xml > >> > -e > >> > SF1.edg.xml --o SF1.net.xm > >> > > >> > > >> > I am attaching files SF1.netccfg and SF1.typ.xml > >> > > >> > The second command produces different log, last warnings indicate: > >> > "Could > >> > not use edge geometry for internal lane, node 'xxxxxxx'" > >> > > >> > Am I doing something wrong? > >> > > >> > Thank you, > >> > > >> > Wilmer > >> > > >> > > >> > > ------------------------------------------------------------------------------ > >> > October Webinars: Code for Performance > >> > Free Intel webinars can help you accelerate application performance. > >> > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the > most > >> > from > >> > the latest Intel processors and coprocessors. See abstracts and > register > >> > > > >> > > >> > > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk > >> > _______________________________________________ > >> > sumo-user mailing list > >> > [email protected] > >> > https://lists.sourceforge.net/lists/listinfo/sumo-user > >> > > > > > > ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
