Open nagarjunvinukonda opened 2 years ago
Hello nagarjunvinukonda, i wrote this script to counter the incorrect Coordinate conversion for the carla converter Version 0.9.11 and earlier. I believe this issue had been fixed in later versions - so if you use a later version of carla, this script may be unnecessary or even get you the wrong coordinates.
The script is intended to be run without modifications to any variables - they should be discovered automatically according to the input-osm file. This script will change the lat and lon-values of the osm in such a way, that when it is converted with the carla converter Version 0.9.11 or earlier, that the projection of the xodr should then be correct - therefore it is expected that the lat and lon of the output-osm will be different than the original lan/lon values of the original osm.
Hi @JHMeusener, thank you for your contribution.
I am looking for .osm to .xodr converter with geo-referencing lat and long.
I have used your script for conversion into Geo-referenced .xodr files. But I have few problem and queries as follows:
1) When I used your script to modify the osm, the lat and longitude and different from that of osm file. Also when I convert it into .xodr the lat and longitude are wrong. Why are the lat and longitude changing when I use your script? Is this what generally happens or the final coordinates are in UTM?
2) In the script file from the line number 99 to 102, The variables min and max lat and long are specified again (though they are already specified from line 33 to 36). Should I modify them to my original lat and long? I have tested by modifying and not modifying but still the lat longs change to that of the original .osm maps lat and long. (which shouldn't).
Looking forward to your expertise solutions.