[gdal-dev] Loading GeoJSON to ES 7
Even Rouault
even.rouault at spatialys.com
Tue Mar 17 14:13:54 PDT 2020
Francesco,
The behaviour in ES7 has been changed. Now only flat structure is supported.
This was discussed in https://github.com/OSGeo/gdal/issues/1246 and I've just
made the doc of the driver clearer:
- **MAPPING_NAME=**\ =name. (Elasticsearch < 7) Name of the mapping type
within the index.
By default, the mapping name is "FeatureCollection" and the documents
will be written as GeoJSON Feature objects. If another mapping name
is chosen, a more "flat" structure will be used. This option is
ignored when converting to Elasticsearch >=7 (see `Removal of mapping types
<https://www.elastic.co/guide/en/elasticsearch/reference/current/removal-of-types.html>`__).
With ElasticSearch 7 or later, a "flat" structure is always used.
Even
--
Spatialys - Geospatial professional services
http://www.spatialys.com
More information about the gdal-dev
mailing list