[gdal-dev] cannot access GFT recently via QGIS and OGR

maning sambale emmanuel.sambale at gmail.com
Tue Jun 11 04:57:05 PDT 2013


Thanks Frank.  I did the following:

1. Installed GDAL 1.10.0, released 2013/04/24

2. Run authorization.

$ gdal_auth.py
Authorization requested for scope:
https://www.googleapis.com/auth/fusiontables

Please login and authorize access in web browser...

Enter authorization token:
sometoken
Refresh Token:anothertoken

Consider setting a configuration option like:
GFT_REFRESH_TOKEN=anothertoken

3. Running ogrinfo

ogrinfo -ro "GFT:email=xxx at gmail.com password=xxx tables=data
GFT_REFRESH_TOKEN=anothertoken"
INFO: Open of `GFT:email=xxx at gmail.com password=xxx tables=data
GFT_REFRESH_TOKEN=anothertoken'
      using driver `GFT' successful.
1: dataERROR 1: HTTP error code : 400
ERROR 1: HTML error page returned by server



On Tue, Jun 11, 2013 at 12:08 AM, Frank Warmerdam <warmerdam at pobox.com> wrote:
> Maning,
>
> Could you try GDAL 1.10.0 which has an upgraded GFT (Google Fusion Tables)
> driver.  There were some changes in how the login stuff worked in January or
> so on the google side.
>
> Make sure you read over the format driver page for details of usage.
>
>   http://www.gdal.org/ogr/drv_gft.html
>
> Best regards,
>
> Frank
>
> On Jun 9, 2013 7:54 PM, "maning sambale" <emmanuel.sambale at gmail.com> wrote:
>>
>> I have a vrt with the following contents:
>> (email and password redacted)
>>
>> <OGRVRTDataSource>
>>   <OGRVRTLayer name="data">
>>     <SrcDataSource>
>>       GFT:email=redacted password=redacted
>>     </SrcDataSource>
>>     <SrcLayer>data</SrcLayer>
>> </OGRVRTLayer>
>>
>> This vrt used to work and I can view and edit the data.  But recently,
>> I got this error.
>>
>> ogrinfo -ro census.vrt
>> INFO: Open of `census.vrt'
>>       using driver `VRT' successful.
>> ERROR 1: HTTP error code : 400
>> ERROR 1: HTML error page returned by server
>> 1: data
>>
>> Using GDAL 1.9.2, released 2012/10/08
>>
>> --
>> cheers,
>> maning
>> ------------------------------------------------------
>> "Freedom is still the most radical idea of all" -N.Branden
>> wiki: http://esambale.wikispaces.com/
>> blog: http://epsg4253.wordpress.com/
>> ------------------------------------------------------
>> _______________________________________________
>> gdal-dev mailing list
>> gdal-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/gdal-dev



-- 
cheers,
maning
------------------------------------------------------
"Freedom is still the most radical idea of all" -N.Branden
wiki: http://esambale.wikispaces.com/
blog: http://epsg4253.wordpress.com/
------------------------------------------------------


More information about the gdal-dev mailing list