[gdal-dev] Elasticsearch, rename index names
even.rouault at spatialys.com
Wed Jun 23 14:44:43 PDT 2021
You could use the GDALVectorTranslate() API (the library version of
ogr2ogr) with the -nln option.
Le 23/06/2021 à 23:37, Jens Søe Christiansen a écrit :
> Yet another challenge regarding the awesome CopyDataSource :-)
> I'm trying to read a WFS service and write it to Elasticsearch. This
> is almost working but my problem is the name of the layers in the
> source. They come with a prefix (gdk60:) and : are not valid in an
> index name in Elasticsearch!
> If I set the index name nothing is working since the source contains
> multiple layers so is there any way to add a mapping of layer names to
> index names like the field mapper?
> Best regards
> Jens Christiansen
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
My software is free, but my time generally not.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gdal-dev