I've been trying to add a WMS vector overlay to our Arches project, and I
seem to have all the linkages working, however nothing is showing up on the
map.
I've defined the Map Source as follows in the <base_url>/admin/models page:
{"type": "vector", "tiles":
["https://openmaps.gov.bc.ca/geo/pub/WHSE_ARCHAEOLOGY.RAAD_BORDENGRID/ows?bbox={bbox-epsg-3857}&format=pbf&styles=4157&transparent=false&service=WMS&version=1.3.0&request=GetMap&srs=EPSG:3857&width=512&height=512&layers=pub:WHSE_ARCHAEOLOGY.RAAD_BORDENGRID"],
"tileSize": 512}
and the Map Layer as:
[{"id": "borden-grid", "type": "fill", "source": "Borden Grid",
"source-layer": "pub:WHSE_ARCHAEOLOGY.RAAD_BORDENGRID"}]
with a few different types (fill, line, fill-extrusion), but nothing shows
up on the map. I can see the WMS URL being called from Arches (eg
https://openmaps.gov.bc.ca/geo/pub/WHSE_ARCHAEOLOGY.RAAD_BORDENGRID/ows?bbox=-13658379.710221574,6261721.357121639,-13619243.951739565,6300857.115603648&format=pbf&styles=4157&transparent=false&service=WMS&version=1.3.0&request=GetMap&srs=EPSG:3857&width=512&height=512&layers=pub:WHSE_ARCHAEOLOGY.RAAD_BORDENGRID
) and verified with ogrinfo that the pbf file returned by the WMS endpoint
is valid with a number of Polygon objects in it, but without effect on the
search map.
I'm not seeing any exceptions in the browser console other than "The
operation is insecure" which looks like the source code location is a GUID.
Although the Access-Control-Allow-Origin is set to null in the header, I'm
not seeing an CORS errors that I would normally expect to see in the
browser console if that was an issue.
Just wondering if I'm missing something here, and if there is a good way to
trace down why nothing is showing up on the map.
Many thanks,
Brett
--
-- 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].
To view this discussion on the web visit
https://groups.google.com/d/msgid/archesproject/d015d683-fdef-4c24-90d0-f20e46097c5bn%40googlegroups.com.