Utilising an internal floorplan as a map layer

Hi all,

I just wondered whether anyone has any experience with using a custom WMS server or mapping feature for an internal structure or setting? I'm currently using the Open Street Maps WMS, and zooming in on a building to show internal points of interest. However, what would be much better is if I am able to take a custom made floor plan of the building in question, and upload it into Kibana.

The sorts of building I'm referring to are large, for example airports, shopping malls or train stations.

Not sure whether this is at all possible, and I can't find anything out there to suggest it is. However before I give up hope, I thought I'd ask on here :slight_smile:

Thanks in advance!

Typically indoor maps need custom projections to show the floor plan in a different direction than North so it's common that floor plans don't use "real world coordinates" but some kind of planar projection.

You can still "fake" that removing the default basemap, and generating your own floor plan data for example around the lat: 0, lon: 0 point (also known as Null Island) and just fake lat/lons by your own X and Y coordinates.

You have an example of that approach in this blog post, but nowadays with Elastic Maps, I think it's easier to upload your floor plan as GeoJSON (assuming it's not too complicated). You may even create layers per building levels and so on.

Nevertheless, this has to be seen as a hack, since ES will see those coordinates as latitude/longitudes and any distance computation or analysis will be wrong.

Elasticsearch supports arbitrary spatial coordinates with the point and shape types, but they are not supported by Elastic Maps so you'd need to code your own frontend.

Hope this helps to clarify the current status of this topic, from my point of view.

Hi Jsanz,

Thank you for you prompt reply! The information and link you sent through is really useful actually, and I believe may be what I need. :slight_smile:

Thanks again

Awesome, feel free to share any results and feedback here on this thread.

This is recurring topic so any experience and requirements are very welcomed :smile: