Cool! Thanks for the feedback. I'll update the wiki page :) --Wolf on Android The usual disclaimer goes here On 20 Dec 2014 12:25, "Jorge Arévalo" <jo...@cartodb.com> wrote:
> Hi Wolf > > I already fixed it. I had to follow these steps: > > - Define GOA2_CLIENT_ID, GOA2_CLIENT_SECRET, GME_APIKEY > > - Define GME_REFRESH_TOKEN, which allow the app to refresh the token > > No problem, so far. Just followed this > http://trac.osgeo.org/gdal/wiki/GMEDriver > > - Define GME_AUTH (or provide 'auth' in the query string). This is not > specified in the wiki page, but can be found here: > https://github.com/OSGeo/gdal/blob/trunk/gdal/ogr/ogrsf_frmts/gme/ogrgmedatasource.cpp#L140 > > The steps to get those environment vars are: > > - GOA2_CLIENT_ID, GOA2_CLIENT_SECRET, GME_APIKEY --> from Google API > console > > - GME_AUTH, GME_REFRESH_TOKEN --> execute gdal_auth.py. Also stated in the > wiki page. Just use the interactive option. > > gdal_auth.py -s gme > > So, the wiki page is basically correct. But just need to add the part > about GME_AUTH :-) > > Best regards, > > Jorge > > > > > > > > El 19/12/2014 18:33, "Wolf Bergenheim" <wolf+gr...@bergenheim.net> > escribió: > >> Hi Jorge. >> >> I noticed some issues with it earlier this week. I'll see if I have some >> spare time over the weekend to see what I can do about it. Are you using >> the trunk version or an earlier release? >> >> On 18 December 2014 at 23:23, Jorge Arévalo <jo...@cartodb.com> wrote: >> >>> Hello, >>> >>> I'm having problems making the GDAL GME driver work ( >>> http://trac.osgeo.org/gdal/wiki/GMEDriver). I've defined CLIENT_API and >>> CLIENT_SECRET in Google API console, and I successfully used them with the >>> QGIS GME plugin ( >>> https://plugins.qgis.org/plugins/GoogleMapsEngineConnector/) and with >>> the example Python script of the doc page: >>> https://developers.google.com/maps-engine/documentation/oauth/installedapplication. >>> But, for some reason, I keep getting HTTP 401 error when trying to read >>> from my GME account using the GDAL driver. >>> >>> I've used gdal_auth.py to get the access token and the refresh token. >>> Passed the config options, as stated in the driver's page. Always getting >>> HTTP 401. >>> >>> Do you have any working example using GDAL GME driver? More info about >>> my problem here: >>> http://gis.stackexchange.com/questions/127065/i-cant-configure-authentication-with-google-maps-engine-driver-from-gdal >>> >>> Many thanks in advance! >>> >>> -- >>> Jorge >>> >>> Sent using Postbox: >>> http://www.getpostbox.com >>> >>> _______________________________________________ >>> gdal-dev mailing list >>> gdal-dev@lists.osgeo.org >>> http://lists.osgeo.org/mailman/listinfo/gdal-dev >>> >> >>
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev