Skip to content

Commit 30737be

Browse files
authored
fix ogc apis (#847)
2 parents a9bca51 + e007fc6 commit 30737be

File tree

7 files changed

+4
-13
lines changed

7 files changed

+4
-13
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"@codemirror/state": "~6.5.2",
6767
"@codemirror/view": "~6.38.1",
6868
"@egjs/hammerjs": "^2.0.17",
69-
"@geoengine/openapi-client": "git://github.com/geo-engine/openapi-client.git#backend_pixel_rewrite_v4",
69+
"@geoengine/openapi-client": "github:geo-engine/openapi-client#ogc_apis_fix",
7070
"d3": "~7.9.0",
7171
"dagre": "~0.8.5",
7272
"dagre-d3": "~0.6.4",

projects/core/src/lib/backend/backend.model.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -570,8 +570,6 @@ export interface WfsParamsDict {
570570
resultType?: string;
571571
filter?: string;
572572
propertyName?: string;
573-
// vendor parameter for specifying the spatial resolution
574-
queryResolution?: number; // TODO: allow x and y seperately
575573
}
576574

577575
export interface QuotaDict {

projects/core/src/lib/backend/backend.service.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,6 @@ export class BackendService {
226226
params.setMapped('bbox', request.bbox, (bbox) => bboxDictToExtent(bbox).join(','));
227227
params.setMapped('time', request.time, (time) => `${unixTimestampToIsoString(time.start)}/${unixTimestampToIsoString(time.end)}`);
228228
params.set('srsName', request.srsName);
229-
params.setMapped('queryResolution', request.queryResolution, (r) => r.toString());
230229

231230
// these probably do not work yet
232231
params.set('namespaces', request.namespaces);

projects/core/src/lib/download-layer/download-layer.component.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -360,11 +360,8 @@ export class DownloadLayerComponent implements OnInit {
360360

361361
const time = this.formToTime().toDict();
362362

363-
const resolution = this.formToResolution().x;
364-
365363
return {
366364
bbox: bbox,
367-
queryResolution: resolution,
368365
time: time,
369366
srsName: sref.srsString,
370367
workflowId: this.layer().workflowId,

projects/core/src/lib/project/project.service.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1416,7 +1416,7 @@ export class ProjectService implements OnDestroy {
14161416

14171417
const ogcWfsApi = await firstValueFrom(this.ogcWfsApi);
14181418

1419-
const wfsResponse = await ogcWfsApi.wfsFeatureHandler({
1419+
const wfsResponse = await ogcWfsApi.wfsHandler({
14201420
service: 'WFS',
14211421
version: '2.0.0',
14221422
request: 'GetFeature',

projects/dashboards/esg-indicator-service/src/app/dashboard/dashboard.component.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,6 @@ export class DashboardComponent implements AfterViewInit, AfterContentInit {
261261
start: time.start.unix() * 1_000,
262262
end: time.end.unix() * 1_000,
263263
},
264-
queryResolution: CLASSIFICATION_RESOLUTION,
265264
srsName: 'EPSG:32632',
266265
};
267266

@@ -335,8 +334,6 @@ const CLASSIFICATION_WORKFLOW: Workflow = {
335334
operator: CLASSIFICATION_SOURCE_OP,
336335
};
337336

338-
const CLASSIFICATION_RESOLUTION = 10;
339-
340337
const CLASSIFICIATION_DATA_RANGE = {
341338
min: 0,
342339
max: 5,

0 commit comments

Comments
 (0)