[gdal-dev] ogrinfo with remote KML-urls
Frank Warmerdam
warmerdam at pobox.com
Tue Feb 23 14:15:05 EST 2010
Mateusz Loskot wrote:
>>> Is this a known issue that ogrinfo does not work with remote URLs?
>> Stephan,
>>
>> I am not aware of any support in OGR for working on remote urls. There is
>> an http driver in GDAL that sort of supports this for rasters, but I don't
>> think the same thing exists in OGR.
>
> Frank,
>
> GeoJSON driver can read GeoJSON stream from remote resource.
> Obviously, Stephan's URL does not point to GeoJSON file,
> but KML, thus it fails.
> AFAIK, the KML driver can't read from URL.
Mateusz,
Ah, I did not realize such magic existed in the geojson driver. How does
it decide whether it ought to initate an expensive http request? It
*seems* like a bad idea to embed such behavior in a particular driver.
Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush | Geospatial Programmer for Rent
More information about the gdal-dev
mailing list