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.32k stars 2.97k forks source link

World file and Georeferencer #14416

Open qgib opened 12 years ago

qgib commented 12 years ago

Author Name: alobo - (alobo -) Original Redmine Issue: 4490

Redmine category:c++_plugins/georeferencer


I often need a world file including rotation, would it be possible that the Georeferencer plugin had the option of writing a world file for order 1 polynomial? (perhaps it is possible for Helmert also, as the scaling could be done by modifying the resolution?).

Also, what do you understand by Linear? As far as understand, Helmert and order 1 polynomial are linear also.

I've tried with option Linear, but the transformation does not include rotation. I do not know if this is intentional (i.e., a narrower definition of linear) or perhaps a bug (rotation parameter is not correctly saved to the world file). In other words, the image is not rotated if I select Linear (both with and without world file) but it's rotated if I select order 1 polynomial (but what I need is the world file).

Note world files are ready for rotation parameters: http://www.omg.unb.ca/~jonnyb/processing/geotiff_tifw_format.html http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//009t00000028000000

Also, could the plugin output the parameters of the transformations (linear or not)?

Thanks!

qgib commented 12 years ago

Author Name: Alister Hood (@AlisterH)


You might want to see #12733 The description seems to indicate that the code is there, but disabled.

qgib commented 12 years ago

Author Name: Giovanni Manghi (@gioman)


qgib commented 12 years ago

Author Name: Giovanni Manghi (@gioman)


qgib commented 12 years ago

Author Name: Alexander Bruy (@alexbruy)


qgib commented 11 years ago

Author Name: Pirmin Kalberer (Pirmin Kalberer)


qgib commented 10 years ago

Author Name: Jürgen Fischer (@jef-n)


qgib commented 7 years ago

Author Name: Giovanni Manghi (@gioman)


carlbacker commented 3 years ago

I would like to bump this because have recently needed to produce world files with rotation for both helmert and poly1 and don't really understand why it isn't available already, since viewing/importing externally created world files haven't been a problem in my experience. For a while I thought I was doing something wrong, but the docs state only "linear" supports world file.

As referenced by @AlisterH above, #12733 by @mhugent says it is already implemented but "disabled" (how exactly, through the gui?) by reason that in 2010 rendering rotated rasters was slow. Is this still an issue? At least it hasn't been for me.

Working with historical maps this feels more of a basic necessary tool, than a "nice to have" feature, but it doesn't break anything so ofc not high priority. What is needed to achieve this, if the implementation is already there? I don't know the code myself unfortunately. Is it a matter of "turning on" the option in gui or does the basecode need rewriting? Does it need extended testing now the georef tool is app default and not plugin? If so, I would offer to help.

Thanks!

pjshelton commented 3 years ago

QGIS 3.18.0 still does not rotate with world file. and still only allows the creation of the world file on Linear.

All other methods will rotate but have to write out a new image. Which can only be a GeoTIFF file

baswein commented 2 years ago

I think this should be renamed to "Support Rotation in Georeferencer World File"