[gdal-dev] GDAL and ElasticSearch 5.0
Rahkonen Jukka (MML)
jukka.rahkonen at maanmittauslaitos.fi
Mon Nov 21 07:48:14 PST 2016
Hi,
I tried to test new ElasticSearch version with no success and I wonder what is wrong. My command and debug data follows.
ogr2ogr -f "ElasticSearch" http://localhost:9200
-s_srs epsg:3067 -t_srs epsg:4326 test_es50.shp --debug on
GDAL: GDALOpen(test_es50.shp, this=0000000002454920) succeeds as ESRI Shapefile.
HTTP: Fetch(http://localhost:9200)
HTTP: These HTTP headers were set: Accept: text/plain, application/json
GeoJSON: No valid GeoJSON data found in source 'http://localhost:9200'
GDAL: GDALDriver::Create(ElasticSearch,http://localhost:9200,0,0,0,Unknown,00000
00000000000)
HTTP: Fetch(http://localhost:9200/_stats)
HTTP: Fetch(http://localhost:9200/test_es50)
HTTP: Fetch(http://localhost:9200/test_es50)
HTTP: These POSTFIELDS were sent:
HTTP: These HTTP headers were set: Content-Type: application/x-javascript;
charset=UTF-8
ERROR 1: HTTP error code : 400
ERROR 1: No handler found for uri [/test_es50] and method [POST]
ERROR 1: Terminating translation prematurely after failed
translation of layer test_es50 (use -skipfailures to skip errors)
GDAL: GDALClose(http://localhost:9200, this=00000000024545E0)
GDAL: GDALClose(test_es50.shp, this=0000000002454920)
-Jukka Rahkonen-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20161121/78c2e483/attachment.html>
More information about the gdal-dev
mailing list