[gdal-dev] Crop raster without changing output pixel size

Dmitriy Baryshnikov bishop.dev at gmail.com
Wed Sep 25 05:15:09 PDT 2013


I'm not sure, but /err_threshold /setting to zero maybe sute:/
/
-et 0.0

Best regards,
     Dmitriy

25.09.2013 15:36, Jukka Rahkonen ?????:
> Alexander Bruy <alexander.bruy <at> gmail.com> writes:
>
>> 2013/9/25 Jukka Rahkonen <jukka.rahkonen <at> mmmtike.fi>:
>>> Have a try by -tr together with -tap
>>> http://www.gdal.org/gdalwarp.html
>>>
>>> I guess it will give about what you want.
>> Thanks for hints, I'll try this. But seems to use -tr option I should
>> first calculate resolution of the output raster. This can work for
>> time from time usage, but not for automated processing.
> I would say it another way, check the resolution of the input raster and use
> that as -tr. If is to used in something automatic, I am sure that a couple
> of rows of Python would do it for you and it should then work forever for
> you. I am not a programmer and cannot say how those lines would look like.
>
> -Jukka-
>
>> Anyway, thanks for your help.
>>
>
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20130925/facc8977/attachment-0001.html>


More information about the gdal-dev mailing list