Upgrade to Pro — share decks privately, control downloads, hide ads and more …

STAC Specification and Implementation in Real W...

STAC Specification and Implementation in Real World

STAC Specification and Implementation in Real World

Presentation from Siriya Saenkhom-or & Sattawat Arab, i-bitz company limited. in FOSS4G ASIA 2023 at Seoul

Prasong Patheepphoemphong

November 30, 2023
Tweet

More Decks by Prasong Patheepphoemphong

Other Decks in Technology

Transcript

  1. STAC Specification and Implementation in Real World Siriya Saenkhom-or |

    Sattawat Arab Vallaris Maps, i-bitz company limited FOSS4G ASIA SOUL 28 Nov - 2 Dec 2023
  2. Contents History of Data Cataloging What is considered as a

    origin of data catalog How STAC Revolutionized Geospatial Data Cataloging Weaknesses of the old way of cataloging geospatial data Introduction to STAC What is STAC and its importance Related Specifications Specifications required for implementing STAC Our Implementation How we interpret from specifications to implementation Usage in Our Customer Projects How STAC is utilized in real-world projects Conclusion Presentation conclusion 01 02 03 04 05 06 07
  3. History of Data Cataloging The concept of data catalog can

    be traced back to the card catalogs which used to manage and identify books in the library. Card catalogs made it easier for patrons to find exactly the book that they were looking for, including where the book was located within the library’s stacks. Each book was categorized by title, author, subject, or each book’s metadata. 01
  4. Weaknesses of the old way of cataloging geospatial data 01

    02 03 04 Lack of standardization Different agencies and organizations used their own formats, which made it difficult to find and access data. Lack of interoperability Data catalogs were often incompatible with each other, which made it difficult to share data between different organizations. Lack of discovery Data catalogs were often difficult to find and use Lack of metadata Data catalogs often did not include enough metadata about the data, which made it difficult to assess the quality and usefulness of the data.
  5. STAC Stands for SpatioTemporal Asset Catalog A spatial temporal asset

    is any file that represents information about the earth captured in a certain space and time. https://earth.esa.int/documents/20142/1835287/ bgr2.jpg/de13fe5e-8545-042b- ba99-7d99dbb33720?t=1608113245660 https://www.basarsoft.com.tr/wp-content/ uploads/2022/09/sayisal-yukselik-modeli- dem-ic.jpg https://agfundernews.com/wp-content/ uploads/2018/01/orb0001-scaled.jpg https://carto.com/blog/raster-vs-vector- whats-the-difference-which-is-best
  6. Characteristics of STAC Standardization STAC is a standardized format, which

    makes it easy to share and consume data between different organizations and software tools. Extensibility STAC is extensible. Additional information can be added to STAC catalogs to meet the specific needs of different organizations and users. Simplicity STAC is simple and easy to use Cloud-native STAC catalogs are designed to be stored and managed in cloud storage platforms. Flexibility STAC supports a wide range of geospatial data formats, including vector, raster, and lidar data.
  7. represents a unit of data and metadata. It’s a GeoJSON

    Feature which includes geometry to describe the location of the asset and additional information. STAC Item represents a logical group of other Catalog, Collection, and Item objects. It’s like a folder in a file structure which facilitates catalog browsing. STAC Catalog includes the core fields of the Catalog object and also provides additional metadata to describe the set of Items it contains. STAC Collection STAC Specification
  8. There are two main types of STAC catalogs - static

    and dynamic Static and Dynamic Catalogs Static Catalogs Dynamic Catalogs A static catalog is an implementation of the STAC specification that does not respond dynamically to requests. It is simply a set of files on a web server that link to one another in a way that can be crawled, often stored in an cloud storage service. A dynamic catalog is implemented in software as an HTTP-based API. Its structure and responses are usually generated dynamically, instead of relying on a set of already defined files. It often also implement the STAC API specification, that responds to search queries.
  9. 01 03 02 04 STAC API Specification Core requires a

    server to return from a root endpoint a valid STAC Catalog "landing page" that also includes a conformsTo attribute. Collections and Features serves STAC Collection and Item objects through the OGC API - Features endpoints Extensions and Fragments STAC API allows 'extensions' that can be added for additional functionality in order to meet the requirements of its implementors. Item Search provides the ability to search for STAC Item objects. Several core query parameters are defined by OGC API - Features, with a few additions specified
  10. consists of endpoints for Create Read Update Delete each STAC

    component STAC Components consists of endpoints for Create Read Update Delete schema describing fields that can use for filtering Queryables consists of endpoint for searching STAC Item which can be searched according to conditions Item Search STAC API Endpoints
  11. GISTDA Disaster Platform Example catalog dimension for flood area data

    Flood Year Processing Quarter Month Day Item Flood day Item - Flood 1 day - Flood 3 days - Flood 7 days - Flood 30 days - flood_{YYYY}/{MM}/{DD}
  12. GISTDA Disaster Platform - metadata - check Catalog - check

    Collection - check Item Read data Connect Flow of creating flood area STAC All processes are written in Python script Create FeatureCollection Flood area Insert data into STAC
  13. GISTDA Satellite Data Catalog Example catalog dimension for THEOS 1

    satellite image THEOS1 Imaging mode Year Month Day Item - TH_CAT_{YYYY}{MM}{DD}…
  14. GISTDA Satellite Data Catalog - metadata - thumbnail Read file

    & metadata Connect All processes are written in Python script THEOS 1 Create CoverageCollection Insert data into STAC - check Catalog - check Collection - check Item Flow of creating THEOS 1 STAC
  15. Conclusion In conclusion, we have seen how the STAC specification

    has gained popularity quickly into a powerful tool for cataloging and managing geospatial data. It is standardized, simple, flexible, extensible, and cloud- native, making it a good choice for a wide range of organizations and use cases, as evidenced by the variety of organizations that utilize STAC for their geospatial data and our own real-world projects. So next time when you need to catalog your spatial temporal assets consider using STAC, it can definitely help to make your data more valuable. https://www.immuta.com/wp-content/uploads/2022/06/[email protected]
  16. If you have any questions, feel free to contact us

    any time on mobile phone or contact us by email. We will get back to you as soon as we can. i-bitz company limited 1371 Suite 10 Capital Mansion, Phahonyothin Rd, Phayathai, Bangkok, 10400 Thailand Office Hours Monday-Friday 09.00-17.00 Get In Touch (+66) 2278 7913 More Information www.i-bitz.co.th [email protected] Thank You for Joining This Session