How to correctly display a non-North aligned GeoTiff image in JViews Maps

Article ID: 2520
Last updated: 30 May, 2018
Article ID: 2520
Last updated: 30 May, 2018
Revision: 3
Views: 1405
Posted: 30 Jun, 2015
by Gargani A.
Updated: 30 May, 2018
by Gargani A.

Symptoms

When loading a non-North aligned GeoTiff image in the Map Builder, the image is not correctly displayed. The image is not rotated correctly and the ratio is not correct either.

Resolving the problem

JViews Maps is not able to load transformed (especially rotated) Geotiff images.

Common Geotiff files are usually squared and north-up images. That means that the 4 borders of the images are aligned to north-south and east-west directions. JViews Maps can load these GeoTiff images.

However, if the file is not north-up image. Its borders are not aligned to north-south and east-west directions. JViews Maps can not load these images correctly. JViews even does not warn the users that such images are not supported.

It is however possible to use a tool to make the image north-up before importing it to JViews.

GDAL, http://www.gdal.org/, is a very powerful image library used by many Maps engines.

For Windows, you can download a package from http://download.osgeo.org/gdal/win32/

Download and unzip the latest version. You will get a gdalwarp utility in the bin folder. You can make a geotiff file north-up this way:

> gdalwarp my_map.tiff north_up.tiif

This utility tool is free. And there are other options you can customize. There is a online documentation here

http://www.gdal.org/gdalwarp.html

This article was:   Helpful | Not helpful
Report an issue
Article ID: 2520
Last updated: 30 May, 2018
Revision: 3
Views: 1405
Posted: 30 Jun, 2015 by Gargani A.
Updated: 30 May, 2018 by Gargani A.
Also listed in


Others in this category