Opened 16 years ago

Closed 8 years ago

#2336 closed enhancement (fixed)

gdal_rasterize converts projection automatically

Reported by: zxd0419 Owned by: warmerdam
Priority: normal Milestone:
Component: default Version: unspecified
Severity: normal Keywords:
Cc:

Description

Current and earlier versions of gdal_rasterize does not reproject the input polygon shapefile if its projection is different from that of the base raster image to be burned. Nor does it give any warning messages.

Suggestions: Step 1. Give a warning message if different projections are detected Step 2. Automatically reproject the shapefile if different projections are detected.

Change History (2)

comment:1 by zxd0419, 16 years ago

Summary: gdal_rasterize convert projetion automaticallygdal_rasterize converts projection automatically

comment:2 by Jukka Rahkonen, 8 years ago

Resolution: fixed
Status: newclosed

Implemented as written into http://www.gdal.org/gdal_rasterize.html:

Note that on the refly reprojection of vector data to the coordinate system of the raster data is only supported since GDAL 2.1.0.

Note: See TracTickets for help on using tickets.