Changes between Version 6 and Version 7 of frmts_wtkraster.html
- Timestamp:
- Sep 20, 2009, 9:01:43 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
frmts_wtkraster.html
v6 v7 142 142 You must use this dataset's format in all the gdal tools, like gdalinfo, gdal_translate, gdalwarp, etc. 143 143 144 '''Example 1:''' 145 146 To 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 152 As user / password, in a common installation, you can use '''postgres / postgres''' 153 154 155 '''Example 2:''' 156 157 To 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 163 This will create a file called ''utm_half_size'' like the original ''utm.tif'' but half size. 164 144 165 145 166 == '''3.3 - Creating and modifying data''' == 146 167 168 The 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 147 171 = '''4 - GDAL WKT Raster driver reference''' = 148 172 149 = '''5 - Reporting problems''' = 173 TODO 174 175 176 = '''5 - Reporting problems''' = 177 178 Take 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