Changes between Version 15 and Version 16 of FAQ


Ignore:
Timestamp:
Apr 22, 2007, 10:46:25 AM (17 years ago)
Author:
Mateusz Łoskot
Comment:

Migrated FAQ Raster to new page

Legend:

Unmodified
Added
Removed
Modified
  • FAQ

    v15 v16  
    22
    33 1. [wiki:FAQGeneral General]
    4  2. [wiki:FAQInstallationAndBuilding]
    5  3. [wiki:FAQRaster]
    6  4. [wiki:FAQVector]
    7  5. [wiki:FAQCoordinateSystemsAndProjections]
    8  6. [wiki:FAQMiscellaneous]
    9 
    10 == Raster Support ==
    11 
    12 === Why won't gdalwarp or gdal_merge write to most formats? ===
    13 
    14 GDAL supports many raster formats for reading, but significantly less formats for writing. Of the ones supported for writing most are only supported in create copy mode. Essentially this means they have to be written sequentially from a provided input copy of the image to be written. Programs like gdal_merge.py or gdalwarp that write chunks of imagery non-sequentially cannot easily write to these sequential write formats. Generally speaking formats that are compressed, such as PNG, JPEG and GIF are sequential write. Also some formats require information such as the coordinate system and color table to be known at creation time and so these are also sequential write formats.
    15 
    16 When you encounter this problem it is generally a good idea to first write the result to GeoTIFF format, and then translate to the desired target format.
    17 
    18 To determine which formats support which capabilities, use the ''--formats'' switch with pretty much any GDAL utility. Each driver will include either '''r''' (read-only), '''rw''' (read or sequential write) or '''rw+''' (read, sequential write or random write).
    19 
    20 === How to convert a raster to a layer of polygons? ===
    21 
    22 ''TBD''
     4 2. [wiki:FAQInstallationAndBuilding Installation and Building]
     5 3. [wiki:FAQRaster Raster]
     6 4. [wiki:FAQVector Vector]
     7 5. [wiki:FAQCoordinateSystemsAndProjections Coordinate Systems and Projections]
     8 6. [wiki:FAQMiscellaneous Miscellaneous]
    239
    2410== Vector Support ==