Changes between Version 23 and Version 24 of FAQRaster
- Timestamp:
- Mar 27, 2010, 2:43:42 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FAQRaster
v23 v24 36 36 The [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. 37 37 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) == 39 39 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 42 Before 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). 41 43 Until 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. 42 44