Get most out of�STAC Browser
Matthias Mohr�Ind. Consultant�matthias@mohr.ws
Slides: mohr.ws/foss4g
Introduction
Repository: github.com/radiantearth/stac-browser �Demo: radiantearth.github.io/stac-browser
v2 / v3 main differences
Multi-Language
English
French
German�Italien�Romanian
Spanish��and your language?�
Authentication
OpenID Connect�API Tokens
authConfig: {
type: 'header',
key: 'Authorization',
formatter: 'Bearer',
tokenGenerator: 'oidc',
generatorOptions: {
issuer: 'https://account.example.co/oidc',
clientId: 'client-id-123',
scopes: ['openid'],
redirectUri: 'https://example.com/auth',
postLogoutRedirectUri: 'https://example.com/auth/logout'
}
}
Tree Browser�
Metadata��many extensions pre-configured�and
extensible for custom extensions
Registry.addExtension('foss4g', 'FOSS4G Prizren');�
Registry.addMetadataField('foss4g:is_cool', {
label: "Is FOSS4G cool?",
formatter: value => value ? "Sure!" : "Meh!"
});
Label Extension
GeoJSON + COG
Charts
Stats Extension�and�Histograms
Charts
Stats Extension�and�Histograms
COGs
Map-based�Item Preview
and Selection��available for�Catalogs / Collections�and�Item Search
Collection Search
incl. CQL & Queryables�
Free-text search
for Items�and Collections
Actions
import CopcViewer from './src/actions/assets/CopcViewer.js';
import CoGeoXyz from './src/actions/assets/CoGeoXyz.js';
import GeoJsonIo from './src/actions/assets/GeoJsonIo.js';
import Felt from './src/actions/assets/Felt.js';
export default {
CopcViewer,
CoGeoXyz,
GeoJsonIo,
Felt
};
export default class CopcViewer extends AssetActionPlugin {
get show() {
return this.asset.type === 'application/vnd.laszip+copc';
}
get uri() {
let uri = new URI("https://viewer.copc.io");
uri.addQuery('copc', this.component.href);
return uri;
}
get text() {
return i18n.t('actions.openIn', {service: 'copc.io'});
}
}
How to improve your API / catalog
STAC Browser “extensions” (1)
STAC Browser “extensions” (2)
Sponsors
Q&A
Thanks for your attention!��Contact me:�matthias@mohr.ws��Slides:�mohr.ws/foss4g