camptocamp / ogc-client

A TypeScript library for interacting with geospatial services
https://camptocamp.github.io/ogc-client/
BSD 3-Clause "New" or "Revised" License
66 stars 12 forks source link

Add keywords to WMS and WFS #55

Closed RobQuincey-DC closed 4 months ago

RobQuincey-DC commented 4 months ago

This PR adds keywords to the WMS and WFS layers/featuretypes output, in the same way that keywords are added to the top level capability documents.

One of the test fixtures (fixtures/wms/capabilities-brgm-1-1-1.xml) had to be modified to make them consistent between versions (keywords didn't appear in one version that did in another). I felt changing the fixture was safer but it could be changed to instead change the test to handle the differences.

RobQuincey-DC commented 4 months ago

@jahow Thanks! Looks like I might need to run prettier to sort out some formatting. I'll do that and add another commit

jahow commented 4 months ago

Indeed I forgot the CI wasn't running on fork PRs. I'll rerun it as soon as changes are pushed, thanks!

jahow commented 4 months ago

All good! I'm merging :slightly_smiling_face: