I am using GDAL/OGR 1.10 and QGIS 2.0.1.
I am trying to load a google fusion table into QGIS using the method mentioned in this blog post. The only difference is that I am not declaring a email and password but using the OAuth refresh token I have generated. My VRT code is shown below.
<OGRVRTDataSource> <OGRVRTLayer name="ps"> <SrcDataSource>GFT:refresh=<MY_VERY_LONG_TOKEN_IN_HERE> tables=1kQSkw-2cM_PU_jnu_T_PIksBkbyXm1feYaIooq8</SrcDataSource> </OGRVRTLayer> </OGRVRTDataSource>
But if I then add this layer to QGIS I get an OGR error that said "OGR error 1: HTTP error code : 400", followed by another "OGR error 1: Fetching OAuth2 access code from auth code failed."
I thought that this would have worked because via the commandline I can use OGR to open the data source as shown in the image below.
I have also tried structuring my VRT layer like in the blog post also with no luck. I'm a bit stuck on how to make this work. Any suggestions?