Hi
I wanted to know if it is possible to add another map provider to the dashboard. For example the one from IGN Argentina to be compliant with local laws https://wms.ign.gob.ar/geoserver/gwc/service/tms/1.0.0/capabaseargenmap@EPSG%3A3857@png/{z}/{x}/{-y}.png
Thanks
Welcome back to the community, @pschweitzer! Could you kindly share with us a screenshot of your requirement so that we could help if it’s possible?
Hi @Kal_Lam ,
In the forms, the map questions use OSM as a basemap. But some countries, like Argentina, the use of toponyms and official boundaries is mandatory. Therefore, if these questions were used in Argentina, there would be legal problems, because OSM does not use toponyms and official borders.
My question is: is there a way to use the map with official data published by the geographic institute as a basemap, in the geographic questions and in the data & map panel of kobo?
This map is available in leaflet, openlayer and mapbox gl: Argenmap
For example here in QGIS I use Argenmap:
Thanks!
Hi @Kal_Lam
In kobo-install/templates/kobo-env/enketo_express/config.json.tpl at master · kobotoolbox/kobo-install · GitHub
there are lines to set the maps to use
"maps": [
{
"name": "humanitarian",
"tiles": [ "https://{s}.tile.openstreetmap.fr/hot/{z}/{x}/{y}.png" ],
"attribution": "© <a href=\"http://openstreetmap.org\">OpenStreetMap</a> & <a href=\"https://www.hotosm.org/updates/2013-09-29_a_new_window_on_openstreetmap_data\">Yohan Boniface & Humanitarian OpenStreetMap Team</a> | <a href=\"https://www.openstreetmap.org/copyright\">Terms</a>"
}, {
"name": "satellite",
"tiles": [ "https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/{z}/{y}/{x}" ],
"attribution": "Tiles © Esri — Source: Esri, i-cubed, USDA, USGS, AEX, GeoEye, Getmapping, Aerogrid, IGN, IGP, UPR-EGP, and the GIS User Community"
}, {
"name": "terrain",
"tiles": [ "https://{s}.tile.opentopomap.org/{z}/{x}/{y}.png" ],
"attribution": "© <a href=\"https://openstreetmap.org\">OpenStreetMap</a> | <a href=\"https://www.openstreetmap.org/copyright\">Terms</a>"
}, {
"name": "streets",
"tiles": [ "https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png" ],
"attribution": "© <a href=\"https://openstreetmap.org\">OpenStreetMap</a> | <a href=\"https://www.openstreetmap.org/copyright\">Terms</a>"
}
]
I wonder if this configuration affects the online map seen in the forms shared on the web and those shared in the app, and if it is possible to ‘overwrite’ this configuration in a project, in order to remove the Humanitarian and Streets maps, and include Argenmap, or if I need to install my own server to do so.
{
"name": "Argenmap",
"tiles": ["https://wms.ign.gob.ar/geoserver/gwc/service/tms/1.0.0/capabaseargenmap@EPSG%3A3857@png/{z}/{x}/{-y}.png"].
"attribution": "© <a href=\"https://ign-argentina.github.io/argenmap-web/">Argenmap</a>
}
Thanks