Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] OSM to OPENDRIVE scaling issues

Attached the .net.xml file.

On Wed, Mar 7, 2018 at 8:40 PM, Jakob Erdmann <namdre.sumo@xxxxxxxxxxxxxx> wrote:
please provide the .net.xml file as well.

2018-03-07 12:44 GMT+01:00 sravan kumar chaganti <sravan.chaganti@xxxxxxxxx>:
Hi Jacob,

following command is used converting from .osm to .xodr
netconvert --osm-files "Straight_Map.osm" --opendrive-output "Straight_Map.xodr"

following command used for converting from .net.xml to .xodr. without any options i thought it will pick defaults from config
netconvert -s "E:\GEO2XY\Straight_Map.net.xml" --opendrive-output "E:\GEO2XY\map.xodr"

The real geographical  limits of that location is X=(0,97.52472);Y=(0,47.59625); and the opendrive header is like following
 <header revMajor="1" revMinor="4" name="" version="1.00" date="Wed Mar 07 15:08:12 2018" north="919.30" south="0.00" east="2949.08" west="0.00"/>

Thanks,
sk


On Wed, Mar 7, 2018 at 4:54 PM, Jakob Erdmann <namdre.sumo@xxxxxxxxxxxxxx> wrote:
Hello,
please provide the following information:
- netconvert options for generating the networks
- the contents of the <location» element in your .net.xml file
- the contents of the <header> element in your .xodr file
regards,
Jakob

2018-03-07 12:03 GMT+01:00 sravan kumar chaganti <sravan.chaganti@xxxxxxxxx>:
Hi Team,

I exported some patch of OpenStreetMap data as .osm file and converted that file into OPENDRIVE (.xodr) and SUMO(.net.xml) formats using netconvert command.

But unfortunately the inertial boundaries on the opendrive file is big compared to real dimentions of that area while comparing the both the boundaries. 

why does the area is scaling up? will you please answer my question?

what does i do if the real geographic boundaries and opendrive boundaries has to match?

Thanks,
sk

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user



_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user



_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user



_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user


<?xml version="1.0" encoding="UTF-8"?>

<!-- generated on 03/08/18 08:45:46 by SUMO netconvert Version 0.32.0
<?xml version="1.0" encoding="UTF-8"?>

<configuration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/netconvertConfiguration.xsd";>

    <input>
        <osm-files value="E:\GEO2XY\Straight_Map.osm"/>
    </input>

    <output>
        <output-file value="E:\GEO2XY\Straight_Map.net.xml"/>
    </output>

    <projection>
        <proj.utm value="true"/>
    </projection>

</configuration>
-->

