Hi Javier, I am using a .NET wrapper around the Proj, called SharpProj. I am creating crs from a database, using *proj_create_from_database* with authority EPSG and coe 2193 as params. Next thing I try is to convert some positions using* proj_create_crs_to_crs_from_pj *with EPSG:2193 as source crs and EPSG:4326 as target crs. Next call is to *proj_trans* without forwarding and with and with coordinates [-41.302232653193769, 174.77951032151356] as lat, lon. The result is an array of 2, converted[0] = 799875.43712394813 and converted[1] = 400261.41900983331 From this array I need to know what to pick as Northing and what as Easting.
уто, 30. јул 2024. у 14:37 Javier Jimenez Shaw <[email protected]> је написао/ла: > Hi Mladen, > > In which context do you want to do that? python? C++? CLI? What are you > doing later with that info (like calling cs2cs or anything else)? > If you just want to know for a few cases, > https://spatialreference.org/ref/epsg/2193/ is an easy reference. There > is axis information. > > Cheers > > On Tue, 30 Jul 2024 at 14:11, Mladen Mijatovic via PROJ < > [email protected]> wrote: > >> Hi all, >> >> Is there a way to identify if crs has an inverted axis? In most of the >> cases axes are Lat,Lon or E,N but I stumbled on one with axis N,E - >> EPSG:2193. In this case I need to invert coordinates before the >> transformation and I am not sure how to identify this situation in general. >> _______________________________________________ >> PROJ mailing list >> [email protected] >> https://lists.osgeo.org/mailman/listinfo/proj >> >
_______________________________________________ PROJ mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/proj
