TerriaJS / terriajs

A library for building rich, web-based geospatial data platforms.
https://terria.io
Apache License 2.0
1.17k stars 362 forks source link

Library of example catalog items (for documentation/getting started purposes) #4937

Open nf-s opened 3 years ago

nf-s commented 3 years ago

I think we need a nice library of example catalog items - the easiest way for someone new to Terria to create a map is by copying and then slightly modifying examples (I guess this goes for anything right?)

So I am putting all of my github gists here for reference until we get a Wiki or something going.

These examples should appear in docs.terria.io under each Catalog Item/Group/Reference:

We also need to include a short description of each Catalog Item/Group/Reference

The list of examples doesn't need to be fully complete (eg show examples of all traits)

Note

Suggest to create a public S3 bucket folder that contains all files, such as csv and czml files, to be used in the examples.

I've created this folder for the purpose.

nf-s commented 3 years ago

Thredds catalog group

https://gist.github.com/nf-s/6a002318d6ee2aac086c56e754b4e5ca

nf-s commented 3 years ago

Catalog functions - WPS and YDYR

https://gist.github.com/nf-s/36eabf17577e78a5cde482928d96ff52

nf-s commented 3 years ago

WMTS

https://gist.github.com/nf-s/075689074a843bcf99182241406d7858

nf-s commented 3 years ago

SDMX

https://gist.github.com/nf-s/24b9288c6cdb6ba41d12f3d269318a0d

nf-s commented 3 years ago

CKAN

https://gist.github.com/nf-s/715b0a35c94f3f48e2595eef28b48c3d

nf-s commented 3 years ago

WFS

https://gist.github.com/nf-s/b71d4aef0e027c8013136a3c6dc895dc

nf-s commented 3 years ago

WMS (shows styles and dimensions) + DiffWms

https://gist.github.com/nf-s/3d77d4acb9105283226444677e011dd9

WMS with WCS

https://gist.github.com/nf-s/8a55c04720ec60f5d210f794ad604599

nf-s commented 3 years ago

Polling CSV

https://gist.github.com/nf-s/7add30fc21d000e5e1710faf09e0dc4b

nf-s commented 3 years ago

GeoJSON with short report sections

https://gist.github.com/nf-s/be2c74551c426011914fedd6d3d8b20d

nf-s commented 2 years ago

We have some ability to add description and examples to trait classes

For example

https://github.com/TerriaJS/terriajs/blob/8514256dec6737b76c7e4518b51f8e6cefab5ffb/lib/Traits/TraitsClasses/WebMapServiceCatalogItemTraits.ts#L157-L167

nf-s commented 1 year ago

I want to make a simple version of Cesium sandcastle

POC requirements

nf-s commented 1 year ago

More example

Config URLs

http://ci.terria.io/main/#configUrl={url}

Initialization files

https://ci.terria.io/main/#clean&{url}

Mapbox vector tiles

Mapbox vector tile source from ArcGis Vector Tile Service

ESRI world base map MVT

Mapbox-streets v4 basemap exmaple

idProperty

AssImp

Example 3D models converted with AssImp to GLTF

CZML

CZML example with point and label

CZML Template

CZML Template example showing GeoJSON point with label

Example with cylinder and data-driven length and radius

WMS

Tile height/width = 512px

WMS Feature Info Format

WMS Feature Info format

Model Dimensions

Model dimensions to control CSV color scale

Url Template Imagery

Example of url-template-imagery catalog item

Catalog Group

sortMembersBy examples (no sort, sort by name, sort by WMS layer name)

Catalog Member

dataUrls

Region Mapping

Example of manual region mapping.

Feature Info

Example tempalte for ESRI MapServer

Styling

Basic bin color example

GeoJSON

Height Property

Api Table

Api table catalog item example

Carto v3

Related Maps config

nf-s commented 1 year ago

I have added most of my useful snippets to this ticket.

I don't think I should spend time creating the "sand-castle" like app at the moment.

nf-s commented 1 year ago

This should stay open until we have created the library of examples

nf-s commented 7 months ago

After completed, do a blog post

ljowen commented 7 months ago

Examples ready for review / merge