Changes between Version 6 and Version 7 of frmts_wtkraster.html


Ignore:
Timestamp:
Sep 20, 2009, 9:01:43 AM (15 years ago)
Author:
jorgearevalo
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • frmts_wtkraster.html

    v6 v7  
    142142You must use this dataset's format in all the gdal tools, like gdalinfo, gdal_translate, gdalwarp, etc.
    143143
     144'''Example 1:'''
     145
     146To get info about ''utm.tif'' file stored in database (see section 3.1) run this command:
     147
     148{{{
     149>$ gdalinfo -mm -stats -checksum "PG:host='localhost' dbname='<wktraster_database>' user='<wktraster_user>' password='<wktraster_password>' table='utm'"
     150}}}
     151
     152As user / password, in a common installation, you can use '''postgres / postgres'''
     153
     154
     155'''Example 2:'''
     156
     157To get an overview of the original image with half size (meaning image dimensions, not file size) run this command:
     158
     159{{{
     160>$ gdal_translate -outsize 50% 50% "PG:host='localhost' dbname='<wktraster_database>' user='<wktraster_user>' password='<wktraster_password>' table='utm'" utm_half_size.tif
     161}}}
     162
     163This will create a file called ''utm_half_size'' like the original ''utm.tif'' but half size.
     164
    144165
    145166== '''3.3 - Creating and modifying data''' ==
    146167
     168The GDAL WKT Raster driver is not able to create and modify rasters yet. You'll have to use '''gdal2wktraster''' loader to create new ones.
     169
     170
    147171= '''4 - GDAL WKT Raster driver reference''' =
    148172
    149 = '''5 - Reporting problems''' =
     173TODO
     174
     175
     176= '''5 - Reporting problems''' =
     177
     178Take into account this driver '''is not part of the official GDAL library yet'''. Anyway, if you use it and find any error, if you want to suggest something or if you simply want to say ''hello'' :-), write a mail to ''jorgearevalo at gis4free dot com''
     179