GeoTiff raster file format

GeoTIFF raster format

The GeoTIFF raster format is very flexible and is the preferred format to import rasters into Geopublisher. Some of the great features of GeoTIFF are for example:

  • The definition of the coordinate reference system can be stored inside the .tif file - hence no extra .prj projection definition file needed.
  • Ground Control Points can also be stored inside the .tif file - hence no extra world files are needed.
  • Any number of bands can be stored in one .tif file.
  • Colortables for one-band images can be stored iside the .tif file.
  • Multiple prescaled overviews of the same image can be stored inside one .tif file (see gdaladdo).

Import GeoTIFF into Geopublisher

Any GeoTIFF file can just be imported into the datapool.

Projection

Geopublisher will search the following locations in order to find projection information for a GeoTIFF:

  1. Ideally a GeoTIFF contains its projection information inside the .tif file. Geopublisher will first look there for a projection definition.
  2. Geopublisher will look for a .prj file with exactly the same basename (case-sensitive!). Read here about the format of .prj files.
  3. If no projection information is found, Geopublisher will still import the GeoTIFF. A message appears saying that the default coordinate reference system was assumed for the GeoTIFF. See here how to define the standard CRS for your atlas.

Colorization

A GeoTIFF raster can contain information about the colorization inside the .tif file - or not. It the information is contained, it will be used by Geopublisher automatically. Depending on the type of color information, you may import color information using the gdalinfo tool.

If no color information is contained in the .tif, Geopublisher can still be used to create such information using the SLD standard. Note that as of version 1.7, Geopublisher can only create working SLD styles for one-band raster files.

To style a GeoTIFF (or any raster layer) in Geopublisher import the layer into a map and click on the tool () icon. Then select style from the menu. The AtlasStyler editor dialog will open.

Externe Links mit Informationen zum GeoTIFF Format

 

Languages