<net version="0.27" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:noNamespaceSchemaLocation="http://sumo.dlr.de/xsd/net_file.xsd";>

    <location netOffset="-668236.76,-1973216.21" convBoundary="0.00,0.00,2949.08,919.30" origBoundary="76.587682,17.839935,76.615430,17.848470" projParameter="+proj=utm +zone=43 +ellps=WGS84 +datum=WGS84 +units=m +no_defs"/>

    <type id="highway.bridleway" priority="1" numLanes="1" speed="2.78" allow="pedestrian" oneway="1" width="2.00"/>
    <type id="highway.bus_guideway" priority="1" numLanes="1" speed="8.33" allow="bus" oneway="1"/>
    <type id="highway.cycleway" priority="1" numLanes="1" speed="5.56" allow="bicycle" oneway="0" width="1.00"/>
    <type id="highway.footway" priority="1" numLanes="1" speed="2.78" allow="pedestrian" oneway="1" width="2.00"/>
    <type id="highway.ford" priority="1" numLanes="1" speed="2.78" allow="army" oneway="0"/>
    <type id="highway.living_street" priority="3" numLanes="1" speed="2.78" disallow="tram rail_urban rail rail_electric ship" oneway="0"/>
    <type id="highway.motorway" priority="13" numLanes="2" speed="44.44" allow="private emergency authority army vip passenger hov taxi bus coach delivery truck trailer motorcycle evehicle custom1 custom2" oneway="1"/>
    <type id="highway.motorway_link" priority="12" numLanes="1" speed="22.22" allow="private emergency authority army vip passenger hov taxi bus coach delivery truck trailer motorcycle evehicle custom1 custom2" oneway="1"/>
    <type id="highway.path" priority="1" numLanes="1" speed="2.78" allow="bicycle pedestrian" oneway="1" width="2.00"/>
    <type id="highway.pedestrian" priority="1" numLanes="1" speed="2.78" allow="pedestrian" oneway="1" width="2.00"/>
    <type id="highway.primary" priority="9" numLanes="2" speed="27.78" disallow="tram rail_urban rail rail_electric ship" oneway="0"/>
    <type id="highway.primary_link" priority="8" numLanes="1" speed="22.22" disallow="tram rail_urban rail rail_electric ship" oneway="0"/>
    <type id="highway.raceway" priority="14" numLanes="2" speed="83.33" allow="vip" oneway="0"/>
    <type id="highway.residential" priority="4" numLanes="1" speed="13.89" disallow="tram rail_urban rail rail_electric ship" oneway="0"/>
    <type id="highway.secondary" priority="7" numLanes="2" speed="27.78" disallow="tram rail_urban rail rail_electric ship" oneway="0"/>
    <type id="highway.secondary_link" priority="6" numLanes="1" speed="22.22" disallow="tram rail_urban rail rail_electric ship" oneway="0"/>
    <type id="highway.service" priority="2" numLanes="1" speed="5.56" allow="delivery bicycle pedestrian" oneway="0"/>
    <type id="highway.services" priority="1" numLanes="1" speed="8.33" disallow="tram rail_urban rail rail_electric ship" oneway="0"/>
    <type id="highway.stairs" priority="1" numLanes="1" speed="1.39" allow="pedestrian" oneway="1" width="2.00"/>
    <type id="highway.step" priority="1" numLanes="1" speed="1.39" allow="pedestrian" oneway="1" width="2.00"/>
    <type id="highway.steps" priority="1" numLanes="1" speed="1.39" allow="pedestrian" oneway="1" width="2.00"/>
    <type id="highway.tertiary" priority="6" numLanes="1" speed="22.22" disallow="tram rail_urban rail rail_electric ship" oneway="0"/>
    <type id="highway.tertiary_link" priority="5" numLanes="1" speed="22.22" disallow="tram rail_urban rail rail_electric ship" oneway="0"/>
    <type id="highway.track" priority="1" numLanes="1" speed="5.56" disallow="tram rail_urban rail rail_electric ship" oneway="0"/>
    <type id="highway.trunk" priority="11" numLanes="2" speed="27.78" disallow="tram rail_urban rail rail_electric bicycle pedestrian ship" oneway="0"/>
    <type id="highway.trunk_link" priority="10" numLanes="1" speed="22.22" disallow="tram rail_urban rail rail_electric bicycle pedestrian ship" oneway="0"/>
    <type id="highway.unclassified" priority="5" numLanes="1" speed="13.89" disallow="tram rail_urban rail rail_electric ship" oneway="0"/>
    <type id="highway.unsurfaced" priority="1" numLanes="1" speed="8.33" disallow="tram rail_urban rail rail_electric ship" oneway="0"/>
    <type id="railway.light_rail" priority="15" numLanes="1" speed="27.78" allow="rail_urban" oneway="1"/>
    <type id="railway.preserved" priority="15" numLanes="1" speed="27.78" allow="rail" oneway="1"/>
    <type id="railway.rail" priority="15" numLanes="1" speed="83.33" allow="rail rail_electric" oneway="1"/>
    <type id="railway.subway" priority="15" numLanes="1" speed="27.78" allow="rail_urban" oneway="1"/>
    <type id="railway.tram" priority="15" numLanes="1" speed="13.89" allow="tram" oneway="1"/>

    <edge id=":2284679320_0" function="internal">
        <lane id=":2284679320_0_0" index="0" disallow="tram rail_urban rail rail_electric bicycle pedestrian ship" speed="27.78" length="4.82" shape="2948.58,-1.57 2950.01,-1.16 2950.65,-0.50 2950.50,0.41 2949.57,1.57"/>
    </edge>
    <edge id=":2284679458_0" function="internal">
        <lane id=":2284679458_0_0" index="0" disallow="tram rail_urban rail rail_electric bicycle pedestrian ship" speed="27.78" length="4.82" shape="0.48,920.88 -0.94,920.45 -1.58,919.78 -1.42,918.87 -0.48,917.72"/>
    </edge>

    <edge id="-464110896" from="2284679458" to="2284679320" priority="11" type="highway.trunk" shape="0.00,919.30 11.62,915.78 43.19,906.80 390.94,800.12 754.67,689.00 1098.64,584.39 1507.80,459.09 1843.39,353.99 2152.90,257.44 2424.62,170.14 2452.35,161.22 2819.13,40.99 2949.08,0.00">
        <lane id="-464110896_0" index="0" disallow="tram rail_urban rail rail_electric bicycle pedestrian ship" speed="27.78" length="3089.11" shape="-0.48,917.72 11.15,914.20 42.72,905.21 390.46,798.54 754.19,687.42 1098.16,582.81 1507.31,457.51 1842.89,352.41 2152.40,255.86 2424.11,168.57 2451.84,159.65 2818.62,39.42 2948.58,-1.57"/>
    </edge>
    <edge id="464110896" from="2284679320" to="2284679458" priority="11" type="highway.trunk" shape="2949.08,0.00 2819.13,40.99 2452.35,161.22 2424.62,170.14 2152.90,257.44 1843.39,353.99 1507.80,459.09 1098.64,584.39 754.67,689.00 390.94,800.12 43.19,906.80 11.62,915.78 0.00,919.30">
        <lane id="464110896_0" index="0" disallow="tram rail_urban rail rail_electric bicycle pedestrian ship" speed="27.78" length="3089.15" shape="2949.57,1.57 2819.63,42.56 2452.86,162.79 2425.12,171.71 2153.40,259.01 1843.88,355.56 1508.29,460.66 1099.12,585.97 755.15,690.58 391.43,801.70 43.66,908.38 12.08,917.36 0.48,920.88"/>
    </edge>

    <junction id="2284679320" type="priority" x="2949.08" y="0.00" incLanes="-464110896_0" intLanes=":2284679320_0_0" shape="2949.09,0.05 2948.10,-3.10 2949.06,-0.05">
        <request index="0" response="0" foes="0" cont="0"/>
    </junction>
    <junction id="2284679458" type="priority" x="0.00" y="919.30" incLanes="464110896_0" intLanes=":2284679458_0_0" shape="-0.01,919.25 0.94,922.41 0.01,919.35">
        <request index="0" response="0" foes="0" cont="0"/>
    </junction>

    <connection from="-464110896" to="464110896" fromLane="0" toLane="0" via=":2284679320_0_0" dir="t" state="M"/>
    <connection from="464110896" to="-464110896" fromLane="0" toLane="0" via=":2284679458_0_0" dir="t" state="M"/>

    <connection from=":2284679320_0" to="464110896" fromLane="0" toLane="0" dir="t" state="M"/>
    <connection from=":2284679458_0" to="-464110896" fromLane="0" toLane="0" dir="t" state="M"/>

</net>

Back to the top