Skip to content

Commit

Permalink
psp-9943, swap highway layer to use the overall plan outline instead …
Browse files Browse the repository at this point in the history
…of the property boundaries, as this is clearer on the map.
  • Loading branch information
devinleighsmith committed Feb 27, 2025
1 parent 06386d1 commit 6ea79fb
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const useLocationFeatureLoader = () => {
const fullyAttributedTask = fullyAttributedServiceFindOne(latLng);
const regionTask = adminBoundaryLayerServiceFindRegion(latLng, 'SHAPE');
const districtTask = adminBoundaryLayerServiceFindDistrict(latLng, 'SHAPE');
const highwayTask = highwayLayerServiceFindMultiple(latLng, 'GEOMETRY');
const highwayTask = highwayLayerServiceFindMultiple(latLng, 'the_geom');
const crownLandLeaseTask = crownLandLayerServiceFindOneLease(latLng);
const crownLandLicensesTask = crownLandLayerServiceFindOneLicense(latLng);
const crownLandTenuresTask = crownLandLayerServiceFindOneTenure(latLng);
Expand Down
5 changes: 1 addition & 4 deletions source/frontend/src/mocks/msw/handlers.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,7 @@ export const handlers = [

http.get('http://localhost:3000/ogs-internal/ows', ({ request }) => {
const search = new URL(request.url).search;
if (
search.includes('typeName=ISS_PROVINCIAL_PUBLIC_HIGHWAY') &&
search.includes('service=wfs')
) {
if (search.includes('typeName=plan_footprint') && search.includes('service=wfs')) {
return HttpResponse.json(getMockISSResult(), { status: 200 });
}
}),
Expand Down
2 changes: 1 addition & 1 deletion source/frontend/src/tenants/config/defaultTenant.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ const INDIAN_RESERVES_LAYER_URL =
const PIMS_BOUNDARY_LAYER_URL =
'/ogs-internal/ows?service=wfs&request=GetFeature&typeName=PIMS_PROPERTY_BOUNDARY_VW&outputformat=json&version=2.0.0';
const PIMS_HIGHWAY_LAYER_URL =
'/ogs-internal/ows?service=wfs&request=GetFeature&typeName=ISS_PROVINCIAL_PUBLIC_HIGHWAY&outputformat=json&version=2.0.0';
'/ogs-internal/ows?service=wfs&request=GetFeature&typeName=plan_footprint&outputformat=json&version=2.0.0';

const CROWN_LAND_LICENSES_LAYER_URL =
'https://openmaps.gov.bc.ca/geo/pub/WHSE_TANTALIS.TA_CROWN_LICENSES_SVW/wfs?SERVICE=WFS&REQUEST=GetFeature&VERSION=1.3.0&outputFormat=application/json&typeNames=pub:WHSE_TANTALIS.TA_CROWN_LICENSES_SVW';
Expand Down

0 comments on commit 6ea79fb

Please sign in to comment.