Open kbevers opened 4 years ago
Can you try with latest QGIS 3.10.3? There was a fair amount of fixes that could resolve your issue.
Can you try with latest QGIS 3.10.3? There was a fair amount of fixes that could resolve your issue.
Probably not. At least not immediately (coorporate PC, you know). I may be able to give it a go with 3.12.0. Hang on :-)
2\. (packaged here: [greenland.zip].(https://github.com/qgis/QGIS/files/4281693/greenland.zip))
@kbevers this attachment/zip is empty.
@kbevers this attachment/zip is empty.
Whoops. Try this one: greenland.zip
4\. Open the attached [GR96_fiducial_stations_1996.txt](https://github.com/qgis/QGIS/files/4281622/GR96_fiducial_stations_1996.txt)
@kbevers also this is not really a CSV (no clear seprator, is not space and also not TAB), can you attach a real CSV? Thanks!
In 3.12.0 I get this error:
No transform is available between EPSG:4908 - GR96 and EPSG:4909 - GR96.
No such file or directory
and the "Select Datum Transformations" dialog doesn't show any transformations between EPSG:4908 and EPSG:4909. At least QGIS 3.12 aren't making promises it can't keep but it would be nice to be able to have support for geocentric cartesian coordinates though.
@kbevers also this is not really a CSV (no clear seprator, is not space and also not TAB), can you attach a real CSV? Thanks!
Sure: GR96_fiducial_stations_1996_csv.txt
although whitespace is the clear separator in the other file. I have not problems loading it correctly.
although whitespace is the clear separator in the other file. I have not problems loading it correctly.
not here. Anyway I also tested QGIS 3.10.3 and 3.12 and confirm the reported results. The problem seems to be the reprojection of the data because if the project CRS is the same as the point data CRS then is ok.
The problem seems to be the reprojection of the data because if the project CRS is the same as the point data CRS then is ok.
Trying that I at least get something that looks kinda correct. North has moved quite a bit west though :)
It doesn't really make sense to put geocentric cartesian coordinates on a 2D canvas. Which is what is done in this case. Basically the x and y coordinates are used no questions asked, which results in weird behavior since the origin of those coordinates are the center of the earth. See https://en.wikipedia.org/wiki/ECEF for more info.
I can still replicate this behaviour on QGIS 3.16.15 and 3.22.2.
Hello, I'm using QGIS 3.28.1 and trying to change CRS yo a shapefile from EPSG:25832 (geographical) to EPSG:6704 (geocentric), but the result is rotated 90 degrees, see image (below is after trasformation). There a workaround ? Thank you.
Describe the bug
Adding a new layer from a text file with geocentric cartesian coordinates results in a layer without geometry. Attached is a file,
GR96_fiducial_stations_1996.txt
, with EPSG:4908 coordinates which QGIS in theory should be able to understand and transform to the project CRS. This fails.How to Reproduce
greenland.gpkg
(packaged here: greenland.zip ). Make sure that project CRS is set to EPSG:4909.Note that the x-coordinate (longitude) seems to be represented correct, but that the y-coordinate (latitude) is set to 0. Worth mentioning is also that when zooming in on the orange points they will disappear and the identify features tool won't recognize the points (independent on zoom level).
QGIS and OS versions
Additional context
Using a recent version of PROJ the correct transformation can be performed:
Since QGIS is using PROJ this should work. I suspect the problem has something to do with the PROJ.4 representation of geocentric cartesian CRS's which ends up being
+proj=geocent ...
which was not designed for that use-case.QGIS seems to know which transformation to apply as can be seen in the image below from the "Select Datum Transformations" dialog.
which matches the output from
projinfo
: