Description
The OSI GroundTruth provides a field proj_string
to describe a mapping between the coordinates used in OSI and global world coordinates. My understanding is that ideally one would copy the projection string directly from OpenDRIVE to OSI. However, OpenDRIVE provides not just a geoReference
but also an offset
field.
OSI currently does not have an offset
field. To support an OpenDRIVE file which has a defined offset, there are two workarounds currently:
- Create a non-standard projection based on the OpenDRIVE projection and the offset. This is quite cumbersome to do.
- Store different coordinates in OSI than in OpenDRIVE. Then the
map_reference
andmodel_reference
fields might not work correctly.
None of the workarounds is satisfactory.
Suggestion: add an additional x
and y
offset with the same semantics as in OpenDRIVE. This will make it trivial to copy the projection from OpenDRIVE to OSI. This should not affect backward compatibility, since the offset will be zero by default, which is the existing behaviour.
Alternatively, the offset
should be deprecated in OpenDRIVE.