Hi,
I cannot find an equivalent for -a_scale and -a_offset translate options in
the method gdal.TranslateOptions in Python. Am I missing something or is
this something that should be added?
I know I can use the command line syntax but I would prefer keyword
arguments for these options in Python.
Hi,
Why is it that in gdal.WarpOptions the output projection is called dstSRS
while in gdal.RasterizeOptions it is called outputSRS? Is there a difference
and if not, why is not the same name used?
Thanks,
Johan
--
Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html
Hi all,
How would I rasterize an in memory vector? I have tried this:
assert isinstance(inmemds, ogr.DataSource), 'inmemds is not a ogr
DataSource' #assert not triggered
rastoptions = gdal.RasterizeOptions(outputType=gdal.GDT_Byte,
burnValues=1, xRes=100, yRes=100)
ds =
Hi all,
Using gdal.Info in Python, I would like to have my result as a dictionary
instead of a string. I found that in gdal.InfoOptions I am able to specify
'format'. By default, this is set to 'text', however changing this to 'dict'
(or anything really) does still result in a string.
Is there a
asmita wrote
> I tried to investigate the read with simple read, however I got this error
> :
> Access window out of range in RasterIO(). Requested
> (0,24104) of size 430x450 on raster of 11783x14544.
> (...)
> Anyways, the point is that how should I proceed with to get successful
> read of the i
Running:
opts = gdal.DEMProcessingOptions(zeroForFlat=True)
gdal.DEMProcessing('my\out\file_aspect.tif', 'my\in\dem.tif', 'aspect',
options=opts)
resuts in the error:
Too many command options 'zero_for_flat'
However, if I run it as:
opts = ['-zero_for_flat']
gdal.DEMProcessing('my\out\file_asp
Hi all,
Will there be an update of the Sentinel driver that is able to deal with the
new Level 1C product format (as announced here:
https://scihub.copernicus.eu/news/News00124 ) ?
Thanks,
Johan
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Sentinel-driver-tp5299537.ht
Hi all,
I cannot seem to find the possibility to set the output type in
gdal.RasterizeOptions (like in gdal.TranslateOptions). Am I missing
something or is this not possible?
I'm using GDAL 2.1.1
Thank you,
Johan
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/gdal-Ras