[gdal-dev] 1.10 Issues with Geocing API and OSM Driver

Even Rouault even.rouault at mines-paris.org
Thu Apr 18 12:19:32 PDT 2013


Le jeudi 18 avril 2013 16:04:50, Dennis Gocke a écrit :
> Thanks for the information Even.
> 
> I have created two tickets related to the OSM Driver issues.
> 
> 
> Regarding the problems with the geocoding services.
> It isn't really query dependant. A specific service behaves the same for
> all queries I tested.
> 
> Anyway here is how it can be reproduced:
> 
> MAPQUEST:
> session = OGRGeocodeCreateSession({"SERVICE=MAPQUEST_NOMINATIM"});
> layer = OGRGeocode(session, "london", null, null);
> 
> -> only first feature in layer has geometry
> 
> 
> 
> GEONAMES:
> session = OGRGeocodeCreateSession({"SERVICE=GEONAMES", "USERNAME=demo"});
> layer = OGRGeocode(session, "london", null, null);
> 
> -> only first feature in layer has geometry
> 
> 
> 
> BING:
> session = OGRGeocodeCreateSession({"SERVICE=BING", "KEY=BingMapsKey"});
> layer = OGRGeocode(session, "london", null, null);
> 
> -> layer is null and CPLGetLastErrorType does not report any error
> 

I've created http://trac.osgeo.org/gdal/ticket/5057.

Issue confirmed (and fixed) for OSM_NOMINATIM, MAPQUEST_NOMINATIM and GEONAMES. 
But for BING, I get a non-NULL layer with my trial key... My hypothesis is 
that your key is wrong ?



More information about the gdal-dev mailing list