Skip to content

Import Files


In MapStore it is possible to add map context files or vector files to a map. This operation can be performed by clicking on the Burger menu button from the Menu Bar and by selecting the option. Following these steps the import screen appears:

Here the user, in order to import a file, can drag and drop it inside the import screen or select it from the folders of the local machine through the button. Actually there's the possibility to import two different types of files:

  • Map context files (only MapStore legacy format is supported)

  • Vector layer files (supported formats: shapefiles, KML/KMZ, GeoJSON and GPX)

Warning

Shapefiles must be contained in .zip archives.

Import map context files

A map context is, for example, the file that an user download selecting the option in Burger Menu. This type of files, in json format contains all map context information, that means the settings about projections, coordinates, zoom, extent and layers present in the map (more information can be found in the Maps Configuration section of the Developer Guide. Adding a map configuration file the behavior is similar to the following:

Warning

Adding a map context file the current map context will be overridden.

Import vector files

Importing vector files, the Add Local Vector Files window opens:

In particular, from this window, it is possible to:

  • Choose the layer (when more than one layer is import at the same time)

  • Set the layer style or keep the default one

  • Toggle the Zoom on the vector files

Once the settings are done, the files can be added with the button and they will be immediately available in the TOC nested inside the Imported layers group. For example:

Warning

Currently is not possible to read the Attribute Table of the imported vector files and for this reason also the Layer Filter and the creation of Widgets are not allowed for those layers.