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
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,15 @@ Change Log

* Add better support for retreiving GeoJsonCatalogItem data through APIs, including supporting geojson nested within json objects
* Fixed `ContinuousColorMap` min/max value bug.
* `TableStyle.outlierColor` is now only used if `zFilter` is active, or `colorTraits.outlierColor` is definedß
* `TableStyle.outlierColor` is now only used if `zFilter` is active, or `colorTraits.outlierColor` is defined
* 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 (tsified)
* 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](https://github.com/mapbox/simplestyle-spec) - automatic styling will be disabled (this behaviour can be disabled by setting `forceCesiumPrimitives = false`)

* [The next improvement]

#### 8.1.14
Expand All @@ -27,6 +35,7 @@ Change Log
* Fix crash when TableMixin-based catalog item had invalid date values
* Fix `WebMapServiceCatalogItem.styles` if `supportsGetLegendGraphics = false`. This means that if a WMS server doesn't support `GetLegendGraphics` requests, the first style will be set as the default style.


#### 8.1.13

* Paramerterised the support email on the help panel to use the support email in config
Expand Down
8 changes: 3 additions & 5 deletions lib/Map/PickedFeatures.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
import { observable } from "mobx";
import Cartesian3 from "terriajs-cesium/Source/Core/Cartesian3";
import Entity from "terriajs-cesium/Source/DataSources/Entity";
import Feature from "../Models/Feature";
import { ImageryParts } from "../ModelMixins/MappableMixin";
import MappableMixin, { ImageryParts } from "../ModelMixins/MappableMixin";
import { BaseModel } from "../Models/Definition/Model";
import MappableMixin from "../ModelMixins/MappableMixin";
import Feature from "../Models/Feature";

export type ProviderCoords = { x: number; y: number; level: number };
export type ProviderCoordsMap = { [url: string]: ProviderCoords };
Expand Down Expand Up @@ -47,7 +45,7 @@ export default class PickedFeatures {
* Gets or sets the array of picked features. The array is observable and may be updated up until the point that
* {@see PickedFeatures#allFeaturesAvailablePromise} resolves.
*/
@observable features: Entity[] = [];
@observable features: Feature[] = [];

/**
* Gets or sets a message describing an error that occurred while picking features.
Expand Down
199 changes: 0 additions & 199 deletions lib/Map/featureDataToGeoJson.js

This file was deleted.

Loading