Convert SDF to WGS 84

198
1
09-20-2021 11:24 PM
JiříKomínek
New Contributor II

Hi, I have an sdf from a feature layer in the  EPSG 5514 coordinate system, and it returns points with coordinates in meters. After applying a query where I call "out_sr=4326" at the end, I get the coordinates in degrees, but they are a bit off by a few meters. Is there another way to trnsform the coordinates or the whole sdf into 4326? thanks

 

sdf = znacky.query(where="NAPIS like '%=invalida%'  or OZNACENI like '%IP12O%' or NAPIS like '%= invalida%'  or NAPIS like '%X invalida%' or NAPIS like '%x invalida%' or NAPIS like '%.invalida%' or NAPIS like '%. invalida%' or NAPIS like '%.invalida%' or CISZN like '%IP1201%' and platnost_t not like '%Archiv%'",out_sr=4326  ).sdf
Tags (2)
0 Kudos
1 Reply
DavidPike
MVP Frequent Contributor

You might be able to specify a datum transformation e.g 15965 https://epsg.io/5514 (I have no idea which would be the best)
https://epsg.org/search/by-name/sessionkey/lkb8q2c1cc/transformation_page/40/#transformation

'datumTransformation' parameter https://developers.arcgis.com/rest/services-reference/enterprise/query-feature-service-layer-.htm

datumTransformation=1623

 

0 Kudos