Mapeo Support Materials
English
English
  • Introduction
  • Overview
    • About Mapeo
      • Mapeo tools
      • Peer-to-peer & Mapeo sync
      • How Mapeo is being used
    • Is Mapeo right for me?
    • FAQs
  • Quick start guide
    • Getting started
    • Mapeo Mobile
    • Mapeo Desktop
  • Complete Reference guide
    • Welcome – Introduction
    • 🗒️Essentials for a successful Mapeo project
      • Planning a Mapeo project
        • What is the project goal?
        • What outputs do you want?
        • What information to collect?
          • Data types within Mapeo
        • Who should be involved and how?
        • What are the parameters?
      • Security & risk assessment
      • Creating user protocols
    • ✔️Will Mapeo work out-of-the-box for me?
      • Default configuration
      • Default background map
    • ⚙️Customization options
      • Translating Mapeo & default configurations
      • Custom configurations
        • Creating custom configurations
          • Planning configuration & data structure
            • Categories
            • Icons
            • Details fields
          • Coding configuration
            • Adding icon files
              • Creating and exporting SVG files using Adobe Illustrator
              • Creating and exporting SVG files using Inkscape
            • Creating details fields
            • Creating categories
            • Defining geometry defaults
            • Adding a project key
            • Adding project name and version
            • Building configuration file
              • Via the command line
              • Using GitHub Actions
          • Testing and iterating
      • Custom background maps
        • Creating custom background maps
          • Generating map files in .mbtiles format for the experimental Background Maps feature
    • 📱Mapeo Mobile installation & setup
      • Installing Mapeo Mobile
      • Choosing Mapeo Mobile settings
      • Experiments: Turning on experimental features
        • Directional Arrow
        • P2P (peer-to-peer) App Updates
        • Background Maps
        • Security
          • App Passcode
          • Obscure Passcode
      • Importing configurations into Mapeo Mobile
      • Adding custom background maps to Mapeo Mobile
      • Updating Mapeo Mobile
    • 📱Mapeo Mobile use
      • Activating GPS and viewing current location
      • Creating observations
      • Viewing observations
      • Editing and deleting observations
      • Sharing data externally
      • Syncing data via Wi-Fi
    • 💻Mapeo Desktop installation & setup
      • Installing Mapeo Desktop
      • Choosing Mapeo Desktop language
      • Importing configurations to Mapeo Desktop
      • Adding custom background maps to Mapeo Desktop
      • Updating Mapeo Desktop
    • 💻Mapeo Desktop use
      • Mapeo Desktop for managing Mapeo Mobile data (Observations mode)
        • Synchronizing data
          • Synchronizing via Wi-Fi
          • Synchronizing with a file
        • Viewing observations
        • Editing and deleting observations
        • Exporting data & sharing externally
      • Mapeo Desktop for creating territory data (Territory mode)
        • Navigating around the map
        • Creating and editing territory data
        • Changing background maps in Territory mode
        • Importing and using external geospatial data
        • Exporting and syncing data
      • Synchronizing data with Mapeo Desktop
    • 💡Mapeo trainings
      • Defining goals and format
      • Structuring a training
        • Best practices for planning a training
        • Structuring the agenda, content and activities
          • Suggestions for the different sections of a training event
          • Tips and suggested activities for training key features of Mapeo
          • Materials and resources available for the training event
      • Preparing equipment and supplies for a training
        • Recommended equipment and supplies
        • Tech preparation before doing in-person training
    • 🔧Troubleshooting
      • I can't start Mapeo
      • Mapeo closes automatically
      • I have problems with the GPS in Mapeo
        • GPS is not activated in Mapeo
        • My GPS signal is very weak
      • I have problems with the camera in Mapeo
        • I get a black screen when using the camera
      • I want to update Mapeo Mobile permissions
      • I have sync issues
        • I want to connect to Wi-Fi
        • I want to create local Wi-Fi networks
          • With a portable router
          • With a smartphone
        • The device I want to sync with does not show up on my Synchronize screen
        • I get an error when I try to sync with another device
        • I can't sync with the sync file
        • The person I want to sync with has deleted valuable data
      • Sharing files between devices
      • Saving and printing Mapeo reference materials
      • How do I back up Mapeo Desktop data?
    • Glossary & quick reference sheets
      • Glossary of Mapeo related terms
      • Overview of Mapeo Desktop Territory mode screen
  • For developers
    • Mapeo architecture overview
    • Mapeo repositories
    • Localization
  • Support
  • Additional references
  • Digital Democracy website
Powered by GitBook
On this page
  • Importing .GeoJSON or shapefile data as territory data
  • Using geospatial data as a temporary custom map data overlay
  • About observation data in Territory mode
Export as PDF
  1. Complete Reference guide
  2. Mapeo Desktop use
  3. Mapeo Desktop for creating territory data (Territory mode)

Importing and using external geospatial data

PreviousChanging background maps in Territory modeNextExporting and syncing data

Last updated 3 years ago

