Re: [gdal-dev] How to build STAC of local raster files?

2023-02-13 Thread Travis Kirstine
The pystac tutorial helped me. https://pystac.readthedocs.io/en/latest/tutorials.html On Mon, 13 Feb 2023 at 15:03, Vincent Sarago wrote: > For creating STAC Items you can look at > https://github.com/developmentseed/rio-stac (disclaimer I’m the author), > you can also have a look at https://

Re: [gdal-dev] [EXT] How to build STAC of local raster files?

2023-02-13 Thread Vincent Sarago
rio-stac will just create a STAC Item (a json file locally), if you want to put it in a database (like pgstac) you’ll have to do it using other tools (like pypgstac) > Does it know to check if the record exists already? Depends on the tool and database you’re using > Can it create a catalog fr

Re: [gdal-dev] [EXT] Re: How to build STAC of local raster files?

2023-02-13 Thread Matt . Wilkie
Thanks Vincent! If I'm reading those right: rio stac is for adding individual entries in a catalog, but the process of locating the items to feed it is a homework exercise. Does it know to check if the record exists already? Can it create a catalog from scratch, or does that have to exist alrea

Re: [gdal-dev] How to build STAC of local raster files?

2023-02-13 Thread Vincent Sarago
For creating STAC Items you can look at https://github.com/developmentseed/rio-stac (disclaimer I’m the author), you can also have a look at https://github.com/stac-utils/pystac for creating items and catalog Here is a quick how to about how to create items and collection and ingesting them to

[gdal-dev] How to build STAC of local raster files?

2023-02-13 Thread Matt . Wilkie
Hi, I'm looking for tutorial/guide/info on how to build SpatioTemporal Asset Catalog for resources like geotiff on local file systems and Windows server shares. It would later be consumed by something like stac-browser (I think, I'm not clear on th