Created
June 27, 2016 11:16
-
-
Save robintw/377415e4768f9d4b39fc8f0a1b89285d to your computer and use it in GitHub Desktop.
Example output
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
In [15]: gdal.Warp('data.vrt', 'robin2.tif', srcSRS = 'EPSG:4326', dstSRS = 'EPSG:27700', geoloc=True) | |
ERROR 4: No such file or directory | |
--------------------------------------------------------------------------- | |
SystemError Traceback (most recent call last) | |
<ipython-input-15-279de83a9634> in <module>() | |
----> 1 gdal.Warp('data.vrt', 'robin2.tif', srcSRS = 'EPSG:4326', dstSRS = 'EPSG:27700', geoloc=True) | |
/Users/robin/anaconda3/lib/python3.5/site-packages/osgeo/gdal.py in Warp(destNameOrDestDS, srcDSOrSrcDSTab, **kwargs) | |
547 | |
548 if _is_str_or_unicode(destNameOrDestDS): | |
--> 549 return wrapper_GDALWarpDestName(destNameOrDestDS, srcDSTab, opts, callback, callback_data) | |
550 else: | |
551 return wrapper_GDALWarpDestDS(destNameOrDestDS, srcDSTab, opts, callback, callback_data) | |
SystemError: <built-in function wrapper_GDALWarpDestName> returned NULL without setting an error | |
In [16]: !gdalwarp data.vrt robin2.tif -geoloc -s_srs "EPSG:4326" -t_srs "EPSG:27700" | |
Creating output file that is 1240P x 1162L. | |
Processing input file data.vrt. | |
0...10...20...30...40...50...60...70...80...90...100 - done. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment