Upload GeoJSON data

edit

Elastic Maps makes it easy to import geospatial data into the Elastic Stack. Using the GeoJSON Upload feature, you can drag and drop your point and shape data files directly into Elasticsearch, and then use them as layers in the map. You can also use the GeoJSON data in the broader Kibana ecosystem, for example, in visualizations and Canvas workpads.

Why GeoJSON?

edit

GeoJSON is an open-standard file format for storing geospatial vector data. Although many vector data formats are available in the GIS community, GeoJSON is the most commonly used and flexible option.

Upload a GeoJSON file

edit

Follow these instructions to upload a GeoJSON data file, or try the end-to-end integrated example.

  1. Open Elastic Maps, and then click Add layer.
  2. Click Upload GeoJSON vector file.

    fu gs select source file upload
  3. Use the file chooser to select a valid GeoJSON file. The file will load a preview of the data on the map.
  4. Use the default Index type of geo_point for point data, or override it and select geo_shape. All other shapes will default to a type of geo_shape.
  5. Leave the default Index name and Index pattern names (the name of the uploaded file minus its extension). You might need to change the index name if it is invalid.
  6. Click Import file.

    Upon completing the indexing process and creating the associated index pattern, the Elasticsearch responses are shown on the Layer add panel and the indexed data appears on the map. The geospatial data on the map should be identical to the locally-previewed data, but now it’s indexed data from Elasticsearch.

  7. To continue adding data to the map, click Add layer in the lower right-hand corner.
  8. In Layer settings, adjust any settings or properties as needed.
  9. Click Save & close.