-
Notifications
You must be signed in to change notification settings - Fork 367
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Geocoded(Georerenced) tif image load issue using GDAL Extension #1336
Comments
I have reproduced the actual behavior. I suspect the problem is that DotSpatial is not currently handling this type of georeference information. Based on GDAL documentation regarding the Raster Data Model, there are two options to describe the raster space (the transformation), either an Affine Transformation, or GCPs. It is specifically stated that:
In the posted file, the raster space transformation is described through GCPs. According to a statement from the same link:
I have retrieved the GCPs in code from the posted @rupakraj Regarding your problem, the only way to get around it is to actually transform the image (i.e. use |
Thanks @VectorZita I used While going through details the image is mirrored OR flipped as well. How can we fix this? Thanks a lot. |
I had posted about such an issue a couple of years ago #1060 |
Hi,
I have a TIF image which is geocoded (georefenced) using gdal_translate. In
DotSpatial
demo application while trying to load the image it is not showing.gdalinfo output showing the image is georeference with GCPs
DotSpatial version: build of
master
Expected behaviour
It was supposed to be loaded in the position where coding were applied as it does on the
QGIS
as below, the original image is shifted as it should be.Fig: QGIS
Actual behaviour
Orginal image is as below:
On demo application the image is not shown as it was in QGIS, and also the image was actually flipped as below.
Fig:Translated Image
I tried to load the image manually using gdal extension as well on separate project
I tried
map.AddLayer();
as well and still no luck. In custom application it is not even loaded.Files
balambu_1KA.zip
balambu_1KA_georef.zip
How can we I fix this issue?
The text was updated successfully, but these errors were encountered: