Hello, Support for importing elevation data from OSM has been added in revision [15338]. When using the osmosis-srtm pluging the option tagName=ele must be used since only the 'ele' tag is evaluated. Incooperating z-coordinates in networks is still experimental so please report anything odd.
Best regards and merry christmas (or whatever holiday your prefer) to the sumo community. Jakob 2013/12/19 Michael Behrisch <[email protected]> > Hi, > you currently cannot but there is already a ticket > http://www.sumo-sim.org/trac.wsgi/ticket/998. > > Best regards, > Michael > > 2013/12/19 Simone Rondelli <[email protected]>: > > Hi, > > > > How can i import Elevation data from OSM files? I have imported elevation > > data from SRTM file with Osmosis plugin and the result osm file is > > something like this: > > > > <node id="1355287092" version="2" timestamp="2012-03-27T19:17:27Z" > > uid="91650" user="Alberto58" changeset="11119304" lat="44.3644152" > > lon="11.2158405"> > > <tag k="ele" v="112.73103027199821"/> > > </node> > > > > As you can see there are also elevation data, but netconvert totally > ignore > > this information! > > > > This is the .net.xml file generated with netconvert > > > > <edge id=":1355287092_0" function="internal"> > > <lane id=":1355287092_0_0" index="0" speed="22.22" length="6.07" > > shape="4784.27,5059.86 4782.43,5065.65"/> > > </edge> > > <edge id=":1355287092_1" function="internal"> > > <lane id=":1355287092_1_0" index="0" speed="22.22" length="2.41" > > shape="4784.27,5059.86 4783.09,5060.77 4782.18,5060.90"/> > > </edge> > > <edge id=":1355287092_6" function="internal"> > > <lane id=":1355287092_6_0" index="0" speed="22.22" length="2.41" > > shape="4782.18,5060.90 4781.53,5060.25 4781.14,5058.82"/> > > </edge> > > <edge id=":1355287092_2" function="internal"> > > <lane id=":1355287092_2_0" index="0" speed="18.06" length="5.04" > > shape="4777.15,5060.85 4778.54,5061.03 4779.66,5060.75 4780.53,5060.01 > > 4781.14,5058.82"/> > > </edge> > > <edge id=":1355287092_3" function="internal"> > > <lane id=":1355287092_3_0" index="0" speed="18.06" length="7.93" > > shape="4777.15,5060.85 4779.81,5061.78 4781.58,5062.90 4782.45,5064.18 > > 4782.43,5065.65"/> > > </edge> > > <edge id=":1355287092_4" function="internal"> > > <lane id=":1355287092_4_0" index="0" speed="22.22" length="6.16" > > shape="4779.27,5064.69 4781.14,5058.82"/> > > </edge> > > <edge id=":1355287092_5" function="internal"> > > <lane id=":1355287092_5_0" index="0" speed="22.22" length="2.41" > > shape="4779.27,5064.69 4780.42,5063.74 4781.33,5063.59"/> > > </edge> > > <edge id=":1355287092_7" function="internal"> > > <lane id=":1355287092_7_0" index="0" speed="22.22" length="2.41" > > shape="4781.33,5063.59 4782.00,5064.22 4782.43,5065.65"/> > > </edge> > > > > > > the command that i used are: > > > > osmosis -plugin org.srtmplugin.osm.osmosis.SrtmPlugin_loader --read-xml > > map.osm --write-srtm > > locDir=/home/mone/Documenti/Università/Elevation/paparazzi/srtm/ > > locOnly=true repExisting=false --write-xml map_with_srtm.osm > > netconvert --remove-edges.by-vclass > rail_slow,rail_fast,bicycle,pedestrian > > --osm-files map_with_srtm.osm -o lama-di-reno.net.xml > > polyconvert --net-file lama-di-reno.net.xml --osm-files map.osm > --type-file > > typemap.xml -o lama-di-reno.poly.xml > > > > Thank you at all! > > > > > > > > -- > > Simone Rondelli > > > ------------------------------------------------------------------------------ > > 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=84349831&iu=/4140/ostg.clktrk > > _______________________________________________ > > sumo-user mailing list > > [email protected] > > 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=84349831&iu=/4140/ostg.clktrk > _______________________________________________ > sumo-user mailing list > [email protected] > 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=84349831&iu=/4140/ostg.clktrk _______________________________________________ sumo-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sumo-user
