Stephan Holl wrote:
Hello,

I am trying to use ogrinfo with a URL to a KML-file. I have compiled gdal 1.7.1 with libcurl, so it _should_ do that.

The Errormessage is the following:
ogrinfo  "http://mw1.google.com/mw-earth-vectordb/haiti/Haiti-Earthquake-nl.kml";

ERROR 1: GeoJSON parsing error: unexpected character (at offset 0)
ERROR 4: Failed to read GeoJSON data
ERROR 1: GeoJSON parsing error: unexpected character (at offset 0)
ERROR 4: Failed to read GeoJSON data
FAILURE:
Unable to open datasource `http://mw1.google.com/mw-earth-vectordb/haiti/Haiti-Earthquake-nl.kml' with the following drivers.
...
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.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, [email protected]
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent

_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to