When creating data in Territory mode, you may want to incorporate or utilize geospatial data from a source outside of Mapeo Desktop Territory Mode.

One key source of data that you may want to access in Mapeo Desktop Territory mode is data that was collected via Mapeo Mobile, synchronized with your Mapeo Desktop device, and available in Mapeo Desktop Observations mode.

Additional data sources to use could be any of the following:

  • .GeoJSON (a commonly used format by many GIS tools such as QGIS or Mapbox, and also available as an export option in both Mapeo Desktop Territory and Observations modes)

  • .kml / .kmz (A file extension used by Google Earth Pro and related tools, but commonly used by many applications)

  • Shapefile (.shp and several other files, created by Esri for use in their ArcGIS software but commonly used by many applications)

  • .gpx (a GPS data file that contains waypoints, routes, and tracks; generated by handheld GPS devices by Garmin and others)

There are currently three different ways to work with the above kinds of external data.

Importing .GeoJSON or shapefile data as territory data

You can import a file containing geospatial data (in .GeoJSON and shapefile formats) directly into your Mapeo Desktop Territory mode database. This will add all of the data (points, lines, and areas) to your Mapeo Desktop territory data set as uncategorized features. You can then edit the features in the same way as any features that were created directly in Territory mode.

  • In the Top menu bar, click on File and then select Import territory data.

  • In the file browser pop-up window, navigate to the directory where the file you want to import is located. Select the file you wish to import (in either .GeoJSON or shapefile format).

  • Upon successful import, the data will not show up right away; you may have to reload Mapeo by pressing CTRL-R or restarting.

  • Once imported and refreshed, the data will appear as uncategorized features on your map. Remember that you will need to be zoomed in to the area where they are located in order to see them on the background map.

  • You can then edit the features in the same way as any features that were created directly in Territory mode.

Note: currently, it is not possible to import .kml / .kmz or .gpx data directly into your Territory database. See the next section for more information on how to use these as a map data overlay.

Using geospatial data as a temporary custom map data overlay

You can add geospatial data as a temporary data layer that is displayed on top of your background, as a reference for creating Territory data but without including this data directly into your database. This could be useful if you have some geospatial data that you want to display for reference when creating data, such as place names, rivers and creeks, roads and paths, or zonal data. In Territory mode, this is currently known as custom map data.

There are four types of data that can be added as custom map data: .gpx, .kml, .geojson and .json.

There are two ways to add custom map data to Territory mode:

  • Click on the […] Edit custom data layer button next to Custom Map Data. This button will be grayed out if no custom map data has been added.

  • From here, you can click the Choose File button to select a file, or add a data file URL if it is hosted on a server.

  • If you are adding a file, in the file browser pop-up window, navigate to the directory where the file you want to import is located. Select the file you wish to import.

  • Click Ok. Now, you should be able to check the Custom Map Data option to show or hide the geospatial data that you’ve added.

On the Territory mode map, custom map data is shown with a pink outline and fill. If you hover over or click over any custom map data shapes, you will see attributes of the data in the Edit feature panel.

If you are unable to convert the file, then you can create new features by tracing over these overlain points, lines and areas. If you choose this route, you should make sure you are very zoomed in when you trace features to ensure you are as accurate as possible.

About observation data in Territory mode

While there is a different workflow for working with observation data in Mapeo that is documented in the Mapeo Desktop for managing Mapeo Mobile data (Observations mode) section, you can access Mapeo observation data in the Territory mode as well. Currently, Mapeo observation data will be displayed in the same style as Territory data.

It is also possible to edit Mapeo observations data in Territory mode, to a limited degree: you can edit feature details, and these changes will be reflected in Observation mode, and will also be synchronized with other Mapeo devices. However, if you move the location of a feature, or delete a feature in Territory mode, these changes will not be reflected in Observation mode; and, when you close and open Territory mode again, moved features will reappear in their original location as they were in Observation mode, and deleted features will reappear on the map.

Currently, Mapeo does not provide any messaging once you have done so, but if the file you have selected has geospatial data that can be imported, Mapeo will begin importing the data. You may see a processing icon at the bottom right of the map, indicating that data is being imported.

Note: to import a shapefile, Mapeo Desktop is configured to look for .shp file. However, a shapefile consists of a number of additional files with other extensions including .shx, .dbf, .sbn and several additional optional files. Make sure these files are in the same directory as your .shp file or the import will fail.

(1) Using the Map Data window

Click on Map Data [or use the F key shortcut on your keyboard].

(2) You also can drag the files from a file explorer window directly onto the map view. This will automatically add the file to the Custom Map Data option in the Map Data panel.

However, neither the attributes nor the geometries of custom map data can be edited, as this data is only made available as a visual reference for creating territory data. If you want to include this data directly into your territory database, then you need to import the data as described in Importing .GeoJSON or shapefile data as territory data (and if your data is not in either of those formats, you may need to convert it using another software such as QGIS, ArcGIS, or web-based conversion tools such as ).

💻
toGeoJSON