Monday, 31 December 2018

raster - Transforming projected coordinate system using QGIS?


I have two raster datasets, they have different projected coordinate systems; one in WGS_84_UTM_Zone_N34, another in Hungarian_1972_EOV, they overlap each other perfectly if I open them in QGIS.


I would like to transform the coordinate system of the first raster into the second.


I tried Project Raster tool in Data Management toolbox (ArcGIS), it converted the first raster into Hungarian_1972_EOV, but it doesn't overlap with the second raster perfectly (There is a shift between two raster datasets fo about 10-15 meters).


Can anybody help me to find out what is the problem?



Answer



You can do this in qgis itself, refer to 7.14 Follow Along: Saving a Dataset to Another CRS


All of these instructions may not be pertinent, this is from the teach-by-example guide Specifically in the example they transform to WGS 84/UTM (steps 8 and 9), and you want to go to Hungarian_1972_EOV. You may also want to change the Encoding (depending on your use case).



  1. Select Save As... in the menu that appears. You will be shown the Save vector layer as... dialog.


  2. Click on the Browse button next to the Save as field.

  3. Navigate to exercise_data/ and specify the name of the new layer as buildings_reprojected.shp.

  4. Leave the Encoding unchanged.

  5. Change the value of the Layer CRS dropdown to Selected CRS.

  6. Click the Browse button beneath the dropdown.

  7. The CRS Selector dialog will now appear.

  8. In its Filter field, search for 34S.

  9. Choose WGS 84 / UTM zone 34S from the list.

  10. Leave the Symbology export unchanged.



No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...