You can try subprocess.check_output with -json option.
It will save a structure with your desidered information.
https://docs.python.org/2/library/subprocess.html
2017-03-29 16:18 GMT+02:00 Even Rouault-2 [via OSGeo.org] <
ml-node+s1560n5314820...@n6.nabble.com>:
> On mercredi 29 mars 2017 06:51
On mercredi 29 mars 2017 06:51:11 CEST Johan de Braak wrote:
> 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
Gane,
The reason for the errors below are because you left out MapInfo and
JSON driver. Parts of them are used by other drivers. I tried some time
ago to try to build a minimal GDAL but it seemed to be not so simple and
I did not succeed.
If you succeed, please update the Wiki page.
Best re
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
I found the problem. The problem is the name = "thömas" is a widestring. It
seems that gdal doesn't work with it ? is there a solution ?
From: Ahmed Tolba
Sent: Wednesday, March 29, 2017 1:51 PM
To: 'gdal-dev@lists.osgeo.org'
Subject: Select an area from a table OGR
Hi All,
I'm trying to selec
On mercredi 29 mars 2017 10:07:07 CEST Daniele Romagnoli wrote:
> Hi,
> While investigating on some rendering issues we have with java JAI based
> operations involving interpolations, I have found the topic of bicubic
> interpolation introducing values outside of the input dynamic, as well as
> neg
Daniele,
For your first question, you should operate with a no_data value outside the
range of pixel generated by interpolation.
So you should do a preprocessing to change no_data value outside of this
range. Alternatively, if you want to keep 0 as no_data, you should clamp
negative value
Hi All,
I'm trying to select a specific field in the table area, and I want to retrieve
that layer, which has the features, I got a correct layer, but the layer has no
features to look for
Here is what I'm doingOGRLayer * layer = m_wfs_t->ExecuteSQL("SELECT * from
areas WHERE name= 'thöma
Hi all,
I am looking for building gdal with minimal set of drivers like gdal with
geotiff, jpg, png and sqlite gpkg
so it should do basic warp geotiff and work with geopkg raster. I don't
need OGR part I need the core, alg and raster tif, gpkg, jpg and png alone
is enought.
the problem is I get a
Hi,
While investigating on some rendering issues we have with java JAI based
operations involving interpolations, I have found the topic of bicubic
interpolation introducing values outside of the input dynamic, as well as
negative values and overshooting.
The problem we had was with a grayscale Ge
10 matches
Mail list logo