There is a limit of 50MB file size to upload maps in Geojson to ES. This is really small. How do I load larger map datasets into ES?
GeoJSON upload is not meant for very large datasets, but you can leverage the GDAL library to perform ETL tasks into Elasticsearch. This blog post explains how it works and the different options you have to upload geospatial data.
Thanks for the suggestion, Jorge.
I will check out using the GDAL library.
Is using logstash an option as well for geojson?
Documents are inserted into Elastisearch via REST API. You can write a script in your favorite language to pull features from a geojson file and then upload via REST APIs.
For example, this node.js script, https://github.com/nreese/presentations/blob/master/openDataPhilly/load.js, uses oboe to stream in a geojson file and bulk upload features to Elasticsearch. You could write something similar.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.