Skip to main content
shortened the question discussion
Source Link
IanS
  • 1.4k
  • 2
  • 16
  • 25

In short, the problem is that when Geoereferencer is reopened with a previously edited raster, all the previously saved control points have moved off the image to a location thousands of kilometres away. (QGIS 2.6, Windows 64 bit).

Here is what I did. The project CRS is set to GDA94/MGA zone 55 (EPSG 28355), OTF projection is ‘on’ (to project some GDA94 lat/lon layers to the project’s MGA zone 55 tranverse Mercator projection). I open Georeferencer, and choose a raster file to georeference. My default is to prompt for a projection, so I choose MGA zone 55.

In Georeferencer, I create a number of GCPs (i.e. control points) by referencing to objects in the map canvas. After adding points, I start the georeferencing calculation, choosing Thin Plate Spine (cubic) for full rubber-sheeting. Operation is successful, the raster appears on the map canvas, along with the control points. The control points are also visible in the Georeferencer window, still overlying the points chosen for georeferencing. I save the control points and close the Georeferencer. All good so far.

Now for the problem. Having closed the Georeferencer, I reopen it, and open the samenew, georeferenced, raster image. But now, the control points in the Georeferencer window no longer overlay the raster in the Georeferencer window. However, they do appear correctly on the map canvas (the main QGIS screen). In the Georeferencer window, they have in fact displayed, but half a world away to the south. That is, if the raster covers a rectangle with coordinates 300,000, 5834300 ; 362100, 5782700, the control points occupy an area bounded by coordinates 0,0 ; 6800, -5900. These small coordinates seem to correspond to the number of pixels in the raster image. So, it is no longer practically possible to edit the GCPs.

How do I solve the problem?

See screenshots below.

Image 1: Georeferencer window, and map canvas. After reopening Georeferencer, GCPs do not show in window, but show on canvas (the small red dots).

Image 2: Zooming out in Georeferencer window shows the GCPs are there but far away.

Image1 image2

In short, the problem is that when Geoereferencer is reopened with a previously edited raster, all the previously saved control points have moved off the image to a location thousands of kilometres away. (QGIS 2.6, Windows 64 bit).

Here is what I did. The project CRS is set to GDA94/MGA zone 55 (EPSG 28355), OTF projection is ‘on’ (to project some GDA94 lat/lon layers to the project’s MGA zone 55 tranverse Mercator projection). I open Georeferencer, and choose a raster file to georeference. My default is to prompt for a projection, so I choose MGA zone 55.

In Georeferencer, I create a number of GCPs (i.e. control points) by referencing to objects in the map canvas. After adding points, I start the georeferencing calculation, choosing Thin Plate Spine (cubic) for full rubber-sheeting. Operation is successful, the raster appears on the map canvas, along with the control points. The control points are also visible in the Georeferencer window, still overlying the points chosen for georeferencing. I save the control points and close the Georeferencer. All good so far.

Now for the problem. Having closed the Georeferencer, I reopen it, and open the same raster image. But now, the control points in the Georeferencer window no longer overlay the raster in the Georeferencer window. However, they do appear correctly on the map canvas (the main QGIS screen). In the Georeferencer window, they have in fact displayed, but half a world away to the south. That is, if the raster covers a rectangle with coordinates 300,000, 5834300 ; 362100, 5782700, the control points occupy an area bounded by coordinates 0,0 ; 6800, -5900. These small coordinates seem to correspond to the number of pixels in the raster image. So, it is no longer practically possible to edit the GCPs.

How do I solve the problem?

See screenshots below.

Image 1: Georeferencer window, and map canvas. After reopening Georeferencer, GCPs do not show in window, but show on canvas (the small red dots).

Image 2: Zooming out in Georeferencer window shows the GCPs are there but far away.

Image1 image2

In short, the problem is that when Geoereferencer is reopened with a previously edited raster, all the previously saved control points have moved off the image to a location thousands of kilometres away. (QGIS 2.6, Windows 64 bit).

In Georeferencer, I create a number of GCPs (i.e. control points) by referencing to objects in the map canvas. After adding points, I start the georeferencing calculation. Operation is successful, the raster appears on the map canvas, along with the control points. The control points are also visible in the Georeferencer window, still overlying the points chosen for georeferencing. I save the control points and close the Georeferencer. All good so far.

