Ablajan,
You can add an ESRI map service to Arches as a basemap as follows:
1. Set up a mapbox-spec basemap json file that specifies the ESRI map
service you want to use. Here is an example for an ESRI rest service
(raster map):
{
"name": "ESRI World Topo",
"sources": {
"ESRI World Topo": {
"type": "raster",
"tiles":
["https://services.arcgisonline.com/arcgis/rest/services/World_Topo_Map/MapServer/WMTS/tile/1.0.0/World_Topo_Map/default/default028mm/{z}/{y}/{x}.png"],
"tileSize": 256
}
},
"layers": [
{
"source": "ESRI World Topo",
"type": "raster",
"id": "agoltopo"
}
]
}
Name this file something like esri_world_topo.json
2. Register this map with Arches using the add_mapbox_layer command from
your terminal. The command will look something like so:
python manage.py packages -o add_mapbox_layer -j "Path to folder containing
your json file"/esri_world_topo.json -n "ESRI World Topography" -b
That's it. You should see the ESRI map listed among the basemaps in your
Arches map widgets.
Cheers,
Dennis
On Wednesday, January 16, 2019 at 12:01:09 PM UTC-8, Ablajan wrote:
>
> Hi everyone,
>
> I have just started testing Arches on Windows and Linux machines.
> Everything works with Arches installation (version 4.3.3 at
> https://github.com/archesproject/arches/tree/master/arches).
> I read through all the related messages about adding base maps and GIS
> data. I tested some examples at
> https://github.com/legiongis/arches4-geo-examples. WMS examples did not
> work.
> It works well with Open layers, shapefiles and MapBox layers. I tested
> to add some Esri base maps through command python manage.py packages -o
> add_tileserver_layer ..... (
> http://www.arcgis.com/home/group.html?id=30de8da907d240a0bccd5ad3ff25ef4a&start=1&view=list&sortOrder=asc&sortField=title&focus=maps#content
> .)
> So far it is not successful. It is added as map layer but with empty view.
>
> I would like to know if there is any example of adding ESRI base-map or
> ESRI wms vector layer to Arches.
> All advice appreciated !
>
>
> Ablajan
>
>
>
--
-- To post, send email to [email protected]. To unsubscribe, send
email to [email protected]. For more information,
visit https://groups.google.com/d/forum/archesproject?hl=en
---
You received this message because you are subscribed to the Google Groups
"Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.