The goal of this workshop is to introduce participants to EOxElements and provide hands-on experience in using it to create web-based geospatial applications, specifically focusing on accessing and working with STAC (SpatioTemporal Asset Catalog). Additionally, the workshop will introduce eodash, an open-source library that simplifies orchestrating EOxElements and working with STAC catalogs.
- Participants should bring their own laptops.
- Basic understanding of HTML, CSS, and JavaScript.
- Familiarity with geospatial concepts (optional but beneficial).
-
Welcome and Overview (5 minutes)
- Introduction to the speaker.
- Overview of what will be covered in the workshop.
- Brief introduction to STAC and its relevance in geospatial data management.
-
Setup (10 minutes)
- Guide participants to install necessary tools and libraries:
- Ensure everyone has a modern web browser (e.g., Chrome, Firefox).
- Basic setup of a local web server (e.g., using
http-server
or similar tool). - Clone the workshop repository or download the necessary files.
- Guide participants to install necessary tools and libraries:
-
Introduction to EOxElements Components (5 minutes)
- Overview of the key components provided by EOxElements (e.g., layout, map, layer control, etc.).
- Explanation of the functionalities of each component and how they interact.
- Examples of use cases where these components can be effectively utilized.
📖 Have a look at the Introduction!
-
Introduction to Custom Elements (Web Components) and Their Benefits (5 minutes)
- Briefly explain the concept of custom elements (web components) and their role in modern web development.
- Discuss the benefits of using web components, such as encapsulation, reusability, and interoperability.
- Highlight how EOxElements leverages custom elements to provide a modular and maintainable codebase.
-
Exploring Documentation and Examples (5 minutes)
- Show participants where to find the official documentation and examples.
- Walk through a basic example to demonstrate how EOxElements works.
🖼️ See the EOxElements Documentation and Examples.
The following sections will guide the participants through the individual steps to achieve the end result.
-
Creating a Basic Layout (5 minutes)
- Guide participants through creating a simple HTML file.
- Include necessary EOxElements scripts and styles.
- Initialize a basic layout using EOxElements components (
eox-layout
andeox-layout-item
).
💻 Follow along in section 01.
-
Creating a Basic Map (10 minutes)
- Initialize a basic map using
eox-map
.
💻 Follow along in section 02.
- Initialize a basic map using
-
Adding Advanced Layers (10 minutes)
- Demonstrate how to add different types of layers (e.g., STAC, WMTS from Capabilities).
💻 Follow along in section 03.
-
Interactivity and Controls (15 minutes)
- Introduce
eox-layercontrol
and show how to customize its appearance and behavior. - Show how to configure layer properties (e.g., visibility, opacity).
💻 Follow along in section 04.
- Introduce
-
Filtering and Selecting Items based on STAC Data (15 minutes)
- Introduce
eox-itemfilter
and show how to customize its appearance and behavior, and let the map react to a selection. - Demonstrate how to access a STAC collection manually.
💻 Follow along in section 05.
- Introduce
-
Accessing and Displaying STAC Data (15 minutes)
- Show how to fetch and parse STAC metadata using
eox-stacinfo
. - Guide participants through the process of displaying STAC metadata in the provided slots.
💻 Follow along in section 06.
- Show how to fetch and parse STAC metadata using
- Overview of eodash and its functionalities.
- Demonstrate how eodash simplifies the process of accessing and displaying STAC data.
- Show examples of using eodash out-of-the-box features for geospatial applications.
-
Q&A Session (10 minutes)
- Open the floor for participants to ask questions about EOxElements, STAC catalogs, eodash, troubleshooting, and best practices.
- Provide solutions to common issues that may have arisen during the hands-on session.
-
Wrap-Up and Next Steps (5 minutes)
- Summarize the key takeaways from the workshop.
- Provide additional resources for learning more about EOxElements, STAC, eodash, and geospatial web development.
- Encourage participants to continue experimenting and building with EOxElements and eodash.
- This workshop repository with step-by-step instructions.
- Links to documentation, examples, and additional resources.
- Invitation to contribute (issues, discussions etc.) to both EOxElements repository and/or eodash repository.