Now for the problem. Having closed the Georeferencer, I reopen it, and open the new, georeferenced, raster image. But now, the control points in the Georeferencer window no longer overlay the raster in the Georeferencer window. However, they do appear correctly on the map canvas (the main QGIS screen). In the Georeferencer window, they have in fact displayed, but half a world away to the south. That is, if the raster covers a rectangle with coordinates 300,000, 5834300 ; 362100, 5782700, the control points occupy an area bounded by coordinates 0,0 ; 6800, -5900. These small coordinates seem to correspond to the number of pixels in the raster image. So, it is no longer practically possible to edit the GCPs.

How do I solve the problem?

See screenshots below.

Image 1: Georeferencer window, and map canvas. After reopening Georeferencer, GCPs do not show in window, but show on canvas (the small red dots).

Image 2: Zooming out in Georeferencer window shows the GCPs are there but far away.

Image1 image2

removed erroneous info
Source Link
IanS
  • 1.4k
  • 2
  • 16
  • 25

In short, the problem is that when Geoereferencer is reopened with a previously edited raster, all the previously saved control points have moved off the image to a location thousands of kilometres away. (QGIS 2.6, Windows 64 bit).

Here is what I did. The project CRS is set to GDA94/MGA zone 55 (EPSG 28355), OTF projection is ‘on’ (to project some GDA94 lat/lon layers to the project’s MGA zone 55 tranverse Mercator projection). I open Georeferencer, and choose a raster file to georeference. My default is to prompt for a projection, so I choose MGA zone 55.

In Georeferencer, I create a number of GCPs (i.e. control points) by referencing to objects in the map canvas. After adding points, I start the georeferencing calculation, choosing Thin Plate Spine (cubic) for full rubber-sheeting. Operation is successful, the raster appears on the map canvas, along with the control points. The control points are also visible in the Georeferencer window, still overlying the points chosen for georeferencing. I save the control points and close the Georeferencer. All good so far.

Now for the problem. Having closed the Georeferencer, I reopen it, and open the same raster image. But now, the control points in the Georeferencer window no longer overlay the raster in the Georeferencer window. However, they do appear correctly on the map canvas (the main QGIS screen). In the Georeferencer window, they have in fact displayed, but half a world away to the south. That is, if the raster covers a rectangle with coordinates 300,000, 5834300 ; 362100, 5782700, the control points occupy an area bounded by coordinates 0,0 ; 6800, -5900. These small coordinates seem to correspond to the number of pixels in the raster image. So, it is no longer practically possible to edit the GCPs.

How do I solve the problem?

See screenshots below.

Further note that may or may not be relevant: even though the GCPs no longer overlie the features on the raster image, a further run of the Georeferencer will still produce a correctly positioned and rubber-sheeted image in the main map canvas.

Image 1: Georeferencer window, and map canvas. After reopening Georeferencer, GCPs do not show in window, but show on canvas (the small red dots). Image

Image 2: Zooming out in Georeferencer window shows the GCPs are there but far away.

Image 1Image1 Image 2image2

In short, the problem is that when Geoereferencer is reopened with a previously edited raster, all the previously saved control points have moved off the image to a location thousands of kilometres away. (QGIS 2.6, Windows 64 bit).

Here is what I did. The project CRS is set to GDA94/MGA zone 55 (EPSG 28355), OTF projection is ‘on’ (to project some GDA94 lat/lon layers to the project’s MGA zone 55 tranverse Mercator projection). I open Georeferencer, and choose a raster file to georeference. My default is to prompt for a projection, so I choose MGA zone 55.

In Georeferencer, I create a number of GCPs (i.e. control points) by referencing to objects in the map canvas. After adding points, I start the georeferencing calculation, choosing Thin Plate Spine (cubic) for full rubber-sheeting. Operation is successful, the raster appears on the map canvas, along with the control points. The control points are also visible in the Georeferencer window, still overlying the points chosen for georeferencing. I save the control points and close the Georeferencer. All good so far.

Now for the problem. Having closed the Georeferencer, I reopen it, and open the same raster image. But now, the control points in the Georeferencer window no longer overlay the raster in the Georeferencer window. However, they do appear correctly on the map canvas (the main QGIS screen). In the Georeferencer window, they have in fact displayed, but half a world away to the south. That is, if the raster covers a rectangle with coordinates 300,000, 5834300 ; 362100, 5782700, the control points occupy an area bounded by coordinates 0,0 ; 6800, -5900. These small coordinates seem to correspond to the number of pixels in the raster image. So, it is no longer practically possible to edit the GCPs.

