elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.61k stars 8.22k forks source link

[Maps] Uploading floormaps #67839

Closed pranavchauhan0110 closed 3 years ago

pranavchauhan0110 commented 4 years ago

Is there a possible way of adding floormaps of a building on Kibana and use them for Indoor Navigation or indoor viewing of a building?

elasticmachine commented 4 years ago

Pinging @elastic/kibana-gis (Team:Geo)

kindsun commented 4 years ago

It depends, there are a few parts to this question:

Is there a possible way of adding floormaps of a building on Kibana

Possibly, if you could convert the floorplan to GeoJSON. Then you could upload it to Kibana via Maps GeoJSON Upload

and use them for Indoor Navigation

There are no navigation capabilities available via the Maps app at this point

or indoor viewing of a building

If it's 2D GeoJSON, then yes. If it's 3D, not yet

My guess is that you may really be after something similar to this issue so I'm going to close this one. Feel free to let me know if I'm mistaken! Also, please feel free to comment on the linked issue.

pranavchauhan0110 commented 4 years ago

@aaronjcaldwell Thanks for the reply. After adding the floormap of lets say 1st floor. Now I would like to change floors and go to first floor. Can a button be added to the map view for that or will I have to add filter for that?

thomasneirynck commented 4 years ago

hi @pranavchauhan0110

you can use multiple layers on the Map. so for example; first layer is first floor, second layer is second floor. You can then "toggle" between the floor plans, to see either first or second floor. You can use the visiblity-buttons for that on the layer-control.

so to confirm @aaronjcaldwell 's comment. Floor plans work in Maps providing they are 2D and are geo-referenced (e.g. they use latitude-longitude to describe the geometries).

I'm going to reopen this since this is an interesting use-case. It would be good to have some visibility on it, since we're not a 100% sure yet if Kibana can broadly satisfy the requirements.

cc @kmartastic

pranavchauhan0110 commented 4 years ago

hi @thomasneirynck thanks for the info. it was definitely helpful. will try implementing it.

pranavchauhan0110 commented 4 years ago

@thomasneirynck I have a 64bit encoded image and top_right_latitude, top_right_longitude & bottom_left_latitude, bottom_left_longitude within which I want to display the image. How should I add it to elastic and then ingest in Kibana? Will I need the other two points to make a polygon or will these two points suffice?

jsanz commented 4 years ago

@pranavchauhan0110 Elastic Maps is designed to render mainly these types of layers:

You can render floor maps as XYZ layers, that needs you to configure a server and you can see details on this blog post

Another option would be to digitize your image to convert it into lines, points, and polygons and then upload it to your Elasticsearch cluster using the GeoJSON upload tool.

nickpeihl commented 4 years ago

We have a blog post from a few years ago showing an example floorplan layout. But with the new Elastic Maps, you won't even need GeoServer. You can convert the shapefiles in the example repo to GeoJSON using mapshaper. Then use the GeoJSON Upload tool in Elastic Maps to add the GeoJSON file to your Elasticsearch cluster.

Screenshot of Elastic Maps with a custom floorplan layer

thomasneirynck commented 3 years ago

Closing. There are multiple ways to do this.