Hello Mateusz, Frank,
thanks for your elaborated answers. This confirmes what I thought.
So the changes Frank suggested in this thread seem to work also for
KML when it will be done in a future release of gdal. In the meanwhile I
will wrap the ogr-call in a wrapper who does the curl-stuff.
If yo
Frank Warmerdam wrote:
> Mateusz Loskot wrote:
>>> It *seems* like a bad idea to embed such behavior in a particular
>>> driver.
>>
>> Yes, I understand your point. Perhaps I should narrow the test with
>> check if URL consists of "geojson" token, like
>> http://server/path/geojson/1234 or ftp://s
Mateusz Loskot wrote:
It *seems* like a bad idea to embed such behavior in a
particular driver.
Yes, I understand your point.
Perhaps I should narrow the test with check if URL consists of "geojson"
token, like http://server/path/geojson/1234 or
ftp://server/path/file.geojson and if not present
Frank Warmerdam wrote:
> 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-Earthqua
Frank Warmerdam wrote:
> 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
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,
G
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
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