Changes between Version 23 and Version 24 of FAQRaster


Ignore:
Timestamp:
Mar 27, 2010, 2:43:42 PM (14 years ago)
Author:
Even Rouault
Comment:

Change to reflect that gdal_rasterize can now create the output file

Legend:

Unmodified
Added
Removed
Modified
  • FAQRaster

    v23 v24  
    3636The [http://www.gdal.org/gdal_polygonize.html gdal_polygonize.py] python script can be used to convert raster layers to polygon layers since GDAL 1.6.  It will produce very detailed polygons around each area of equal pixel value.
    3737
    38 == How can I create a blank raster based on a vector files extents for use with gdal_rasterize? ==
     38== How can I create a blank raster based on a vector files extents for use with gdal_rasterize? (GDAL < 1.8.0) ==
    3939
    40 Currently the gdal_rasterize utility cannot create a blank raster based a vector datasource although this feature has been considered (Ticket #1599).
     40'''The method detailed in this paragraph is no longer necessary with GDAL >= 1.8.0. See ticket #3505'''
     41
     42Before GDAL 1.8.0, the gdal_rasterize utility cannot create a blank raster based a vector datasource although this feature has been considered (Ticket #1599).
    4143Until that feature is added you'll need to find a way to generate a raster that matches the extent of your vector layer. You can then use that blank raster to burn in features from your vector layer.
    4244