Closed bferguso closed 1 month ago
Potential option is to use Arches proxy to retrieve this data. Do headers follow through?
BCRHP deployed to LEGACY. Waiting to hear about window to refresh Fossils.
Applied fix to allow proxying of tiles from local server which does not require/allow outgoing proxy and BCGW tileserver requests which requires an outgoing proxy.
Marking as complete and now in Prod.
Overlays and base maps are served by BCGW WMS, which is not at the same domain as the Arches applications. Need to enable CORS in the headers to allow overlay/base map requests.
For Dev the workaround is to disable the CORS headers checking.
Created a sub-class of the TileserverProxyView which redirects to multiple servers based on the tile server request.
A request parameter called
source
is used to direct the traffic to the appropriate tile server (WMS).Valid
source
values are:local
(directs to the pg_tileserv instance on the application server)maps
- directs to maps.gov.bc.caopenmaps
- directs to openmaps.gov.bc.caIf no value is specified the default is openmaps.gov.bc.ca.
Outbound traffic to the WMSs is through a forward proxy configuration.