- [The next improvement]
- Explicitly set prettier tab-width
- Move release guide from README.md to RELEASE_GUIDE.md
- Add
clampToGround
toKmlCatalogItemTraits
(defaults totrue
) - this is now passed toKmlDataSource.load
. Terria no longer clamps polygon geometries to terrain manually. All clamping logic is now handled by Cesium. - Add
dataSourceUri
toKmlCatalogItemTraits
- Overrides the url to use for resolving relative links and other KML network features
- Add OpenStreetMap as a basemap option.
- Update to node-notifier 10.0.1 to fix security vulnerabilities.
- Remove unused ts-loader dependency.
- Remove unused class-list dependency.
- TSify
ConsoleAnalytics
module. - Update to gulp 5.0 to fix security vulnerabilities.
- Gulp 5 defaults to encoding copied files as utf-8, had turn off encoding by setting
encoding: false
to correctly copy binary assets from dependencies.
- Gulp 5 defaults to encoding copied files as utf-8, had turn off encoding by setting
- Update to dompurify 2.5.7 to fix security vulnerabilities.
- Update to @mapbox/togeojson 0.16.2 to fix security vulnerabilities.
- Remove unused simple-statistics dependency.
- Update to pretty-quick 4.0.0 to fix security vulnerabilities.
- Add "searchBarConfig.showSearchInCatalog" to configParameters so that the link in location search results can be disabled.
- Properly initialize react ref in functional components
- Add NominatimSearchProvider.
- Removed the basemaps - positron, darkmatter and black-marble - from the default settings. The Carto ones are no longer free and requires an Enterprise or Grantee license. If you have the appropriate license you can add them via your initialization file. Example configuration.
- Restrict mobx version to '< 6.13.0' to avoid tsc errors because mobx now uses iterator helper types introduced in TypeScript 5.6.
- Remove unused ts-node dependency.
- Fix the layout of the story builder and the item search tool.
- Add support for Cloud Optimised Geotiff (cog) in Cesium mode. Currently supports EPSG 4326 and 3857. There is experimental support for other projections but performance might suffer and there could be other issues.
- Fix
Workbench.collapseAll()
andWorkbench.expandAll()
for References. - Add to the "doZoomTo" function the case of an imagery layer with imageryProvider.rectangle
- Add "leafletMaxZoom" to configParameters so that the maxZoom of the Leaflet viewer can be changed.
- Restrict
sass
version to< 1.80
- to avoid deprecations.
-
Breaking changes:
- Remove RollbarErrorServiceProvder
- Error services now instantiated externally to terriajs
-
Fix remaining lint warnings
-
Augment cesium types and start using import instead of require in ts files
-
Update to sass 1.79.1
-
Add option to import assets from Cesium ion through the Add data panel. Use map config parameter "cesiumIonOAuth2ApplicationID" to enable the feature.
- Add I3SCatalogItem
- getFeaturesFromPickResult now async to handle I3SNode.loadFields()
- extract common style logic to new Cesium3dTilesStyleMixin.ts
- Set default value for date and datetime WPS fields only when the field is marked as required.
- Fix Sass deprecation warnings (declarations after nested blocks)
- Fix legend shown for WMS difference output item
- Add
diffItemProperties
trait to override properties of WSM difference output item. Useful for customizing feature info template strings etc. - Add Proj4 definition for EPSG:8059
- Upgrade to terriajs-cesium 8.0.1.
- Re-enable terrain splitting.
- Add support for ArcGis ImageServer - this includes
- Support for "dynamic"
exportImage
endpoint (using102100
wkid) - Support for web mercator and wgs84 precached tiles
- Basic support for raster functions - a dropdown is rendered in the workbench for custom raster functions
- Traits to configure
bandIds
andrenderingRule
- Support for "dynamic"
- Increase
maxRefreshIntervals
from 1000 to 10000 forWebMapServiceCatalogItem
andArcGisMapServerCatalogItem
. - Add
nextDiscreteJulianDate
helper computed value toDiscretelyTimeVaryingMixin
- Add
EPSG:7899
toProj4Definitions
- TSify some
js
andjsx
files and provide.d.ts
ambient type files for a few others. This is so that runningtsc
on an external project that imports Terria code will typecheck successfully. - Upgraded a bunch of d3 dependencies for fixing security errors.
- Show rectangle selector for WPS bounding box parameter
- Fix
store
andstatus
values send in WPS Execute request. - Add docs for
modelDimensions
- Fix position of draggable point after moving.
- Fix
getFeatureProperties
(inFeatureInfoSection
) failing due to bad JSON parsing of nested strings. - The
TableFeatureInfoStratum
defaultfeatureInfoTemplate
will now not show_id_
(internal Terria feature ID) in feature info - Fix bug in FilterSection
- Fix broken chart selector
- Feature info template
<chart>
definition now accepts ay-column
attribute to set the y-column that should be rendered in the feature info panel chart. - Upgrade
thredds-catalog-crawler
tov0.0.7
which makes a few security upgrades. - Fix bug with broken datetime after that Timeline has been closed once.
- Fix WPS date time widget reset bug
- Set default date for WPS date time widget on load
- Add NumberParameterEditor to enable WPS AllowedValues Ranges to be set and use DefaultValue
- Add NumberParameterEditor to enable WPS AllowedValues Ranges to be set and use DefaultValue
- Feature info template has access to activeStyle of item having TableTraits.
- Updated a few dependencies to fix security warnings:
underscore
,visx
,shpjs
,resolve-uri-loader
,svg-sprite-loader
- Allow related maps UI strings to be translated. Translation support for related maps content is not included.
- Upgraded to TerriajS Cesium 1.115.0
- Fix
PointStyleTraits.marker
bug where URLs were not being used. - Fixed a bug with passing a relative baseUrl to Cesium >= 1.113.0 when
document.baseURI
is different to itslocation
. - Fix node v18 compatibility by forcing
webpack-terser-plugin
version resolution and fixing new type errors - Reduce log noise in
MagdaReference
.
- Breaking changes:
generateCatalogIndex
now usescommander
to parse arguments. Runnode ./build/generateCatalogIndex.js --help
for more information.
- Fixed exception thrown from
objectArrayTrait
when a model has 0 strata and aMergeStrategy
oftopStratum
. - Fix
generateCatalogIndex
aftersearchProvider
changes - Fix bug with relative URLs being ignored in
generateCatalogIndex
- Fix bug with ArcGisMapServerImageryProvider not correctly identifying if the
tile
endpoint can be used
- Fix SDMX
featureInfoTemplate
<chart>
bug not showing correctyColumn
- Breaking changes:
- Add
MergeStrategy
toobjectArrayTrait
- this includes a newtopStratum
strategy - similar toMerge.All
(the default behaviour), but only elements that exist in the top-most strata will be merged with lower strata. Elements that only exist in lower strata will be removed. - Note the only trait with
MergeStrategy
set totopStratum
islines
inTableChartStyleTraits
.
- Add
- Fix
y-column
inFeatureInfoPanelChart
(<chart>
)
- Add
usePreCachedTilesIfAvailable
toArcGisMapServerCatalogItemTraits
. - Improved
ChartableMixin.isMixedInto
to ensure there are no false positive matches when testing References. - Fixed a bug in
MagdaReference
where members of a group would not be updated/created correctly when a group is reloaded.
- Added highly experimental CatalogProvider, intended to encapsulate functionality related to the entire catalog, or large subtrees of it, that doesn't fit into individual catalog member models.
BingMapsCatalogItem
now supports Bing'sculture
parameter.- Update a prompt text in DataPreview.
- Breaking changes:
- Upgrade TypeScript to 5.2
- Switch Babel configuration to new JSX transform
- Improve tsconfig files
- Remove deprecated default
relatedMaps
- Update
thredds-catalog-crawler
to0.0.6
WebMapServiceCatalogItem
will drop problematic query parameters fromurl
when callingGetCapabilities
(eg"styles","srs","crs","format"
)- Fixed regression causing explorer window not to display instructions when first opened.
- Enable eslint for typescript: plugin:@typescript-eslint/eslint-recommended
- Fixed a bug where the search box was missing for small screen devices.
- Prevent user adding empty web url
- Fix bug where search results shown in
My Data
tab - Fix bug in function createDiscreteTimesFromIsoSegments where it might create duplicate timestamps.
- Add option to enable/disable shortening share URLs via InitSourceData.
- Fix bug in ArcGisMapServerCatalogItem.
- Add examples.
- Upgraded Cesium to 1.113.0 (i.e.
[email protected]
&[email protected]
).
- Temporary UX fixes for clipping box:
- An option to zoom to clipping box
- An option to re-position the clipping box
- Trigger repositioning of clipping box when the user enables clipping box for the first time
- Cursor and scale point handle changes (makes it much easier to grasp)
- More robust interaction with the box
- Fix a bug where
DragPoints
was interfering with pedstrian mode mouse movements. - Update
webpack
to4.47.0
to support Node >= 18 without extra command line parameters. - Add support for multiple
urls
forGeoJsonCatalogItem
. - Automatically explode GeoJSON
MultiPoint
features toPoint
features. - Add new table styling traits -
scaleByDistance
anddisableDepthTestDistance
. - Add support for
LineString
andMultiLineString
when usingGeoJsonCatalogItem
inCZML
mode.
- Breaking change: Replaced
node-sass
with (dart)sass
- You will need to update your
TerriaMap
to usesass
instead ofnode-sass
.
- You will need to update your
- Added
apiColumns
toApiTableCatalogItem
- this can now be used to specifyresponseDataPath
per table column. ArcGisMapServerCatalogItem
will now use "pre-cached tiles" if available if no (or all)layers
are specified.
- Breaking change: new Search Provider model
- Added SearchProviderMixin to connect searchProviders with a model system
- Created a simple base Mixin (
SearchProviderMixin
) to attach SearchProviders to the Model system and enable easier creation of new search providers. - Made SearchProviders configurable from
config.json
. - See 0011-configurable-search-providers ADR and Search providers customization for more details
- Make all icons in
CatalogGroup
black by default and white when a catalog group is focused, selected or hovered over. Improve lock icon position in workbench.
- Fix maximum call stack size exceeded on Math.min/max when creating Charts
- Fix boolean flag in
MyDataTab
displaying number - Remove
jsx-control-statements
dependency - Fix WMS nested group IDs - nested groups with the same name were not being created
- WMS
isEsri
default value will now check for case-insensitivemapserver/wmsserver
(instead ofMapServer/WMSServer
) - Tweak ArcGis MapServer WMS
GetFeatureInfo
default behaviour- Add
application/geo+json
andapplication/vnd.geo+json
defaultGetFeatureInfo
(afterapplication/json
in priority list) - Add
application/xml
defaultGetFeatureInfo
. (ifisEsri
is true, then this will be used beforetext/html
)
- Add
- Added many remaining ASGS 2021 region types to region mapping (STE_2021,ILOC_2021,IARE_2021,IREG_2021,RA_2021,SAL_2021,ADD_2021,DZN_2021,LGA_2022,LGA_2023,SED_2021,SED_2022,
CED_2021,POA_2021,TR_2021,SUA_2021,UCL_2021,SOS_2021,SOSR_2021).
- See ASGS 2021
- Added Melbourne CLUE blocks to region mapping.
- Fix WMS
GetMap
/GetFeatureInfo
requests not havingstyles
parameter (will use empty string instead ofundefined
) - Add CesiumIon geocoder
CatalogGroup
will now not show members until loaded- Add
GetTimeseries
support toWebMapServiceCatalogItem
. This adds a newsupportsGetTimeseries
trait, which when true will replaceGetFeatureInfo
withGetTimeseries
requests. It will also changeinfo_format
totext/csv
, and show a chart in the feature info panel. Servers which advertiseGetTimeseries
capability will have this trait set to true by default.GetTimeseries
requests will havetime = ""
.
- Fix
WebMapServiceCatalogItem
allowFeaturePicking
- Allow translation of TableStylingWorkflow.
- Fix "Remove all" not removing selected/picked features
- Fix crash on empty GeoJSON features
- Add
tableFeatureInfoContext
support toGeoJsonMixin.createProtomapsImageryProvider
- Fix
GeoJsonMixin
timeline animation for lines/polygons - Fix bug in mismatched GeoJSON Feature
_id_
and TableMixinrowId
- this was causing incorrect styling when usingfilterByProperties
or features hadnull
geometry - Fix splitter for
GeoJsonMixin
(lines and polygon features only) - Fix share links with picked features from
ProtomapsImageryProvider
- Added on screen attribution and Google logo for Google Photorealistic 3D Tiles.
- Add
hideDefaultDescription
toCatalogMemberTraits
- if true, then no generic default description will be shown whendescription
is empty. - Add
hideDefaultDescription
toCatalogMemberTraits
- if true, then no generic default description will be shown whendescription
is empty. - Add
clampPolygonsToGround
toKmlCatalogItemTraits
(defaults to true`) - [The next improvement]
- Added on screen attribution and Google logo for Google Photorealistic 3D Tiles.
- Add
hideDefaultDescription
toCatalogMemberTraits
- if true, then no generic default description will be shown whendescription
is empty.
- Fixed a bug where incorrect "Remove all" icon is shown when the trait
displayGroup
of some group types (e.g.wms-group
) is set totrue
but the members have not been populated yet. - Fix regression in
excludeMembers
,id
andname
should be lower-case for comparing.
- Allow a story to use iframe tag if the source is youtube, youtube-nocookie or vimeo.
- Add
includeMembersRegex
toGroupTraits
. This can be used to filter group members by id/name using a regular expression.
- Add
timeWindowDuration
,timeWindowUnit
andisForwardTimeWindow
traits to esri-mapServer type to support time window query. - Move map credits to map column so it don't get hidden by chart panel
- TSify
MapColumn
module and reorganize components directory structure. - Add null check to
WebMapServiceCatalogItem
rectangle
calculation - and now we ascend tree of WMSLayers
until we find a rectangle. - Fix multi level nesting in ArcGIS Mapserver.
- Fixed broken point dragging interaction for user drawing in 3D mode.
- Fixed rectangle drawing in 2D mode.
- Added EPSG:7855 to
Proj4Definitions
.
- Fixed a bug when restoring timefilter from a share link having more than one imagery item with the same base URL (but different layer names).
- Fix WPS duplicate display of analysis results when loaded through a share URL
- Upgraded babel packages.
- Breaking changes:
- Switched GoogleAnalytics to use Google Analytics 4 properties. Google's Universal properties no longer accept data from 01/07/2023, so migration is necessary anyway.
- Fix error when adding deeply nested references in search results.
- Add new option
focusWorkbenchItems
toinitialCamera
setting to focus the camera on workbench items when the app loads. - Fixed bug where sharelinks created with no visible horizon would default to homeCamera view
- Improved calculation of 2D view from 3D view when no horizon visible
- Improve WMS and WFS error messages when requested layer names or type names are not present in GetCapabilities.
-
Breaking changes:
- Upgraded Mobx to version 6.7.x
- Upgraded Typescript to version 4.9.x
- See #6787 for how to upgrade your map
- Fix app crash when rendering feature info with a custom title.
- Added new
CkanCatalogGroup
traitsresourceIdTemplate
andrestrictResourceIdTemplateToOrgsWithNames
to generate custom resource IDs for CKAN resources with unstable IDs. - Fix
acessType
resolution forMagdaReference
so that it uses the default terria resolution strategy whenmagdaRecord
is not defined.
- Refactored TerriaViewer to expose a promise
terriaViewer.viewerLoadPromise
for async loading of viewers. - Fix location point ideal zoom bug in 3D mode map.
- Add
EPSG:7844
toProj4Definitions
. - TSify
Proj4Definitions
andReproject
modules. - Update the docs for
excludeMembers
: mention the group/item id support - Simplified
MapToolbar
API.
- Change icon used for display group remove button
- Make access control UI compatible to Magda v1 and v2 with v2 overriding v1.
- Remove karma-sauce-launcher dependency
- Add method
addFileDragDropListener
for receiving callbacks when user drags-n-drops a file. - Improve
BoxDrawing
drag interaction. - Fix a bug where
BoxDrawing
sometimes causes the map to loose pan and zoom interactivity. - Optimize
LocationBar
component to reduce number of renders on mouse move. - Optimize
Compass
component to reduce renders on each frame. - Add
children
optional property to StandardUserInterfaceProps interface - Add support for ArcGis MapServer with
TileOnly
capability - for example layers served from ArcGis Online. This is supported throughArcGisMapServerCatalogItem
,ArcGisMapServerCatalogGroup
andArcGisCatalogGroup
.
- Upgraded to terriajs-server 4.0.0.
- Added new
gulp dev
task that runs terriajs-server andgulp watch
(incremental specs build) at the same time.
- Export
registerUrlHandlerForCatalogMemberType
for registering new url handler for catalog types. - BoxDrawing changes:
- Adds a new option called disableVerticalMovement to BoxDrawing which if set to true disables up/down motion of the box when dragging the top/bottom sides of the box.
- Keeps height (mostly) steady when moving the box laterally on the map. Previously the height of the box used to change wrt to the ellipsoid/surface.
- Fixes a bug that caused map panning and zooming to break when interacting with multiple active BoxDrawings.
- Removed some code that was causing too much drift between mouse cursor and model when moving the model laterally on the map.
- Replaces addRemoteUploadType and addLocalUploadType with addOrReplaceRemoteFileUploadType and addOrReplaceLocalFileUploadType.
- Reimplement error message and default to 3d smooth mode when Cesium Ion Access Token is invalid.
- Layers shown via a share URL are now logged as a Google Analytics event
- Show an Add All / Remove All button for catalog groups when an optional
displayGroup
trait is true - Rename the Map Settings "Raster Map Quality" slider to be just "Map Quality" as it also affects other things than raster data.
- Dragn-n-drop should respect disableZoomTo setting
- Fixed #6702 Terrain Hides Underground Features not working
- Add className prop for MyData tab so that it can be styled externally
- Only add groups to
CatalogIndex
if they aren't empty BoxDrawing
improvements:- Added option
drawNonUniformScaleGrips
to enable/disable uniform-scaling - Set limit on the size of scaling grips relative to the size of the box
- Small improvement to move interaction that prevents the box from locking up when trying to move at a camera angle parallel to the ground
- Restore modified map state to the previous setting when interaction stops
- Added option
- Fix bug in Cesium and Leaflet maps that resulted in
DataSource
s getting rendered even after their parent items are removed from the workbench. - GltfMixin changes:
- Refactors code to use stable
DataSource
andEntity
values instead of re-creating them everytimemapItems
is recomputed. - Disable zoom to for the item when position is unknown.
- Refactors code to use stable
- Add
UploadDataTypes
API for extending the supported local and remote upload data types. - Add option to upload terria web data (via url to json file/service)
- Refactor
Cesium3dTileMixin
. - Updated related maps to fit mobile screens.
- Extend
responseDataPath
trait ofApiTableCatalogItem
with support for mapping over arrays and collecting nested object values. - Add
MapToolbar.addToolButton()
API for adding a tool button to the map navigation menu. - Add
ActionBar
component for showing a floating menu bar at the bottom of the map.
- Protomaps Polygon features now only use
PolygonSymbolizer
(instead ofPolygonSymbolizer
andLineSymbolizer
) - Add
horizontalOrigin
andverticalOrigin
toTableLabelTraits
TableStylingWorkflow
improvements:- Add more options to advanced mode (style title, hide style, long/lat column, time properties)
- "Style" dropdown now shows
TableStyles
instead ofTableColumns
- Show "Variable" in "Fill color" if color column name doesn't match style name (eg style isn't generated by
TableAutomaticStylesStratum
) - Add symbology dropdown to advanced mode (was only showing in basic mode)
- Add label and trail styling
- When creating a new
bin
orenum
value, thenull
("default") values will be copied across.
- Move all Table related Traits to
lib/Traits/TraitsClasses/Table/
directory - Handle errors thrown in
Cesium._attachProviderCoordHooks
. This fixes a bug where some WMTS layers break feature picking. - Fix
Legend
outline bug - where invalidboxStyle
meant old legend styles may be visible - Fix
baseMapContrastColor
reactivity inGeojsonMixin
- mvt was not updating when the basemap changes - Add
SelectableDimensionMultiEnum
- A enum SelectableDimension that allows multiple values to be selected - Fix
SelectableDimensionNumeric
handling of invalid values ColorStyleLegend
will usecolorColumn
title by default. It will fallback toTableStyle.title
- Add
children
optional property to StandardUserInterfaceProps interface - Fix
MapboxVectorTileCatalogItem
feature highlighting - this requires use ofidProperty
trait (also addedidProperty
toProtomapsImageryProvider
) - Fix
MapboxVectorTileCatalogItem
fillColor
also applying to Line features - Add
maximumNativeZoom
toProtomapsImageryProvider
- Fix image markers (eg
marker = "data:image/png;base64,..."
) - Fix
AssimpCatalogItem
to correctly handle zip archives that contain files inside a root folder.
- Add check for WFS
layer.OtherSRS
inbuildSrsNameObject
- Add
overridesBaseUrl
toLanguageOptions
. This can be used to set the base URL for language override namespace translation files (see client-side-config.md#LanguageConfiguration) - Add
aboutButtonHrefUrl
toconfigParameters
. Defaults to"about.html"
. If set tonull
, then the About button will not be shown. - Add
refreshIntervalTemplate
toOpenDataSoftCatalogItemTraits
- this can be used to setrefreshInterval
using Mustache template rendered on ODS Dataset JSON object - Add
plugins
property toConfigParameters
type - Add more supported 4326 and 3857 CRS strings for WFS (eg
"urn:ogc:def:crs:EPSG::3857"
and"urn:x-ogc:def:crs:EPSG:3857"
)
- Handle errors thrown in
ImageryProviderLeafletTileLayer.pickFeatures
. This fixes a bug where some WMTS layers break feature picking (in Leaflet/2D mode)
- Handle errors thrown in
Cesium._attachProviderCoordHooks
. This fixes a bug where some WMTS layers break feature picking.
- Fix
RelatedMaps
default broken URLs - Add
mergeGroupsByName
trait toGroupTraits
- this will merge all group members with the same name - Fix bug with "propagate
knownContainerUniqueIds
across references and their target" - missingrunInAction
- Add Carto v3 Maps API support for
table
andquery
endpoint (only GeoJSON - not MVT yet) - Moved
activeStyle
default fromTableMixin
toTableAutomaticStyleStratum
. The defaultactiveStyle
will now not pick ahidden
TableStyle
. - Pin
flexsearch
version to0.7.21
- as incorrect types are shipped in version0.7.31
- Only preload next timestep of timeseries rasters (WMS & ArcGIS MapServer) when animating the item on the map.
- Added error message if cesium stops rendering
- Add
enabled
toTableStyleMapTraits
- which defaults totrue
- Add
TableLabelStyleTraits
- this can be used to addLabelGraphics
to point features (table or geojson) - Add
TableTrailStyleTraits
- this can be used to addPathGraphics
to time-series point features (table or geojson) - Added missing
proxyCatalogItemUrl
to GeoJson, Shapefile, Gltf and AssImp catalog items. - Added support for
OpenDataSoftCatalogGroup
with more than 100 datasets. - Added
refreshIntervalTemplate
toOpenDataSoftCatalogItemTraits
- this can be used to setrefreshInterval
using Mustache template rendered on ODS Dataset JSON object. - Performance optimisation for time-series
TableMixin
- Tweak
generateCatalogIndex
to use less memory. (+ adddiffCatalogIndex.js
script to show added/removed members between two catalog index files) - Migrated
/#tools=1
to version 8. - Removed dummy function
Terria.getUserProperty
. - Removed unused version 7 React components.
- Fix Cesium
stoppedRenderingMessage
- Fix region mapping feature
rowIds
incorrect type.
- Make srsName and outputFormat for WFS requests dynamic
- Added
excludeInactiveDatasets
toCkanCatalogGroup
(true
by default). This will filter out CKAN Datasets which havestate
ordata_state
(data.gov.au specific) not set to"active"
. - Fix
isTerriaFeatureData
bug - not checkingisJsonObject
- Add
.logError()
to all usage ofupdateModelFromJson
where theResult
object is ignored - Move
RelatedMaps
to terriajs. They are now generated fromconfigParameters
(seedoc/customizing/client-side-config.md
)
- Fix bug with "propagate
knownContainerUniqueIds
across references and their target" - missingrunInAction
- Moved map credits to map column so it don't get hidden by chart panel.
- TSified
FeatureInfo*.tsx
describeFromProperties
is nowgenerateCesiumInfoHTMLFromProperties
FeatureInfoSection
has been split up intoFeatureInfoSection.tsx
,getFeatureProperties
,mustacheExpressions
andgenerateCesiumInfoHTMLFromProperties
- Fix
{{terria.currentTime}}
in feature info template - Add
{{terria.rawDataTable}}
in feature info template - to show raw data HTML table - Added
TableFeatureInfoStratum
- which adds default feature info template toTableMixin
- Add
FeatureInfoContext
- used to inject properties intoFeatureInfoSections
context. These properties will be accessible fromfeatureInfoTemplate
mustache template.tableFeatureInfoContext
adds time series chart properties usingFeatureInfoContext
(getChartDetails
has been removed)
- Move
maximumShownFeatureInfos
fromWebMapServiceCatalogItemTraits
toMappableTraits
- Remove
featureInfoUrlTemplate
fromOpenDataSoftCatalogItem
- as it is incompatible with time varying datasets - Removed
formatNumberForLocale
- we now useNumber.toLocaleString
- Rename
Feature
toTerriaFeature
- improve typing and usage across code-base- Added
data: TerriaFeatureData
- which is used to pass Terria-specific properties around (egrowIds
)
- Added
- Added
loadingFeatureInfoUrl
toFeatureInfoUrlTemplateMixin
- Move
Cesium.ts
ImageryLayer
feature picking tocesium.pickImageryLayerFeatures()
- Move
lib/Core/propertyGetTimeValues.js
intolib/ReactViews/FeatureInfo/getFeatureProperties.ts
- Add
showFeatureInfoDownloadWithTemplate
toFeatureInfoTraits
- Toggle to show feature info download if atemplate
has been provided. If notemplate
is provided, then download will always show. - Fix support for
initUrls
instartData.initSources
- Propagate
knownContainerUniqueIds
across references and their target. - Show scrollbar for story content in Safari iOS.
- Use
document.baseURI
for building share links instead ofwindow.location
.
- Fix pedestrian drop behaviour so that the camera heading stays unchanged even after the drop
- Fixed a bug causing incorrect loading of EPSG:4326 layers in WMS v1.3.0 by sending wrong
bbox
in GetMap requests. - Improve the CKAN model robustness by removing leading and trailing spaces in wms layer names.
- Load all
InitSources
sequentially instead of asyncronosly - Fix
DOMPurify.sanitize
call inPrintView
- Fix warning for WFS item exceeding max displayable features
- Upgrade prettier to version 2.7.1
- Dropped "optional" from the prompt text in file upload modal for both local and web data.
- Changed the text for the first file upload option from "Auto-detect (recommended)" to simply "File type" for local files and "File or web service type" for web urls.
- Automatically suffix supported extension list to the entries in file type dropdown to improve clarity.
- Removed IFC from upload file type (until further testing).
- Move
CkanCatalogGroup
"ungrouped" group to end of members
- Add ability to customise the getting started video in the StoryBuilder panel
- Set cesium base URL by default so that cesium assets are resolved correctly
- Add
cesiumBaseUrl
toTerriaOptions
for overriding the default cesium base url setting - Fix broken Bing map logo in attributions
- Added ability to customise the getting started video in the StoryBuilder panel.
- Fixed a bug where menu items were rendered in the wrong style if the window was resized from small to large, or large to small.
- Strongly type
item
in WorkbenchItem and removeshow
toggle for nonMappable
items. - Add
configParameters.regionMappingDefinitionsUrls
- to support multiple URLs for region mapping definitions - if multiple provided then the first matching region will be used (in order of URLs)configParameters.regionMappingDefinitionsUrl
still exists but is deprecated - if defined it will overrideregionMappingDefinitionsUrls
TableMixin.matchRegionProvider
now returnsRegionProvider
instead ofstring
region type. (which exists atregionProvider.regionType
)- Fix
shouldShorten
property in catalog and storyShareUrl
- Fix
shortenShareUrls
user property - Add
videoCoverImageOpacity
option toHelpContentItem
so that we can fade the background of help video panels. - Fix a bug where all
HelpVideoPanel
s were being rendered resulting in autoplayed videos playing at random. - Add
getFeatureInfoUrl
andgetFeatureInfoParameters
toWebMapServiceCatalogItemTraits
- Fix
SearchBoxAndResults
Trans values - Fix
generateCatalogIndex
for nested references - Fix
SearchBox
handling ofsearchWithDebounce
whendebounceDuration
prop changes. It now fushes instead of cancels.
- Breaking changes:
- Minimum NodeJS version is now 14
- Consolidate
HasLocalData
interface - Add
GlTf
type definition (v2) - Add
gltfModelUrl
toGltfMixin
- this must be implemented by Models which useGltfMixin
- Moved
GltfCatalogItem
tolib/Models/Catalog/Gltf/GltfCatalogItem.ts
- Add experimental client-side 3D file conversion using
assimpjs
(emscripten interface for the assimp library)- This supports
zip
files andHasLocalData
- but is not ingetDataType
as the scene editor (closed source) is required to geo-reference - Supports over 40 formats - including Collada, obj, Blender, DXF - full list
- This supports
- Add
description
togetDataType
- this will be displayed between Step 1 and Step 2 - Add warning message to
GltfMixin
when showing in 2D mode (Leaflet) - Upgrade
husky
to^8.0.1
- Prevent looping when navigating between scenes in StoryPanel using keyboard arrows
- Fix bug where StoryPanel keyboard navigation persists after closing StoryPanel
- Fix select when clicking on multiple features in 2D (#5660)
- Implemented support for
featureInfoUrlTemplate
on 2D vector features (#5660) - Implemented FeatureInfoMixin in GeojsonMixin (#5660)
GpxCatalogItem
now useGeojsonMixin
for loading data. (#5660)GeoRssCatalogItem
now useGeojsonMixin
for loading data. (#5660)- Upgrade i18next to
v21
- Limit workbench item title to 2 lines and show overflow: ellipsis after.
- Add
allowFeaturePicking
trait to Cesium3dTileMixin. - Feature Info now hidden on Cesium3dTiles items if
allowFeaturePicking
set to false. Default is true. - Add
initFragmentPaths
support for hostnames different toconfigUrl
/applicationUrl
- Add DOMPurify to
parseCustomHtmlToReact
(it was already present inparseCustomMarkdownToReact
) - Update
html-to-react
to1.4.7
- Add
ViewState
React context provider toStandardUserInterface
- instead of passingviewState
orterria
props through components, please useuseViewState
hookwithViewState
HOC
- Move
GlobalTerriaStyles
fromStandardUserInterface
to separate file - Add
ExternalLinkWithWarning
component - this will replace all URLs in story body and add a warning message when URLs are clicked on. - Fixed a bug where adding
CesiumTerrainCatalogItem
to workbench didn't apply it whenconfigParameters.cesiumTerrainAssetId
orconfigParameters.cesiumTerrainUrl
was set. CesiumTerrainCatalogItem
will now show a statusIn use
orNot in use
in the workbench.- Rewrote
CesiumTerrainCatalogItem
to handle and report network errors. - Set
JulianDate.toIso8601
second precision to nanosecond - this prevents weird date strings with scientific/exponent notation (eg2008-05-07T22:54:45.7275957614183426e-11Z
) - Add attribution for Natural Earth II and NASA Black Marble basemaps.
- Pin
html-to-react
to1.4.5
due to ESM module in dependency (parse5
) breaking webpack - Add step to
"Deploy TerriaMap"
action to saveyarn.lock
aftersync-dependencies
(for debug purposes) - TSIfy
SharePanel
- Move
includeStoryInShare
out ofViewState
into local state - Implement ability to navigate between scenes in StoryPanel using keyboard arrows
- Rename
FeatureInfoMixin
toFeatureInfoUrlTemplateMixin
- Move
featureInfoTemplate
andshowStringIfPropertyValueIsNull
fromFeatureInfoTraits
toMappableTraits
(all mappable catalog items) - Remove
FeatureInfoUrlTemplateTraits
from all models that don't useFeatureInfoUrlTemplateMixin
- Fix "Regions: xxx" short report showing for non region mapped items
- Fix
showInChartPanel
default for mappable items
- Improve Split/compare error handling
- Fix
itemProperties
split bug - Table styling is disabled if
MultiPoint
are in GeoJSON - Add
GeoJsonTraits.useOutlineColorForLineFeatures
- If enabled,TableOutlineStyleTraits
will be used to color Line Features, otherwiseTableColorStyleTraits
will be used. - Fix feature highliting for
Line
,MultiLine
andMultiPoint
- Await Internationalisation initialisation in
Terria.start
UserDrawing.messageHeader
can now also be() => string
- Fix
WorkbenchItem
title height - Add region map info and move "No Data" message to
InfoSections
inTableAutomaticStylesStratum
- Fix missing
TableColorStyleTraits.legend
values inColorStyleLegend
- Fix
DateTimeSelectorSection.changeDateTime()
binding. RegionProvider.find*Variable
functions now try to match with and without whitespace (spaces, hyphens and underscores)- Clean up
regionMapping.json
descriptions - Implement Leaflet credits as a react component, so it is easier to maintain them. Leaflet view now show terria extra credits.
- Implement Cesium credits as a react component, so it is easier to maintain them.
- Implement data attribution modal for map data attributions/credits. Used by both Leaflet and Cesium viewers.
- Fixed translation of Leaflet and Cesium credits.
- TSXify
ChartPanelDownloadButton
ChartPanelDownloadButton
will now only export columns which are visible in chart- Cleanup
Mixin
andTraits
inheritance - Wrap the following components in
observer
-ChartItem
,LineChart
, (chart)Legends
,ChartPanelDownloadButton
- Improve TerriaReference error logging
- Fix handling GeoJSON if features have null geometry
- Fix bug where map tools names appear as translation strings
- Allow IFC files to be added to a map from local or web data (Requires non-open source plugin)
- Rename
useTranslationIfExists
toapplyTranslationIfExists
so it doesn't look like a React hook. - Added a required parameter i18n to
applyTranslationIfExists
to avoid having stale translated strings when the language changes. - Fix
StoryBuilder
remove all text color - Fix
FeatureInfoPanel
Loader
color
- Breaking changes:
- Changed translation resolution. Now the "translation" namespace loads only from
${terria.baseUrl}/languages/{{lng}}/translation.json
(TerriaJS assets) and "languageOverrides" loads fromlanguages/{{lng}}/languageOverrides.json
(a TerriaMap's assets)
- Changed translation resolution. Now the "translation" namespace loads only from
- Removed EN & FR translation files from bundle. All translation files are now loaded on demand.
- Moved translation files from
lib/Language/*/translation.json
towwwroot/languages/*/translation.json
. - Fixed default 3d-tiles styling to add a workaround for a Cesium bug which resulted in wrong translucency value for point clouds.
- Remove Pell dependency, now replaced with TinyMCE (WYSIWYG editor library).
- Added
beforeRestoreAppState
hook for call toTerria.start()
which gets called before state is restored from share data. - Made
order
optional forICompositeBarItem
. - Fix
includes
path forurl-loader
rule so that it doesn't incorrectly match package names withterriajs
as prefix. - Add help button for bookmarking sharelinks to SharePanel (if that help item exists in config)
- Add Google Analytics event for drag and drop of files onto map.
- Allow users to choose whether Story is included in Share
- Fixed bug that broke Cesium when WebGL was not available. Reverts to Leaflet.
- Fixed bug where
new Terria()
constructror would try to accessdocument
and throw an error when running in NodeJS. - Add WPS support for
Date
(additional to existingDateTime
) and support forComplexData
Date
/DateTime
WPS Inputs. - TSXified
StandardUserInterface
and some other components. If your TerriaMap importsStandardUserInterface.jsx
remove the.jsx
extension so webpack can find the new.tsx
file. - Fix use of
baseMapContrastColor
in region mapping/protomaps and removeMAX_SELECTABLE_DIMENSION_OPTIONS
. mapItems
can now return arbitrary Cesium primitives.- Added progress of 3DTiles data source loading to Progress Bar.
- ProgressBar colour now depends on baseMapContrastColor - improves visibility on light map backgrounds.
- Update
terriajs-cesium
to1.92.0
. - Replace Pell WYSIWYG editor library with TinyMCE, allows richer editing of Stories in the Story Builder
- Added support for using Compare / Split Screen mode with Cesium 3D Tiles.
- Fix
BottomDock.handleClick
binding - Use the theme base font to style story share panel.
- Fix problem with Story Prompt not showing
- Fix global body style (font and focus purple)
- Add
color:inherit
toButton
- Update protomaps to
1.19.0
- now using offical version. - Fix Table/VectorStylingWorkflow for datasets with no columns/properties to visualise
- Improve default
activeStyle
inTableMixin
- if noscalar
style is found then find first style with enum, text and finally region. - Add Mustache template support to
modelDimensions
for string properties inoption.value
(with the catalog member as context) - Added a check for disableExport in ChartPanelDownloadButton.jsx. Prevents download button rendering.
- Fix
CatalogIndex
types - Moved code for retrieving a model by id, share key or CatalogIndex to a new function
terria.getModelByIdShareKeyOrCatalogIndex
. - Updated handling of
previewedItemId
to use new functionterria.getModelByIdShareKeyOrCatalogIndex
. This will now use CatalogIndex if thepreviewedItemId
cannot be found in models or model share keys. - Fixed a race condition inside ModalPopup that caused the explorer panel (data catalogue) to be stuck hidden until refresh.
- Fix bug that broke the
DiffTool
preventing it from opening. - TSify
BottomDock
andmeasureElement
components. - Fixed a bug in
GltfMixin
which resulted in some traits missing fromGltfCatalogItem
and broke tools like the scene editor. - Leaflet attribution can be set through
config.leafletAttributionPrefix
. Attribution HTML string to show on Leaflet maps. Will use Leaflet's default if undefined. To hide Leaflet attribution - setleafletAttributionPrefix:""
- Re-add missing
helpPanel.mapUserGuide
translation string - Fix
sortMembersBy
for childGroups
andReferences
- Add
raiseError
convenience method toTerriaError
- Improve
filterOutUndefined
types - Add Maki icons - these can be used in
TablePointStyleTraits
. For examplemarker = "hospital"
- Rename
ProtomapsImageryProvider.duplicate()
toProtomapsImageryProvider.clone()
. - Add
ts-essentials
library - "a set of high-quality, useful TypeScript types that make writing type-safe code easier" GeojsonMixin
improvementsuveMvt
is nowuseTableStylingAndProtomaps
- If
useTableStylingAndProtomaps
is true, then protomaps is used for Line and Polygon features, andTableMixin
is used for Point features (seecreateLongitudeLatitudeFeaturePerRow()
) GeoJsonTraits.style
is now only supported by Cesium primitives (if defined, thenuseTableStylingAndProtomaps
will be false). Instead you can useTableStyleTraits
TableMixin
improvements- Add new
TableStyleMap
model, this is used to supportenum
,bin
andnull
styles for the following:TablePointStyleTraits
- this supports markers (URLs or Maki icons) and rotation, width, height and pixelOffset.- Add
TableOutlineStyleTraits
- this supports color and width.
- Legends are now handled by
TableAutomaticLegendStratum
- Legends will be merged across
TableStyleMaps
andTableColorMap
- for example, marker icons will be shown in legend with correct colors. SeeMergedStyleMapLegend
- Default
activeStyle
is now picked by finding the first column of typescalar
, and then the first column of typeenum
, thentext
and then finallyregion
.
- Add new
ArcGisFeatureServiceCatalogItem
now uses Table styling andprotomaps
- Adapted
BaseModel.addObject
to handle adding objects toArrayTraits
withidProperty="index"
andisRemoval
. The new object will be placed at the end of the array (across all strata). - Add
allowCustomInput
property toSelectableDimensionGroup
- if true thenreact-select
will allow custom user input. TableStylingWorkflow
improvements- Better handling of swapping between different color scheme types (eg enum or bin)
- Add point, outline and point-size traits
- Breaking changes:
CkanItemReference
no longer copiesdefault
stratum to target - please useitemProperties
instead.
- Revert Use CKAN Dataset
name
property for WMSlayers
as last resort. - Add support for
WebMapServiceCatalogGroup
toCkanItemReference
- this will be used instead ofWebMapServiceCatalogItem
if WMSlayers
can't be identified from CKAN resource metadata.- Add
allowEntireWmsServers
toCkanCatalogGroupTraits
- defaults totrue
- Add
- Ignore WMS
Layers
with duplicateName
properties - Fix selectable dimensions passing reactive objects and arrays to updateModelFromJson (which could cause problems with array detection).
- Fixed a whitescreen with PrintView.
- Fixed selectable-dimension checkbox group rendering bug where the group is hidden when it has empty children.
- Breaking changes:
- Multiple changes to
GtfsCatalogItem
:- Removed
apiKey
in favour of more generalheaders
- Removed unused
bearingDirectionProperty
&compassDirectionProperty
image
is no longer resolved relative to the TerriaJS asset folder. This will allow using relative URLs for assets that aren't inside the TerriaJS asset folder. Prepend "build/TerriaJS/" (the value ofterria.baseUrl
) to any existing relativeimage
urls.
- Removed
- Multiple changes to
- Added
colorModelsByProperty
toGtfsCatalogItem
which will colour 1 model differently for different vehichles based on properties matched by regular expression. E.g. colour a vehicle model by which train line the vehicle is travelling on. - Fixed a bug where cross-origin billboard images threw errors in Leaflet mode when trying to recolour the image.
- Changed rounding of the numbers of the countdown timer in the workbench UI for items that use polling. The timer wil now show 00:00 for at most 500ms (instead of a full second). This means that for timers that are a multiple of 1000ms the timer will now show 00:01 for the last second before polling, instead of 00:00.
- TSified
BuildShareLink
,InitSourceData
andShareData
. - Added
HasLocalData
interface - which hashasLocalData
property to implement. - Added
ModelJson
interface - which provides loose type hints for Model JSON. - Added
settings
object toInitSourceData
- providesbaseMaximumScreenSpaceError, useNativeResolution, alwaysShowTimeline, baseMapId, terrainSplitDirection, depthTestAgainstTerrainEnabled
- these properties are now saved in share links/stories. - Moved
setAlwaysShowTimeline
logic fromSettingsPanel
toTimelineStack.ts
.
- Use CKAN Dataset
name
property for WMSlayers
as last resort. - Set CKAN Group will now set CKAN Item
name
indefinition
stratum. - Ignore GeoJSON Features with no geometry.
- Fix feedback link styling.
- Improve
CatalogIndexReference
error messages.
- Breaking changes
- All dynamic groups (eg
WebMapServiceCatalogGroup
) will create members and setdefinition
strata (instead ofunderride
)
- All dynamic groups (eg
- New
GltfMixin
, whichGltfCatalogItem
now uses. - Hook up
beforeViewerChanged
andafterViewerChanged
events so they are triggered on viewer change. They are raised only on change between 2D and 3D viewer mode. - Removed references to conversion service which is no longer used in version >=8.0.0.
- Added experimental routing system - there may be breaking changes to this system in subsequent patch releases for a short time. The routes currently include:
/story/:share-id
➡ loads share JSON from a URL${configParameters.storyRouteUrlPrefix}:share-id
(configParameters.storyRouteUrlPrefix
must have a trailing slash)/catalog/:id
➡ opens the data catalogue to the specified member
- Fixed a polyline position update bug in
LeafletVisualizer
. Polylines with time varying position will now correctly animate in leaflet mode. - Change button cursor to pointer
- Add
GeoJsonTraits.filterByProperties
- this can be used to filter GeoJSON features by properties - Add GeoJSON
czmlTemplate
support forPolygon/MultiPolygon
- Add custom
heightOffset
property toczmlTemplate
- Fixed a bug where Cesium3DTilePointFeature info is not shown when being clicked.
- Added optional
onDrawingComplete
callback toUserDrawing
to receive drawn points or rectangle when the drawing is complete. - Fixed a bug in
BoxDrawing
where the box can be below ground after initialization even when settingkeepBoxAboveGround
to true. - Add
itemProperties
,itemPropertiesByType
anditemPropertiesByIds
toGroupTraits
andReferenceTraits
.- Properties set
override
strata - Item properties will be set in the following order (highest to lowest priority)
itemPropertiesByIds
,itemPropertiesByType
,itemProperties
. - If a parent group has
itemProperties
,itemPropertiesByType
oritemPropertiesByIds
- then child groups will have these values copied tounderride
when the parent group is loaded - Similarly with references.
- Properties set
- Fix
viewCatalogMember
bug - where_previewItem
was being set too late. - Improve error message in
DataPreview
for references. - Fix alignment of elements in story panel and move some styling from scss to styled components
- Click on the stories button opens a story builder (button on the left from story number)
- Added ASGS 2021 regions to region mapping:
- SA1-4 (e.g. sa3_code_2021)
- GCCSA
- STE & AUS (aliased to existing 2011/2016 data due to no change in geometry, names & codes)
- Added LGA regions from 2019 & 2021 to region mapping - only usable by lga code
- Increase
ForkTsCheckerWebpackPlugin
memoryLimit to 4GB - Add
renderInline
option to markdownToHtml/React + TSify files - Organise
lib/Map
into folder structure - When
modelDimensions
are changed,loadMapItems()
is automatically called - Add
featureCounts
toGeoJsonMixin
- this tracks number of GeoJSON Features by type - Add
polygon-stroke
,polyline-stroke
andmarker-stroke
to GeoJSONStyleTraits
- these are only applied to geojson-vt features (not Cesium Primitives) - TableMixin manual region mapping dimensions are now in a
SelectableDimensionGroup
- Fix misc font/color styles
- Create reusable
StyledTextArea
component Collapsible
improvements:- Add
"checkbox"
btnStyle
onToggle
can now stop event propagationtitle
now supports custom markdown
- Add
- Add
rightIcon
andtextLight
props toButton
- New
addTerriaScrollbarStyles
scss mixin TableAutomaticStylesStratum
now createsstyles
for every column - but will hide columns depending onTableColumnType
TableAutomaticStylesStratum.numberFormatOptions
is nowTableStyle.numberFormatOptions
- Implement
TableColorStyleTraits.legendTicks
- this will determine number of ticks forContinuousColorMap
legends DiscreteColorMap
will now useminimumValue
/maximumValue
to calculate binsSelectableDimensions
improvements- Add
color
,text
,numeric
andbutton
types - Add
onToggle
function toSelectableDimensionGroup
Group
andCheckboxGroup
now share the same UI and useCollapsible
enum
(previouslyselect
) now usesreact-select
componentcolor
usesreact-color
componentDimensionSelectorSection
/DimensionSelector*
are now named the same as the model - egSelectableDimension
- Add
- Create
Portal
,PortalContainer
,SidePanelContainer
andWorkflowPanelContainer
. There are used byWorkflowPanel
. - Create
WorkflowPanel
- a basic building block for creating Workflows that sit on top of the workbench- It has three reusable components,
Panel
,PanelButton
,PanelMenu
- It has three reusable components,
- Create
selectableDimensionWorkflow
- This usesWorkflowPanel
to showSelectableDimensions
in a separate side panel.TableStylingWorkflow
- set styling options for TableMixin modelsVectorStylingWorkflow
- this extendsTableStylingWorkflow
- used to set styling options for GeoJsonMixin models (for Protomaps/geojson-vt only)
- Create
viewingControls
concept. This can be used to add menu items to workbench items menu (eg "Remove", "Export", ...)- TSXify
ViewingControls
- TSXify
- Add temporary
legendButton
property - this is used to show a "Custom" button above the Legend if custom styling has been applied- This uses new
TableStyle.isCustom
property
- This uses new
- Move workbench item controls from
WorkbenchItem.jsx
WorkbenchItemControls.tsx
- Add
UrlTempalteImageryCatalogItem
, renameRasterLayerTraits
toImageryProviderTraits
and add some properties. - Added
ViewingControlsMenu
for making catalog wide extensions to viewing controls options. - Added
MapToolbar
, a simpler API for adding buttons to the map navigation menu for the most common uses cases. - Added
BoxDrawing
creation methodsfromTransform
andfromTranslationRotationScale
. - Fixed a bug where
zoom
hangs for catalog items with trait namedposition
. - Moved workflows to
Models/Workflows
and added helper methodrunWorkflow
to invoke a workflow. - Change NaturalEarth II basemap to use
url-template-imagery
- Remove Gnaf API related files as the service was terminated.
- Fix broken download link for feature info panel charts when no download urls are specified.
- Fixed parameter names of WPS catalog functions.
- Improve WMS 1.1.1 support
- Added
useWmsVersion130
trait - Use WMS version 1.3.0. True by default (unlessurl
has"version=1.1.1"
or"version=1.1.0"
), if false, then WMS version 1.1.1 will be used. - Added
getFeatureInfoFormat
trait - Format parameter to pass to GetFeatureInfo requests. Defaults to "application/json", "application/vnd.ogc.gml", "text/html" or "text/plain" - depending on GetCapabilities response
- Added
- Add
legendBackgroundColor
toLegendOwnerTraits
andbackgroundColor
toLegendTraits
- Add
sld_version=1.1.0
toGetLegendGraphics
requests - Filter
"styles","version","format","srs","crs"
conflicting query parameters from WMSurl
- WMS
styles
,tileWidth
,tileHeight
andcrs
/srs
will use value inurl
if it is defined (similar to existing behavior withlayers
) - WMS will now show warning if invalid
layers
(eg if the specifiedlayers
don't exist inGetCapabilities
) - ArcGisFeatureServerCatalogItem can now load more than the maximum feature limit set by the server by making multiple requests, and uses GeojsonMixin
- Avoid creating duplication in categories in ArcGisPortalCatalogGroup.
- Fix
CatalogMemberMixin.hasDescription
null bug TableStyle
now calculatesrectangle
for point based styles- Fixed error installing dependencies by changing dependency "pell" to use github protocol rather than unencrypted Git protocol, which is no longer supported by GitHub as of 2022-03-15.
- Ignores duplicate model ids in members array in
updateModelFromJson
- Add support for
crs
property in GeoJSONFeature
- Add feature highlighting for Protomaps vector tiles
- Add back props
localDataTypes
andremoteDataTypes
to the componentMyData
for customizing list of types shown in file upload modal.
- Breaking changes:
IDEAL ZOOM
can be customised by providinglookAt
orcamera
foridealZoom
inMappableTraits
. ThelookAt
takes precedence ofcamera
if both exist. The values forcamera
can be easily obtained from propertyinitialCamera
by calling shared link api .
- Fixed crash caused by ArcGisMapServerCatalogItem layer missing legend.
- Refactored StoryPanel and made it be collapsible
- Added animation.ts as a utility function to handle animation end changes (instead of using timeout)
- Fixed a bug where
buildShareLink
serialised the feature highlight model & geometry. Picked features are still serialised and geometry is reloaded on accessing the share link.
- Added play story button in mobile view when there is an active story
IDEAL ZOOM
can be customised by providingidealZoom
property inMappableTraits
.- Fix
AddData
options
- Fixed bug where WMS layer would crash terria if it had no styles, introduced in 8.1.14
- Fixed whitescreen on Print View in release/production builds
- Add WMS support for
TIME=current
- Only show
TableMixin.legends
if we have rows in dataColumnMajor and mapItems to show - Add
WebMapServiceCatalogGroup.perLayerLinkedWcs
, this can be used to enableExportWebCoverageService
for all WMS layers.item.linkedWcsCoverage
will be set to the WMS layerName
if it is defined, layerTitle
otherwise. - MagdaReference can use addOrOverrideAspects trait to add or override "terria" aspect of target.
- Added new print preview page that opens up in a new window
- TSXified PrintView
- Add missing default Legend to
TableAutomaticStylesStratum.defaultStyle
- Fix a bug in CompositeCatalogItem that causes share URLs to become extremely long.
- Fix
OpacitySection
number precision. - Add
sortMembersBy
toGroupTraits
. This can be set to sort group member models - For examplesortMembersBy = "name"
will alphabetically sort members by name. - Remove
theme.fontImports
fromGlobalTerriaStyles
- it is now handled inTerriaMap/index.js
- Add check to
featureDataToGeoJson.getEsriFeature
to make sure geometry exists
- Breaking changes:
- Minimum node version is now 12 after upgrading node-sass dependency
- Automatically cast property value to number in style expressions generated for 3d tiles filter.
- Re-enable procedure and observable selectors for SOS items.
- Fix broken "Ideal zoom" for TableMixin items.
- The opacity of 3d tiles can now be changed with the opacity slider in the workbench
- RasterLayerTraits and Cesium3dTilesTraits now share the newly created OpacityTraits
disableOpacityControl
is now a trait and can be set in the catalog.- TSXified OpacitySection
- Upgrade compiler target from es2018 to es2019
- Fix default table style legends
- Remove SOS defaults legend workaround
- Update NodeJS version to 14 in
npm-publish
GitHub action
- Added region mapping support for Commonwealth Electoral Divisions as at 2 August 2021 (AEC) as com_elb_name_2021.
- Fix sharelink bug, and make
isJson*
type checks more rigorous - Remove
uniqueId
fromCatalogMemberMixin.nameInCatalog
and add it as fallback toCatalogMemberMixin.name
- Add
shareKeys
andnameInCatalog
toCatalogIndexReference
. - Remove
description
field fromCatalogIndex
- The
CatalogIndex
can now be used to resolve models in sharelinks
- The
- Add support for zipped
CatalogIndex
json files. - Fix
SplitReferences
which useshareKeys
- Make
isJson*
type assertion functions more rigorous- Add
deep
parameter, so you can use old "shallow" type check for performance reasons if needed
- Add
- Add Shapefile to
CkanDefaultFormatsStratum
- Fix
ArcGisMapServerCatalogItem
metadata bug - Remove legend traits from CatalogMemberMixin, replacing them with LegendOwnerTraits, and add tests to enforce correct use of legends.
- 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 ifzFilter
is active, orcolorTraits.outlierColor
is defined- Add
forceConvertResultsToV8
toWebProcessingServiceCatalogFunction
. If your WPS processes are returning v7 json, you will either need to set this totrue
, or setversion: 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 - automatic styling will be disabled (this behaviour can be disabled by setting
forceCesiumPrimitives = false
) - Don't show
TableMixin
legends
ormapItems
if no data - Fix
GeoJsonCatalogItem.legends
- Add
isOpen
toTerriaReferenceTraits
- Breaking changes:
Result.throwIfUndefined()
will now only throw ifresult.value
is undefined - regardless ofresult.error
- Reimplement option to zoom on item when adding it to workbench,
zoomOnAddToWorkbench
is added toMappableTraits
. - Update terria-js cesium to
1.81.3
- Re-allowed models to be added to
workbench
if the are notMappable
orChartable
- Moved
WebMapServiceCatalogItem.GetCapbilitiesStratum
tolib\Models\Catalog\Ows\WebMapServiceCapabilitiesStratum.ts
- Moved
WebMapServiceCatalogItem.DiffStratum
toDiffableMixin
callWebCoverageService
now uses version WCS2.0.0
- All WCS export functionality is now in
ExportWebCoverageServiceMixin
- Added
WebCoverageServiceParameterTraits
toWebMapServiceCatalogItemTraits.linkedWcsParameters
. It includesoutputFormat
andoutputCrs
- Will attempt to use native CRS and format (from
DescribeCoverage
) - No longer sets
width
orheight
- so export will now return native resolution
- All WCS export functionality is now in
- Anonymize user IP when using google analytics.
- Fix crash when TableMixin-based catalog item had invalid date values
- Fix
WebMapServiceCatalogItem.styles
ifsupportsGetLegendGraphics = false
. This means that if a WMS server doesn't supportGetLegendGraphics
requests, the first style will be set as the default style.
- Paramerterised the support email on the help panel to use the support email in config
- Refactored
TableColumn get type()
to move logic intoguessColumnTypeFromValues()
TableMixin.activeStyle
will setTableColumnType = hidden
forscalar
columns with name"id"
,"_id_"
or"fid"
- Fix bug
TableColumn.type = scalar
even if there were no values. - Table columns named
"easting"
and"northing"
are now hidden by default from styles TableColumn.type = enum
requires at least 2 unique values (including null) to be selected by default- Tweak automatic
TableColumn.type = Enum
for wider range of values - Exporting
TableMixin
will now add proper file extensions - Added
TimeVaryingTraits.timeLabel
trait to change label onDateTimeSelectorSection
(defaults to "Time:")- This is set to
timeColumn.title
- This is set to
TableColumn
will try to generate prettiertitle
by un-camel casing, removing underscores and capitalising wordsTableStyle
startDates
,finishDates
andtimeIntervals
will only set values for validrowGroups
(invalid rows will be set tonull
). For example, this means that rows with invalid regions will be ignored.- Add "Disable style" option to
TableMixin.styleDimensions
- it can be enabled withTableTraits.showDisableStyleOption
- Added
timeDisableDimension
toTableMixin
- this will render a checkbox to disable time dimension ifrowGroups
only have a single time interval per group (i.e. features aren't "moving" across time) - it can be enabled withTableTraits.showDisableTimeOption
-TableAutomaticStylesStratum
will automatically enable this if at least 50% of rowGroups only have one unique time interval (i.e. they don't change over time)\ - Remove border from region mapping if no data
- Add
baseMapContrastColor
andconstrastColor
toBaseMapModel
- Fixed
TableMixin.defaultTableStyle.legends
-defaultTableStyle
is now not observable - it is created once in thecontructor
- Removed
Terria.configParameters.enableGeojsonMvt
- geojson-vt/Protomaps is now used by default GpxCatalogItem
now usesGeojsonMixin
- Add an external link icon to external hyperlink when using method
parseCustomHtmlToReact
. This feature can be switched off by passing{ disableExternalLinkIcon: true }
incontext
argument. - Tsify
sendFeedback.ts
and improve error messages/notifications - Removed unused overrideState from many DataCatalog React components.
- Fixed a bug where adding a timeseries dataset from the preview map's Add to map button didn't add the dataset to the
timelineStack
. - Fixed incorrect colour for catalog item names in the explorer panel when using dynamic theming.
- Moved
CatalogIndex
loading from constructor (called inTerria.start
) toCatalogSearchProvider.doSearch
- this means the index will only be loaded when the user does their first search - Add basic auth support to
generateCatalogIndex
, fix some bugs and improve performance - Update terria-js cesium to
1.81.2
- Add
uniqueId
as fallback tonameInCatalog
- Remove duplicated items from
OpenDataSoftGroup
andSocrataGroup
- Bigger zoom control icons.
- Modified "ideal zoom" to zoom closer to tilesets and datasources.
- Added
configParameters.feedbackPostamble
. Text showing at the bottom of feedback form, supports the internationalization using the translation key GeoJsonMixin.style["stroke-opacity"]
will now also setpolygonStroke.alpha
andpolylineStroke.alpha
- Reduce
GeoJsonMixin
default stroke width from2
to1
- Add
TableMixin
styling toGeoJsonMixin
- it will treat geojson feature properties as "rows" in a table - which can be styled in the same way asTableMixin
(eg CSV). This is only enabled for geojson-vt/Protomaps (which requiresTerria.configParameters.enableGeojsonMvt = true
). For more info seeGeojsonMixin.forceLoadMapItems()
- This can be disabled using
GeojsonTraits.disableTableStyle
- This can be disabled using
- Opacity and splitting is enabled for Geojson (if using geojson-vt/protomaps)
- Replaced
@types/geojson
Geojson types with@turf/helpers
- In
GeojsonMixin
replaced withcustomDataLoader
,loadFromFile
andloadFromUrl
withforceLoadGeojsonData
GeojsonMixin
will now convert all geojson objects to FeatureCollection- Exporting
GeojsonMixin
will now add proper file extensions WebFeatureServiceCatalogItem
now usesGeoJsonMixin
- Fix
ProtomapsImageryProvider
geojson feature picking over antimeridian - Add Socrata group to "Add web data
- Added "marker-stroke-width", "polyline-stroke-width", "polygon-stroke-width" to
GeojsonStyleTraits
(Note these are not apart of simplestyle-spec and can only be used withgeojson-vt
) - Add a method refreshCatalogMembersFromMagda to Terria class.
- Renable
useNativeResolution
on mobile - Store
useNativeResolution
,baseMaximumScreenSpaceError
as local properties - Moved CKAN default
supportedFormats
toCkanDefaultFormatsStratum
- Add properties to
CkanResourceFormatTraits
maxFileSize
to filter out resources with large files (default values: GeoJSON = 150MB, KML = 30MB, CZML = 50MB)removeDuplicates
(which defaults to true) so we don't get duplicate formats for a dataset (it will checkresource.name
)- If there are multiple matches, then the newest (from resource.created property) will be used
onlyUseIfSoleResource
to give a given resource format unless that is all that exists for a dataset
- Add CKAN
useSingleResource
, iftrue
, then the highest match fromsupportedResourceFormats
will be used for each dataset - ArcGis Map/Feature Service will now set CRS from
latestWkid
if it exists (overwkid
) - Fix CKAN ArcGisFeatureService resources
- ArcGisFeatureServer will now set
outSR=4326
so we don't need to reproject client-side
- Fix
SettingsPanel
type issue
- Fix
CswCatalogGroup
XML types - Added
MAINCODE
aliases for all ABS Statistical Area regions that were missing them. - Fixed
superGet
replacement in webpack builds with babel versions7.16.0
and above.
- TSify workbench splitter control and fix broken styling.
- Fix app crash when opening AR tool.
- Tsified
SettingPanel
- Moved
setViewerMode
function fromTerria
class toViewerMode
- Refactored checkbox to use children elements for label instead of label
property,
isDisabled
,isChecked
andfont-size: inherit
style is passed to each child element (so propper styling is maintained) - Fix an internal bug where Cesium.prototype.observeModelLayer() fails to remove 3D tilesets in certain cases.
- Rename
TerriaError._shouldRaiseToUser
tooverrideRaiseToUser
- Note:
userProperties.ignoreError = "1"
will take precedence overoverrideRaiseToUser = true
- Note:
- Fix
overrideRaiseToUser
bug causingoverrideRaiseToUser
to be set totrue
inTerriaError.combine
- Add
rollbar.warning
forTerriaErrorSeverity.Warning
- Disable
zFilter
by default - Remove use of word "outlier" in zFilter dimension and legend item (we now use "Extreme values")
- Add
cursor:pointer
toCheckbox
- Fix
MapNavigation
getter/settervisible
bug.- Replace
CompositeBarItemController
visible
setter withsetVisible
function
- Replace
- Use
yarn
in CI scripts (and upgrade node to v14) - Fix app crash when previewing a nested reference in the catalog (eg when viewing an indexed search result where the result is a reference).
- Ported feaure from v7 to set WMS layers property from the value of
LAYERS
,layers
ortypeName
from query string of CKAN resource URL.
- Make flex-search usage (for
CatalogIndex
) web-worker based - Add
completeKnownContainerUniqueIds
toModel
class - This will recursively travese tree of knownContainerUniqueIds models to return full list of dependencies - Add all models from
completeKnownContainerUniqueIds
to shareData.models (even if they are empty)
- Reimplement map viewer url param
- Added
terriaError.importance
property. This can be set to adjust which error messages are presented to the user.terriaErrorNotification
andWarningBox
will use the error message with highest importance to show to the user ("Developer details" remains unchanged)
- Add
terriaError.shouldRaiseToUser
override, this can be used to raise errors withWarning
severity. terriaError.raisedToError
will now check if anyTerriaError
has been raised to the user in the tree.workbench.add()
will now keep items which only returnWarning
severityTerriaErrors
after loading.- Improve SDMX error messages for no results
- Fix SDMX FeatureInfoSection time-series chart to only show if data exists.
- Improve GeoJSON CRS projection error messages
- Add
Notification
onDismiss
andignore
properties. - Fix
AsyncLoader
result bug - Remove
Terria.error
event handler - Refactor
workbench.add
to returnResult
- Consolidated network request / CORS error message - it is now in
t("core.terriaError.networkRequestMessage")
.- It can be injected into other translation strings like so:
"groupNotAvailableMessage": "$t(core.terriaError.networkRequestMessage)"
- Or, you can use
networkRequestError(error)
to wrap up existingTerriaError
objects
- It can be injected into other translation strings like so:
- Fix incorrect default
configParameters.feedbackPreamble
- Fix incorrect default
configParameters.proj4def
- it is now"proj4def/"
- Fix Branding component. It wasn't wrapped in
observer
so it kept getting re-rendered - Add
FeedbackLink
and<feedbacklink>
custom component - this can be used to add a button to open feedback dialog (or showsupportEmail
in feedback is disabled) - Fix
ContinuousColorMap
Legend
issue due to funky JS precision - Fix mobx computed cycle in
CkanDatasetStratum
which was making error messages for failed loading of CKAN items worse.
- Removed duplicate Help icon and tooltip from the map navigation menu at the bottom as it is now shown in the top menu.
- Fixed a bug where the app shows a scrollbar in some instances.
- Wrap clean initSources with action.
- Modified
TerriaReference
to retain its name when expanded. Previously, when the reference is expanded, it will assume the name of the group or item of the target. - Proxy
catalogIndex.url
- Breaking changes:
blacklist
has been renamed toexcludeMembers
forArcGisPortalCatalogGroup
andCkanCatalogGroup
.
- Tsifyied and refactored
RegionProvider
andRegionProviderList
, and re-enabledloadRegionIDs
TableColorMap
minimumValue
andmaximumValue
will now take into account valid regions.tableMixin.loadRegionProviderList()
is now called intableMixin.forceLoadMapItems()
instead ofmappableMixin.loadMapItems()
- Add TableColumn and TableStyle
ready
computed property. Columns will only be rendered ifready
istrue
. At the moment it is only used to wait untilloadRegionIDs
has finished. - Moved region mapping
ImageryProvider
code tolib/Table/createRegionMappedImageryProvider.ts
- Fix
ChartPanel
importResult
bug. - Improve handling of featureInfoTemplate for composite catalog items.
- Mobile help menu will now show a link to map user guide if it is configured in
Terria.configParameters.helpItems
. - Fixed the layout of items in mobile navigation
- Add Mapbox Vector Tile support. This is using protomaps.js in the new
ProtomapsImageryProvider
. This includes subset of MVT style specification JSON support. MapboxVectorCanvasTileLayer
is now calledImageryProviderLeafletGridLayer
CesiumTileLayer
is now calledImageryProviderLeafletTileLayer
.- Added
geojson-vt
support toGeoJsonMixin
, which will tile geojson into vector tiles on the fly, and use the newProtomapsImageryProvider
. - Added
configParameter.enableGeojsonMvt
temporary feature flag for experimental Geojson-Mapbox vector tiles. Default isfalse
. - Added
forceCesiumPrimitives
toGeoJsonTraits
. This can be used to render cesium primitives instead of Mapbox vector-tiles (ifconfigParameter.enableGeojsonMvt
istrue
) - Add
scale
observable toTerriaViewer
. This will give distance between two pixels at the bottom center of the screen in meters. - Fixed
withControlledVisibility
method to inheritpropTypes
of its wrapped component. - Added
MinMaxLevelMixin
andMinMaxLevelTraits
to handle defining min and max scale denominator for layers. - Extracted function
scaleToDenominator
to core - for conversion of scale to zoom level. - Share/start data conversion will now only occur if
version
property is0.x.x
. Previously, it wasversion
property is not8.x.x
- Filter table column values by Z Score. This is controlled by the following
TableColorStyleTraits
:zScoreFilter
- Treat values outside of specifed z-score as outliers, and therefore do not include in color scale. This value is magnitude of z-score - it will apply to positive and negative z-scores. For example a value of2
will treat all values that are 2 or more standard deviations from the mean as outliers. This must be defined to be enabled - currently it is only enabled for SDMX (withzScoreFilter=4
).- `zScoreFilterEnabled - True, if z-score filter is enabled
rangeFilter
- This is applied after thezScoreFilter
. It is used to effectively 'disable' the zScoreFilter if it doesn't cut at least the specified percange of the range of values (for both minimum and maximum value). For exmaple ifrangeFilter = 0.2
, then the zScoreFilter will only be effective if it cuts at least 20% of the range of values from the minimum and maximum value
- Add
outlierColor
toContinuousColorMap
- Add
placement
toSelectableDimension
. This can be used to putSelectableDimension
below legend usingplacement = "belowLegend
- Add
SelectableDimensionCheckbox
(and renameSelectableDimension
toSelectableDimensionSelect
) - Add
outlierFilterDimension
checkboxSelectableDimension
to workbench to enable/disable dimension - Extend
tableStyle.rowGroups
to regions - Fix
spreadFinishTime
bug - Fix diverging
ContinuousColorMap
- it will now center color scale around 0. - Refactor
SocrataMapViewCatalogItem
to useGeoJsonMixin
SocrataCatalogGroup
will not not return groups for Facets if there is only one - so it skips an unnecessary group level.- Update protomaps.js to
1.5.0
- SDMX will now disable the region column if less than 2 valid regions have been found
- Set
spreadStartTime
andspreadFinishTime
totrue
for SDMX - Add SDMX
metadataURLs
from dataflow annotations - Improve SDMX chart titles
TableMixin
will now remove data if an error occurs while callingforceLoadTableData
- Make
regionColumn
isNullable
- this means region column can be disabled by setting tonull
. - Fix scalar column color map with a single value
- TableMixin will now clear data if an error occurs while calling
forceLoadTableData
TableMixin
will now not returnmapItems
orchartItems
ifisLoading
- SDMX will now use
initialTimeSource = stop
- Fix
duplicateModels
duplicating observables across multiple models - Support group models in workbench -- All members will be automatically added to the map.
- Added location search button to welcome modal in mobile view.
- Add
DataUrlTraits
toCatalogMemberTraits.dataUrls
. It contains an array of data URLS (with optionaltitle
which will render a button). It is handled the same asMetadataUrls
except there is atype
property which can be set towcs
,wfs
... to show info about the URL. - Made search location bar span full width in mobile view.
- Automatically hide mobile modal window when user is interacting with the map.
- Disabled feature search in mobile
- Disabled export (clip&ship) in mobile
- Fixed misplaced search icon in mobile safari.
- Prevents story text from covering the whole screen in mobile devices.
- Add
CatalogIndex
,CatalogIndexReference
andgenerateCatalogIndex()
script. These can be used to generate a static JSON index of a terria catalog - which can then be searched through usingflexsearch
- Added
weakReference
flagReferenceMixin
, this can be used to treat References more like a shortcut (this means thatsourceReference
isn't used when models are shared/added to the workbench - thetarget
is used instead) - GroupMixin.isMixedInto and MappableMixin.isMixedInto are now more strict - and won't pass for for References with
isMappable
orisGroup
. Workbench.add
can now handle nestedReferences
(egCatalogIndexReference -> CkanReference -> WMSCatalogItem
).- Add
description
trait toCatalogMemberReferenceTraits
- Added
excludeMembers
property toGroupTraits
(this replaced theblacklist
property in v7). It is an array of strings of excluded group and item names. A group or item name that appears in this list will not be shown to the user. This is case-insensitive and will also apply to all child/nested groups - Fixes an app crash on load in iOS-Safari mobile which was happening when rendering help panel tooltips.
- Fixed
WebMapServiceCatalogItem
not sending additionalparameters
inGetFeatureInfo
queries. - Changed mobile header icons and improved styling.
- Fixed a problem with computeds and AsyncLoader when loading
mapItems
(and hence children'smapItems
) of a CompositeCatalogItem. - Fix
YDYRCatalogFunction
description
- Extend input field for search in mobile view to full width of the page.
- Automatically hide mobile modal window when user is interacting with the map (like picking a point or drawing a shape).
- Adjusted styling of x-axis labels in feature info panel to prevent its clipping.
- When expanding charts from the same catalog item, we now create a new item if the expanded chart has a different title from the previously expanded chart for the same item. This behavior matches the behavior in
v7
. - Improve status message when feature info panel chart is loading
- Fix broken chart panel download button.
- Changed @vx/_ dependencies to @visx/_ which is the new home of the chart library
- The glyph style used for chart points can now be customized.
- Added
TerriaReference
item, useful for mounting a catalog tree from an external init file at any position in the current map's catalog tree. - Changed @vx/_ dependencies to @visx/_ which is the new home of the chart library
- The glyph style used for chart points can now be customized.
- Chart tooltip and legend bar can now fit more legends gracefully.
- Breaking changes:
- Overhaul of map navigation: items no longer added inside UserInterface using jsx.
- New version of map navigation (#5062)
- It consists of
- a high level api
MapNavigationModel
for managing the navigation items, which is responsible for managing the state of navigation items. It is passing commands to invidual item controller. - a
MapNavigationItemController
that holds and control the state of navigation item. When new navigation item is created it should extend controller and provide the definition on how it state should be updated.
- a high level api
- Terria exposes instance of navigation model to the world.
- Converted all existing navigation items to utilise new navigation model, and registered them in terria navigation model (
registerMapNavigations.tsx
). - Resolved issue with some navigation items not being clickable on mobile due to overlap from others.
- It consists of
- Fixed a bug in Difference tool where difference image was showing with zero opacity in some situations.
- Fixed
CzmlCatalogItem
to react correctly to input data changes.
- Added
catalog-converter
support for v7#start
data. - add french Help button translation
- Enable FeatureInfoSectionSpec tests
- Add
itemProperties
toArcGisMapServerCatalogGroupTraits
so thatArcGisMapServerCatalogGroup
can override relevant traits of its layers. - Add
feature
object toFeatureInfoSection.getTemplateData
- Add a way to replace text in feature info templates. See Replace text for details.
- Fixed unnecessary model reloads or recomputing of
mapItems
when switching between story scenes. - Fixed story reset button.
- Moved help button to the top menu
- Breaking changes:
- Require
translate#
in front of translatable content id inconfig.json
(i.e.helpContent
). colorPalette
no longer supports a list of CSS colors (egrgb(0,0,255)-rgb(0,255,0)-rgb(255,0,0)
). Instead please usebinColors
.- Organise
Traits
folder intoTraits/Decorators
andTraits/TraitsClasses
- Renamed all mixin instance type definitions to
XMixin.Instance
. - Basemaps are now defined as
baseMaps
object (see baseMaps object docs)- list of available basemaps is defined in
baseMaps.items
. This list is combined with default base maps so it's possible to override defaults - definition of
initBaseMapId
andinitBaseMapName
are moved tobaseMaps.defaultBaseMapId
andbaseMaps.defaultBaseMapName
previewBaseMapId
is moved tobaseMaps.previewBaseMapId
- implemented
baseMaps.enabledBaseMaps
array of base map ids to define a list of baseMaps available to user - updated docs for
baseMaps
- list of available basemaps is defined in
$color-splitter
andtheme.colorSplitter
has been replaced with$color-secondary
andtheme.colorSecondary
canZoomTo
has bee replaced withdisableZoomTo
inMappableTraits
showsInfo
has been replaced withdisableAboutData
inCatalogMemberTraits
AsyncLoader
loadXXX methods now returnResult
witherrors
they no longer throw errors - if you need errors to be thrown you can use(await loadXX).throwIfError()
.- Removed
openGroup()
- it is replaced byviewState.viewCatalogMember
- Renamed
ReferenceMixin.is
toReferenceMixin.isMixedInto
- Require
- Fixed a bug with numeric item search where it sometimes fails to return all matching values.
- Respect order of objects from lower strata in
objectArrayTrait
. - Fix datetime button margin with scroll in workbench.
- Fix checkbox when click happen on svg icon. (#5550)
- Added progress indicator when loading item search tool.
- Add
nullColor
toConstantColorMap
- used whencolorColumn
is of typeregion
to hide regions where rows don't exist. TableStyles
will only be created fortext
columns if there are no columns of typescalar
,enum
orregion
.- Moved
TableStyle.colorMap
intoTableColorMap
- Replaced
colorbrewer.json
withd3-scale-chromatic
- we now support d3 color scales (in addition to color brewer) - see https://github.com/d3/d3-scale-chromatic - Added
ContinuousColorMap
- it will now be used by default forscalar
columns- To use
DiscreteColorMap
- you will need to setnumberOfBins
to something other than0
.
- To use
TableColorMap
default color palette forscalar
columns is notReds
instead ofRdYlOr
- Legends for
scalar
columns will now calculate optimalnumberFormatOptions.maximumFractionDigits
andnumberFormatOptions.minimumFractionDigits
- Fix sharing user added data of type "Auto-detect".
- #5605 tidy up format string used in
MagdaReference
- Fix wms feature info returning only one feature
WebMapServiceCatalogGroup
will now create layer auto-IDs usingName
field to avoid ID clashes.- Added
GroupMixin
shareKey
generation for members - if the group hasshareKeys
. - Organise
Traits
folder intoTraits/Decorators
and `Traits/TraitsClasses - Organise
Traits
folder intoTraits/Decorators
andTraits/TraitsClasses
- I18n-ify shadow options in 3DTiles and some strings in feature info panel.
- Fix
StyledIcon
cssdisplay
clash - Limit
SelectableDimension
options to 1000 values - Added support for
SocrataCatalogGroup
andSocrataMapViewCatalogGroup
- Notes on v7 to v8 Socrata integration:
- Share links are not preserved
- Added basic support for dataset resources
- Notes on v7 to v8 Socrata integration:
- Organise
Models
directory into multiple sub-directories (#5626)- New model related classes are moved to
Models/Definition
- Catalog related files are moved to
Models/Catalog
- ESRI, OWS, GTFS and CKAN related files are moved to their own sub-directories in
Models/Catalog/
- Other Catalog items related files are moved to
Models/Catalog/CatalogItems
- Other Catalog items related files are moved to
Models/Catalog/CatalogGroups
- Catalog functions related files are moved to
Models/Catalog/CatalogFunction
- ESRI, OWS, GTFS and CKAN related files are moved to their own sub-directories in
- Removed unused Models files
- New model related classes are moved to
- Modified BadgeBar to be more tolerant to longer strings
- Added
MapboxMapCatalogItem
. - Added
MapboxStyleCatalogItem
. - Fix splitter thumb icon vertical position
- Renamed all mixin instance type definitions to
XMixin.Instance
. - Clean up
ViewControl
colors$color-splitter
andtheme.colorSplitter
has been replaced with$color-secondary
andtheme.colorSecondary
- Clean up
SplitterTraits
SplitterTraits
is now included inRasterLayerTraits
- Removed
supportsSplitter
variable - Added
disableSplitter
trait
- Clean up
canZoomTo
- Replaced with
disableZoomTo
inMappableTraits
- Replaced with
- Clean up
showsInfo
- Replaced with
disableAboutData
inCatalogMemberTraits
- Replaced with
- Add
TerriaErrorSeverity
enum, values can beError
orWarning
.- Errors with severity
Error
are presented to the user.Warning
will just be printed to console. - By default, errors will use
Error
TerriaErrorSeverity
will be copied through nestedTerriaErrors
on creation (eg if you callTerriaError.from()
on aWarning
then the parent error will also beWarning
)- Loading models from share links or stories will use
Warning
if the model is not in the workbench, otherwise it will useError
.
- Errors with severity
- In
terriaErrorNotification
- showerror.message
(as well aserror.stack
) iferror.stack
is defined AsyncLoader
now has an observableresult
property.viewState.viewCatalogMember()
now handles loading catalog members, opening groups and showing "Add Data" window.- Fix
MagdaReference
forceLoadReference
bug. - Clean up
CkanCatalogGroup
loading - errors are no-longer swallowed. - Clean up
3dTilesMixin
loading - errors are no-longer swallowed. - Fix
DataPreviewSections
info section bug. - Move
FeedbackForm
z-index
to same asNotification
- this is so it will appear above Data catalog. - Added
result.raiseError()
,result.pushErrorTo()
andresult.clone()
helper methods - andResult.combine()
convenience function - Renamed
ReferenceMixin.is
toReferenceMixin.isMixedInto
- Added support for logging to external error service and configuring it via config parameters. See
errorService
in client configuration. - Fix
DiscreteColorMap
bug withbinColors
and added warning message ifcolorPalette
is invalid. - Fix
EnumColorMap
bug withbinColors
- Moved d3-scale-chromatic code into
tableColorMap.colorScaleCategorical()
andtableColorMap.colorScaleContinuous()
- Disabled welcome popup for shared stories
- Add WMS support for default value of time dimension.
- Make CompositeCatalogItem sync visibility to its members.
- Add
description
andexample
static properties toTrait
, and added@traitClass
decorator. - Add
parent
property toTrait
, which contains parentTraitClass
. - New model-generated documentation in
generateDocs.ts
- Refactored some
Traits
classes so they usemixTraits
instead of extending otherTraits
classes. - Allow translation of some components.
- Fixed a bug which prevented adding any reference catalog item while the story is playing.
- Bumped terriajs-server to ^3.3.3
- Re-add basemap images to terriajs rather than requiring all TerriaMaps to have those basemap images. Default basemaps will use those images.
- Data from TableMixin always overrides other feature information (e.g. from vector tiles in region mapping) by column name and title for feature info templating (consistent with v7).
- Fixed point entity creation for TableMixin where different columns are used for point size and colour.
- Changed MappableMixin's initialMessage to show while map items are loaded. Map items could be displayed behind the disclaimer before a user accepts the disclaimer.
- Fixed a cyclic dependency between initialMessage and app spinner (globe gif greysreen) that caused the app spinner to be present forever when loading a share link.
- Removed hardcoded credit links and made it configurable via terria config parameters.
- Disable
TableMixin
time column if only one unique time interval
- Breaking changes:
EnumColorMap
will only be used for enumTableColumns
with number of unique values <= number of bins
- Add
options
to CSV papaparsing TableMixin
will now only show points or region mapping - not both- Add
FeatureInfoMixin
support for 2D vector features (in Cesium only) TableStyles
are now hidden from the "Display Variable" selector if the number of colors (enumColors or numberOfBins) is less than 2. As a ColorMap with a single color isn't super useful.- Improved default
TableColumn.isSampled
- it will be false if a binary column is detected (0 or 1) - Improved default Table charting - now a time column will be used for xAxis by default
- Added
spreadFinishTime
- which works same way asspreadStartTime
- iftrue
, finish time of feature will be "spread" so that all features are displayed at the latest time step. - Added support for
OpenDataSoft
- only point or region based features + timeseries GeoJsonMixin
-based catalog items with polygon features can be extruded if aheightProperty
is specified.- Bugfix to make time-based geojson work when there are multiple features with the same time property value.
- Add
czmlTemplate
toGeoJsonTraits
- it can be used to replace GeoJSON Point features with a CZML packet. - Made the moment points in the chart optionally clickable.
- Breaking changes:
- Removed
registerAnalytics.js
- Removed
HelpMenuPanel.jsx
- Removed
- Added analytic events related to story, share and help menu items, Also refactored events to use category and action enums.
- Remove table style
SelectableDimension
from SDMX GyroscopeGuidance
can now be translated.- Wraps tool title bar text using
...
.
- Fix
ArcGisMapServerCatalogGroup
infinite loading by removing the cycle of callingloadMembers
that was present in theDataCatalogGroup
React component. However callingloadMembers
is still not cached as it should forArcGisMapServerCatalogGroup
, and the infinite loading bug could return. - Fix bug
selectableDimensions
bug inCesium3dTilesMixin
andGltfCatalogItem
.
- Add
modelDimensions
toCatalogMemberMixin
- this can be used to apply model stratum with aSelectableDimension
(i.e. a drop-down menu). GeoJsonMixin
-based catalog items can now be styled based on to their properties through traits.GeoJsonMixin
-based catalog items can now vary over time if atimeProperty
is specified.
- Breaking changes:
- IndexedItemSearchProvider: (bounding)
radius
option is no longer supported inresultsData.csv
of search indexes.
- IndexedItemSearchProvider: (bounding)
- Show a toast and spinner icon in the "Ideal zoom" button when the map is zooming.
zoomTo()
will return a promise that resolves when the zoom animation is complete.- Modifies
IndexedItemSearchProvider
to reflect changes toterriajs-indexer
file format. - Move feature info timeseries chart funtion to
lib\Table\getChartDetailsFn.ts
- Fix feature info timeseries chart for point (lat/long) timeseries
- Feature info chart x-values are now be sorted in acending order
- Remove merging rows by ID for
PER_ROW
data inApiTableCatalogItem
- Make
ApiTableCatalogItem
more compatible with TableTraits
keyToColumnMapping
has been removed, now columns must be defined incolumns
TableColumnTraits
to be copied from API responses.
- Move notification state change logic from ViewState into new class
NotificationState
- Catalog items can now show a disclaimer or message before loading through specifying
InitialMessageTraits
- Added Leaflet hack to remove white-gaps between tiles (Leaflet/Leaflet#3575 (comment))
- Disabled pedestrian mode in mobile view.
- Pedestrian mode will no longer respond to "wasd" keys when the user is typing in some input field.
- Fix references to old
viewState.notification
. - wiring changeLanguage button to useTranslation hook so that it can be detected in client maps
- Add
canZoomTo
toTableMixin
- SDMX changes:
- Add better SDMX server error messages
conceptOverrides
is nowmodelOverrides
- as dataflow dimension traits can now be overridden by codelist ID (which is higher priortiy than concept ID)- Added
regionTypeReplacements
tomodelOverride
- to manually override detected regionTypes modelOverrides
are created for SDMX common conceptsUNIT_MEASURE
,UNIT_MULT
andFREQ
UNIT_MEASURE
will be displayed on legends and chartsUNIT_MULT
will be used to multiple the primary measure by10^x
FREQ
will be displayed as "units" in Legends and charts (eg "Monthly")
- Single values will now be displayed in
ShortReportSections
- Custom feature info template to show proper dimension names + time-series chart
- Smarter region-mapping
- Removed
viewMode
- not needed now due to better handling of time-series
- Fix
DimensionSelector
Select duplicate ids. - Add Leaflet splitter support for region mapping
- Fix Leaflet splitter while zooming and panning map
- Split
TableMixin
region mappingImageryParts
andImageryProvider
to improve opacity/show performance - Removed
useClipUpdateWorkaround
from Mapbox/Cesium TileLayers (for Leaflet) - because we no longer support IE - Fix overwriting
previewBaseMapId
withinitBaseMapId
by multipleinitData
. - GeoJSON Mixin based catalog items can now call an API to retrieve their data as well as fetching it from a url.
- Changes to loadJson and loadJsonBlob to POST a request body rather than always make a GET request.
- Added ApiRequestTraits, and refactor ApiTableCatalogItemTraits to use it.
apiUrl
is nowurl
.
- Fix invalid HTML in
DataPreviewSections
. - Fix pluralisation of mapDataState to support other languages.
- Fix CSW
Stratum
name bug. - Add
#configUrl
hash parameter for dev environment only. It can be used to overwrite Terria config URL.
- Removed
Disclaimer
deny or cancel button when there is nodenyAction
associated with it.
- Make
InfoSections
collapsible inDataPreview
. This addsshow
property toInfoSectionTraits
.WebMapServiceCatalogItem
service description and data description are now collapsed by default.
- Revert commit https://github.com/TerriaJS/terriajs/commit/668ee565004766b64184cd2941bbd53e05068ebb which added
enzyme
devDependency. - Aliases
lodash
tolodash-es
and usebabel-plugin-lodash
reducing bundle size by around 1.09MB. - Fix CkanCatalogGroup filterQuery issue. #5332
- Add
cesiumTerrainAssetId
to config.json to allow configuring default terrain. - Added in language toggle and first draft of french translation.json
- This is enabled via language languageConfiguration.enabled inside config.json and relies on the language being both enumerated inside languageConfiguration.langagues and availble under {code}/translation.json
- Updated to terriajs-cesium 1.81
- Create the Checkbox component with accessibility in mind.
- Convert
FeedbackForm
to typescript.
- Add
ignoreErrors
url parameter.
- Breaking changes:
terria.error.raiseEvent
and./raiseErrorToUser.ts
have been replaced withterria.raiseErrorToUser
.terria.error.addEventListener
has been replaced withterria.addErrorEventListener
- New Error handling using
Result
andTerriaError
now applied to initial loading,updateModelFromJson()
,upsertModelFromJson()
andTraits.fromJson()
. This means errors will propagate through these functions, and a stacktrace will be displayed.Result
and the new features ofTerriaError
should be considered unstable and may be extensively modified or removed in future 8.0.0-alpha.n releases
- New
terriaErrorNotification()
function, which wraps up error messages. TerriaError
can now contain "child" errors - this includes a few new methods:flatten()
andcreateParentError()
. It also has a few new convenience functions:TerriaError.from()
andTerriaError.combine()
.- Convert
Branding.jsx
to.tsx
- Added
configParams.brandBarSmallElements
to set Branding elements for small screen (also added theme props) - Add
font
variables andfontImports
to theme - this can be used to import CSS fonts. - Convert
lib/Styled
.jsx
files to.tsx
(including Box, Icon, Text). The most significant changes to these interfaces are:Box
no longer accepts<Box positionAbsolute/>
and this should now be passed as<Box position="absolute"/>
.Text
'sstyledSize
has been removed. Use thestyledFontSize
prop.ButtonAsLabel
no longer acceptsdark
. A dark background is now used whenlight
is false (or undefined).
- Fixes CZML catalog item so that it appears on the timeline.
- Enable
theme
config parameter. This can now be used to override theme properties.
- Added support for setting custom concurrent request limits per domain through
configParameters.customRequestSchedulerLimits
. - Added
momentChart
to region-mapped timeseries - Add time-series chart (in FeatureInfo) for region-mapped timeseries
- Only show
TableMixin
chart if it has more than one - Add
TableChartStyle
name trait.
- Fix
NotificationWindow
bug withmessage
. - Re-add
loadInitSources
toTerria.updateApplicationUrl()
- Added support for
elements
object in catalogue files (aka init files).- Using this object you can hide/show most UI elements individually.
- See #5131. More in-depth docs to come.
- Fix JS imports of
TerriaError
- Add
title
parameter inraiseErrorToUser
to overwrite error title. - Added some error handling in
Terria.ts
to deal with loading init sources. - TSify
updateApplicationOnHashChange
+ removeloadInitSources
fromTerria.updateApplicationUrl()
- Breaking changes:
- Added clippingRectangle to ImageryParts.
- Any item that produces ImageryParts in mapItems (any raster items) must now also provide a clippingRectangle.
- This clippingRectangle should be derived from this.cesiumRectangle (a new computed property) & this.clipToRectangle as demonstrated in many raster catalog items (e.g. OpenStreetMapCatalogItem.ts).
- Adds experimental ApiTableCatalogItem.
- Fixes a bug where FeatureInfoDownload tries to serialize a circular object
- Added
removeDuplicateRows
toTableTraits
forceLoadTableData
can now return undefined - which will leavedataColumnMajor
unchanged- Fix sharing preview item.
- Added z-index to right button group in mobile header menu
- Added cesiumRectangle computed property to MappableMixin. This is computed from the
rectangle
Trait. - Fixed a Cesium render crash that occured when a capabilities document specified larger bounds than the tiling scheme's supported extent (bug occured with esri-mapServer but wms was probably also affected).
- In fixing Cesium render crash above clipping rectangles are now added to Cesium ImageryLayer (or Leaflet CesiumTileLayer) rather than being included in the ImageryProvider. ImageryParts has been updated to allow passing the clipping rectangle through to Cesium.ts and Leaflet.ts where ImageryLayer/CesiumTileLayer objects are created.
- Fix accidental translation string change in 8.0.0-alpha.70
- Breaking changes:
- Merge
Chartable
andAsyncChartableMixin
into newChartableMixin
+loadChartItems
has been replaced byloadMapItems
. - To set base map use
terriaViewer.setBaseMap()
instead ofterriaViewer.basemap = ...
- Incorrect usage of
AsyncLoader
will now throw errors
- Merge
- Add
hideInBaseMapMenu
option toBaseMapModel
. - Change default basemap images to relative paths.
- Add
tileWidth
andtileHeight
traits toWebMapServiceCatalogItem
. - Add docs about
AsyncLoader
- Remove interactions between AsyncLoaders (eg calling
loadMetadata
fromforceLoadMapItems
) - ... Instead,
loadMapItems
will callloadMetadata
before triggering its ownAsyncLoader
- Add
isLoading
toCatalogMemberMixin
(combinesisLoading
from all the differentAsyncLoader
) - Move
Loader
(spinner) fromLegend
toWorkbenchItem
. - Merge
Chartable
andAsyncChartableMixin
intoChartableMixin
+ removeAsyncLoader
functionality fromChartableMixin
- it is now all handled byloadMapItems
. - Removed
AsyncLoader
functionality fromTableMixin
- it is now handled byloadMapItems
.TableMixin.loadRegionProviderList()
is now called inMappableMixin.loadMapItems()
- Added
TerriaViewer.setBaseMap()
function, this now callsloadMapItems
on basemaps - Fix load of persisted basemap
- Fix sharing of base map
- Added backward compatibility for
baseMapName
ininitData
(eg share links) - Add
WebMapService
support for WGS84 tiling scheme
- Breaking changes:
- Basemaps are now configured through catalog JSON instead of TerriaMap - see https://github.com/TerriaJS/terriajs/blob/13362e8b6e2a573b26e1697d9cfa5bae328f7cff/doc/customizing/initialization-files.md#basemaps
- Updated terriajs-cesium to version 1.79.1
- Make base maps configurable from init files and update documentation for init files #5140.
- Remove points from rectangle
UserDrawing
- Fix clipboard typing error.
- Ported
WebProcessingServiceCatalogGroup
. - Add CSW Group support
- Revert "remove wmts interfaces from ows interfaces" (873aa70)
- Add
math-expression-evaluator
library andColumnTransformationTraits
. This allows expressions to be used to transform column values (for examplex+10
to add 10 to all values). - Fix bug in
TableColumn.title
getter. - Add support for TableColumn quarterly dates in the format yyyy-Qx (eg 2020-Q1).
- Fix region mapping feature highlighting.
- Update clipboard to fix clipboard typing error.
- Added direction indicator to the pedestrian mode minimap.
- Limit up/down look angle in pedestrian mode.
- Automatically disable pedestrian mode when map zooms to a different location.
- Add support for time on
ArcGisMapServerCatalogItem
- Merge
Mappable
andAsyncMappableMixin
intoMappableMixin
. - Fixed a issue when multiple filters are set to Cesium3DTilesCatalogItem
- Async/Awaitify
Terria.ts
+ fix share links loading afterloadInitSources
. - Tsified
TerriaError
+ added support for "un-rendered"I18nTranslateString
- Tsified
raiseErrorToUser
+ addedwrapErrorMessage()
to wrap error message in something more user friendly (usingmodels.raiseError.errorMessage
translation string).
- TSify
Loader
function. - Added walking mode to pedestrian mode which clamps the pedestrain to a fixed height above the surface.
- Upgraded catalog-converter to fix dependency version problem and ensure that all imports are async to reduce main bundle size.
- Breaking changes:
- Changed merging behaviour of Trait legends (of type
LegendTraits
) inCatalogMemberTraits
. This affects legends on allCatalogMember
models. Legend objects in higher strata now replace values in lower strata that match by index, rather than merging properties with them.
- Changed merging behaviour of Trait legends (of type
- Add
MetadataUrlTraits
toCatalogMemberTraits.metadataUrls
. It contains an array of metadata URLS (with optionaltitle
which will render a button) - Restore
cesiumTerrainUrl
config parameter. #5124 - I18n-ify strings in settings panel. #5124
- Moved
DataCustodianTraits
intoCatalogMemberTraits
andCatalogMemberReferenceTraits
. TableMixin
styles ("Display variables") will now look for column title if style title is undefined- Add fallback colours when Color.fromCssColorString is used.
- Allow nullable
timeColumn
in table styles. Useful for turning off auto-detection of time columns. - Added tool for searching inside catalog items. Initial implementation works for indexed 3d tilesets.
- Added support for shapefile with
ShapefileCatalogItem
- Added
GeoJsonMixin
for handling the loading of geojson data. - Extended the
GeoJsonCatalogItem
to support loading of zip files. - Fixed broken feature highlighting for raster layers.
- Show a top angle view when zooming to a small feature/building from the item search result.
- Fix
TableTimeStyleTraits.idColumns
trait type. - Added a new
lineAndPoint
chart type - CustomChartComponent now has a "chart-type" attribute
- Fix
ArcGisMapServerCatalogItem
layer ID and legends bug - Re-add region mapping
applyReplacements
. - Added
SearchParameterTraits
to item search for setting a human readablename
or passing index specificqueryOptions
for each parameter through the catalog. - Added
AttributionTraits
to mappable and send it as property when creating Cesium's data sources and imagery providers. #5167 - Fixed an issue where a TerriaMap sometimes doesn't build because of typing issues with styled-components.
- Renamed
options
toproviderOptions
inSearchableItemTraits
. - Fix
CkanCatalogGroup.groupBy = "none"
members - Fix
TableMixin
region mapping feature props and make Long/Lat features use column titles (if it exists) to match v7 behaviour. - Add support for
CkanItemReference
wms_layer
property - Add support for
ArcGisMapServerCatalogGroup
to usesublayerIds
. - Added Pedestrian mode for easily navigating the map at street level.
- Clean up
LayerOrderingTraits
, removeWorkbenchItem
interface, fixkeepOnTop
layer insert/re-ordering. - Remove
wordBreak="break-all"
from Box surrounding DataPreview - Re-added merging of csv row properties and vector tile feature properties for feature info (to match v7 behaviour).
- Fixes a bug in pedestrian mode where dropping the pedestrian in northern hemisphere will position the camera underground.
- Implement highlight/hide all actions for results of item search.
- Disable pickFeatures for WMS
_nextImageryParts
. - Fix Leaflet
ImageryLayer
feature info sorting - Fix hard-coded colour value in Story
- Use
configParameters.cesiumIonAccessToken
inIonImageryCatalogItem
- Added support for skipping comments in CSV files
- Fix WMS GetLegendGraphics request
style
parameter - Loosen Legend
mimeType
check - so now it will treat the Legend URL as an image if themimeType
matches OR the file extension matches (previously, ifmimeType
was defined, then it wouldn't look at filetype extension) - Fix
DiffTool
date-picker labeldateComparisonB
- Fix app crash when switching different tools.
- Create
merge
TraitsOption
forobjectArrayTrait
- Move
Description
metadataUrls
aboveinfoSections
. - Upgraded i18next and i18next-http-backend to fix incompatibility.
- Added support for dd/mm/yyyy, dd-mm-yyyy and mm-dd-yyyy date formats.
- Fixed SDMX-group nested categories
- SDMX-group will now remove top-level groups with only 1 child
- Fixed WMS style selector bug.
layers
trait forArcGisMapServerCatalogItem
can now be a comma separated string of layer IDs or names. Names will be auto-converted to IDs when making the request.
- Add
v7initializationUrls
to terria config. It will convert catalogs to v8 and print warning messages to console. - Add
shareKeys
support for Madga map-config maps (throughterria
aspect) - Revert WMS-group item ID generation to match v7
- Add
addShareKeysToMembers
toGroupMixin
to generateshareKeys
for dynamic groups (eg `wms-group) - Added
InitDataPromise
toInitSources
- Add reverse
modelIdShareKeysMap
map -model.id
->shareKeys
- Upgraded
catalog-converter
to 0.0.2-alpha.4 - Reverted Legend use of
object
instead ofimg
- sometimes it was showing html error responses - Legend will now hide if an error is thrown
- Update youtube urls to nocookie version
- Share link conversion (through
catalog-converter
) is now done client-side - Fix Geoserver legend font colour bug
- Remove legend broken image icon
- Added high-DPI legends for geoserver WMS (+ font size, label margin and a few other tweaks)
LegendTraits
is now part ofCatalogMemberTraits
- Add
imageScaling
toLegendTraits
- WMS now
isGeoserver
if "geoserver` is in the URL - Add WMS
supportsGetLegendRequest
trait - Improved handling of WMS default styles
- Fixed an issue with not loading the base map from init file and an issue with viewerMode from init files overriding the persisted viewerMode
- Fixed issues surrounding tabbed catalog mode
- Now uses
catalog-converter
to convert terriajs json in WPS response from v7 to v8. - Fixed a bug in
UserDrawing
which caused points to not be plotted on the map. - Fixed app crash when switching between different types of parameter in
GeoJsonParameterEditor
. - Fixed errors when previewing an item in a group that is open by default (
isOpen: true
in init file). - Fixed mobx warnings when loading geojson catalog items.
- Add
multiplierDefaultDeltaStep
Trait, which tries to calculate sensible multiplier forDistrectelyTimeVarying
datasets. By default it is set to 2, which results in a new timestep being displayed every 2 seconds (on average) if timeline is playing. - Hide info sections with empty content in the explorer preview.
- Port
shareKeys
from version 7 - Update/re-enable
GeoJsonCatalogItemSpec
for v8. - add
DataCustodianTraits
toWebMapServiceCatalogGroupTraits
- Changed behaviour of
updateModelFromJson
such that catalog groups with the same id/name from different json files will be merged into one single group. - Fixed error when selecting an existing polygon in WPS input form.
- Upgraded
catalog-converter
to 0.0.2-alpha.3.
- New
CatalogFunctionMixin
andCatalogFunctionJobMixin
- Tsified
FunctionParameters
- New
YourDataYourRegions
CatalogFunctionMixin
- Added
inWorkbench
property - Added
addModelToTerria
flag toupsertModelFromJson
function - Added
DataCustodianTraits
toWebMapServiceCatalogItem
- Added
disableDimensionSelectors
trait toWebMapServiceCatalogItem
. Acheives the same effect ofdisableUserChanges
in v7. - Temporarily stopped using
papaparse
for fetching Csv urls till an upstream bug is fixed. - Fix async bug with loading
ReferenceMixin
and thenMappable
items ininitSources
- Remove
addToWorkbench
, it has been replaced withworkbench.add
- Improve handling of
ArcGisMapServerCatalogItem
when dealing with tiled layers. - Ensure there aren't more bins than unique values for a
TableStyle
- Add access control properties to items fetched from Esri Portal.
- Improves magda based root group mimic behaviour introdcued in 8.0.0-alpha.57 by adding
/
toknownContainerUniqueIds
whenmap-config*
is encountered - Fixed broken chart disclaimers in shared views.
- Fixed a bug where chart disclaimers were shown even for chart items disabled in the workbench.
- Fixed a bug where charts with titles containing the text "lat" or "lon" were hidden from feature info panel.
- Fixed a bug that occurred when loading config from magda.
initializationUrls
are now applied even ifgroup
aspect is not set
- Fix WMS legend for default styles.
- Request transparent legend from GeoServer.
- Reverted the following due to various issues with datasets:
- Add basic routing support
- Add better page titles when on various routes of the application
- Add prerendering support on
/catalog/
routes (viaprerender-end
event & allowing TerriaMap to hit certain routes)
- Update magda error message
- Add a short report section if trying to view a
3d-tiles
item in a 2d map. - Fix bug in
Terria.interpretStartData
. - Add
ThreddsCatalogGroup
model. - Port
supportsColorScaleRange
,colorScaleMinimum
andcolorScaleMaximimum
frommaster
toWebMapServiceCatalogItem
model. - Ported MapboxVectorTileCatalogItem ("mvt").
- When expanding a chart from the feature info panel, we now place a colored dot on the map where the chart was generated from.
- Add basic routing support
- Add better page titles when on various routes of the application
- Add prerendering support on
/catalog/
routes (viaprerender-end
event & allowing TerriaMap to hit certain routes) - Update
WorkbenchButton
to allow for links rather than buttons, including changing About Data to a link
- Add
FeatureInfoTraits
toArcGisMapServerCatalogItem
- Fix zooming bug for datasets with invalid bounding boxes.
- Add new model for
ArcGisTerrainCatalogItem
. - Add 3D Tiles to 'Add web data' dropdown.
- Fix naming of item in a
CkanCatalogGroup
when using an item naming scheme other than the default.
- Fix memoization of
traitsClassToModelClass
. - Chart expanded from feature info panel will now by default show only the first chart line.
- Chart component attribtues
column-titles
andcolumn-units
will now accept a simpler syntax like: "Time,Speed" or "ms,kmph" - Fix presentation of the WMS Dimension metadata.
- Magda based maps now mimic "root group uniqueId === '/'" behaviour, so that mix and matching map init approaches behave more consistently
- Add
itemProperties
trait toWebMapMapCatalogGroup
. - Add support for
formats
traits withinfeatureInfoTemplate
traits. - Fix handling of
ArcGisPortalItemReference
for when a feature layer contains multiple sublayers. - Implemented new compass design.
- Upgraded to patched terriajs-cesium v1.73.1 to avoid build error on node 12 & 14.
- Add a
infoAsObject
property to theCatalogMemberMixin
for providing simpler access toinfo
entries within templating - Add a
contentAsObject
trait toInfoSectionTraits
where a json object is more suitable than a string. - Add
serviceDescription
anddataDescription
toWebMapServiceCatalogItem
info section. - Extend
DataPreviewSections.jsx
to support Mustache templates with context provided by the catalog item. - Add support for
initializationUrls
when loading configuration from Magda. - Add
:only-child
styling formenu-bar.scss
to ensure correctly rounded corners on isolated buttons. - Improve Branding component for mobile header
- Add support for
displayOne
configuration parameter to choose which brand element to show in mobile view - Update Carto basemaps URL and attribution.
- Add
clipToRectangle
trait toRasterLayerTraits
and implement onWebMapServiceCatalogItem
,ArcGisMapServiceCatalogItem
,CartoMapCatalogItem
,WebMapTileServiceCatalogItem
. - Allow Magda backed maps to use an inline
terria-init
catalog without it getting overwritten by map-config before it can be parsed - Deprecated
proxyableDomainsUrl
configuration parameter in favour ofserverconfig
route - Ported a support for
GpxCatalogItem
. - Feature info is now shareable.
- Add option
canUnsetFeaturePickingState
toapplyInitData
for unsetting feature picking state if it is missing frominitData
. Useful for showing/hiding feature info panel when switching through story slides. - Properly render for polygons with holes in Leaflet.
- Fixes a bug that showed the chart download button when there is no downloadable source.
- Add
hideWelcomeMessage
url parameter to allow the Welcome Message to be disabled for iframe embeds or sharing scenarios. - Ensure the
chartDisclaimer
is passed from catalog items to derived chart items. - Don't calculate a
rectangle
on aArcGisPortalReferenceItem
as they appear to contain less precision than the services they point to. - Allow an
ArcGisPortalReferenceItem
to belong to multipleCatalogGroup
's. - Fix argis reference bug.
- Made possible to internationalize tour contend.
- Added TileErrorHandlerMixin for handling raster layer tile errors.
- Fixed a bug that caused the feature info chart for SOS items to not load.
- SOS & CSV charts are now shareable.
- Ported an implementation of CatalogSearchProvider and set it as the default
- Notification window & SatelliteImageryTimeFilterSection now uses theme colours
- Improved look and feel of
StyledHtml
parsing - Fix
applyAriaId
on TooltipWrapper causing prop warnings - Make share conversion notification more pretty (moved from
Terria.ts
toshareConvertNotification.tsx
) - Tsxify
Collapsible
ShortReportSections
now usesCollapsible
- Add
onToggle
,btnRight
,btnStyle
,titleTextProps
andbodyBoxProps
props inCollapsible
- Add
Notification.message
support for(viewState: ViewState) => React.ReactNode
- Added splitting support to
WebMapTileServiceCatalogItem
.
- Prevent duplicate loading of GetCapabilities
- Update the
GtfsCatalogItem
to use theAutoRefreshingMixin
. - Add a condition to the
AutoRefreshingMixin
to prevent unnecessary polling when an item is disabled in the workbench. - Upgraded to Cesium v1.73.
- Removed any references to
BingMapsApi
(now deprecated). - Add support for resolving
layers
parameter fromTitle
and not justName
inWebMapServiceCatalogItem
. - Change TrainerBar to show all steps even if
markdownDescription
is not provided
- Add WMTS group/item support
- Create
OwsInterfaces
to reduce duplicate code across OWS servies - Fix story prompt being permanent/un-dismissable
- Fixed a bug that caused the feature info chart for SOS items to not load.
- Support for searching WFS features with WebFeatureServiceSearchProvider
- WFS-based AustralianGazetteerSearchProvider
- Fixed a bug causing users to be brought back to the Data Catalogue tab when clicking on an auto-detected user added catalogue item.
- Fixed a bug causing Data Preview to not appear under the My Data tab.
- Fix WMS style
DimensionSelector
for layers with no styles - Add WMS legend for items with no styles
- Add warning messages if catalog/share link has been converted by
terriajs-server
. - Update the scroll style in
HelpVideoPanel
andSidePanel
helpful hints. - Updated leaflet attribution to match the style of cesium credits.
- Remove
@computed
props fromWebFeatureServiceCapabilities
- Fixed bug causing the Related Maps dropdown to be clipped.
- Add SDMX-json support for groups and items (using SDMX-csv for data queries)
TableMixin
now usesExportableMixin
andAsyncMappableMixin
- Move region provider loading in
TableMixin
forceLoadTableMixin
toloadRegionProviderList
- Added
TableAutomaticStylesStratum.stratumName
instead of hard-coded strings - Added
Dimension
interface forSelectableDimension
- which can be used for Traits - Make
SelectableDimension.options
optional
- WMS GetFeatureInfo fix to ensure
style=undefined
is not sent to server - Add support for splitting CSVs (TableMixins) that are using region mapping.
addUserCatalogMember
will now calladdToWorkbench
instead ofworkbench.add
.- Replaces
ShadowSection
withShadowMixin
usingSelectableDimensions
- Fix Webpack Windows path issue
- Updated icons for view and edit story in the hamburger menu.
- Implemented new design for story panel.
- Allow
cacheDuration
to be set onArcGisPortalCatalogGroup
andArcGisPortalItemReference
. - Set default
ArcGisPortalCatalogGroup
item sorting by title using REST API parameter. - Call
registerCatalogMembers
before running tests and remove manual calls toCatalogMemberFactory.register
andUrlMapping.register
in various tests so that tests reflect the way the library is used. - Updated stratum definitions which used hardcoded string to use
CommonStrata
values.
- Removed hard coded senaps base url.
- Added option for manual Table region mapping with
enableManualRegionMapping
TableTrait. This providesSelectableDimensions
for the region column and region type. - Added WMS Dimensions (using
SelectableDimensions
) - Added WMS multi-layer style, dimension and legend support.
- Merged the
StyleSelector
andDimensionsSelector
, and created aSelectableDimensions
interface. - Added
chartColor
trait for DiscretelyTimeVarying items. - Replaced all instances of
createInfoSection
andnewInfo
with calls tocreateStratumInstance
using an initialisation object. - Added trait
leafletUpdateInterval
to RasterLayerTraits. - Fix styling of WFS and GeoRSS.
- Fixed a bug that caused re-rendering of xAxis of charts on mouse move. Chart cursor should be somewhat faster as a result of this fix.
- Fixed a bug that caused some catalogue items to remain on the map after clicking "Remove all" on the workbench.
- Deleted old
ChartDisclaimer.jsx
- Moved
DiscretelyTimeVaryingMixin
fromTableAutomaticStylesStratum
toTableMixin
- Added basic region-mapping time support
- Add short report to
ArcGisFeatureServerItem
for exceeding the feature limit. - Added shift-drag quick zoom
- Fixed i18n initialisation for magda based configurations
- Upgraded to Cesium v1.71.
- Change
ExportableData
interface toExportableMixin
and adddisableExport
trait. - Add basic WFS support with
WebFeatureServiceCatalogGroup
andWebFeatureServiceCatalogItem
- Update style of diff tool close button to match new design
- Remove sass code from the
HelpPanel
component - Added an option for translation override from TerriaMap
- Help content, trainer bar & help terms can use translation overrides
- Accepts
backend
options under a newterria.start()
property,i18nOptions
- Use
wms_api_url
for CKAN resources where it exists - Tsxified
DateTimePicker
and refactoredobjectifiedDates
(moved toDiscretelyTimeVaryingMixin
). - Update style of 'Change dates' button in delta to be underlined
- Fix issue with delta 'Date comparison' shifting places when querying new location
- Shows a disabled splitter button when entering diff
- Make Drag & Drop work again (tsxify
DragDropFile.tsx
and refactoraddUserFiles.ts
) - Add
TimeVarying.is
function
- Pass
format
trait onTableColumnTraits
down toTableAutomaticStylesStratum
for generating legends - Add
multipleTitles
andmaxMultipleTitlesShowed
toLegendItemTraits
- Aggregate legend items in
createLegendItemsFromEnumColorMap
by colour, that is merge legend items with the same colour (usingmultipleTitles
) - Only generate
tableStyles
for region columns if no other styles exist - TableAutomaticStylesStratum & CsvCatalogItem only returns unique
discreteTimes
s now - Specified specific terriajs config for ForkTsCheckerWebpackPlugin
- Replace
@gov.au/page-alerts
dependency with our own warning box component. This removes allpancake
processes which were sometimes problematic.
- Added ArcGIS catalog support via ArcGisPortalItemReference
- Add
cacheDuration
andforceProxy
toUrlTraits
and addcacheDuration
defaults to various catalog models. - Tsify
proxyCatalogItemUrl
. - Simplified SidePanel React refs by removing the double wrapping of the
withTerriaRef()
HOC - Merged
withTerriaRef()
HOC withuseRefForTerria()
hook logic - Breadcrumbs are always shown instead of only when doing a catalog search
- Improve info section of
WebMapServiceCatalogItem
with content from GetCapabilities - Re-implement
infoSectionOrder
asCatalogMember
trait. - Add
infoWithoutSources
getter toCatalogMemberMixin
to prevent app crash when usinghideSources
- Add support for nested WMS groups
- Added breadcrumbs when clicking on a catalogue item from a catalogue search
- Development builds sped up by 3~20x - ts-loader is now optional & TypeScript being transpiled by babel-loader, keeping type check safety on a separate thread
- Add
show
toShortReportTraits
and TsxifyShortReport
- Convert
ShortReport
to styled-components, add accordian-like UI - 3D tiles support is now implemented as a Mixin.
- Add
refreshEnabled
trait andAsyncMappableMixin
toAutoRefreshMixin
- Ensure
CkanCatalogGroup
doesn't keep re-requesting data when opening and closing groups. - Add
typeName
toCatalogMemberMixin
- Add
header
option toloadText
- Add
isMixedInto
function forAsyncMappableMixin
andAsyncChartableMixin
- Added file upload support for
GltfCatalogItem
. The supported extension is glb. - Improve runtime themeing via styled components across main UI components
- Updated default welcome video defaults to a newer, slower video
- Difftool will now pick any existing marked location (like from a search result) and filter imagery for that location.
- Updated labelling & copy in Difftool to clarify workflow
- ChartCustomComponent now
abstract
, no longer specific to CSV catalog items. Implement it for custom feature info charts. - Update date picker to use theme colours
- Removed some sass overrides on
Select
throughStyleSelectorSection
- Update LeftRightSection to use theme colours
- Ported
GeoRssCatalogItem
to mobx, added support to skip entries without geometry. - Update Difftool BottomPanel UI to clearer "area filter" and date pickers
- Update Difftool BottomPanel to load into Terria's BottomDock
- Rearrange MapButton layout in DOM to properly reflow with BottomDock
- Update Difftool MainPanel to not get clipped by BottomDock
- Rearrange MapDataCount to exist inside MapColumn for more correct DOM structure & behaviour
- Re-added chart disclaimer.
- Added
pointer-events
toMapNavigation
andMenuBar
elements, so the bar don't block mouse click outside of the button. - Fixes "reminder pop-up" for help button being unclickable
- Use
useTranslation
instead ofwithTranslation
in functional component (MapDataCount
) - Make welcome video url and placeholder configurable via configparameters
- Added
ExportableData
interface. - Added
ExportData
component for data catalog. - Added WCS "clip and ship" for WMS
- Added basic CSV export function
- Extend
UserDrawing
to handle rectangles - Tsxify
MapInteractionMode
- Changed default orientation for
GltfCatalogItem
to no rotation, instead of zero rotation wrt to terrain - Added a title to welcome message video
- Add "Upload" to tour points
- Add tooltips anywhere required in UI via
parseCustomMarkdownToReactWithOptions
& customisable viahelpContentTerms
- Add "map state" map data count to highlight state of map data
- Add a reminder "pop-up" that shows the location of the help button
- Fix bug causing story pop-up to be off screen
- Fix bug causing helpful hints to be cut off on smaller screens
- Changed the
Tool
interface, now accepting propgetToolComponent
instead oftoolComponent
- Added
ToolButton
for loading/unloading a tool - Added
TransformationTraits
that can be used to change position/rotation/scale of a model. - Merge master into mobx. This includes:
- Upgraded to Cesium v1.68.
- Story related enhancements:
- Added a title to story panel with ability to close story panel.
- Added a popup on remove all stories.
- Added button for sharing stories.
- Added a question popup on window close (if there are stories on the map so users don't lose their work).
- Added a new
editor
Icon - Changed
ToolButton
to show the same icon in open/close state. Previously it showed a close icon in close state.
- Bug fix for
DatePicker
inBottomDock
causing app crash - Made changes to the video modals: close button has been added, pressing escape now closes the component and some basic unit tests created
- Updated the video modal for Data Stories: Getting Started to use the new
VideoGuide
component - Tweaked MyData/AddData tabs to make it possible to invoke them without using the
ExplorerWindow
component and also customize the extensions listed in the dropdown. - Fix the timeline stack handling for when there are multiple time-enabled layers
- Ported timeseries tables.
- Extended the support for styles for ESRI ArcGis Feature Server. Line styles are supported for lines and polygon outlines in both Cesium and Leaflet viewer. #4405
- Fix polygon outline style bug.
- Add a unit test for polygon outline style.
- Add TrainerPane/TrainerBar "Terry the task trainer"
- Use
1.x.x
ofkarma-sauce-launcher
to fix CI build failures - Stop unknown icons specified in config.json from crashing UI
- Creates a
ShadowTraits
class that is shared byGltfCatalogItem
andCesium3DTilesCatalogItem
. - Fixed a bug where user added data was removed from catalogue when Remove from map button in data catalog is clicked.
- Fix leaflet zoom to work when bounding rectangle exists but doesn't have bounds defined
- Updated generic select so icon doesn't block click
- Re-added loading bar for leaflet & cesium viewers
- Made expanded SOS chart item shareable.
- Fixed a regression bug where the time filter is shown for all satellite imagery items
- Add unit tests for
WelcomeMessage
andDisclaimer
- Fixed minor UI errors in console
- Replaced helpful hints text with the new version
- Made the shapes of some of the workbench components rounded
- Add
clampToGround
property on to holes within polygons inGeoJsonCatalogItem
- Set default
clampToGround
trait totrue
forGeoJsonCatalogItem
- Fixed a bug where WMS items caused type errors in newer babel and typescript builds, due to mixed mixin methods on DiffableMixin & DiscretelyTimeVaryingMixin
- Fixed a bug where KmlCatalogItem did not use the proxy for any urls.
- Add support for
CkanCatalogGroup
andCkanItemReference
. - Added unit test to ensure getAncestors behaviour
- Hide the chart legend if there are more than four items to prevent things like FeatureInfo being pushed out of the view and the map resizing.
- Prevent addedByUser stack overflow
- Fixed a chart bug where moment points do not stick to the basis item when they are of different scale.
- Fixed a bug where the moment point selection highlight is lost when changing the satellite imagery date.
- Removed sass from Clipboard
- Updated LocationSearchResults to support multiple search providers
- Replaced lifesaver icon on the help button with a question mark button
- Fix handling of points and markers around the anti-meridian in the
LeafletVisualizer
. - Fixed difference tool losing datepicker state by keeping it mounted
- Disabled unhelpful Help button when in
useSmallScreenInterface
- Fixed a bug where a single incorrect catalog item in a group would prevent subsequent items from loading.
- Improved catalog parsing to include a stub (
StubCatalogItem
) when terriajs can't parse something
- Fixes broken time filter location picker when other features are present on the map.
- Fixes the feature info panel button to show imagery at the selected location.
- Added
hideSource
trait toCatalogMemberTraits
. When set to true source URL won't be visible in the explorer window. - Added
Title
,ContactInformation
,Fees
to theCapabilitiesService
interface so they are pulled on metadata load. - Resolved name issue of
WebMapServiceCapabilities
. Now it returns a name resolved fromcapabilities
unless it is set by user. - Added setting of
isOpenInWorkbench
,isExperiencingIssues
,hideLegendInWorkbench
,hideSource
strats forWebMapServiceCatalogItem
fromWebMapServiceCatalogGroup
.
- Ported welcome message to mobx with new designs
- Updated CI clientConfig values to include new help panel default
- Bumped explicit base typescript to 3.9.2
- Lock rollbar to 2.15.2
- Ported disclaimer to mobx with new designs
- Added diff tool for visualizing difference (delta) of images between 2 dates for services that support it.
- Updated workbench ViewingControls styles to line up with icons
- Prevent re-diff on workbench items that are already a diff
- Updated splitter to force trigger resizes so it catches up on any animation delays from the workbench
- Update workbench to trigger resize events onTransitionEnd on top of view-model-triggers
- Added satellite imagery to help panel
- Stop disclaimer clashing with welcome message by only loading WelcomeMessage after disclaimer is no longer visible
- Fixes a difftool bug where left/right items loose their split direction settings when the tool is reset
- Fixes a splitter bug where split direction is not applied to new layers.
- Re-added satellite guide prompt option via
showInAppGuides
- Changed tour "go back 1 tour point" messaging from "previous" to "back"
- Fix handling of urls on
Cesium3DTilesCatalogItem
related to proxying and getting confused between Resource vs URL. - Renamed
UrlReference.createUrlReferenceFromUrlReference
toUrlReference.createCatalogMemberFromUrlReference
- Moved url to catalog member mapping from
createUrlRefernceFromUrl.register
toUrlToCatalogMemberMapping
(now inUrlReference.ts
file) - Added in-app tour framework & base tour items
- Make the help panel customisable for different maps by modifying
config.json
- Added generic styled select
- Remove maxZoom from leaflet map.
- Run & configure prettier on terriajs lib/ json files
- Changed most of the icons for the
MapNavigation
section (on the right hand side) of the screen - Added a close button to story panel
- Made
MapIconButton
to animate when expanding - Remove requirement for browser to render based on make half pixel calculations for the Compass & stop it jumping around when animating
- Fix SASS exports causing some build errors in certain webpack conditions
- Fixed DragDropFile and
createCatalogItemFromFileOrUrl
which wasn't enabled/working in mobx, added tests forcreateCatalogItemFromFileOrUrl
and renamedcreateCatalogItemFromUrl
tocreateUrlRefernceFromUrl
. - Fixed bug in StratumOrder where
sortBottomToTop
would sort strata in the wrong order. - Allow member re-ordering via GroupMixin's
moveMemberToIndex
- Fixed a bug where
updateModelFromJson
would ignore itsreplaceStratum
parameter. - Re-added Measure Tool support
- Re-added
CartoMapCatalogItem
- Re-implemented
addedByUser
to fix bug where previews of user added data would appear in the wrong tab. - Added header options for loadJson5, & allow header overrides on MagdaReference loading
- Re-added some matcher-type mappings in
registerCatalogMembers
. - Added
UrlReference
to represent catalog items created from a url with an auto-detected type. - Modified
upsertModelFromJson
so that when noid
is provided, theuniqueId
generated fromlocalId
orname
is incremented if necessary to make it unique. - Re-enable search components if SearchProvider option provided
- Modified tests to not use any real servers.
- Fixed bug causing workbench items to be shared in the wrong order.
- Fix bug where urls in the feature info panel weren't turned into hyperlinks
- Fix preview map's base map and bounding rectangle size
- Fixed positioning of the buttons at the bottom and the timeline component on mobile
- Added
hasLocalData
property to indicate when a catalog item contains local data. This property is used to determine whether the item can be shared or not. - Fixed bug causing user added data to not be shared. Note that user added catalog item urls are now set at the user stratum rather than the definition stratum.
- Added the ability to filter location search results by an app-wide bounding box configuration parameter
- Re-introduce UI elements for search when a catalogSearchProvider is provided
- Fix bug that prevented live transport data from being hidden
- Hide opacity control for point-table catalog items.
- Fixed bug where
Catalog
would sometimes end up with an undefineduserAddedDataGroup
. - Show About Data for all items by default.
- Fixed translation strings for the descriptive text about WMS and WFS URLs in the data catalogue.
- Fix bug that throws an error when clicking on ArcGIS Map Service features
- Fix initialisation of
terria
'sshareDataService
. - Support Zoom to Data on
CsvCatalogItem
when data has lat-lon columns. - Add a trait called
showShadowUi
toCesium3DTilesCatalogItem
which hide shadows on workbench item UI. - Re-added
ArcGisFeatureServerCatalogItem
andArcGisFeatureServerCatalogGroup
- Prevent TerriaMap from crashing when timeline is on and changing to 2D
- Rewrite charts using
vx
svg charting library. - Fixed bug causing
ArcGisFeatureServerCatalogItem
to throw an error when a token is included in the proxy url. - Fix a bug for zooming to
ArcGisMapServerCatalogItem
layers - Modified creation of catalog item from urls to set the item name to be the url at the defaults stratum rather than the definition stratum. This prevents actual item names at load strata from being overridden by a definition stratum name which is just a url.
- Fixed a bug causing highlighting of features with
_cesium3DTileFeature
to sometimes stop working. Also changed highlight colour to make it more visible. - Fixed bug causing user added data with an auto-detected data type to not be shared properly.
- Modified
addToWorkbench
so that when a catalog item fails to load it is removed from the workbench and an error message is displayed. - Add support for feature picking on region mapped datasets
- Revamp map buttons at top to support two menu configuration
- Viewer (2d/3d/3d-non-terrain) & basemap preferences are persisted to local storage again, and loaded back at startup
- Dramatically simplified map button styling (pre-styled-components)
- Allow DropdownPanel(InnerPanel) to show centered instead of offset toward the left
- Added AccessControlMixin for tracking access control of a given MagdaReference
- Add a legend title trait
- Show private or public dataset status on data catalog UI via AccessControlMixin
- Added
pointSizeMap
toTableStyle
to allow point size to be scaled by value - Added
isExperiencingIssues
toCatalogMemberTraits
. When set to true, an alert is displayed above the catalog item description. - Add gyroscope guidance
- Enable StyleSelectorSection workbench control for
WebMapServiceCatalogItem
- New-new ui
- Add WIP help panes
- Added "Split Screen Mode" into workbench
- Moved excess workbench viewing controls into menu
- Updated bottom attribution styling
- Begin styled components themeing
- Make
clampToGround
default to true forArcGisFeatureServerCatalogItemTraits
to stop things from floating - Add fix for
WebMapServiceCatalogItem
instyleSelector
to prevent crash. - Revert changes to
StyleSelectorSelection
component and refactorWebMapServiceCatalogItem
styleSelector getter. - Added a temporary fix for bug where a single model failing to load in
applyInitData
inTerria
would cause other models in the sameinitData
object to not load as well. - Change gyroscope focus/hover behaviour to move buttons on hover
- Stop showing previewed item when catalog is closed
- Prevent
StoryPanel.jsx
from reloading magda references on move through story. - Add google analytics to mobx
- Fixed google analytics on story panel
- Fixed path event name undefined labelling
- Enable zoomTo and splitter on
CartoMapCatalogItem
. - Added name to
MapServerStratum
inArcGisMapServerCatalogItem
. - Readded basic
CompositeCatalogItem
. - Ported Augmented Reality features
- Fixed bug causing "Terrain hides underground features" checkbox to sometimes become out of sync between
SettingPanel
andWorkbenchSplitScreen
. - Ports the Filter by Location" feature for Satellite imagery. The property name setting is renamed to
timeFilterPropertyName
fromfeatureTimesProperty
. - Made split screen window in workbench hidden when viewer is changed to 3D Smooth and 2D
- Tidy Help UI code
- Added
allowFeatureInfoRequests
property toTerria
and prevent unnecessary feature info requests when creatingUserDrawing
s. - Tidied up analytics port, fixed
getAncestors
& addedgetPath
helper - Updated upload icon to point upwards
- Prevent catalog item names from overflowing and pushing the collapse button off the workbench
- Stopped analytics launch event sending bad label
- Add .tsx tests for UI components
- Provide a fallback name for an
ArcGisServerCatalogItem
- Ensure
CesiumTileLayer.getTileUrl
returns a string. - Polished help UI to match designs
- Adds methods
removeModelReferences
to Terria & ViewState for unregistering and removing models from different parts of the UI. - Add basic support for various error provider services, implementing support for Rollbar.
- Add trait to enabling hiding legends for a
CatalogMember
in the workbench. - Added new help menu item on how to navigate 3d data
- Add traits to customize color blending and highlight color for
Cesium3DTilesCatalogItem
- Reimplemented splitting using
SplitItemReference
. - Fix bug that caused contents on the video panel of the help UI to overlay the actual video
- Overhauled location search to be a dropdown instead of list of results
- Fixed bug causing full app crash or viewer zoom refresh when using 3D view and changing settings or changing the terrain provider.
- Implements
SensorObservationServiceCatalogItem
. - Add support for styling CSVs using a region mapped or text columns.
- Update Compass UI to include larger rotation target, remove sass from compass
- Link Compass "help" button to
navigation
HelpPanelItem (requires generalisation later down the track) - Improve keyboard traversal through right-hand-side map icon buttons
- Link Compass Gyroscope guidance footer text to
navigation
HelpPanelItem (requires generalisation later down the track) - Removed hardcoded workbench & Panel button colours
- Ensure CSV column names are trimmed of whitespace.
- Really stop analytics launch event sending bad & now empty & now finally the real label
- Re-added
ArcGisMapServerCatalogGroup
andArcGisServerGroup
. - Tidy Compass UI animations, styles, titles
- Bumped mobx minor to 4.15.x, mobx-react major to 6.x.x
- Add
dateFormat
trait toTimeVaryingTraits
to allowing formatting of datestrings in workbench and bottomdock. - Tidy Gyroscope Guidance positioning
- Fixed FeatureInfoPanel using old class state
- Fixed MapIconButton & FeedbackButton proptypes being defined incorrectly
- Implement SenapsLocationsCatalogItem
- Update papaparse and improve handling for retrieveing CSVs via chunking that have no ContentLenth header
- Moved strings in DateTimeSelector and FeatureInfoPanel into i18next translation file.
- Fixed a bug where the timeline would not update properly when the timeline panel was resized.
- Fixed a bug when clicking the expand button on a chart in feature info when the clicked feature was a polygon.
- Update CARTO Basemaps CDN URL and attribution.
- Fixed issue with node 12 & 14 introduced in Cesium upgrade.
- Upgraded to Cesium v1.73.
- Removed any references to
BingMapsApi
(now deprecated).
- Fixed a crash with GeoJsonCatalogItem when you set a
stroke-opacity
instyles
.
- If
showIEMessage
istrue
in config.json, warn IE11 users that support is ending.
- Remove caching from TerriaJsonCatalogFunction requests.
- Upgraded minimum node-sass version to one that has binaries for node v14.
- Update Geoscience Australia Topo basemap.
- Remove caching from WPS requests.
- Fix entity outline alpha value when de-selecting a feature.
- Upgraded to terriajs-cesium v1.71.3 which fixes a bug running gulp tasks on node v14.
- Add additional region mapping boundaries.
- Rework the handling of point datasets on the anti-meridian when using LeafletJS.
- Fix indices in some translation strings including strings for descriptions of WMS and WMS service.
- Upgraded to Cesium v1.71.
- Added
GeoRssCatalogItem
for displaying GeoRSS files comming from rss2 and atom feeds. - Bug fix: Prevent geojson files from appearing twice in the workbench when dropped with the .json extension
- Story related enhancements:
- Added a title to story panel with ability to close story panel.
- Added a popup on remove all stories.
- Added button for sharing stories.
- Added a question popup on window close (if there are stories on the map so users don't lose their work).
- Pinned
html-to-react
to version 1.3.4 to avoid IE11 incompatibility with newer version of deep dependencyentities
. See fb55/entities#209 - Added a
MapboxStyleCatalogItem
for showing Mapbox styles. - Add a
tileErrorThresholdBeforeDisabling
parameter toImageryLayerCatalogItem
to allow a threshold to set for allowed number of tile failures before disabling the layer.
- Add support for
classBreaks
renderer toArcGisFeatureServerCatalogItem
. - Upgraded to Cesium v1.68.
- Replace
defineProperties
andfreezeObject
toObject.defineProperties
andObject.freeze
respectively. - Bumped travis build environment to node 10.
- Upgraded to
generate-terriajs-schema
to v1.5.0.
- Added babel dynamic import plugin for webpack builds.
ignoreUnknownTileErrors
will now also ignore HTTP 200 responses that are not proper images.
- Pass minimumLevel, in Cesium, to minNativeZoom, in Leaflet.
- Upgraded to Cesium v1.66.
- Fix for color of markers on the map associated with chart items
- Fix draggable workbench/story items with translation HOC
- Added first revision of "delta feature" for change detection of WMS catalog items which indicate
supportsDeltaComparison
- Improve menu bar button hover/focus states when interacting with its panel contents
- Add ability to set opacity on
GeoJsonCatalogItem
- Expanded test cases to ensure WorkbenchItem & Story have the correct order of components composed
- Fix broken catalog functions when used with translation HOC
- Fix bug with momentPoints chart type when plotting against series with null values
- Make the default
Legend
width a little smaller to account for the workbench scrollbar - Bug fix for expanding chart - avoid creating marker where no lat lon exists.
- Add a
ChartDisclaimer
component to display an additional disclaimer above the chart panel in the bottom dock. - Add
allowFeatureInfoRequests
property toTerria
and prevent unnecessary feature info requests when creatingUserDrawing
s. - Removes unsupported data that is drag and dropped from the workbench and user catalog.
- Adjusted z-index values so that the explorer panel is on top of the side panel and the notification window appears at the very top layer.
- Allow
CkanCatalogItem
names to be constructed from dataset and resource names where multiple resources are available for a single dataset - Set the name of ArcGis MapServer CatalogGroup and CatalogItem on load
- Improve autodetecting WFS format, naming of the WFS catalog group and retaining the zoomToExtent
- Remove unnecessary nbsp; from chart download and expand buttons introduced through internationalization.
- Fix story prompt flag not being set after dismissing story, if
showFeaturePrompts
has been enabled
- Added proper basic internationalisation beginnings via i18next & react-i18next
- Fixed a bug where calling
openAddData()
orcloseCatalog()
on ViewState did not correctly apply the relevantmobileViewOptions
for mobile views. - Fixed filter by available dates on ImageryLayerCatalogItem not copying to the clone when the item is split.
- Fixed an error in
regionMapping.json
that causes some states to be mismatched when using Australian state codes in a column labelled "state". It is still recommended to use "ste", "ste_code" or "ste_code_2016" over "state" for column labels when matching against Australian state codes. - Fixed bug where "User data" catalog did not have add-buttons.
- Added ability to re-add "User data" CSV items once removed from workbench.
- Changed catalog item event labels to include the full catalog item path, rather than just the catalog item name.
- Added support for
openAddData
option in config.json. If true, the "Add Data" dialog is automatically opened at startup. - Welcome message, in-app guides & new feature prompts are now disabled by default. These can be re-enabled by setting the
showWelcomeMessage
,showInAppGuides
&showFeaturePrompts
options in config.json. - Updated Welcome Message to pass its props to
WelcomeMessagePrimaryBtnClick
&WelcomeMessageSecondaryBtnClick
overrides - Welcome message, in-app guides & new feature prompts are now disabled by default. These can be re-enabled by setting the
showWelcomeMessage
,showInAppGuides
&showFeaturePrompts
options in config.json. - Updated Welcome Message to pass its props to
WelcomeMessagePrimaryBtnClick
&WelcomeMessageSecondaryBtnClick
overrides. - Fixed a bug in anti-meridian handling causing excessive memory use.
- Handled coordinate conversion for GeoJson geometries with an empty
coordinates
array. - Fixed height of My Data drag and drop box in Safari and IE.
- Upgraded to Cesium v1.63.1. This upgrade may cause more problems than usual because Cesium has switched from AMD to ES6 modules. If you run into problems, please contact us: https://terria.io/contact
- Added ability to do in-app, "static guides" through
<Guide />
s - Added in-app Guide for time enabled WMS items
- Initial implementation of language overrides to support setting custom text throughout the application.
- Added ability to pass
leafletUpdateInterval
to anImageryLayerCatalogItem
to throttle the number of requests made to a server.
- Added a quality slider for the 3D map to the Map panel, allowing control of Cesium's maximumScreenSpaceError and resolutionScale properties.
- Allowed MapboxMapCatalogItems to be specified in catalog files using type
mapbox-map
. - We now use styles derived from
drawingInfo
from Esri Feature Services. - Chart related enhancements:
- Added momentPoints chart type to plot points along an available line chart.
- Added zooming and panning on the chart panel.
- Various preventative fixes to prevent chart crashes.
- Increased the tolerance for intermittent tile failures from time-varying raster layers. More failures will now be allowed before the layer is disabled.
- Sensor Observation Service
GetFeatureOfInterest
requests no longer erroneously includetemporalFilters
. Also improved the generated request XML to be more compliant with the specification. - Fixed a bug where differences in available dates for
ImageryLayerCatalogItem
from original list of dates vs a new list of dates, would cause an error. - Improved support for layers rendered across the anti-meridian in 2D (Leaflet).
- Fixed a crash when splitting a layer with a
momentPoints
chart item. - Fixed a crash when the specified Web Map Service (WMS) layer could not be found in the
GetCapabilities
document and an alternate legend was not explicitly specified.
- Added a workaround for a bug in Google Chrome v76 and v77 that caused problems with sizing of the bottom dock, such as cutting off the timeline and flickering on and off over the map.
- Set cesium rendering resolution to CSS pixel resolution. This is required because Cesium renders in native device resolution since 1.61.0.
- Fixed error when opening a URL shared from an explorer tab. #3614
- Resolve a bug with
SdmxJsonCatalogItem
's v2.0 where they were being redrawn when dimensions we're changed. #3659 - Upgrades terriajs-cesium to 1.61.0
- Automatically set
linkedWcsCoverage
on a WebMapServiceCatalogItem.
- Added ability in TerriaJsonCatalogFunction to handle long requests via HTTP:202 Accepted.
- Fixed share disclaimer to warn only when user has added items that cannot be shared.
- Basemaps are now loaded before being enabled & showed
- Add the filename to a workbench item from a drag'n'dropped file so it isn't undisplayed as 'Unnamed item'.
- Fixed inability to share SOS items.
- Added an option to the mobile menu to allow a story to be resumed after it is closed.
- The "Introducing Data Stories" prompt now only needs to be dismissed once. Previously it would continue to appear on every load until you clicked the "Story" button.
- Fixed a crash that could occur when the feature info panel has a chart but the selected feature has no chart data.
- Fixed a bug where the feature info panel would show information on a vector tile region mapped dataset that had no match.
- Add scrollbar to dropdown boxes.
- Add support for SDMX version 2.1 to existing
SdmxJsonCatalogItem
. - Add a warning when sharing a map describing datasets which will be missing.
- Enable the story panel to be ordered to the front.
- Disable the autocomplete on the title field when adding a new scene to a story.
- Fix SED codes for regionmapping
- Fixed a bug with picking features that cross the anti-meridian in 2D mode .
- Fixed a bug where
ArcGisMapServerCatalogItem
legends were being created during search. - Fixed a bug where region mapping would not accurately reflect share link parameters.
- Fixed a bug that made some input boxes unreadable in some web browsers.
- Fixed a bug that prevented the "Feedback" button from working correctly.
- Fix a bug that could cause a lot of extra space to the left of a chart on the feature info panel.
- Added video intro to building a story
- Allow vector tiles for region mapping to return 404 for empty tiles.
- Upgraded to Cesium v1.58.1.
- Charts are now shared in share & story links
- Fixed a bug in Cesium that prevented the new Bing Maps "on demand" basemaps from working on
https
sites.
- Added the "Story" feature for building and sharing guided tours of maps and data.
- Added sharing within the data catalog to share a given catalog group or item
- Switched to using the new "on demand" versions of the Bing Maps aerial and roads basemaps. The previous versions are deprecated.
- Remove dangling comma in
regionMapping.json
. WebMapServicCatalogItem
now includes the currentstyle
in generatedGetLegendGraphic
URLs.
- Upgraded to Cesium v1.57.
- Fixed a bug where all available styles were being retrieved from a
GetCapabilities
for each layer within a WMS Group resulting in memory crashes on WMSs with many layers. - Support State Electoral Districts 2018 and 2016 (SED_Code_2018, SED_Code_2016, SED_Name_2018, SED_Name_2016)
- Added
GltfCatalogItem
for displaying glTF models on the 3D scene. - Fixed a bug where the Map settings '2D' button activated '3D Smooth' view when configured without support for '3D Terrain'.
- Added
clampToTerrain
property toGeoJsonCatalogItem
. - When clicking a polygon in 3D Terrain mode, the white outline is now correctly shown on the terrain surface. Note that Internet Explorer 11 and old GPU hardware cannot support drawing the highlight on terrain, so it will not be drawn at all in these environments.
- Removed an extra close curly brace from
regionMapping.json
.
- Added
hideLayerAfterMinScaleDenominator
property toWebMapServiceCatalogItem
. When true, TerriaJS will show a message and display nothing rather than silently show a scaled-up version of the layer when the user zooms in past the layer's advertisedMinScaleDenominator
. - Added
GeoJsonParameterEditor
. - Fixed a bug that resulted in blank titles for catalog groups loaded from automatically detected (WMS) servers
- Fixed a bug that caused some chart "Expand" options to be hidden.
- Added
CED_CODE18
andCED_NAME18
region types toregionMapping.json
. These are now the default for CSV files that referenceced
,ced_code
andced_name
(previously the 2016 versions were used). - Improved support for WMTS, setting a maximum level to request tiles at.
- Support displaying availability for imagery layers on charts, by adding `"showOnChart": true" or clicking a button in the UI.
- Added a
featureTimesProperty
property to allImageryLayerCatalogItem
s. This is useful for datasets that do not have data for all locations at all times, such as daily sensor swaths of near-real-time or historical satellite imagery. The property specifies the name of a property returned by the layer's feature information query that indicates the times when data is available at that particular location. When this property is set, TerriaJS will display an interface on the workbench to allow the user to filter the times to only those times where data is available at a particular location. It will also display a button at the bottom of the Feature Information panel allowing the user to filter for the selected location. - Added
disablePreview
option to all catalog items. This is useful when the preview map in the catalog will be slow to load. - When using the splitter, the feature info panel will now show only the features on the clicked side of the splitter.
- Vector polygons and polylines are now higlighted when clicked.
- Fixed a bug that prevented catalog item split state (left/right/both) from being shared for CSV layers.
- Fixed a bug where the 3D globe would not immediately refresh when toggling between the "Terrain" and "Smooth" viewer modes.
- Fixed a bug that could cause the chart panel at the bottom to flicker on and off rapidly when there is an error loading chart data.
- Fixed map tool button positioning on small-screen devices when viewing time series layers.
- Fixed a bug that prevented billboard images from working on the 2D map.
- Implemented "Zoom To" support for KML, CZML, and other vector data sources.
- Upgraded to Cesium v1.55.
- Breaking Changes:
- TerriaJS no longer supports Internet Explorer 9 or 10.
- An application-level polyfill suite is now highly recommended, and it is required for Internet Explorer 11 compatibility. The easiest approach is to add
<script src="https://cdn.polyfill.io/v2/polyfill.min.js"></script>
to the<head>
element of your application's HTML page, which will deliver a polyfill suite tailored to the end-user's browser. - TerriaJS now requires Node.js v8.0 or later.
- TerriaJS now requires Webpack v4.0 or later.
- TerriaJS now uses Gulp v4.0. If you have Gulp 3 installed globally, you'll need to use
npm run gulp
to run TerriaJS gulp tasks, or upgrade your global Gulp to v4 withnpm install -g gulp@4
. - TerriaJS now uses Babel v7.0.
- Removed
UrthecastCatalogItem
,UrthecastCatalogGroup
, andregisterUrthcastCatalogItems
. The Urthecast functionality was dependent on an npm package that hadn't been updated in three years and had potential security vulnerabilities. Please let us know if you were using this functionality.
- Add support for rendering Mapbox Vector Tiles (MVT) layers. Currently, polygons are the only supported geometry type, and all polygons are drawn with the same outline and fill colors.
wwwroot/data/regionMapping.json
is now the default region mapping file (rather than a file provided by TerriaMap), and needs to be explicitly overridden by aregionMappingDefinitionsUrl
setting in config.json.
- The Feature Info panel can now be moved by clicking and dragging it.
- The map tool buttons are now arranged horizontally instead of vertically on small-screen mobile devices.
- When using a Web Map Service (WMS) catalog item with the
linkedWcsUrl
andlinkedWcsCoverage
properties, we now pass the selected WMS style to the Web Coverage Service (WCS) so that it can optionally return different information based on the selected style. - Added
stationIdWhitelist
andstationIdBlacklist
properties toSensorObservationServiceCatalogItem
to allow filtering certain monitoring stations in/out. - Fixed a bug that caused a crash when attempting to use a
style
attribute on an<a>
tag in Markdown+HTML strings such as feature info templates. - Fixed a bug that displaced the chart dropdown list on mobile Safari.
- Upgraded to Cesium v1.53.
- Dragging/dropping files now displays a more subtle notification rather than opening the large Add Data / My Data panel.
- The
sendFeedback
function can now be used to send additional information if the server is configured to receive it (i.e.devserverconfig.json
). - Made custom feedback controls stay in the lower-right corner of the map.
- Improved the look of the toolbar icons in the top right, and added an icon for the About page.
- Changed the title text for the new button next to "Add Data" on the workbench to "Load local/web data".
- Fixed a bug that caused the area to the right of the Terria log on the 2D map to be registered as a click on the logo instead of a click on the map.
- Fixed a bug that caused the standard "Give Feedback" button to fail to open the feedback panel.
- Swapped the positions of the group expand/collapse icon and the "Remove from catalogue" icon on the My Data panel, for more consistent alignment.
- Made notifications honor the
width
andheight
properties. Previously, these values were ignored.
- Added the ability to add custom components to the feedback area (lower right) of the user interface.
- Upgraded to Cesium v1.51.
- Added "filterByProcedures" property to "sos" item (default: true). When false, the list of procedures is not passed as a filter to GetFeatureOfInterest request, which works better for BoM Water Data Online services.
- Fixed a bug that caused the compass control to be misaligned in Internet Explorer 11.
- Changed the "My Data" interface to be much more intuitive and tweaked the visual style of the catalog.
- Added
CartoMapCatalogItem
to connect to layers using the Carto Maps API.
- Made it possible to configure the compass control's colors using CSS.
- Removed the Terria logo from the preview map and made the credit there smaller.
- Fall back to the style name in the workbench styles dropdown when no title is given for a style in WMS GetCapabilities.
- We now use Cesium Ion for the Bing Maps basemaps, unless a
bingMapsKey
is provided in config.json. You can control this behavior with theuseCesiumIonBingImagery
property. Please note that if abingMapsKey
is not provided, the Bing Maps geocoder will always return no results. - Added a Terria logo in the lower left of the map. It can be disabled by setting
"hideTerriaLogo": true
inconfig.json
. - Improved the credits display on the 2D map to be more similar to the 3D credits.
- Fixed a bug that caused some legends to be missing or incomplete in Apple Safari.
- Added a simple WCS "clip and ship" functionality for WMS layers with corresponding a WCS endpoint and coverage.
- Fixed problems canceling drag-and-drop when using some web browsers.
- Fixed a bug that created a time period where no data is shown at the end of a time-varying CSV.
- Fixed a bug that could cause endless tile requests with certain types of incorrect server responses.
- Fixed a bug that could cause endless region tile requests when loading a CSV with a time column where none of the column values could actually be interpreted as a time.
- Added automatic retry with jittered, exponential backoff for tile requests that result in a 5xx HTTP status code. This is especially useful for servers that return 503 or 504 under load. Previously, TerriaJS would frequently disable the layer and hit the user with an error message when accessing such servers.
- Updated British National Grid transform in
Proj4Definitions
to a more accurate (~2 m) 7 parameter version https://epsg.io/27700. - Distinguished between 3D Terrain and 3D Smooth in share links and init files.
- Upgraded to Cesium v1.50.
- Fixed a bug that could cause the workbench to appear narrower than expected on some systems, and the map to be off-center when collapsing the workbench on all systems.
- When clicking a
Split
button on the workbench, the new catalog item will no longer be attached to the timeline even if the original was. This avoids a confusing situation where both catalog items would be locked to the same time. - Added KMZ to the whitelisted formats for
MagdaCatalogItem
. - Fixed a bug that caused a crash when switching to 2D with vector data already on the map, including when visiting a share link with vector data when the map ends up being 2D.
- The "Hide Workbench" button is now attached to the side of the Workbench, instead of on the opposite side of the screen from it.
- Fixed a bug that prevented
BingMapsSearchProviderViewModel
and other uses ofloadJsonp
from working correctly.
- Upgraded to terriajs-server v2.7.4.
- The previous default terrain provider, STK World Terrain, has been deprecated by its provider. To continue using terrain in your deployed applications, you must obtain a Cesium Ion key and add it to
config.json
. See https://cesium.com/ to create an Ion account. New options are available inconfig.json
to configure terrain from Cesium Ion or from another source. See https://terria.io/Documentation/guide/customizing/client-side-config/#parameters for configuration details. - Upgraded to Cesium v1.48.
- Added
Cesium3DTilesCatalogItem
for visualizing Cesium 3D Tiles datasets. - Added
IonImageryCatalogItem
for accessing imagery assets on Cesium Ion. - Added support for Cesium Ion terrain assets to
CesiumTerrainProvider
. To use an asset from Ion, specify theionAssetId
and optionally theionAccessToken
andionServer
properties instead of specifying aurl
. - Fixed a bug that could cause legends to be missing from
WebMapServiceCatalogItems
that hadisEnabled
set to true.
- Added
rel="noreferrer noopener"
to alltarget="_blank"
links. This prevents the target page from being able to navigate the source tab to a new page. - Fixed a bug that caused the order of items on the Workbench to change when visiting a share link.
- Changed
CesiumSelectionIndicator
to no longer use Knockout binding. This will avoid a problem in some environments, such as when a Content Security Policy (CSP) is in place.
- Fixed a bug that prevented users from being able to enter coordinates directly into catalog function point parameter fields.
- Fixed a bug that prevented interaction with the 3D map when the splitter was active.
- Added
parameters
property toArcGisMapServerCatalogItem
, allowing arbitrary parameters to be passed in tile and feature info requests.
- Breaking Changes:
- An application-level polyfill suite is now required for Internet Explorer 9 and 10 compatibility. The easiest approach is to add
<script src="https://cdn.polyfill.io/v2/polyfill.min.js"></script>
to the<head>
element of your application's HTML page. - In TerriaJS v7.0.0 (the next major release), a polyfill suite may be required for Internet Explorer 11 as well. Adopting the approach above now will ensure you don't need to worry about it then.
- An application-level polyfill suite is now required for Internet Explorer 9 and 10 compatibility. The easiest approach is to add
- Overhauled support for printing. There is now a Print button on the Share panel that will provide a much better printable form of the map than the browser's built-in print feature. If a user uses the browser's print button instead, a message at the top will suggest using the TerriaJS Print feature and open the Share panel. Calling
window.print
(e.g. on a TerriaJS instance inside an iframe) will invoke the new TerriaJS print feature directly. - Fixed a bug that caused
Leaflet.captureScreenshot
to show all layers on both sides even with the splitter active. - Fixed a bug that prevented some vector features from appearing in
Leaflet.captureScreenshot
. - Added ability to move the splitter thumb position vertically so that users can move it to prevent occlusions.
- Added
TerriaJsonCatalogFunction
. This catalog function allows an arbitrary HTTP GET to be invoked with user-provided parameters and return TerriaJS catalog JSON. - Fixed a bug that could cause the feature info panel to sometimes be nearly transparent in Internet Explorer 11.
- Fixed a bug that caused an expanded preview chart's workbench item to erroneously show the date picker.
- Updated
MagdaCatalogItem
to match Magda project
- Added
MagdaCatalogItem
to load details of a catalog item from Magda. - Fixed a bug that could cause a time-dynamic WMS layer to fail to ever show up on the map if the initial time on the timeline was outside the intervals where the layer had data.
- Fixed a bug which could cause a crash during load from share link when the layer default is to not
useOwnClock
but the share link hasuseOwnClock
set. - Fixed an issue that caused a 'This data source is already shown' error in particular circumstances.
- Fixed a bug causing an error message when adding tabular data to the workbench before it was loaded.
- Display of Lat Lon changed from 3 deciml places to 5 decimal places - just over 1m precision at equator.
- Fixed a bug that caused the timeline to appear when changing the time on the workbench for a layer not attached to the timeline.
- The workbench date/time picker is now available for time varying point and region CSVs.
- Fixed a bug that caused the workbench date picker controls to disappear when the item was attached to the timeline and the timeline's current time was outside the valid range for the item.
- Renamed search marker to location marker.
- Added the clicked coordinates to the bottom of the feature info panel. Clicking the marker icon will cause the location to be indicated on the map.
- The location marker is now included in shared map views.
- Fixed a bug that could cause split WMS layers to show the incorrect layer data for the date shown in the workbench.
- Refactored current time handling for
CatalogItem
to reduce the complexity and number of duplicated current time states. - Fixed feature info updating when the time is changed from the workbench for
TableCatalogItem
. - Change the workbench catalog item date picker so that updating the date does not disable the timeslider.
- Fix a bug that meant that, when the current time was updated on an
ImageryCatalogItem
while the layer wasn't shown, the old time was still shown when the layer was re-enabled. - Added
{{terria.currentTime}}
to feature info template. - Added a way to format times within a feature info tempate. E.g.
{{#terria.formatDateTime}}{"format": "dd-mm-yyyy HH:MM:ss"}{{terria.currentTime}}{{/terria.formatDateTime}}
. - Fixed a bug that caused the selection indicator to float strangely when visiting a share link with a selected feature.
- Fixed a bug that caused a region to be selected even when clicking on a hole in that region.
- Fixed a bug that prevented the selection indicator from following moving features on the 2D map.
- Fixed a bug that caused Leaflet to stop rendering further points in a layer and throw errors when calculating extent when one point had invalid characters in the latitude or longitude field.
- We now default to
autoPlay: false
if it's not specified inconfig.json
. - Changed search box placeholders to more precisely reflect their functionality.
- CartoDB basemaps are now always loaded over HTTPS.
- Fixed a bug that could cause the workbench UI to hang when toggling concepts, particularly for an
SdmxJsonCatalogItem
. - Added previous and next buttons to workbench catalog item date picker.
- Upgraded to Cesium 1.41.
- Added support for using tokens to access WMS layers, particularly using the WMS interface to ArcGIS servers.
- Tweaked the sizing of the feature info panel.
- Fixed a bug that caused
ArcGisMapServerCatalogItem
to always use the server's single fused map cache, if available. Now, if thelayers
property is specified, we request individual dynamic layers and ignore the fused map cache.
- Fixed a bug that caused the feature info panel to stop working after clicking on a location search marker.
- Added support for ArcGIS tokens on the 2D map. Previously, tokens only worked reliably in 3D.
- Improved handling of tile errors, making it more consistent between 2D and 3D.
- Fixed a bug that prevented the Add Data button from working Internet Explorer 9 unless the DevTools were also open.
- Improved the sizing of the feature info panel so it is less likely to completely obscure the map.
- Fixed a serious bug that prevented opening the Data Catalog in Internet Explorer.
- Fixed some problems with the Terria Spatial Analytics
CatalogFunctions
.
- Fixed a bug in SDMX-JSON when using
cannotSum
.
- Deprecated SDMX-JSON catalog items'
cannotDisplayPercentMap
in favour ofcannotSum
. - Updated
cannotSum
so that it does not display a total in some cases, as well as suppressing the regional-percentage checkbox.cannotSum
can be either a mapping of concept ids to the values that prevent summing, or simplytrue
to always prevent summing. - Fixed a bug that caused an error when Splitting a layer that does not have a
clock
.
- Added
cannotDisplayPercentMap
to SDMX-JSON catalog items, to optionally turn off the "display as a percentage of regional total" checkbox when the data is not a count (eg. a rate or an average).
- Added the ability to split the screen into a left-side and right-side, and show raster and region mapped layers on only one side of the splitter.
- Added the ability to use a tabbed catalog in the explorer panel on desktop site. Setting
tabbedCatalog
parameter totrue
inconfig.json
causes top-level groups in the catalog to list items in separate explorer panel tabs. - Added the ability to use vector tile properties in feature info templates when using region mapping (data row attributes will overwrite vector tile properties with the same name)
- Properties available in feature info templates are now JSON parsed and replaced by their javascript object if they start with
[
or{
and parse successfully - Decreased flickering of time-varying region mapped layers by pre-rendering the next time interval.
- Fixed a bug in
WebMapServiceCatalogItem
that could cause a WMS time time dimension to be interpreted incorrectly if it was specified only using dates (not times) and with a periodicity of less than a day.
- Improved behaviour of SDMX-JSON items when no data is available.
- Added support for specifying namespaced layer names in the
WebMapServiceCatalogItem
layers
property. - Made TerriaJS tolerant of XML/HTML inside text elements in WMS GetCapabilities without being properly wrapped in
CDATA
.
- Fixed a build problem on case-sensitive file systems (e.g. most Linux systems).
- We no longer show the Zoom To button on the workbench when there is no rectangle to zoom to.
- Fixed a bug when sharing SDMX-JSON catalog items.
- Improved display of "Add Data" panel on small screens when Feedback and Feature Info panels are open.
- Added "search in data catalog" link to mobile search.
- Added a button to automatically copy share url into clipboard in share panel.
- Added
initFragmentPaths
property to theparameters
section ofconfig.json
. It can be used to specify an array of base paths for resolving init fragments in the URL. - Modified
CkanCatalogItem
to exclude files that advertise themselves as KML files but have the file extension .ZIP. - Removed "View full size image" link on the share panel. Chrome 60 removed the ability to navigate to a data URI, and other browsers are expected to follow this lead.
- Breaking change: removed some old types that haven't been used since the new React-based user interface in v4.0.0, specifically
KnockoutHammerBinding
,KnockoutMarkdownBinding
,PopupMessageConfirmationViewModel
,PopupMessageViewModel
, andPopupViewModel
. - Added the ability to use tokens from terriajs-server for layers requiring ESRI tokens.
- Catalog group items are now sorted by their in-catalog name
- Added the ability to use the analytics region picker with vector tile region mapping by specifiying a WMS server & layer for analytics only.
- Updated the client side validation to use the server-provided file size limit when drag/dropping a file requiring the conversion service.
zoomOnEnable
now works even for a catalog item that is initially enabled in the catalog. Previously, it only worked for catalog items enabled via the user interface or otherwise outside of the load process.- Added
initialTimeSource
property toCsvCatalogItem
so it is possible to specify the value of the animation timeline at start from init files. - Added to documentation for customizing data appearance.
- Added
CatalogShortcut
for creating tool items for linking to aCatalogItem
. - Renamed
ViewState.viewCatalogItem()
toviewCatalogMember
to reflect that it can be used for allCatalogMembers
, not justCatalogItems
. - Fixed a bug that could cause a crash when switching to 2D when the
initialView
was just aRectangle
instead of aCameraView
. - Fixed a bug that caused multiple layers with generated, gradient legends to all show the same legend on the Workbench.
- Pinned
urijs
to v1.18.10 to work around a breaking change in v1.18.11.
- Improved the conversion of Esri polygons to GeoJSON by
featureDataToGeoJson
. It now correctly handles polygons with holes and with multiple outer rings. - Added some fields to the dataset info page for
CkanCatalogItem
. - Fixed a bug that could cause some layers, especially the Bing Maps basemap, to occasionally be missing from the 2D map.
- Fixed a bug that could cause the selected time to move to the end time when sharing a map with a time-dynamic layer.
- A catalog item's
cacheDuration
property now takes precedence over the cache duration specified by the code. Previously, thecacheDuration
would only override the default duration (2 weeks).
- Added option to expand the HTML embed code and toggle URL shorting for the share link.
- The Share feature now includes the current time selected on the timeline, so that anyone visiting a share link will see the map at the intended time.
- Added the Latitude and Longitude to the filename for the Feature Information file download.
- Added the time to the timeline labels when zoomed in to a single day. Previously, the label sometimes only showed the date.
- Added the ability to disable the conversion service so that no user data is sent outside of the client by setting
conversionServiceBaseUrl
tofalse
in theparameters
section ofconfig.json
. - Added the ability to disable the location button by setting
disableMyLocation
totrue
in theparameters
section ofconfig.json
. - Fixed a bug that caused the share functionality to fail (both screenshot and share link) in 2d mode.
- Fixed a bug with explicitly styled enum columns in Internet Explorer.
- Fixed a bug that caused the selected column in a csv to be the second column when a time column is present.
- Fixed a bug with
forceProxy: true
which meant that vector tiles would try, and fail, to load over the proxy. - Added documentation for customizing data appearance, and folded in existing but orphaned documentation for creating feature info templates.
- Changed the LocateMe button so that it toggles and continuously updates the location when Augmented Reality is enabled.
- Added the ability to set SDMX-JSON region names from a region type dimension, using a Mustache template. This was required so regions can be mapped to specific years, even if not specified by the SDMX-JSON server.
- Added
viewermode
to the users persistent local storage to remember the lastViewerMode
used. - Added the ability to customize the preamble text on the feedback form ("We would love to hear from you!") by setting
feedbackPreamble
in theparameters
section ofconfig.json
.
- Fixed a bug that prevented error messages, such as when a dataset fails to load, from being shown to the user. Instead, the errors were silently ignored.
- Fixed a bug that gave expanded Sensor Observation Service charts poor names.
- Fixed a bug that prevented some table-based datasets from loading.
- Fixed download of selected dataset (as csv) so that quotes are handled in accordance with https://tools.ietf.org/html/rfc4180. As a result, more such downloads can be directly re-loaded in Terria by dragging and dropping them.
- Changed the default opacity for points from CSV files without a value column to 1.0 (previously it was 0.6). This is a workaround for a Cesium bug (CesiumGS/cesium#5307) but really a better choice anyway.
- Fixed a bug which meant non-standard properties of some table data sources (eg. csv, SOS, SDMX-JSON) were missing in the feature info panel, because of a breaking change in Cesium 1.33.
- Fixed a bug that caused layer disclaimers to fail to appear when the layer was enabled via a share link. Since the user was unable to accept the disclaimer, the layer also failed to appear.
- Added
AugmentedVirtuality
(user facing feature name Augmented Reality) to allow users to use their mobile device's orientation to set the camera view. - Added the
showFeaturesAtAllTimes
option to Sensor Observation Service items. This improves the user experience if the server returns some features starting in 1990, say, and some starting in 1995, so that the latter still appear (as grey points with no data) in 1990. - Fixed a bug that prevented preview charts in the feature info panel from updating when the user changed the Sensor Observation Service frequency.
- Fixed a bug that allowed the user to de-select all the display choices for Sensor Observation Service items.
- Improved the appearance of charts where all the y-values are null. (It now shows "No preview available".)
- Upgraded to Leaflet 1.0.3 for the 2D and preview maps.
- Upgraded to Cesium 1.33 for the 3D view.
- Fixed a bug that caused an 'added' and a 'shown' event for "Unnamed Item" to be logged to Google Analytics when previewing an item in the catalog.
- Added a 'preview' Google Analytics event when a catalog item is shown on the preview map in the catalog.
- Fixed a bug that prevented csv files with missing dates from loading.
- Fixed a bug that could cause an error when adding a layer without previewing it first.
- Fixed a bug that prevented
WebMapServiceCatalogItem
from acting as a time-dynamic layer when the time dimension was inherited from a parent layer. WebMapServiceCatalogItem
now supports WMS 1.1.1 style dimensions (with anExtent
element) in addition to the 1.3.0 style (Dimension
only).WebMapServiceCatalogItem
now passes dates only (rather than dates and times) to the server when the TIME dimension uses thestart/stop/period
form,start
is a date only, andperiod
does not include hours, minutes, or seconds.WebMapServiceCatalogItem
now supports years and months (in addition to days, hours, minutes, and seconds) in the period specified of a TIME dimension.WebMapServiceCatalogItem
now ignores leap seconds when evaluating ISO8601 periods in a time dimension. As a result, 2 hours after2016-06-30T23:00:00Z
is now2016-07-01T01:00:00Z
instead of2016-07-01T00:59:59Z
even though a leap second at the end of June 2016 makes that technically 2 hours and 1 second. We expect that this is more likely to align with the expectations of WMS server software.- Added option to specify
mobileDefaultViewerMode
in theparameters
section ofconfig.json
to specify the default view mode when running on a mobile platform. - Added support for
itemProperties
toCswCatalogGroup
. - Added
terria.urlEncode
function for use in feature info templates. - Fixed a layout problem that caused the coordinates on the location bar to be displayed below the bar itself in Internet Explorer 11.
- Updated syntax to remove deprecation warnings with React version 15.5.
- Breaking changes:
- Starting with this release, TerriaJS is meant to be built with Webpack 2. The best way to upgrade your application is to merge from TerriaMap. If you run into trouble, post a message on the TerriaJS forum.
- Removed the following previously-deprecated modules:
registerKnockoutBindings
(no replacement),AsyncFunctionResultCatalogItem
(nowResultPendingCatalogItem
),PlacesLikeMeFunction
(nowPlacesLikeMeCatalogFunction
),SpatialDetailingFunction
(nowSpatialDetailingCatalogFunction
), andWhyAmISpecialFunction
(nowWhyAmISpecialCatalogFunction
). - Removed
lib/Sass/StandardUserInterface.scss
. It is no longer necessary to include this in your application. - Removed the previously-deprecated third pararameter,
getColorCallback
, ofDisplayVariablesConcept
. Pass it inside theoptions
parameter instead. - Removed the following previously-deprecated properties from
TableColumn
:indicesIntoUniqueValues
(useuniqueValues
),indicesOrValues
(usevalues
),indicesOrNumericalValues
(useuniqueValues
ornumericalValues
), andusesIndicesIntoUniqueValues
(useisEnum
). - Removed the previously-deprecated
dataSetID
property fromAbsIttCatalogItem
. UsedatasetId
instead. - Removed the previously-deprecated
allowGroups
property fromCkanCatalogItem
. UseallowWmsGroups
orallowWfsGroups
instead. - Removed the previously-deprecated
RegionMapping.setRegionColumnType
function. Use thesetRegionColumnType
on an instance ofRegionMapping
instead. - Removed the previously-deprecated
regionMapping.regionDetails[].column
and.disambigColumn
. Use.columnName
and.disambigColumnName
instead. - Removed the previously-deprecated
options.regionMappingDefinitionsUrl
parameter from theTerria
constructor. Set theregionMappingDefinitionsUrl
insideparameters
inconfig.json
instead.
- Fixed a bug in
WebMapServiceCatalogItem
that prevented TerriaJS from correctly determining the projections supported by a WMS layer when supported projections are inherited from parent layers. - Changed "no value" colour of region-mapped data to fully transparent, not black.
- Fixed an issue where expanding a chart from an SDMX-JSON or SOS feature twice, with different data choices selected, would overwrite the previous chart.
- Improved SDMX-JSON items to still show properly, even if the
selectedInitially
property is invalid. - Added
Score
column toGNAFAddressGeocoder
to indicate relative quality, which maps as default variable.
- Improved error message when accessing the user's location under http with Chrome.
- When searching locations, the button to instead search the catalog is now above the results instead of below them.
- Changed "go to full screen mode" tooltip to "Hide workbench", and "Exit Full Screen" button to "Show Workbench". The term "full screen" was misleading.
- Fixed a bug where a chartable (non-geo-spatial) CSV file with a column including the text "height" would not let the user choose the "height" column as the y-axis of a chart.
- Added support for non-default x-axes for charts via
<chart x-column="x">
and the newtableStyle.xAxis
parameter. - Added support for a
charSet
parameter on CSV catalog items, which overrides the server's mime-type if present.
- Added the ability for
CkanCatalogGroup
to receive results in pages, rather than all in one request. This will happen automatically when the server returns partial results. - Improved the performance of the catalog UI by not creating React elements for the contents of a group until that group is opened.
- Close polygons used as input to a
CatalogFunction
by making the last position the same as the first one. - Added support for a new
nameInCatalog
property on all catalog members which overridesname
when displayed in the catalog, if present. - Added
terria.urlEncodeComponent
function for use in feature info templates. yAxisMin
andyAxisMax
are now honored when multiple charts are active, by using the minimumyAxisMin
and the maximumyAxisMax
of all charts.
- Locked third-party dependency proj4 to v2.3.x because v2.4.0 breaks our build.
- New sections are now merged info
CatalogMember.info
whenupdateFromJson
is called multiple times, rather than the laterinfo
completely replacing the earlier one. This is most useful when usingitemProperties
to override some of the info sections in a child catalog item. - Fixed a bug where csv files with a date column would sometimes fail if a date is missing.
- Improved the SDMX-JSON catalog item to handle huge dimensions, allow a blacklist, handle bad responses better, and more.
- Fixed a bug that prevented the proxy from being used for loading legends, even in situations where it is necessary such as an
http
legend accessed from anhttps
site. - Added link to re-download local files, noting that TerriaJS may have done additional processing (eg. geocoding).
- Changed defaults:
WebProcessingServiceCatalogFunction
now defaults to invoking theExecute
service via an HTTP POST with XML encoding rather than an HTTP GET with KVP encoding. This is a more sensible default because the WPS specification requires that servers support POST/XML while GET/KVP is optional. Plus, POST/XML allows large input parameters, such as a polygon descibing all of Australia, to be successfully passed to the WPS process. To force use of GET/KVP, set theexecuteWithHttpGet
property totrue
.
- Fixed problems with third-party dependencies causing
npm install
andnpm run gulp
to fail.
- Added a help overlay system. A TerriaJS application can define a set of help sequences that interactively walk the user through a task, such as adding data to the map or changing map settings. The help sequences usually appear as a drop-down Help menu in the top-right corner.
- Fixed a bug with calculating bounding rectangles in
ArcGisCatalogItem
caused by changes toproj4
package. - Fixed a bug preventing chart axis labels from being visible on a white background.
- Fixed a bug that caused the Feedback panel to appear below the chart panel, making it difficult to use.
- Fixed a bug that prevented a
shareUrl
specified inconfig.json
from actually being used by theShareDataService
. - Adding a JSON init file by dropping it on the map or selecting it from the My Data tab no longer adds an entry to the Workbench and My Data catalog.
- WPS return type can now be
application/vnd.terriajs.catalog-member+json
which allows a json catalog member to be returned in WPS along with the usual attributes to control display. chartLineColor
tableStyle attribute added, allowing per column specification of chart line color.- Fixed a bug that caused a
WebMapServiceCatalogItem
inside aWebMapServiceCatalogGroup
to revert to defaults from GetCapabilities instead of using shared properties. - Fix a bug that prevented drawing the marker and zooming to the point when searching for a location in 2D.
- Fixed a bug where
WebMapTileServiceCatalogItem
would incorrectly interpret a bounding box and return only the lower left corner causing Cesium to crash on render. - Fixed a bug that caused the feedback form to be submitted when unchecking "Share my map view".
CkanCatalogGroup
now automatically adds the type of the resource (e.g.(WMS)
) after the name when a dataset contains multiple resources that can be turned into catalog items anduseResourceName
is false.- Added support for ArcGIS FeatureServers to
CkanCatalogGroup
andCkanCatalogItem
. In order forCkanCatalogGroup
to include FeatureServers,includeEsriFeatureServer
must be set to true. - Changed default URL for the share service from
/share
toshare
and made it configurable by specifyingshareUrl
in config.json. This helps with deployments in subdirectories.
- Fixed a bug that prevented downloading data from the chart panel if the map was started in 2D mode.
- Changed the default opacity of table data to 0.8 from 0.6.
- Added the ability to read dates in the format "2017-Q2".
- Improved support for SDMX-JSON, including showing values as a percent of regional totals, showing the selected conditions in a more concise format, and fixing some bugs.
- Updated
TableCatalogItem
s to show a download URL in About This Dataset, which downloads the entire dataset as csv, even if the original data was more complex (eg. from an API). - The icon specified to the
MenuPanel
/DropdownPanel
theme can now be either the identifier of an icon fromIcon.GLYPHS
or an actual SVGrequire
'd via thesvg-sprite-loader
. - Fixed a bug that caused time-varying points from a CSV file to leave a trail on the 2D map.
- Add
Terria.filterStartDataCallback
. This callback gives an application the opportunity to modify start (share) data supplied in a URL before TerriaJS loads it. - Reduced the size of the initial TerriaJS JavaScript code by about 30% when starting in 2D mode.
- Upgraded to Cesium 1.29.
- Renamed
SpatialDetailingFunction
,WhyAmISpecialFunction
, andPlacesLikeMeFunction
toSpatialDetailingCatalogFunction
,WhyAmISpecialCatalogFunction
, andPlacesLikeMeCatalogFunction
, respectively. The old names will be removed in a future release. - Fixed incorrect tooltip text for the Share button.
- Improved the build process and content of the user guide documentation.
- Canceled pending tile requests when removing a layer from the 2D map. This should drastically improve the responsiveness when dragging the time slider of a time-dynamic layer in 2D mode.
- Added the data source and data service details to the "About this dataset" (preview) panel.
- Fixed a bug introduced in 4.7.2 which made the Feature Info panel background too pale.
- Updated GNAF API to new Lucene-based backend, which should improve performance.
- Updated custom
<chart>
tag to allow acolors
attribute, containing comma separated css strings (one per column), allowing users to customize chart colors. Thecolors
attribute in charts can also be passed through from a WPS ComplexData response. - Updated styling of Give Feedback form.
- Improved consistency of "Search" and "Add Data" font sizes.
- Improved flexibility of Feature Info Panel styling.
- Fixed a bug that could cause an extra
/
to be added to end of URLs byArcGisMapServerCatalogItem
, causing some servers to reject the request. - Added a workaround for a bug in Internet Explorer 11 on Windows 7 that could cause the user interface to hang.
- Fixed a bug where providing feedback did not properly share the map view.
- Updated to terriajs-server 2.6.2.
- Fixed a bug leading to oversized graphics being displayed from WPS calls.
- Added the ability for users to share their view of the map when providing feedback.
- Extra components can now be added to FeatureInfoSection.
- Updated "Download Data" in FeatureInfoSection to "Download Data for this Feature".
- Fixed the color of visited links in client apps with their own css variables.
- Fixed a bug that prevented the scale bar from displaying correctly.
- Added support for creating custom WPS types, and for reusing
Point
,Polygon
, andRegion
editors in custom types. - Fixed a bug that caused the legend to be missing for WMS catalog items where the legend came from GetCapabilities but the URL did not contain
GetLegendGraphic
.
- Changed defaults:
- The
clipToRectangle
property of raster catalog items (WebMapServiceCatalogItem
,ArcGisMapServerCatalogItem
, etc.) now defaults totrue
. It wasfalse
in previous releases. Usingfalse
prevents features (especially point features) right at the edge of the layer's rectangle from being cut off when the server reports too tight a rectangle, but also causes the layer to load much more slowly in many cases. Starting in this version, we favour performance and the much more common case that the rectangle can be trusted.
- The
- Made
WebMapServiceCatalogItem
tolerant of aGetCapabilities
where aLegendURL
element does not have anOnlineResource
or aDimension
does not have any values. - Added support for 'Long' type hint to CSV data for specifying longitude.
- The marker indicating the location of a search result is now placed correctly on the terrain surface.
CatalogFunction
region parameters are now selected on the main map rather than the preview map.- Some regions that were previously not selectable in Analytics, except via autocomplete, are now selectable.
- Added hover text that shows the position of data catalog search results in the full catalog.
- Widened scrollbars and improve their contrast.
- Removed the default maximum number of 10 results when searching the data catalog.
- Allow users to browse for JSON configuration files when adding "Local Data".
- Made it easier to use custom fonts and colors in applications built on TerriaJS, via new SCSS variables.
- Fixed a bug that caused a
CswCatalogGroup
to fail to load if the server had areferences
element without aprotocol
.
- The order of the legend for an
ArcGisMapServerCatalogItem
now matches the order used by ArcGIS itself. - Large legends are now scaled down to fit within the width of the workbench panel.
- Improved the styling of links inside the Feature Information panel.
- Fixed a bug that could cause the Feature Information panel's close button to initially appear in the wrong place, and then jump to the right place when moving the mouse near it.
- Added support for the Sensor Observation Service format, via the
SensorObservationServiceCatalogItem
. - Added support for end date columns in CSV data (automatic with column names containing
end_date
,end date
,end_time
,end time
; or set in json file usingisEndDate
intableStyle.columns
. - Fixed calculation of end dates for moving-point CSV files, which could lead to points disappearing periodically.
- Fixed a bug that prevented fractional seconds in time-varying WMS periodicity.
- Added the ability to the workbench UI to select the
style
to use to display a Web Map Service (WMS) layer when multiple styles are available. - Added the ability to the workbench UI to select from among the available dimensions of a Web Map Service (WMS) layer.
- Improved the error reporting and handling when specifying invalid values for the WMS COLORSCALERANGE parameter in the UI.
- Added the ability to drag existing points when creating a
UserDrawing
. - Fixed a bug that could cause nonsensical legends for CSV columns with all null values.
- Fixed a bug that prevented the Share panel from being used at all if the URL shortening service encountered an error.
- Fixed a bug that could cause an error when adding multiple catalog items to the map quickly.
- Tweaked the z-order of the window that appears when hovering over a chart series, so that it does not appear on top of the Feature Information panel.
- Fixed a bug that could lead to incorrect colors in a legend for a CSV file with explicit
colorBins
and cut off at a minimum and maximum. - We now show the feature info panel the first time a dataset is added, containing a suggestion to click the map to learn more about a location. Also improved the wording for the feature info panel when there is no data.
- Fixed support for time-varying feature info for vector tile based region mapping.
updateApplicationOnMessageFromParentWindow
now also allows messages from theopener
window, i.e. the window that opened the page by callingwindow.open
. The parent or opener may now also send a message with anallowOrigin
property to specify an origin that should be allowed to post messages.- Fixed a bug that prevented charts from loading http urls from https.
- The
isNcWMS
property ofWebMapServiceCatalogItem
is now set to true, and the COLORSCALERANGE controls are available in the UI, for ncWMS2 servers. - Added the ability to prevent CSVs with time and
id
columns from appearing as moving points, by settingidColumns
to eithernull
or[]
. - Fixed a bug that prevented default parameters to
CatalogFunction
s from being shown in the user interface. - Fixed a problem that made
BooleanParameter
s show up incorrectly in the user interface. - Embedded
<chart>
elements now support two new optional attributes:title
: overrides the title that would otherwise be derived from the name of the feature.hide-buttons
: If"true"
, the Expand and Download buttons are hidden from the chart.
- Fixed a bug in embedded
<collapsible>
elements that prevented them from being expandable. - Improved SDMX-JSON support to make it possible to change region type in the UI.
- Deprecated
RegionMapping.setRegionColumnType
in favour ofRegionMapping.prototype.setRegionColumnType
.regionDetails[].column
and.disambigColumn
have also been deprecated.
- Improved feature info display of time-varying region-mapped csvs, so that chart is still shown at times with no data.
- Fix visual hierarchy of groups and items in the catalog.
- Fixed a bug that caused Cesium (3D view) to crash when plotting a CSV with non-numerical data in the depth column.
- Added automatic time-series charts of attributes to the feature info of time-varying region-mapped csvs.
- Refactored Csv, AbsItt and Sdmx-Json catalog items to depend on a common
TableCatalogItem
. DeprecatedCsvCatalogItem.setActiveTimeColumn
in favour oftableStructure.setActiveTimeColumn
. - Error in geocoding addresses in csv files now shows in dialog box.
- Fixed CSS styling of the timeline and added padding to the feature info panel.
- Enhanced JSON support to recognise JSON5 format for user-added files.
- Deprecated
indicesIntoUniqueValues
,indicesOrValues
,indicesOrNumericalValues
andusesIndicesIntoUniqueValues
inTableColumn
(isEnum
replacesusesIndicesIntoUniqueValues
). - Added support for explicitly colouring enum columns using a
tableStyle.colorBins
array of{"value":v, "color":c}
objects - Improved rendering speed when changing the display variable for large lat/lon csv files.
- Default to moving feature CSVs if a time, latitude, longitude and a column named
id
are present. - Fixed a bug so units flow through to charts of moving CSV features.
- Fixed a bug that prevented the
contextItem
of aCatalogFunction
from showing during location selection. - Fixed a bug that caused
&
to appear in some URLs instead of simply&
, leading to an error when visiting the link. - Added the ability to pass a LineString to a Web Processing Service.
- Fixed a bug that prevented
tableStyle.dataVariable
=null
from working. - Uses a smarter default column for CSV files.
- Fixed a bug that caused an error message to appear repeatedly when there was an error downloading tiles for a base map.
- Fixed a bug that caused WMS layer names and WFS type names to not be displayed on the dataset info page.
- We now preserve the state of the feature information panel when sharing. This was lost in the transition to the new user interface in 4.0.0.
- Added a popup message when using region mapping on old browsers without an
ArrayBuffer
type (such as Internet Explorer 9). These browsers won't support vector tile based region mapping. - Fixed bug where generic parameters such as strings were not passed through to WPS services.
- Fixed a bug where the chart panel did not update with polled data files.
- Removed the Australian Hydrography layer from
createAustraliaBaseMapOptions
, as the source is no longer available. - Fixed a bug that caused the GetCapabilities URL of a WMS catalog item to be shown even when
hideSource
was set to true. - Newly-added user data is now automatically selected for the preview map.
- Fixed a bug where selecting a new column on a moving point CSV file did not update the chart in the feature info panel.
- Fixed dropdowns dropping from the bounds of the screen in Safari.
- Fixed a bug that prevented the feature info panel from updating with polled lat/lon csvs.
- Improved handing of missing data in charts, so that it is ignored instead of shown as 0.
- Use react-rangeslider 1.0.4 because 1.0.5 was published incorrectly.
- Fixed css styling of shorten URL checkbox.
- Added the ability to specify the URL to the
serverConfig
service inconfig.json
asparameters.serverConfigUrl
.
- Added
Terria.batchGeocoder
property. If set, the batch geocoder is used to resolve addresses in CSV files so that they can be shown as points on the map. - Added
GnafAddressGeocoder
to resolve Australian addresses using the GNAF API. - Added a loading indicator for user-added files.
- Fixed a bug that prevented printing the map in the 2D mode.
- Fixed a bug when changing between x-axis units in the chart panel.
- Moved all Terria styles into CSS-modules code (except Leaflet) -
lib/Sass/StandardUserInterface.scss
no longer needs to be imported and now only includes styles for backwards compatibility.
- Fixed bug that prevented the preview map displaying on mobile devices.
- There is a known bug in this version which prevents the user from being able to choose a region for some Analytics functions.
- Added support for ArcGis FeatureServers, using the new catalog types
esri-featureServer
andesri-featureServer-group
. Catalog typeesri-group
can load REST service, MapServer and FeatureServer endpoints. (For backwards compatibility, catalog typeesri-mapServer-group
continues to work for REST service as well as MapServer endpoints.) - Enumeration parameter now defaults to what is shown in UI, and if parameter is optional, '' is default.
- Adds bulk geocoding capability for Australian addresses. So GnafAPI can be used with batches of addresses, if configured.
- Fixed a bug that caused the selection indicator to get small when near the right edge of the map and to overlap the side panel when past the left edge.
- Map controls and menus now become translucent while the explorer window (Data Catalog) is visible.
- Removed find-and-replace for cesium workers from the webpack build as it's done in terriajs-cesium now.
- Legend images that fail to load are now hidden entirely.
- Improved the appearance of the opacity slider and added a percentage display.
- AllowedValues for LiteralData WPS input now works even if only one value specified.
- Fixed bug in WPS polygon datatype to return valid polygon geojson.
- Fix regression: cursor changes in UserDrawing now functions in 2D as well as 3D.
- Updated to Cesium 1.23 (from 1.20). See the change log for details.
- Fixed a bug which prevented feature info showing for Gpx-, Ogr-, WebFeatureService-, ArcGisFeatureServer-, and WebProcessingService- CatalogItems.
- Added support for a wider range of SDMX-JSON data files, including the ability to sum over dimensions via
aggregatedDimensionIds
. - Added support for
tableStyle.colorBins
as array of values specifying the boundaries between the color bins in the legend, eg.[3000, 3500, 3900, 4000]
.colorBins
can still be an integer specifying the number of bins, in which case Terria determines the boundaries. - Made explorer panel not rendered at all when hidden and made the preview map destroy itself when unmounted - this mitigates performance issues from having Leaflet running in the background on very busy vector datasets.
- Fixed a bug which prevented time-varying CZML feature info from updating.
- Added support for moving-point csv files, via an
idColumns
array on csv catalog items. By default, feature positions, color and size are interpolated between the known time values; setisSampled
to false to prevent this. (Color and size are never interpolated when they are drawn from a text column.) - Added support for polling csv files with a partial update, and by using
idColumns
to identify features across updates. - Added a time series chart to the Feature Info Panel for sampled, moving features.
- Fixed a bug which sometimes prevented feature info from appearing when two region-mapped csv files were displayed.
- Fixed the preview map extent being one item behind what was actually selected.
- Fixed a bug that prevented sharing from working in Internet Explorer.
- Stopped IE9 from setting bizarre inline dimensions on custom branding images.
- Fixed workbench reordering in browsers other than Chrome.
- URLs on the dataset info page are now auto-selected by clicked, making them easier to copy.
- Made the column title for time-based CSV exports from chart default to 'date'
- Stopped the CSV creation webworker from being run multiple times on viewing a chart.
- Removed the empty circles from non-selected base maps on the Map settings panel.
- Prevented text from being selected when dragging the compass control.
- Added the
MeasureTool
to allow users to interactively measure the distance between points. - Worked around a problem in the Websense Web Filter that caused it to block access to some of the TerriaJS Web Workers due to a URL in the license text in a comment in a source file.
- Fixed a bug that prevented opening catalog groups on iOS.
- Fixed a CSS warning.
- Fixed a bug that caused an error message to be formatted incorrectly when displayed to the user.
- Rewrote the TerriaJS user interface using React. We believe the new interface is a drastic improvement, incorporating user feedback and the results of usability testing. Currently, it is a bit harder to customize than our old user interface, so if your application has extensive customizations, we suggest delaying upgrading to this version for a little while logner.
- Added support for non-geospatial CSV files, which display in a new chart panel.
- Added support for customisable tags in Feature Info templates.
- Implemented
<chart>
and<collapsible>
tags in Feature Info templates. - Added support for polling for updates to CSV files.
CswCatalogGroup
will now include Web Processing Services from the catalog if configured withincludeWps
set to true.WebMapServiceCatalogItem
will now detect ncWMS servers and set isNcWMS to true.- New
ShareDataService
which can store and resolve data. Currently it is used as a replacement for Google URL Shortener, which can't handle long URLs. - New
ServerConfig
object which provides configuration information about the server, including which domains can be proxied for. This changes the way CorsProxy is initialised. - Added partial support for the SDMX-JSON format.
UserDrawing
added for drawing lines and polygons on the map.- CkanCatalogGroup's
filterQuery
items can now be specified as objects instead of URL-encoded strings.
- Ungrouped items in CKAN catalog items are now grouped under an item whose title is determined by .ungroupedTitle (default: "No group").
- CKAN's default search regex for KMLs also includes KMZ.
- Add documentation of camera properties.
- Support JSON5 (http://json5.org/) use in init files and config files, so comments can be used and object keys don't need to be quoted.
- Fixed a bug that caused the
corsProxyBaseUrl
specified inconfig.json
to be ignored. - Fixed a bug preventing downloading feature info data in CSV format if it contained nulls.
- Added support for the WMS Style/MetadataURL tag in layer description.
- Long titles in locally-generated titles now word-wrap in most web browsers.
- Long auto-generated legend titles now word wrap in most web browsers.
- Support
parameters
property in WebFeatureServiceCatalogItem to allow accessing URLs that need additional parameters. - Fixed a bug where visiting a shared link with a time-series layer would crash load.
- Added a direct way to format numbers in feature info templates, eg.
{{#terria.formatNumber}}{"useGrouping": true, "maximumFractionDigits": 3}{{value}}{{/terria.formatNumber}}
. The quotes around the keys are optional. - When the number of unique values in a CSV column exceeds the number of color bins available, the legend now displays "XX other values" as the label for the last bucket rather than simply "Other".
- CSV columns with up to 21 unique values can now be fully displayed in the legend. Previously, the number of bins was limited to 9.
- Added
cycle
option totableColumnStyle.colorBinMethod
for enumeration-type CSV columns. When the number of unique values in the column exceeds the number of color bins available, this option makes TerriaJS color all values by cycling through the available colors, rather than coloring only the most common values and lumping the rest into an "Other" bucket. - Metadata and single data files (e.g. KML, GeoJSON) are now consistently cached for one day instead of two weeks.
WebMapServiceCatalogItem
now uses the legend for thestyle
specified inparameters
when possible. It also now includes theparameters
when building aGetLegendGraphic
URL.- Fixed a bug that prevented switching to the 3D view after starting the application in 2D mode.
- Fixed a bug on IE9 which prevented shortened URLs from loading.
- Fixed a map started with smooth terrain being unable to switch to 3D terrain.
- Fixed a bug in
CkanCatalogItem
that prevented it from using the proxy for dataset URLs. - Fixed feature picking when displaying a point-based vector and a region mapped layer at the same time.
- Stopped generation of WMS intervals being dependent on JS dates and hence sensitive to DST time gaps.
- Fixed a bug which led to zero property values being considered time-varying in the Feature Info panel.
- Fixed a bug which prevented lat/lon injection into templates with time-varying properties.
- Deprecated in this version:
CkanCatalogItem.createCatalogItemFromResource
'soptions
allowGroups
has been replaced withallowWmsGroups
andallowWfsGroups
.
- Added support for WFS in CKAN items.
- Fixed bug which prevented the terria-server's
"proxyAllDomains": true
option from working. - Added support in FeatureInfoTemplate for referencing csv columns by either their name in the csv file, or the name they are given via
TableStyle.columns...name
(if any). - Improved CSV handling to ignore any blank lines, ie. those containing only commas.
- Fixed a bug in
CswCatalogGroup
that prevented it from working in Internet Explorer.
- Only trigger a search when the user presses enter or stops typing for 3 seconds. This will greatly reduce the number of times that searches are performed, which is important with a geocoder like Bing Maps that counts each geocode as a transaction.
- Reduced the tendency for search to lock up the web browser while it is in progress.
- Include "engines" attribute in package.json to indicate required Node and NPM version.
- For WMS catalog items that have animated data, the initial time of the timeslider can be specified with
initialTimeSource
asstart
,end
,present
(nearest date to present), or with an ISO8601 date. - Added ability to remove csv columns from the Now Viewing panel, using
"type": "HIDDEN"
intableStyle.columns
.
- TerriaJS-based application are now best built using Webpack instead of Browserify.
- Injected clicked lat and long into templates under
{{terria.coords.latitude}}
and{{terria.coords.longitude}}
. - Fixed an exception being thrown when selecting a region while another region highlight was still loading.
- Added
CesiumTerrainCatalogItem
to display a 3D surface model in a supported Cesium format. - Added support for configuration of how time is displayed on the timeline - catalog items can now specify a dateFormat hash
in their configuration that has formats for
timelineTic
(what is displayed on the timeline itself) andcurrentTime
(which is the current time at the top-left). - Fixed display when
tableStyle.colorBins
is 0. - Added
fogSettings
option to init file to customize fog settings, introduced in Cesium 1.16. - Improved zooming to csvs, to include a small margin around the points.
- Support ArcGis MapServer extents specified in a wider range of projections, including GDA MGA zones.
- WMS legends now use a bigger font, include labels, and are anti-aliased when we can determine that the server is Geoserver and supports these options.
- Updated to Cesium 1.20. Significant changes relevant to TerriaJS users include:
- Fixed loading for KML
NetworkLink
to not append a?
if there isn't a query string. - Fixed handling of non-standard KML
styleUrl
references within aStyleMap
. - Fixed issue in KML where StyleMaps from external documents fail to load.
- Added translucent and colored image support to KML ground overlays
GeoJsonDataSource
now handles CRSurn:ogc:def:crs:EPSG::4326
- Fix a race condition that would cause the terrain to continue loading and unloading or cause a crash when changing terrain providers. #3690
- Fix issue where the
GroundPrimitive
volume was being clipped by the far plane. #3706 - Fixed a reentrancy bug in
EntityCollection.collectionChanged
. #3739 - Fixed a crash that would occur if you added and removed an
Entity
with a path without ever actually rendering it. #3738 - Fixed issue causing parts of geometry and billboards/labels to be clipped. #3748
- Fixed bug where transparent image materials were drawn black.
- Fixed
Color.fromCssColorString
from reusing the inputresult
alpha value in some cases.
- Fixed loading for KML
- Added support for time-series data sets with gaps - these are skipped when scrubbing on the timeline or playing.
- Share links now contain details about the picked point, picked features and currently selected feature.
- Reorganised the display of disclaimers so that they're triggered by
CatalogGroup
andCatalogItem
models, which triggerterria.disclaimerEvent
, which is listened to by DisclaimerViewModel.
DisclaimerViewModel` must be added by the map that's using Terria. - Added a mechanism for hiding the source of a CatalogItem in the view info popup.
- Added the
hideSource
flag to the init json for hiding the source of a CatalogItem in the View Info popup. - Fixed a bug where
CatalogMember.load
would return a new promise every time it was called, instead of retaining the one in progress. - Added support for the
copyrightText
property for ArcGis layers - this now shows up in info under "Copyright Text" - Showed a message in the catalog item info panel that informs the user that a catalog item is local and can't be shared.
- TerriaJS now obtains its list of domains that the proxy will proxy for from the
proxyableDomains/
service. The URL can be overridden by settingparameters.proxyableDomainsUrl
inconfig.json
. - Updated to Cesium 1.19. Significant changes relevant to TerriaJS users include:
- Improved KML support.
- Added support for
NetworkLink
refresh modesonInterval
,onExpire
andonStop
. Includes support forviewboundScale
,viewFormat
,httpQuery
. - Added partial support for
NetworkLinkControl
includingminRefreshPeriod
,cookie
andexpires
. - Added support for local
StyleMap
. Thehighlight
style is still ignored. - Added support for
root://
URLs. - Added more warnings for unsupported features.
- Improved style processing in IE.
- Added support for
- Improved KML support.
- Improved legend and coloring of ENUM (string) columns of CSV files, to sort first by frequency, then alphabetically.
- Warn user when the requested WMS layer doesn't exist, and try to provide a suggestion.
- Fixed the calculation of a CSV file's extent so that missing latitudes and longitudes are ignored, not treated as zero.
- Improved the user experience around uploading files in a format not directly supported by TerriaJS and optionally using the conversion service.
- Improved performance of large CSV files, especially the loading time, and the time taken to change the display variable of region-mapped files.
- Added support for CSV files with only location (lat/lon or region) columns, and no value columns, using a file-specific color. Revised GeoJSON display to draw from the same palette of colors.
- Fixed a bug that prevented GeoJSON styles from being applied correctly in some cases.
- Fixed an error when adding a CSV with one line of data.
- Fixed error when adding a CSV file with numeric column names.
- Polygons and polylines are now highlighted on click when the geometry is available.
- Improved legend and coloring of ENUM (string) columns of CSV files; only the most common values are colored differently, with the rest shown as 'Other'.
- Added support for running the automated tests on the local system (via
gulp test
), on BrowserStack (viagulp test-browserstack
), and on Sauce Labs (viagulp test-saucelabs
). - Changed
tableStyle
'sformat
to only acceptuseGrouping
,maximumFractionDigits
andstyling: "percent"
options. Previously some other options may have worked in some browsers. - Improved color palette for string (ENUM) columns of CSV files.
- Improved CSV loading to ignore any completely blank lines after the header row (ie. lines which do not even have commas).
- Added support for grouping catalog items retrieved from a CSW server according to criteria specified in the init file (via the
metadataGroups
property) or from adomainSpecification
and a call to theGetDomain
service on the CSW server. - Added
UrlTemplateCatalogItem
, which can be used to access maps via a URL template. - Improved ABS display (to hide the regions) when a concept is deselected.
- Improved readability of ArcGIS catalog items and legends by replacing underscores with spaces.
ArcGisMapServerCatalogItem
metadata is now cached by the proxy for only 24 hours.- Improved the feature info panel to update the display of time-varying region-mapped CSV files for the current time.
- Updated to Cesium 1.18. Significant changes relevant to TerriaJS users include:
- Improved terrain performance by up to 35%. Added support for fog near the horizon, which improves performance by rendering less terrain tiles and reduces terrain tile requests. #3154
- Reduced the amount of GPU and CPU memory used by terrain by using compression. The CPU memory was reduced by up to 40%, and approximately another 25% in Chrome.
- Fixed an issue where the sun texture is not generated correctly on some mobile devices. #3141
- Cesium now honors window.devicePixelRatio on browsers that support the CSS imageRendering attribute. This greatly improves performance on mobile devices and high DPI displays by rendering at the browser-recommended resolution. This also reduces bandwidth usage and increases battery life in these cases.
- Fixed sharing of time-varying czml files; the timeline was not showing on the shared link.
- Fixed sharing of user-added time-varying csv files.
- Fixed a bug in
CkanCatalogItem
that made it build URLs incorrectly when given a base URL ending in a slash.
- Moved
TableColumn
,TableStructure
, and the classes based onConcept
tolib/Map
. MovedLegendHelper
tolib/Models
. - Added column-specific styling to CSV files, using a new
tableStyle.columns
json parameter. This is an object whose keys are column names or indices, and whose values are objects of column-specific tableStyle parameters. See the CSV column-specific group inwwwroot/test/init/test-tablestyle.json
for an example. #1097 - Added the following column-specific
tableStyle
parameters:name
: renames the column.type
: sets the column type; can be one of LON, LAT, ALT, TIME, SCALAR, or ENUM.format
: sets the column number format, using the format of the Javascript Intl options parameter, eg.{"format": {"useGrouping": true, "maximumFractionDigits": 2}}
to add thousands separators to numbers and show only two decimal places. Only theuseGrouping
,maximumFractionDigits
andstyling: "percent"
options are guaranteed to work in all browsers.
- Added column-specific formatting to the feature info panel for all file types, eg.
"featureInfoTemplate" : {"template": "{{SPEED}} m/s", "formats": {"SPEED": {"maximumFractionDigits": 2}}}
. The formatting options are the same as above. - Changed the default number format in the Feature Info Panel to not separate thousands with commas.
- Fixed a bug that caused the content on the feature info panel to be rendered as pure HTML instead of as mixed HTML / Markdown.
- Changed the default for
tableStyle.replaceWithZeroValues
to[]
, ie. nothing. - Changed the default for
tableStyle.replaceWithNullValues
to["-", "na", "NA"]
. - Changed the default for
tableStyle.nullLabel
to '(No value)'. - Application name and support email can now be set in config.json's "parameters" section as "appName" and "supportEmail".
- Fixed showWarnings in config json not being respected by CSV catalog items.
- Fixed hidden region mapped layers being displayed when variable selection changes.
- Fixed exporting raw data as CSV not escaping commas in the data itself.
- Fixed a bug that caused the last selected ABS concept not to appear in the feature info panel.
- The following previously-deprecated functionality was removed in this version:
ArcGisMapServerCatalogGroup
CatalogItemControl
CatalogItemDownloadControl
- Calling
BrandBarViewModel.create
with more than one parameter. CatalogMemberControl.leftSideItemControls
CatalogMemberControl.rightSideItemControls
DataCatalogTabViewModel.getRightSideItemControls
DataCatalogTabViewModel.getLeftSideItemControls
registerCatalogItemControls
AusGlobeViewer
- Streamlined CSV handling framework. Breaking changes include the APIs of (not including those which begin with
_
):CsvCatalogItem
:rowProperties
,rowPropertiesByCode
,dynamicUpdate
have been removed.AbsIttCatalogItem
: Completely rewritten. ThedataSetID
json parameter has been deprecated in favor ofdatasetId
(different capitalization).- For the 2011 Australian Census data, requires
sa4_code_2011
to appear as an alias inregionMapping.json
(it was previously missing in NationalMap). TableDataSource
: Completely rewritten and moved fromMap
toModels
directory. Handles csvs with latitude & longitude columns.RegionMapping
: Used instead of TableDataSource for region-mapped csvs.DataTable
andDataVariable
have been replaced with new classes,TableStructure
andTableColumn
.RegionProvider
:loadRegionsFromWfs
,processRegionIds
,applyReplacements
,findRegionIndex
have been made internal functions.RegionProviderList
:chooseRegionProvider
has been changed and renamedgetRegionDetails
.ColorMap
:fromArray
andfromString
have been removed, with the constructor taking on that functionality.LegendUrl
has been moved to theMap
directory.TableStyle
:loadColorMap
andchooseColorMap
have been removed. Moved fromMap
toModels
directory.FeatureInfoPanelSectionViewModel
: its constructor now takes aFeatureInfoPanelViewModel
as its first argument, instead ofTerria
.Models/ModelError
has been replaced withCore/TerriaError
.
- Removed blank feature info sections for uncoloured regions of region-mapped CSVs.
- Recognises the CSV datetime formats: YYYY, YYYY-MM and YYYY-MM-DD HH:MM(:SS).
- Introduced five new json tableStyle parameters:
replaceWithZeroValues
: Defaults to[null, "-"]
. These values are coloured as if they were zero if they appear in a list with numbers.null
catches missing values.replaceWithNullValues
: Defaults to["na", "NA"]
. These values are coloured as if they were null if they appear in a list with numbers.nullColor
: A css string. Defaults to black. This colour is used to display null values. It is also used to colour points when no variable is selected.nullLabel
: A string used to label null or blank values in the legend. Defaults to ''.timeColumn
: Provide the name or index (starting at 0) of a csv column, if any. Defaults to the first time column found, if any. Usenull
to explicitly disregard all time columns.
- Removed variables consisting only of html tags from the Now Viewing panel.
- Added support for the csv datetime formats: YYYY, YYYY-MM and YYYY-MM-DD HH:MM(:SS).
- Improved formatting of datetimes from csv files in the feature info panel.
- Removed variables consisting only of html tags from the Now Viewing panel.
- Improved handling of rows with missing dates in csv time columns.
- Introduced four new json tableStyle parameters:
replaceWithZeroValues
: Defaults to[null, '-']
. These values are coloured as if they were zero if they appear in a csv column with numbers.null
catches missing values. These rows are ignored if they appear in a csv time column.replaceWithNullValues
: Defaults to['na', 'NA']
. These values are coloured as if they were null if they appear in a csv column with numbers. These rows are ignored if they appear in a csv time column.nullColor
: A css string. Defaults to a dark blue. This colour is used to display null values (but it does not appear on the legend). It is also used to colour points when no variable is selected.timeColumn
: Provide the name or index (starting at 0) of a csv column, if any. Defaults to the first time column found, if any. Usenull
to explicitly disregard all time columns.
- Added id matching for catalog members:
- Improved formatting of datetimes from csv files in the feature info panel.
- Removed variables consisting only of HTML tags from the Now Viewing panel.
- Added ID matching for catalog members:
- An
id
field can now be set in JSON for catalog members - When sharing an enabled catalog item via a share link, the share link will reference the catalog item's ID rather than its name as is done currently.
- The ID of an item should be accessed via
uniqueId
- if a catalog member doesn't have an ID set, this returns a default value of the item's name plus the ID of its parent. This means that if all the ancestors of a catalog member have no ID set, its ID will be its full path in the catalog. - This means that if an item is renamed or moved, share links that reference it will still work.
- A
shareKeys
property can be also be set that contains an array of all ids that should lead to this item. This means that a share link for an item that didn't previously have an ID set can still be used if it's moved, as long as it has its old default ID set inshareKeys
- Old share links will still work as long as the items they lead to aren't renamed or moved.
- Refactor of JSON serialization - now rather than passing a number of flags that determine what should and shouldn't be
serialized, an
itemFilter
andpropertyFilter
are passed in options. These are usually composed of multiple filters, combined usingcombineFilters
. - An index of all items currently in the catalog against all of that item's shareKeys is now maintained in
Catalog
and can be used for O(1) lookups of any item regardless of its location. - CatalogMembers now contain a reference to their parent CatalogGroup - this means that the catalog tree can now be traversed in both directions.
- When serializing user-added items in the catalog, the children of
CatalogGroup
s with theurl
property set are not serialized. Settings likeopacity
for their descendants that need to be preserved are serialized separately.
- An
- Generated legends now use SVG (vector) format, which look better on high resolution devices.
- Created new Legend class, making it easy to generate client-side legends for different kinds of data.
- Generate client-side legends for ArcGIS MapServer catalog items, by fetching JSON file, instead of just providing link to external page.
- Fix Leaflet feature selection when zoomed out enough that the world is repeated.
- Improved handling of lat/lon CSV files with missing latitude or longitude values.
- Fixed a bug that prevented
SocrataCataloGroup
from working in Internet Explorer 9. - Added
CkanCatalogItem
, which can be used to reference a particular resource of any compatible type on a CKAN server. - Fixed a bug that caused the Now Viewing tab to display incorrectly in Internet Explorer 11 when switching directly to it from the Data Catalogue tab.
- Fixed a bug in
AbsIttCatalogItem
that caused no legend to be displayed.
- Improved compatibility with Internet Explorer 9.
- Made
CswCatalogGroup
able to find geospatial datasets on more CSW servers. - Allow WMS parameters to be specified in json in uppercase (eg. STYLES).
- Added
MapBoxMapCatalogItem
, which is especially useful for base maps. A valid access token must be provided. - Added a
getContainer()
method to Terria'scurrentViewer
. - Dramatically improved the performance of region mapping.
- Introduced new quantisation (color binning) methods to dramatically improve the display of choropleths (numerical quantities displayed as colors) for CSV files, instead of always using linear. Four values for
colorBinMethod
are supported:- "auto" (default), usually means "ckmeans"
- "ckmeans": use "CK means" method, an improved version of Jenks Even Breaks to form clusters of values that are as distinct as possible.
- "quantile": use quantiles, evenly distributing values between bins
- "none": use the previous linear color mapping method.
- The default style for CSV files is now 7 color bins with CK means method.
- Added support for color palettes from Color Brewer (colorbrewer2.org). Within
tableStyle
, use a value like"colorPalette": "10-class BrBG"
. - Improved the display of legends for CSV files, accordingly.
- URLs for legends are now encapsulated in a
LegendUrl
model, which accepts a mime type that will affect how the legend is rendered in the sidebar. - Added support for the Socrata "new backend" with GeoJSON download to
SocrataCatalogGroup
. - Moved URL config parameters to config.json, with sensible defaults. Specifically:
- regionMappingDefinitionsUrl: 'data/regionMapping.json',
- conversionServiceBaseUrl: '/convert/',
- proj4ServiceBaseUrl: '/proj4/',
- corsProxyBaseUrl: '/proxy/'
- Deprecated terria.regionMappingDefinitionsUrl (set it in config.json or leave it as default).
- Fixed a typo that prevented clearing the search query
- Added support for Nominatim search API hosted by OpenStreetMap (http://wiki.openstreetmap.org/wiki/Nominatim) with
NominatimSearchProviderViewModel
. This works by merging to 2 queries : one with the bounding parameter for the nearest results, and the other without the bounding parameter. ThecountryCodes
property can be set to limit the result to a set of specific countries. - Added
MapProgressBarViewModel
. When added to the user interface withMapProgressBarViewModel.create
, it shows a bar at the top of the map window indicating tile load progress. - We no longer show the entity's ID (which is usually a meaningless GUID) on the feature info panel when the feature does not have a name. Instead, we leave the area blank.
- Fixed a bug with time-dynamic imagery layers that caused features to be picked from the next time to be displayed, in addition to the current one.
- Replace
.
and#
with_
in property names meant to be used withfeatureInfoTemplate
, so that these properties can be accessed by the mustache templating engine. - Added support for time-varying properties (e.g. from a CZML file) on the feature info panel.
Cesium.zoomTo
now takes the terrain height into account when zooming to a rectangle.
- Put a white background behind legend images to fix legend images with transparent background being nearly invisible.
- Search entries are no longer duplicated for catalog items that appear in multiple places in the Data Catalogue
- Fixed the layer order changing in Cesium when a CSV variable is chosen.
- Layer name is now shown in the catalog item info panel for ESRI ArcGIS MapServer layers.
- Retrieve WFS or WCS URL associated with WMS data sources using DescribeLayer if no dataUrl is present.
- Downgrade Leaflet to 0.7.3 to fix specific feature clicking problems with 2D maps.
- Use
PolylineGraphics
instead ofPolygonGraphics
for unfilled polygons with an outline width greater than 1. This works around the fact that Cesium does not support polygons with outline width great than 1 on Windows due to a WebGL limitation. - Sorted ABS age variables numerically, not alphabetically.
- Removed extra space at the bottom of base map buttons.
- Share links now remember the currently active tab in the
ExplorerPanelViewModel
. - Fixed a bug that prevented region mapping from working over HTTPS.
- The proxy is now used to avoid a mixed content warning when accessing an HTTP dataset from an HTTPS deployment of TerriaJS.
- Added
CameraView.fromLookAt
andCameraView.fromPositionHeadingPitchRoll
functions. These functions can be used to position the camera in new ways.
- Fixed a bug that caused poor performance when clicking a point on the map with lots of features and then closing the feature information panel.
- Apply linkify, instead of markdown, to properties shown in the Feature Info Panel.
- Fixed a bug that prevented feature scaling by value.
- Fixed a bug that prevented the csv
displayDuration
from working. - Fixed a bug that ignored which column of the csv file to show as the legend initially.
NowViewingTabViewModel
is now composed of a number of sections. Each section is given the opportunity to determine whether it applies to each catalog item. Custom sections may be added by adding them to NowViewingTabViewModel.sections`.CsvCatalogItem
andAbsIttCatalogItem
now expose aconcepts
property that can be used to adjust the display.- Added
Terria.cesiumBaseUrl
property. - The user interface container DOM element may now be provided to
TerriaViewer
by specifyinguiContainer
in its options. Previously it always used an element namedui
. - Legend URLs are now accessed via the proxy, if applicable.
- Fixed a bug that prevented feature scaling by value.
- Added support for Urthecast with
UrthecastCatalogGroup
. - Fixed a bug that caused a
TypeError
on load when the share URL included enabled datasets with an order different from their order in the catalog. - Improved the message that is shown to the user when their browser supports WebGL but it has a "major performance caveat".
- Fixed a bug that could cause an exception in some browsers (Internet Explorer, Safari) when loading a GeoJSON with embedded styles.
- Fixed a bug with Leaflet 2D map where clicks on animation controls or timeline would also register on the map underneath causing undesired feature selection and, when double clicked, zooming (also removed an old hack that disabled dragging while using the timeline slider)
- Changed Australian Topography base map server and updated the associated thumbnail.
- Added
updateApplicationOnMessageFromParentWindow
function. After an app calls this function at startup, TerriaJS can be controlled by its parent window when embedded in aniframe
by messages sent withwindow.postMessage
.
- Added the ability to disable feature picking for
ArcGisMapServerCatalogItem
. - Disabled feature picking for the Australian Topography and Australian Hydrography base layers created by
createAustraliaBaseMapOptions
.
- Make it possible to disable CSV region mapping warnings with the
showWarnings
init parameter. - The
name
of a feature from a CSV file is now taken from aname
ortitle
column, if it exists. Previously the name was always "Site Data". - Fixed a bug that caused time-dynamic WMS layers with just one time to not be displayed.
- Underscores are now replaced with spaces in the feature info panel for
GeoJsonCatalogItem
. - Added Proj4 projections to the location bar. Clicking on the bar switches between lats/longs and projected coordinates. To enable this, set
useProjection
totrue
- Show information for all WMS features when a location is clicked.
- Fixed a bug that caused an exception when running inside an
<iframe>
and the user's browser blocked 3rd-party cookies. - HTML and Markdown text in catalog item metadata, feature information, etc. is now formatted in a more typical way. For example, text inside
<h1>
now looks like a heading. Previously, most HTML styling was stripped out. - Supports FeatureInfoTemplates on all catalog item types (previously only available on ImageryLayers).
- Apply markdown to properties shown in the Feature Info Panel.
- Add
includeCzml
option to CkanCatalogGroup. - Fixed a bug that caused
WebMapServiceCatalogItem
to incorrectly populate the catalog item's metadata with data from GetCapabilities when another layer had aTitle
with the same value as the expected layer'sName
. - Update the default Australian topography basemap to Geoscience Australia's new worldwide layer (http://www.ga.gov.au/gisimg/rest/services/topography/National_Map_Colour_Basemap/MapServer)
- Allow color maps in CSV catalog items to be expressed as strings: colorMapString: "red-white-blue".
- Updated to Cesium 1.15. Significant changes relevant to TerriaJS users include:
- Added support for the glTF 1.0 draft specification.
- Added support for the glTF extensions KHR_binary_glTF and KHR_materials_common.
ImageryLayerFeatureInfo
now has animageryLayer
property, indicating the layer that contains the feature.- Make KML invalid coordinate processing match Google Earth behavior. #3124
- Fixed an incorrect require (
URIjs
instead ofurijs
).
- Major refactor of
CsvCatalogItem
, splitting region-mapping functionality out intoRegionProvider
andRegionProviderList
. Dozens of new test cases. In the process, fixed a number of bugs and added new features including:- Regions can be matched using regular expressions, enabling matching of messy fields like local government names ("Baw Baw", "Baw Baw Shire", "Baw Baw (S)", "Shire of Baw Baw" etc).
- Regions can be matched using a second field for disambiguation (eg, "Campbelltown" + "SA")
- Drag-and-dropped datasets with a time column behave much better: rather than a fixed time being allocated to each row, each row occupies all the time up until the next row is shown.
- Enumerated fields are colour coded in lat-long files, consist with region-mapped files.
- Feedback is now provided after region mapping, showing which regions failed to match, and which matched more than once.
- Bug: Fields with names starting with 'lon', 'lat' etc were too aggressively matched.
- Bug: Numeric codes beginning with zeros (eg, certain NT 08xx postcodes) were treated as numbers and failed to match.
- Bug: Fields with names that could be interpreted as regions weren't available as data variables.
- Avoid mixed content warnings when using the CartoDB basemaps.
- Allow Composite catalog items
- Handle WMS time interval specifications (time/time and time/time/periodicity)
- Moved
url
property to base CatalogItem base class. Previously it was defined separately on most derived catalog items. - Most catalog items now automatically expose a
dataUrl
that is the same as theirurl
. - Added custom definable controls to
CatalogMember
s.- To define a control, subclass
CatalogMemberControl
and register the control inViewModels/registerCatalogMemberControl
with a unique control name, control class and required property name. - If a
CatalogMember
has a property with the required property name either directly on the member or in itscustomProperties
object, the control will appear in the catalog with the member and will fire theactivate
function when clicked. - Controls can be registered to appear on both the left and right side using
registerLeftSideControl
andregisterRightSideControl
respectively. - An example can be seen in the
CatalogMemberDownloadControl
- Currently top level members do not show controls.
- To define a control, subclass
- The
LocationBarViewModel
now shows the latitude and longitude coordinates of the mouse cursor in 2D as well as 3D. - The
LocationBarViewModel
no longer displays a misleading elevation of 0m when in "3D Smooth" mode. - Added
@menu-bar-right-offset
LESS parameter to control the right position of the menu bar. - Added
forceProxy
flag to all catalog members to indicate that an individual item should use the proxy regardless of whether the domain is in the list of domains to proxy. - Allow a single layer of an ArcGIS MapServer to be added through the "Add Data" interface.
- Added
WfsFeaturesCatalogGroup
. This group is populated with a catalog item for each feature queried from a WFS server. - The Feature Info panel now shows all selected features in an accordion control. Previously it only showed the first one.
- Added
featureInfoTemplate
property toCatalogItem
. It is used to provide a custom Markdown or HTML template to display when a feature in the catalog item is clicked. The template is parameterized on the properties of the feature. - Updated to Cesium 1.14. Significant changes relevant to TerriaJS users include:
- Fixed issues causing the terrain and sky to disappear when the camera is near the surface. #2415 and #2271
- Fixed issues causing the terrain and sky to disappear when the camera is near the surface. #2415 and #2271
- Provided a workaround for Safari 9 where WebGL constants can't be accessed through
WebGLRenderingContext
. Now constants are hard-coded inWebGLConstants
. #2989 - Added a workaround for Chrome 45, where the first character in a label with a small font size would not appear. #3011
- Fixed an issue with drill picking at low frame rates that would cause a crash. #3010
- Fixed a bug that could cause timeseries animation to "jump" when resuming play after it was paused.
- Make it possible for catalog item initialMessage to require confirmation, and to be shown every time.
- When catalog items are enabled, the checkbox now animates to indicate that loading is in progress.
- Add
mode=preview
option in the hash portion of the URL. When present, it is assumed that TerriaJS is being used as a previewer and the "small screen warning" will not be shown. - Added
maximumLeafletZoomLevel
constructor option toTerriaViewer
, which can be used to force Leaflet to allow zooming closer than its default of level 18. - Added the
attribution
property to catalog items. The attribution is displayed on the map when the catalog item is enabled. - Remove an unnecessary instance of the Cesium InfoBox class when viewing in 2D
- Fixed a bug that prevented
AbsIttCatalogGroup
from successfully loading its list of catalog items. - Allow missing URLs on embedded data (eg. embedded czml data)
- Fixed a bug loading URLs for ArcGIS services names that start with a number.
- Updated to Cesium 1.13. Significant changes relevant to TerriaJS users include:
- Fixed a bug that prevent the opened/closed state of groups from being preserved when sharing.
- Added a
cacheDuration
property to all catalog items. The new property is used to specify, using Varnish-like notation (e.g. '1d', '10000s') the default length of time to cache URLs related to the catalog item. - Fix bug when generating share URLs containing CSV items.
- Improve wording about downloading data from non-GeoJSON-supporting WFS servers.
- Improvements to
AbsIttCatalogItem
caching from the Tools menu.
ArcGisMapServerCatalogItem
now shows "NoData" tiles by default even after showing the popup message saying that max zoom is exceeded. This can be disabled by setting itsshowTilesAfterMessage
property to false.
- Fixed a race condition in
AbsIttCatalogItem
that could cause the legend and map to show different state than the Now Viewing UI suggested. - Fixed a bug where an ABS concept with a comma in its name (e.g. "South Eastern Europe,nfd(c)" in Country of Birth) would cause values for concept that follow to be misappropriated to the wrong concepts.
AbsIttCatalogItem
now allows the region type to be set on demand rather than only at load time.CsvCatalogItem
can now have no display variable selected, in which case all points are the same color.
- Added
CswCatalogGroup
for populating a catalog by querying an OGC CSW service. - Added
CatalogMember.infoSectionOrder
property, to allow the order of info sections to be configured per catalog item when necessary. - Fixed a bug that prevented WMTS layers with a single
TileMatrixSetLink
from working correctly. - Added support for WMTS layers that can only provide tiles in JPEG format.
- Fixed testing and caching of ArcGis layers from tools and added More information option for imagery layers.
- TerriaJS no longer requires Google Analytics. If a global
ga
function exists, it is used just as before. Otherwise, events are, by default, logged to the console. - The default event analytics behavior can be specified by passing an instance of
ConsoleAnalytics
orGoogleAnalytics
to theTerria
constructor. The API key to use withGoogleAnalytics
can be specified explicitly to its constructor, or it can be specified in theparameter.googleAnalyticsKey
property inconfig.json
. - Made polygons drastically faster in 2D.
- TerriaJS now shortens share URLs by default when a URL shortener is available.
- Added Google Analytics reporting of the application URL. This is useful for tracking use of share URLs.
- Added the ability to specify a specific dynamic layer of an ArcGIS Server using just a URL.
- Calculate extent of TopoJSON files so that the viewer correctly pans+zooms when a TopoJSON file is loaded.
- Fixed a bug that caused the
Terria#clock
to keep ticking (and therefore using CPU / battery) once started even after selecting a non-time-dynamic dataset. - Fixed a bug that caused the popup message to appear twice when a dataset failed to load.
- Added layer information to the Info popup for WMS datasets.
- Added ability to filter catalog search results by:
- type:
is:wms
,-is:esri-mapserver
. A result must match any 'is:' and no '-is:'. - url:
url:vic.gov.au
,-url:nicta.com.au
. A result must match any 'url:', and no '-url:'.
- type:
- Added ability to control the number of catalog search results:
show:20
,show:all
- Polygons from GeoJSON datasets are now filled.
- Left-aligned feature info table column and added some space between columns.
- Added
EarthGravityModel1996
. - Extended
LocationBarViewModel
to show heights relative to a geoid / mean sea level model. By default, EGM96 is used. - Added support for styling GeoJSON files, either in catalog (add .style{} object) or embedded directly in the file following the SimpleStyle spec.
- Fixed a bug that caused the 3D view to use significant CPU time even when idle.
- Added CartoDB's Positron and Dark Matter base maps to
createGlobalBaseMapOptions
. - Added support for subdomains to
OpenStreetMapCatalogItem
.
- Fixed a bug that prevented catalog items inside groups on the Search tab from being enabled.
- Added
PopupMessageConfirmationViewModel
. It prevents the Popup from being closed unless the confirm button is pressed. Can also optionally have a deny button with a custom action. - Added support for discovering GeoJSON datasets from CKAN.
- Added support for zipped GeoJSON files.
- Made
KmlCatalogItem
use the proxy when required. - Made
FeatureInfoPanelViewModel
use the white panel background in more cases. - Significantly improved the experience on devices with small screens, such as phones.
- Fixed a bug that caused only the portion of a CKAN group name before the first comma to be used.
- Added the
legendUrls
property to allow a catalog item to optionally have multiple legend images. - Added a popup message when zooming in to the "No Data" scales of an
ArcGisMapServerCatalogItem
. - Added
CatalogGroup.sortFunction
property to allow custom sorting of catalog items within a group. - Added
ImageryLayerCatalogItem.treat403AsError
property. - Added a title text when hovering over the label of an enabled catalog item. The title text informs the user that clicking will zoom to the item.
- Added
createBingBaseMapOptions
function. - Added an option to
KnockoutMarkdownBinding
to optionally skip HTML sanitization and therefore to allow unsafe HTML. - Upgraded to Cesium 1.11.
CatalogItem.zoomTo
can now zoom to much smaller bounding box rectangles.
- Fixed CKAN resource format matching for KML, CSV, and Esri REST.
- Added support for optionally generating shorter URLs when sharing by using the Google URL shortening service.
WebMapServiceCatalogItem
andArcGisMapServerCatalogItem
now augment directly-specified metadata with metadata queried from the server.- "Data Details" and "Service Details" on the catalog item info panel are now collapsed by default. This improves the performance of the panel and hides some overly technical details.
ArcGisMapServerCatalogItem.layers
can now specify layer names in addition to layer IDs. Layer names are matched in a case-insensitive manner and only if a direct ID match is not found.itemProperties
are now applied through the normal JSON loading mechanism, so properties that are represented differently in code and in JSON will now work as well.- Added support for
csv-geo-*
(e.g. csv-geo-au) toCkanCatalogGroup
. - The format name used in CKAN can now be specified to
CkanCatalogGroup
using thewmsResourceFormat
,kmlResourceFormat
,csvResourceFormat
, andesriMapServerResourceFormat
properties. These properties are all regular expressions. When the format of a CKAN resource returned frompackage_search
matches one of these regular expressions, it is treated as that type within TerriaJS. CkanCatalogGroup
now fills thedataUrl
property of created items by pointing to the dataset's page on CKAN.- The catalog item information panel now displays
info
sections in a consistent order. The order can be overridden by settingCatalogItemInfoViewModel.infoSectionOrder
. - An empty
description
orinfo
section is no longer shown on the catalog item information panel. This can be used to remove sections that would otherwise be populated from dataset metadata.
- Add support for loading init files via the proxy when necessary.
- Switched to using the updated URL for STK World Terrain,
//assets.agi.com/stk-terrain/v1/tilesets/world/tiles
.
- Fixed a bug that prevented links to non-image (e.g. ArcGIS Map Server) legends from appearing on the Now Viewing panel.
- Use terriajs-cesium 1.10.7, fixing a module load problem in really old browers like IE8.
- Fixed incorrect date formatting in the timeline and animation controls on Internet Explorer 9.
- Add support for CSV files with longitude and latitude columns but no numeric value column. Such datasets are visualized as points with a default color and do not have a legend.
- The Feature Information popup is now automatically closed when the user changes the
AbsIttCatalogItem
filter.
- Deprecated:
- Renamed
AusGlobeViewer
toTerriaViewer
.AusGlobeViewer
will continue to work until 2.0 but using it will print a deprecation warning to the browser console. BrandBarViewModel.create
now takes a singleoptions
parameter. The container element, which used to be specified as the first parameter, should now be specified as thecontainer
property of theoptions
parameter. The old function signature will continue to work until 2.0 but using it will print a deprecation warning to the browser console.
- Renamed
WebMapServiceCatalogItem
now determines its rectangle from the GetCapabilities metadata even when configured to use multiple WMS layers.- Added the ability to specify the terrain URL or the
TerrainProvider
to use in the 3D view when constructingTerriaViewer
. AbsIttCatalogItem
styles can now be set using thetableStyle
property, much likeCsvCatalogItem
.- Improved
AbsIttCatalogItem
's tolerance of errors from the server. NavigationViewModel
can now be constructed with a list ofcontrols
to include, instead of the standardZoomInNavigationControl
,ResetViewNavigationControl
, andZoomOutNavigationControl
.- Fixed a bug that caused the brand bar to slide away with the explorer panel on Internet Explorer 9.
- Fixed a bug that prevented features from being pickable from ABS datasets on the 2D map.
- Fixed a bug that caused the Explorer Panel tabs to be missing or misaligned in Firefox.
- Changed to use JPEG instead of PNG format for the Natural Earth II basemap. This makes the tile download substantially smaller.
- Added an
itemProperties
property toAbsIttCatalogGroup
. - Added a
nowViewingMessage
property toCatalogItem
. This message is shown by theNowViewingAttentionGrabberViewModel
when the item is enabled. Each unique message is shown only once.
- Added the ability to specify SVG icons on Explorer Panel tabs.
- Added an icon to the Search tab.
- Added support for accessing Australian Bureau of Statistics data via the ABS-ITT API, using
AbsIttCatalogGroup
andAbsIttCatalogItem
. - The Now Viewing panel now contains controls for selecting which column to show in CSV datasets.
- Added
NowViewingAttentionGrabberViewModel
. It calls attention the Now Viewing tab the first time a catalog item is enabled. - Added
isHidden
property to catalog items and groups. Hidden items and groups do not show up in the catalog or in search results.
- Added
featureInfoFields
property toCsvCatalogItem.tableStyle
. It allows setting which fields to show in the Feature Info popup, and the name to use for each. - Added
OpenStreetMapCatalogItem
for connecting to tile servers using the OpenStreetMap tiling scheme. - Added
CkanCatalogGroup.allowEntireWmsServers
property. When set and the group discovers a WMS resource without a layer parameter, it adds a catalog item for the entire server instead of ignoring the resource. - Added
WebMapTileServiceCatalogGroup
andWebMapTileServiceCatalogItem
for accessing WMTS servers. - Handle the case of an
ArcGisMapServerCatalogItem
with an advertised extent that is outside the valid range. - We now pass ArcGIS MapServer metadata, when it's available, through to Cesium's
ArcGisMapServerImageryProvider
so that it doesn't need to re-request the metadata. - Changed the style of the Menu Bar to have visually-separate menu items.
- Added support for SVG menu item icons to
MenuBarViewModel
. - Improved popup message box sizing.
- Upgraded to TerriajS Cesium 1.10.2.
- Added
ImageryLayerCatalogItem.isRequiredForRendering
. This is set to false by default and to true for base maps. Slow datasets withisRequiredForRendering=false
are less likely to prevent other datasets from appearing in the 3D view. - The "Dataset Testing" functionality (on the hidden Tools menu accessible by adding
#tools=1
to the URL) now gives up tile requests and considers them failed after two seconds. It also outputs some JSON that can be used as theblacklist
property to blacklist all of the datasets that timed out. - Added a feature to count the total number of datasets from the hidden Tools menu.
- Fixed a bug that caused the 2D / 3D buttons the Maps menu to get out of sync with the actual state of the map after switching automatically to 2D due to a performance problem.
- Deprecated:
ArcGisMapServerCatalogGroup
has been deprecated. Please useArcGisCatalogGroup
instead.
- Replaced Cesium animation controller with TerriaJS animation controller.
- Replaced Cesium Viewer widget with the CesiumWidget when running Cesium.
- Added the ability to turn a complete ArcGIS Server, or individual folders within it, into a catalog group using
ArcGisCatalogGroup
.
- Fix imagery attribution on the 2D map.
- Fixed share URL generation when the application is not running at the root directory of its web server.
- Fixed a bug that caused Internet Explorer 8 users to see a blank page instead of a message saying their browser is incompatible.
- Breaking changes:
- Added a required
@brand-bar-height
property.
- Added a required
ExplorerPanelViewModel
can now be created withisOpen
initially set to false.- TerriaJS now raises an error and hides the dataset when asked to show an
ImageryLayerCatalogItem
in Leaflet and that catalog item does not use the Web Mercator (EPSG:3857) projection. Previously, the dataset would silently fail to display. - Improved error handling in
CzmlCatalogItem
,GeoJsonCatalogItem
, andKmlCatalogItem
. - Made the
clipToRectangle
property available on allImageryProvider
-based catalog items, not justWebMapServiceCatalogItem
. - Added
CatalogMember.isPromoted
property. Promoted catalog groups and items are displayed above non-promoted groups and items. - Add support for ArcGIS MapServer "Raster Layers" in addition to "Feature Layers".
- Allow Esri ArcGIS MapServers to be added via the "Add Data" panel.
- Adds
baseMapName
andviewerMode
fields to init files and share links.baseMapName
is any base map name in the map settings panel andviewerMode
can be set to'2d'
or'3d'
. - Added
tableStyle.legendTicks
property toCsvCatalogItem
. When specified, the generated legend will have the specified number of equally-spaced lines with labels in its legend.
- Fixed a bug that prevented HTML feature information from showing up with a white background in Internet Explorer 9 and 10.
- Fixed a bug that prevented WMS GetCapabilities properties, such as CRS, from being properly inherited from the root layer.
- Tweaked credit / attribution styling.
- Added support for a developer attribution on the map.
- Fixed a bug that could cause results from previous async catalog searches to appear in the search results.
- Show Cesium
ImageryProvider
tile credits / attribution in Leaflet when usingCesiumTileLayer
.
WebMapServiceCatalogGroup
now populates the catalog using the hierarchy of layers returned by the WMS server in GetCapabilities. To keep the previous behavior, set theflatten
property to true.- Potentially breaking changes:
- The
getFeatureInfoAsGeoJson
andgetFeatureInfoAsXml
properties have been removed. UsegetFeatureInfoFormats
instead.
- The
- Added support for text/html responses from WMS GetFeatureInfo.
- Make the
FeatureInfoPanelViewModel
use a white background when displaying a complete HTML document. KnockoutMarkdownBinding
no longer tries to interpret complete HTML documents (i.e. those that contain an tag) as Markdown.- The feature info popup for points loaded from CSV files now shows numeric columns with a missing value as blank instead of as 1e-34.
ArcGisMapServerCatalogItem
now offers metadata, used to populate the Data Details and Service Details sections of the catalog item info panel.ArcGisMapServerCatalogGroup
now populates a "Service Description" and a "Data Description" info section for each catalog item from the MapServer's metadata.- The
metadataUrl
is now populated (and shown) from the regular MapServer URL. - Added 'keepOnTop' flag support for imageryLayers in init file to allow a layer to serve as a mask.
- Added 'keepOnTop' support to region mapping to allow arbitrary masks based on supported regions.
- Checkboxes in the Data Catalogue and Search tabs now have a larger clickable area.
CatalogItemNameSearchProviderViewModel
now asynchronously loads groups so items in unloaded groups can be found, too.- Do not automatically fly to the first location when pressing Enter in the Search input box.
- Changed
ArcGisMapServerCatalogItem
to interpret amaxScale
of 0 from an ArcGIS MapServer as "not specified". - Added an
itemProperties
property toArcGisMapServerCatalogGroup
, allowing properties of auto-discovered layers to be specified explicitly. - Added
validDropElements
,validDropClasses
,invalidDropElements
, andinvalidDropClasses
properties toDragDropViewModel
for finer control over where dropping is allowed. - Arbitrary parameters can now be specified in
config.json
by adding them to theparameters
property.
- Added support for region mapping based on region names instead of region numbers (example in
public/test/countries.csv
). - Added support for time-dynamic region mapping (example in
public/test/droughts.csv
). - Added the ability to specify CSV styling in the init file (example in
public/init/test.json
). - Improved the appearance of the legends generated with region mapping.
- Added the ability to region-map countries (example in
public/test/countries.csv
). - Elminated distracting "jumping" of the selection indicator when picking point features while zoomed in very close to the surface.
- Fixed a bug that caused features to be picked from all layers in an Esri MapServer, instead of just the visible ones.
- Added support for the WMS MinScaleDenominator property and the Esri MapServer maxScale property, preventing layers from disappearing when zoomed in to close to the surface.
- Polygons loaded from KML files are now placed on the terrain surface.
- The 3D viewer now shows Bing Maps imagery unmodified, matching the 2D viewer. Previously, it applied a gamma correction.
- All catalog items now have an
info
property that allows arbitrary sections to be shown for the item in the info popup. CkanCatalogGroup
now has agroupBy
property to control whether catalog items are grouped by CKAN group ("group"), CKAN organization ("organization"), or not grouped at all ("none").CkanCatalogGroup
now has auseResourceName
property to control whether the name of the catalog item is derived from the resource (true), or the dataset itself (false).- The catalog item info page now renders a much more complete set of Markdown and HTML elements.