Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Psp 9943 - change highway layer type for point querying - use the plan footprint instead of parcel boundaries. #4671

Merged
merged 5 commits into from
Feb 28, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading
Loading