Re: [gdal-dev] Messages: gdal_translate and gdal_rasterize

2009-07-21 Thread Frank Warmerdam
steve.tout...@inspq.qc.ca wrote: Thanks Frank, " the command cannot determine it from the .shp file" Why? Is it because the EPSG code of this .shp is unknown to GDAL or GDAL can't get any SRS from a .shp? Should I add the EPSG code somewhere in a configuration file? Steve, Presumably it

Re: [gdal-dev] Messages: gdal_translate and gdal_rasterize

2009-07-21 Thread Steve . Toutant
.ca Frank Warmerdam 21/07/2009 11:53 AM A steve.tout...@inspq.qc.ca cc gdal-dev@lists.osgeo.org Objet Re: [gdal-dev] Messages: gdal_translate and gdal_rasterize steve.tout...@inspq.qc.ca wrote: > > Hello!!! > When I launch this command > gdal_translate -projwin -4

Re: [gdal-dev] Messages: gdal_translate and gdal_rasterize

2009-07-21 Thread Frank Warmerdam
steve.tout...@inspq.qc.ca wrote: Hello!!! When I launch this command gdal_translate -projwin -428734.998712 20337 1.497532 -387578.449250 172036.180727 EstMtl.img rssMtl.img I get this message Input file size is 7771, 7410 Computed -srcwin 1204 4838 1372 1045 from projected window. 0Warning 1

[gdal-dev] Messages: gdal_translate and gdal_rasterize

2009-07-21 Thread Steve . Toutant
Hello!!! When I launch this command gdal_translate -projwin -428734.998712 20337 1.497532 -387578.449250 172036.180727 EstMtl.img rssMtl.img I get this message Input file size is 7771, 7410 Computed -srcwin 1204 4838 1372 1045 from projected window. 0Warning 1: Lost metadata writing to GeoTIFF .