added more flexibility in encoding georeference inside map.osm #99
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Details
Description
Added more flexibility in encoding geoReference string inside vector_map.osm.
Autoware_osm_parsert now supports following geoReference tags in the map, e.g.:
<geoReference>+proj=tmerc +lat_0=39.46636844371259 +lon_0=-76.16919523566943 +k=1 +x_0=0 +y_0=0 +datum=WGS84</geoReference>
<geoReference v="+proj=tmerc +lat_0=39.46636844371259 +lon_0=-76.16919523566943 +k=1 +x_0=0 +y_0=0 +datum=WGS84"/>
<geoReference value="+proj=tmerc +lat_0=39.46636844371259 +lon_0=-76.16919523566943 +k=1 +x_0=0 +y_0=0 +datum=WGS84"/>
Related Issue
Initial issue is here
Motivation and Context
Initial way of encoding, which is to use inside-brackets approach, was not as common, and created confusion for developers when they used more common practices without being successfully loading the map. Particularly, this creates discrepancy when scripts like osm converter is used.
How Has This Been Tested?
Unit Tested using sample maps
Types of changes
Checklist:
CARMA Contributing Guide