You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So far or projection handling only seems to work for projection type 22 ( OTHER_COORDINATE_OPERATION)
I couldn't figure out how to call proj_trans with any projection of type 15 (PROJECTED_CRS)
See https://proj.org/development/reference/datatypes.html#c.PJ_TYPE
Possibly we should be using proj_create_crs_to_crs (OSGeo/PROJ#2087)
This would require making the input CRS explicit (currently, netconvert assumes WGS84)
The following works:
--proj.utm:
--proj "+proj=utm +zone=32 +ellps=WGS84 +datum=WGS84 +units=m +no_defs"
--proj "+proj=utm +zone=32 +datum=WGS84 +units=m +no_defs"
If a proj-string contains a +type=crs option, then it is interpreted as a CRS definition. In particular geographic CRS are assumed to have axis in the longitude, latitude order and with degree angular unit. The use of proj-string to describe a CRS is discouraged. It is a legacy means of conveying CRS descriptions: use of object codes (EPSG:XXXX typically) or WKT description is recommended for better expressivity.
If a proj-string does not contain +type=crs, then it is interpreted as a coordination operation / transformation.
The text was updated successfully, but these errors were encountered:
So far or projection handling only seems to work for projection type 22 ( OTHER_COORDINATE_OPERATION)
I couldn't figure out how to call
proj_trans
with any projection of type 15 (PROJECTED_CRS)See https://proj.org/development/reference/datatypes.html#c.PJ_TYPE
Possibly we should be using
proj_create_crs_to_crs
(OSGeo/PROJ#2087)This would require making the input CRS explicit (currently, netconvert assumes WGS84)
The following works:
--proj.utm:
--proj "+proj=utm +zone=32 +ellps=WGS84 +datum=WGS84 +units=m +no_defs"
--proj "+proj=utm +zone=32 +datum=WGS84 +units=m +no_defs"
This doesn't work:
--proj "+proj=utm +zone=32 +datum=WGS84 +units=m +no_defs +type=crs"
--proj "EPSG:32632"
This is what the PRO documentation has to say about this topic:
The text was updated successfully, but these errors were encountered: