eyecatch

QGIS Maps from Chat to Web: Mapsuke and Kumoy

Published: Last updated:
This article uses QGIS 3.44.

What you'll learn


  • How to upload a map made in Mapsuke to Kumoy using only chat
  • How to load data from Kumoy and keep working with it
  • What to watch for when operating Kumoy from chat

Recommended for


  • Anyone who wants to share maps made in Mapsuke with others on the web
  • Anyone who wants to automate uploading and updating data in Kumoy
  • Anyone looking for a way to show QGIS maps on the web

Introduction

With Mapsuke, a plugin that lets you operate QGIS through chat, an AI agent runs QGIS for you and carries the work from fetching data to finishing the map, all in chat. To show the finished map to others, though, you still have to export it as an image or PDF, or hand over the project file and its data.

Kumoy, on the other hand, is a service that uploads maps and data made in QGIS to the cloud and shares them as web maps, with the styles you set in QGIS intact. Version 3.2.0 of the Kumoy plugin adds Processing tools that work with Kumoy maps and data. Because Mapsuke prefers the Processing tools you have installed, you can now upload a map you made in chat to Kumoy, also through chat, and share it as a web map.

This article shows how to use Mapsuke and Kumoy together. For how to install and use Mapsuke, and for an overview of Kumoy, see the following articles.

New Processing tools in the Kumoy plugin

Version 3.2.0 of the Kumoy plugin adds the following tools under Kumoy in the Processing Toolbox. The Mapsuke agent uses these tools to operate Kumoy as you instruct in chat.

Group Main tools
Organizations and projects List organizations, List projects in organization, Get selected project details
Vectors Upload Vector Layer to Kumoy, Add vector to map, Update vector, Delete vector
Rasters Upload Raster Layer to Kumoy, Add raster to map, Update raster, Delete raster
Maps Create map, Get map details, Update map, Delete map

The tools work only on the maps and data in the project selected under Kumoy in the Browser panel.

Tools added under Kumoy in the Processing Toolbox
Tools added under Kumoy in the Processing Toolbox

Preparation

Update the Kumoy plugin and log in

If you are new to Kumoy, create a Kumoy account and install the plugin first. For the steps from creating an account to selecting a project, see the following article.

If the plugin is already installed, update it from Plugins → Manage and Install Plugins… on the menu bar. On the Installed tab, select Kumoy and check that the version is 3.2.0 or later. If you are on an older version, There is a new version available appears at the top. Click Upgrade Plugin at the bottom right.

Check the Kumoy plugin version in the Plugin Manager and update it if needed
Check the Kumoy plugin version in the Plugin Manager and update it if needed

After updating, right-click Kumoy in the Browser panel and select Login. Once you are logged in, select the project to upload to.

Logged in to Kumoy in the Browser panel with a project selected
Logged in to Kumoy in the Browser panel with a project selected

Check that Mapsuke can use the tools

Next, open Mapsuke, start a new session, and enter Tell me what data is in the project selected in Kumoy. If the agent uses the Kumoy tools and returns a list of the vectors and maps in the project, you are ready.

Check the contents of the selected Kumoy project in Mapsuke
Check the contents of the selected Kumoy project in Mapsuke

Upload a map made in chat to Kumoy

Make a map and ask for the upload

This example uses the same map as the article on Mapsuke basics: Sapporo's wards colored by the average price from the land price survey. Enter Aggregate prices by Sapporo ward from the latest land price survey data, and create a choropleth map based on the average price to make the map.

Make a map in Mapsuke that colors Sapporo's wards by average land price
Make a map in Mapsuke that colors Sapporo's wards by average land price

Then enter Upload this map to Kumoy so it can be viewed on the web. The agent sends the layer data to Kumoy with Upload Vector Layer to Kumoy, then saves the QGIS project as a Kumoy map with Create map. In this example, the agent works until the map is public and can be shared by URL.

Ask for the map upload in chat
Ask for the map upload in chat

View the map on the web

When the upload finishes, expand the maps under Kumoy in the Browser panel, right-click the map, and select Open Public Page. If the map does not appear, right-click Kumoy and click Refresh.

Right-click the map and select Open Public Page
Right-click the map and select Open Public Page

Kumoy opens in your web browser and shows the map with the coloring you set in QGIS.

The map uploaded to Kumoy, shown in a web browser
The map uploaded to Kumoy, shown in a web browser

You can view the map made in this article on its public Kumoy page. The map below is the same map, embedded in this article with the Kumoy embed feature. You can drag to pan and zoom in or out.

Here, Mapsuke created the map as Public. Depending on your plan, you can also choose Private, which only your team members can view, or Protected access, which only people who know the URL and the keyphrase can view.

Change the visibility setting of a Kumoy map
Change the visibility setting of a Kumoy map

Edit and update the map

To change the colors or the legend, adjust the map in Mapsuke and enter Update the Kumoy map. The agent uses Update map to overwrite the same map. People viewing the map on the web see the updated version.

Work with data in Kumoy

You can also go the other way and start from data in Kumoy. Enter Add the facility location data in Kumoy to the map, and the agent uses Add vector to map to add a vector uploaded to Kumoy to QGIS.

You can take data your team members uploaded to Kumoy, aggregate or analyze it in Mapsuke, and share the result in Kumoy again, all through chat.

Add data from Kumoy to the map
Add data from Kumoy to the map

To learn how to share Kumoy data within your organization, see the following article.

What to watch for when operating Kumoy from chat

The Kumoy tools include updating and deleting maps and data. Deleted maps and data cannot be restored, so when you work with Kumoy, it is best to keep the approval mode on Ask and approve only after you check what will run.

With Auto or Full auto, Kumoy data can be overwritten or deleted without confirmation.

Mapsuke works on the Kumoy project selected in the Browser panel. To upload to a different project, first right-click Kumoy in the Browser panel and switch projects from Select Project.

Right-click Kumoy and choose Select Project
Right-click Kumoy and choose Select Project

Conclusion

With the Processing tools added in Kumoy plugin 3.2.0, you can upload a map made in Mapsuke to Kumoy and share it as a web map, using only chat. Everything from making the map to sharing it now happens within a QGIS panel.

Start by picking one map you made in Mapsuke and entering Upload this to Kumoy. In Ask mode, you can see which tools the agent uses to operate Kumoy as it goes.

To get more out of Mapsuke, see the following article.

Data sources

About the author
QGIS LAB Editorial Team
QGIS LAB Editorial Team

QGIS LAB is a comprehensive information hub for QGIS, the open-source GIS software. Under the concept of “Geospatial for Greater Good,” we share the knowledge and skills to open up the world through location data.