How do I solve the problem?

See screenshots below.

Further note that may or may not be relevant: even though the GCPs no longer overlie the features on the raster image, a further run of the Georeferencer will still produce a correctly positioned and rubber-sheeted image in the main map canvas.

Image 1: Georeferencer window, and map canvas. GCPs do not show in window, but show on canvas. Image 2: Zooming out in Georeferencer window shows the GCPs are there but far away

Image 1 Image 2

In short, the problem is that when Geoereferencer is reopened with a previously edited raster, all the previously saved control points have moved off the image to a location thousands of kilometres away. (QGIS 2.6, Windows 64 bit).

Here is what I did. The project CRS is set to GDA94/MGA zone 55 (EPSG 28355), OTF projection is ‘on’ (to project some GDA94 lat/lon layers to the project’s MGA zone 55 tranverse Mercator projection). I open Georeferencer, and choose a raster file to georeference. My default is to prompt for a projection, so I choose MGA zone 55.

In Georeferencer, I create a number of GCPs (i.e. control points) by referencing to objects in the map canvas. After adding points, I start the georeferencing calculation, choosing Thin Plate Spine (cubic) for full rubber-sheeting. Operation is successful, the raster appears on the map canvas, along with the control points. The control points are also visible in the Georeferencer window, still overlying the points chosen for georeferencing. I save the control points and close the Georeferencer. All good so far.

Now for the problem. Having closed the Georeferencer, I reopen it, and open the same raster image. But now, the control points in the Georeferencer window no longer overlay the raster in the Georeferencer window. However, they do appear correctly on the map canvas (the main QGIS screen). In the Georeferencer window, they have in fact displayed, but half a world away to the south. That is, if the raster covers a rectangle with coordinates 300,000, 5834300 ; 362100, 5782700, the control points occupy an area bounded by coordinates 0,0 ; 6800, -5900. These small coordinates seem to correspond to the number of pixels in the raster image. So, it is no longer practically possible to edit the GCPs.

How do I solve the problem?

See screenshots below.

Image 1: Georeferencer window, and map canvas. After reopening Georeferencer, GCPs do not show in window, but show on canvas (the small red dots).

Image 2: Zooming out in Georeferencer window shows the GCPs are there but far away.

Image1 image2

Source Link
IanS
  • 1.4k
  • 2
  • 16
  • 25

QGIS georeferencer - GCP projection problem

In short, the problem is that when Geoereferencer is reopened with a previously edited raster, all the previously saved control points have moved off the image to a location thousands of kilometres away. (QGIS 2.6, Windows 64 bit).

Here is what I did. The project CRS is set to GDA94/MGA zone 55 (EPSG 28355), OTF projection is ‘on’ (to project some GDA94 lat/lon layers to the project’s MGA zone 55 tranverse Mercator projection). I open Georeferencer, and choose a raster file to georeference. My default is to prompt for a projection, so I choose MGA zone 55.

In Georeferencer, I create a number of GCPs (i.e. control points) by referencing to objects in the map canvas. After adding points, I start the georeferencing calculation, choosing Thin Plate Spine (cubic) for full rubber-sheeting. Operation is successful, the raster appears on the map canvas, along with the control points. The control points are also visible in the Georeferencer window, still overlying the points chosen for georeferencing. I save the control points and close the Georeferencer. All good so far.

Now for the problem. Having closed the Georeferencer, I reopen it, and open the same raster image. But now, the control points in the Georeferencer window no longer overlay the raster in the Georeferencer window. However, they do appear correctly on the map canvas (the main QGIS screen). In the Georeferencer window, they have in fact displayed, but half a world away to the south. That is, if the raster covers a rectangle with coordinates 300,000, 5834300 ; 362100, 5782700, the control points occupy an area bounded by coordinates 0,0 ; 6800, -5900. These small coordinates seem to correspond to the number of pixels in the raster image. So, it is no longer practically possible to edit the GCPs.

How do I solve the problem?

See screenshots below.

Further note that may or may not be relevant: even though the GCPs no longer overlie the features on the raster image, a further run of the Georeferencer will still produce a correctly positioned and rubber-sheeted image in the main map canvas.

Image 1: Georeferencer window, and map canvas. GCPs do not show in window, but show on canvas. Image 2: Zooming out in Georeferencer window shows the GCPs are there but far away

Image 1 Image 2