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

Service owc #102

Merged
merged 139 commits into from
Dec 9, 2021
Merged

Service owc #102

merged 139 commits into from
Dec 9, 2021

Conversation

boeckMt
Copy link
Member

@boeckMt boeckMt commented Nov 23, 2021

PR Checklist

Please check if your PR fulfills the following requirements:

PR Type

What kind of change does this PR introduce?

  • Bugfix
  • Feature
  • Code style update (formatting, local variables)
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • CI related changes
  • Documentation content changes
  • Other... Please describe:

What is the current behavior?

  • @dlr-eoc/core-ui: Missing Output to GlobalProgressComponent.
  • @dlr-eoc/layer-control: Legend images are small or do not fit in the container.
  • @dlr-eoc/map-ol: Can not create TMS and KML Layers.
  • @dlr-eoc/services-ogc: Some Layers and Functionality is not implemented right now (TMS Raster and Vector, KML, XYZ...)

Issue Number: N/A

What is the new behavior?

Does this PR introduce a breaking change?

  • Yes
  • No

BREAKING CHANGES

and see https://github.com/dlr-eoc/ukis-frontend-libraries/pull/102/files#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed

Other information

Is it part of one/more packages and which?

  • @dlr-eoc/core-ui
  • @dlr-eoc/layer-control
  • @dlr-eoc/map-ol
  • @dlr-eoc/services-layers
  • @dlr-eoc/services-ogc
  • demo-maps

return this.createLayerFromOffering(offering, resource, owc, targetProjection);
const offerings = resource.properties?.offerings;
if (offerings) {
// TODO: allow Multiple offerings ???
Copy link
Member Author

@boeckMt boeckMt Dec 2, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Currently we only support to use one Offering, so we do not create multiple Layers e.g. if there is a Resource with WMS and WFS offering.

Then we go in the order like: isWmsOffering | isWmtsOffering | isWfsOffering | isTMSOffering | offerings[0]

I think this should be extended later on to support multiple layers, e.g. a WMS and a WMTS.

@@ -700,35 +1089,39 @@ export class OwcJsonService {
}
}

/**
* TODO: add more vendor params ??
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here it was requested to add more vendor params e.g. like cql_filter so the data can be filtered by configuration.
See ukis-frontend/project-zki-viewer/-/issues/93

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1 for this quest. Currently i put those directly in the request URL...

Copy link
Collaborator

@voinSR voinSR left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

quite much work behind this PR. Thanks a lot to @boeckMt for this! I have nothing aginst this PR. I have left couple of comments, please check them. It is up to you to consider them or not :)

boeckMt and others added 16 commits December 3, 2021 16:36
* Update Layers.ts

typo fix pupupFunktion --> pupupFunction (could be a breaking change in come apps)

* update of map-ol.service.ts

rename pupupFunktion to pupupFunction

* Update CHANGELOG.md

Renamed layer property pupupFunktion to pupupFunction

* Update CHANGELOG.md

* Update route-map.component.ts

changed pupupFunktion to pupupFunction

* Update map-ol.service.ts

fixed typo pupupFunction to popupFunction

* Update map-ol.service.ts

fixed several typos pupup to popup

* Update map-ol.service.spec.ts

changed pupupFunktion to popupFunction

* Update Layers.ts

fixed type pupup to popup

* Update route-map.component.ts

fixed type pupup to popup

* Update CHANGELOG.md
@boeckMt boeckMt merged commit 0853809 into master Dec 9, 2021
@boeckMt boeckMt deleted the service-owc branch December 9, 2021 07:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants