Import a level from a GeoJSON format file

After drawing the footprint of your building from your visit, you can add levels to it.

These levels are not stylized and therefore have no visual rendering, but they are essential for structuring the data on your map.

We present here the method via a GeoJSON file import.

πŸ“Œ Note:

You can also opt for the manual addition method.

πŸ“‚ Prepare the .geoJSON file

Before importing the file to Wemap Pro, it is essential to associate all necessary properties to the level and each object (in addition to elements such as "type", "ID", "geometry"...) in your GeoJSON.

These must appear in the "properties" section of the file.

Ex: in the JSON extract below (incomplete and not exhaustive), we find an object with properties "indoor = room" and "level = 0". This will therefore be a room associated with level 0 of the building.

{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"id": "way/-1617378013332111",
"properties": {
"indoor": "room",
"level": "0",
"id": "way/-1617378013332111"
},
"geometry": {
"type": "Polygon",
"coordinates": [
  [
    [
      3.91720055721,
      43.60912475321
    ],

πŸ’» Add a level via .geoJSON file import

Your file is ready? You can then proceed with the import to Wemap Pro:

  1. Access the edit mode of the building in question, by clicking on the associated pencil icon
  2. Click on "+" to add a level
  3. Select "Import a level from a file (.geojson)"
  4. Upload the .geojson file from your computer


Once the import is complete, the level and its objects are associated with the building.

The following information is already filled in but can be modified:

    • Level name (ex: 1st floor)
    • Name displayed in the level selector, which appears at the bottom right on the map when you select a building (ex: 1)
    • Level value: corresponds to the level on which the objects will be visible (ex: if value = 1, the objects associated with this level will take the value 1 and will therefore be visible on the 1st floor)
    • Check the "Visible" box so that the level displays properly on the map

      (ex: if you use the same map for different events, but level 2 is not used for one of them, you can uncheck this option to avoid seeing this level appear on the map for that event)

You can then access the objects associated with the imported level by clicking on "View objects".

Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.

Still need help? Contact Us Contact Us