qgis / QGIS

QGIS is a free, open source, cross platform (lin/win/mac) geographical information system (GIS)
https://qgis.org
GNU General Public License v2.0
10.48k stars 2.99k forks source link

Algorithm for reprojecting coordinates in attributes #37368

Open johnrobot opened 4 years ago

johnrobot commented 4 years ago

Feature description. It would be very useful with an algorithm that can reproject coordinates in attributes. It should allow the user to specify the fields containing X/Y coordinates and current/desired coordinate systems. It seems that the current algorithm and the field calculator only supports reprojecting geometries.

roya0045 commented 4 years ago

You can reproject the geometry and get the x or y with the field calculator, just use transform to reproject. In models you can use the field calculator. This is doable and not too harduous.

johnrobot commented 4 years ago

Yes, that is an option, but that would mean additional processing.

roya0045 commented 4 years ago

Just like having another alg to do the same thing.

jonnyforestGIS commented 4 years ago

@johnrobot this Processing algorythm don't do what you want? https://docs.qgis.org/3.10/en/docs/user_manual/processing_algs/qgis/vectortable.html#add-x-y-fields-to-layer. This add a X and Y coordinates with the desired CRS.

github-actions[bot] commented 3 years ago

The QGIS project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale". If you would like to continue with this issue, please provide any missing information or answer any open questions. If you could resolve the issue yourself meanwhile, please leave a note for future readers with the same problem and close the issue. In case you should have any uncertainty, please leave a comment and we will be happy to help you proceed with this issue. If there is no further activity on this issue, it will be closed in a week.