Releases: camptocamp/ogc-client
v1.2.0
This version of ogc-client includes many significant improvements, many of them brought by new contributors.
New features and improvements
- Support for OGC API Tiles and OGC API Syles (thanks @ronitjadhav and @LukasLohoff!)
- Support
startIndex
for WFS - Improved error handling, pare XML error responses for WMS and WFS (thanks @ejn!)
- More information parsed from WMS and WFS capabilities (thanks @RobQuincey-DC!)
- Use the advertised URLs when generating GetFeature and GetMap urls
- Added a
clearCache
function - Fixed CRS detection in WMTS endpoints (@thanks @vprintempsPei!)
Detailed change log
- Added Tile Matrix Set Retrieval and Collection Tile URL Generation by @ronitjadhav in #34
- Minor improvements to the application docs by @LukasLohoff in #41
- Auto-publish @dev version on NPM by @jahow in #42
- [WFS] Add startIndex Support in URL generation and supportsStartIndex Method by @ronitjadhav in #44
- Use sharedFetch in OGC API endpoint queries by @jahow in #45
- OGC API: Avoid "stream already consumed" errors on shared fetch calls by @jahow in #46
- Add utility in WMS endpoint to build a GetMap url by @jahow in #48
- Disable caching if it fails once, prevent crash by @jahow in #51
- Add node-specific bundle in the package by @jahow in #52
- ogc-records: update schema by @fgravin in #53
- Add keywords to WMS and WFS by @RobQuincey-DC in #55
- Support for OGC API Styles by @LukasLohoff in #43
- Node bundle: make
node-fetch
an external dependency by @jahow in #60 - NPM package typings are actually in the src folder as TS files by @jahow in #61
- Keep d.ts files in package by @jahow in #62
- Add
abstract
toLayerStyle
by @RobQuincey-DC in #59 - Add 'queryable' property to WMS by @RobQuincey-DC in #57
- Add formats from WMS Capabilities to
outputFormats
by @RobQuincey-DC in #64 - Update Docs.vue by @vprintempsPei in #72
- do not apply node polyfills if not necessary by @jahow in #76
- Add info formats to WMS capabilities by @RobQuincey-DC in #66
- Add support for retrieving exception formats from WMS capabilities by @ejn in #67
- Expose provider information from capabilities by @ejn in #68
- Report WMS scale denominators (scale hints) by @ejn in #70
- Add recognition of service exception reports by @ejn in #73
- Adds a clearCache function by @jahow in #78
- Allow using xs: prefix for feature type attributes by @jahow in #79
- Allow specifying a list of attributes in WfsEndpoint.getFeatureUrl by @jahow in #80
- Use self-reported operation URLs from capability documents by @ejn in #69
- Expose WMS Layer and WFS FeatureType MetadataURLs by @ejn in #71
- Fix wrong crs for wmts layer by @vprint in #81
- Better WMTS layer creation by @jahow in #84
- Improve errors received when creating an endpoint by @jahow in #83
New Contributors
- @LukasLohoff made their first contribution in #41
- @RobQuincey-DC made their first contribution in #55
- @vprintempsPei made their first contribution in #72
- @ejn made their first contribution in #67
- @vprint made their first contribution in #81
Full Changelog: v1.1.0...v1.2.0
v1.1.0
Finally, v1.1.0 is out!
The list of changes in this release is significant. The main new features are:
Support for WMTS
The WMTS protocol is now supported and the GetCapabilities document will be parsed to extract various informations. A handy helper called getOpenLayersTileGrid
ils also provided to offer a better integration with OpenLayers; note that this helper will only work if the ol
package (OpenLayers) is present in the same project!
Support for OGC API Records and Features
Strong support for OGC API endpoints is finally in. OGC API endpoints are structured around collections, each collection being either of type "record" or "feature". the OgcApiEndpoint
class provides many helper functions and getters to query the list of collections, the details of each one, as well as generating a URL for querying items either as bulk (in various formats) or as paginated and filtered results (typically as GeoJSON).
Please look at the documentation and example for more info!
Other changes
- WMS and WFS endpoints now offer helper functions in case they only contain one layer
- The library is now distributed as ES modules instead of one unique JS bundle
- The API documentation on the website is generated dynamically from the source code!
A huge thanks to all the contributors that helped bring this release forward!
What's Changed
- Add BSD-3 license by @jahow in #7
- OGC API / add support for sortables & queryables in collections by @jahow in #8
- Update Readme by @Angi-Kinas in #9
- Upgrade dependencies for node 18 compatibility by @jahow in #12
- Migrate demo app to Vue3 by @fgravin in #13
- Remove Vue version in README by @JakobMiksch in #14
- Add support for custom fetch options by @jahow in #17
- Support for browser cache not being available (i.e. in private mode) by @jahow in #18
- Fix worker serialization in build script by @jahow in #22
- Update README.md by @JakobMiksch in #23
- Fix WFS example in docs by @JakobMiksch in #24
- Handle more BoundingBox elements in WMS capabilities by @jahow in #21
- Add support for WMTS endpoints by @jahow in #25
- Add methods for identifying single layers in WMS, WFS and WMTS endpoints by @jahow in #26
- Use Vite to build the library bundle included in the NPM package by @jahow in #27
- Improve OGC API endpoint by @jahow in #28
- Refactor documentation with Typedoc by @jahow in #29
- Build library as separate ES modules instead of a single bundle by @jahow in #30
- Add missing sourcemaps in esbuild by @jahow in #31
- Add getCollectionItemsUrl Method for OGC API by @ronitjadhav in #32
- Improve root path lookup for OGC API endpoint by @jahow in #36
- OGC API: misc improvements by @jahow in #37
- OGC API: rename "formats" to "itemFormats" on collections by @jahow in #38
- OGC API: use actual mimetype to generate an items url by @jahow in #39
- OGC API: add a json bulk download link, fix issue with query params for root path lookup by @jahow in #40
New Contributors
- @Angi-Kinas made their first contribution in #9
- @fgravin made their first contribution in #13
- @JakobMiksch made their first contribution in #14
- @ronitjadhav made their first contribution in #32
Full Changelog: v1.0.0...v1.1.0
v1.1.0 RC 1
This is a release candidate for the v1.1.0 version.
Significant improvements are:
- Basic support of OGC API records/features
- Support for WMTS services, including create OpenLayers object from a layer
- The library is now distributed as ES modules
- Reworked website with auto-generated API documentation