[gdal-dev] Problem with GDALWarp

2015-08-31 Thread user gdal
Dear Dr. Brad/all, Thanks for your kind and prompt reply. Below are my answers/clarifications. It may also be said that the program stops execution just after the 'operation->Initialize(WO)' step. Can someone help me solve this problem. On Wed, 19 Aug 2015 04:01:32 PM user gdal wrote: Dear friend

Re: [gdal-dev] Problem with gdalwarp

2012-07-08 Thread Smith, Michael ERDC-RDE-CRREL-NH
Jeff, The coordinates you are using with -te are not in the coordinate system of the image. >From the docs -te xmin ymin xmax ymax:set georeferenced extents of output file to be created (in target SRS). Convert the lat/lon coordinates you are using to the srs of the image and then try it. Mi

Re: [gdal-dev] Problem with gdalwarp

2012-07-08 Thread Jeff Lake
I am attempting to crop a geo tiff that I reprojected .. But I keep getting the error I cannot make an image that is 0x0 gdalinfo of the geotif Driver: GTiff/GeoTIFF Files: na_regionals.tif Size is 13738, 9740 Coordinate System is: PROJCS["unnamed", GEOGCS["WGS 84", DATUM["unknown",

Re: [gdal-dev] Problem with gdalwarp and resampling_method

2011-01-14 Thread Daniele Romagnoli
Hi Jan, There is a simple TYPO in your commands: -s_src EPSG:25832 -t_src EPSG:31468 you should use: -s_srs EPSG:25832 -t_srs EPSG:31468 Note the last char for the referencing options, is an "s" instead of a "c". Then -s_srs instead of -s_src and -t_srs instead of -t_src :) Hope this helps :) D

[gdal-dev] Problem with gdalwarp and resampling_method

2011-01-14 Thread Jan Tappenbeck
HI ! i will translate a tif-image between two systems and use following command gdalwarp -s_src EPSG:25832 -t_src EPSG:31468 D:\\Orthophotos\2616_5806_RGB.tif D:\\Orthophotos\2616_5806_RGB_GK.tif then i get following message... Usage: gdalwarp [--help-general] [--formats] [-s

Re: [gdal-dev] problem with gdalwarp in 1.7 - SOLVED

2010-11-21 Thread geographika
Thanks to both Frank and Chaitanya this is now resolved. Adding in the coordinate system to my GeoJSON solved the issue in the latest versions of GDAL. Leaving this out did not produce errors using ogrinfo, but it did not display the feature as WKT until the CRS was added in. { "type": "P

Re: [gdal-dev] problem with gdalwarp in 1.7

2010-11-21 Thread Chaitanya kumar CH
Seth, You can obtain the WKT of the geometries in a vector data source by using ogrinfo with the -al option. (http://www.gdal.org/ogrinfo.html) On Sun, Nov 21, 2010 at 6:20 PM, geographika wrote: > On 19/11/2010 18:04, Frank Warmerdam wrote: > >> geographika wrote: >> >>> Hi, >>> >>> I have upg

Re: [gdal-dev] problem with gdalwarp in 1.7

2010-11-21 Thread geographika
On 19/11/2010 18:04, Frank Warmerdam wrote: geographika wrote: Hi, I have upgraded from GDAL 1.6 (32bit Windows) to 1.7 (64 bit Windows) and the following command no longer works: C:\mapserver\bin\gdal\apps\gdalwarp C:\Data\Rasters\MiscSuit.tif C:\RasterClips\mytest.tif -cutline c:\RasterCl

Re: [gdal-dev] problem with gdalwarp in 1.7

2010-11-19 Thread Frank Warmerdam
geographika wrote: Hi, I have upgraded from GDAL 1.6 (32bit Windows) to 1.7 (64 bit Windows) and the following command no longer works: C:\mapserver\bin\gdal\apps\gdalwarp C:\Data\Rasters\MiscSuit.tif C:\RasterClips\mytest.tif -cutline c:\RasterClips\hello.json -te 118008.672141 177232.1642

[gdal-dev] problem with gdalwarp in 1.7

2010-11-19 Thread geographika
Hi, I have upgraded from GDAL 1.6 (32bit Windows) to 1.7 (64 bit Windows) and the following command no longer works: C:\mapserver\bin\gdal\apps\gdalwarp C:\Data\Rasters\MiscSuit.tif C:\RasterClips\mytest.tif -cutline c:\RasterClips\hello.json -te 118008.672141 177232.164284 138695.761666 206