CRS Conversion V3 (convertGeoJson)
Here my observations from 2022-04-29
-
Reference data relationships in OSDU are declared as {{record-id}}:{{reord-version}}
for versioned targets or{{record-id}}:
for 'latest target version'. I don't expect people to use versioned reference-data, whiever, this is a general pattern. The example JSON fragments in the Postman collection request Body are not validating against the AbstractAnyCrsFeatureCollection. When I add a trailing colon I get 500 server error. -
This would perhaps be more a @bert.kampes concern - but the "17 CRS Conversion - Convert GeoJson success scenario" takes a point in the Carribean and puts it into a CRS valid in the Norwegian sector south of 62°N. -
In the successfully converted response the persistableReferenceCrs
string is updated to the toCRS in the request but notCoordinateReferenceSystemID
. This must become the requested toCRS. -
VerticalUnitID - using the "toUnitZ": "osdu:reference-data--UnitOfMeasure:ft%5BUS%5D"
fails with 400 but succeeds withosdu:reference-data--UnitOfMeasure:ft
(I created them as UnitOfMeasure records before)-
With input "persistableReferenceUnitZ": "osdu:reference-data--UnitOfMeasure:m"
and toUnitZ ft, no unit conversion takes place (the log confirms that). However, herepersistableReferenceUnitZ
must be a serialized JSON string, sending a relationship ID must lead to an error. Changing the key toVerticalUnitID
makes the unit conversion happen. -
In the successfully converted response the persistableReferenceUnitZ
is updated but theVerticalUnitID
is not (same as in point 3 above).
-
Minor - some Postman requests came
- without variable {{osduonaws_base_url}}
- withou variable definitions (and values) for {{DATA_OWNERS_GROUP}}, {{DATA_VIEWERS_GROUP}}, and {{LEGAL_TAG}}
Edited by Bert Kampes