Skip to content

Commit 5446adb

Browse files
feat: removes limit when reading ogc features
(cherry picked from commit 30fd700)
1 parent b152d66 commit 5446adb

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

libs/feature/dataviz/src/lib/service/data.service.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -388,7 +388,14 @@ export class DataService {
388388
if (!geojsonUrl) {
389389
return throwError(() => 'ogc.geojson.notsupported')
390390
}
391-
return openDataset(geojsonUrl, 'geojson', undefined, cacheActive)
391+
const urlWithoutLimit = new URL(geojsonUrl)
392+
urlWithoutLimit.searchParams.delete('limit')
393+
return openDataset(
394+
urlWithoutLimit.toString(),
395+
'geojson',
396+
undefined,
397+
cacheActive
398+
)
392399
})
393400
)
394401
}

0 commit comments

Comments
 (0)