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

WPS Fixes #6030

Merged
merged 24 commits into from
Dec 20, 2021
Merged

WPS Fixes #6030

merged 24 commits into from
Dec 20, 2021

Conversation

nf-s
Copy link
Contributor

@nf-s nf-s commented Dec 6, 2021

Fix WPS V7 outputs

Fixes

  • Add forceConvertResultsToV8 to WebProcessingServiceCatalogFunction. If your WPS processes are returning v7 json, you will either need to set this to true, or set version: 0.0.1 in JSON output (which will then be automatically converted to v8)
  • Cleanup CatalogFunction error handling
  • Fix SelectAPolygonParameterEditor feature picking
  • Add WebMapServiceCatalogItem.rectangle support for multiple WMS layers
  • Fix picked feature highlighting for ArcGis REST API features (and TSify featureDataToGeoJson)
  • Re-enable GeoJSON simple styling - now if more than 50% of features have simple-style-spec properties - automatic styling will be disabled (this behaviour can be disabled by setting forceCesiumPrimitives = false)

Test links

TerriaCube

  • Water Observations from Space Daily Pixel Drill
  • Fractional Cover Polygon Drill

http://ci.terria.io/wps-v7-fix/#clean&https://gist.githubusercontent.com/nf-s/b4891446b77102dcd5aac4c4911b2bfa/raw/75ed2688c38bd836691c0967d9f2d6a5d06cfb7d/terria-cube-wps.json

Geo-rapp

  • Analysis Tools
    • Mean for point or region (Monthly)
    • Mean for point or region (8-day)
    • Proportion of region within a Total Vegetation Cover range (Monthly)
    • Proportion of region within a Total Vegetation Cover range (8-day)

http://ci.terria.io/wps-v7-fix/#configUrl=https://raw.githubusercontent.com/TerriaJS/saas-catalogs-public/main/geo-rapp/map-config/dev.json

Checklist

  • There are unit tests to verify my changes are correct or unit tests aren't applicable (if so, write quick reason why unit tests don't exist)
  • I've updated relevant documentation in doc/.
  • I've updated CHANGES.md with what I changed.

@nf-s nf-s changed the base branch from main to api-geojson-catalog-item December 6, 2021 09:15
@nf-s nf-s changed the base branch from api-geojson-catalog-item to main December 7, 2021 07:34
@nf-s nf-s changed the title Fix WPS V7 outputs WPS Fixes Dec 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants