<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">rio-stac will <b>just</b> 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) <div><br></div><div><blockquote type="cite"><div class="WordSection1" style="page: WordSection1;"><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;">Does it know to check if the record exists already?</div></div></blockquote>Depends on the tool and database you’re using</div><div><br></div><div><blockquote type="cite"><div class="WordSection1" style="page: WordSection1;"><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;">Can it create a catalog from scratch, or does that have to exist already?</div></div></blockquote><br></div><div>Check pystac </div><div><br></div><div>Feel free to ask more question about STAC over <a title="Link to room" href="https://matrix.to/#/#SpatioTemporal-Asset-Catalog_Lobby:gitter.im" style="text-decoration: none; color: rgb(35, 140, 245); flex-shrink: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-family: Inter, Twemoji, "Apple Color Emoji", "Segoe UI Emoji", Arial, Helvetica, sans-serif, STIXGeneral, "Noto Color Emoji"; font-size: 15px;">https://matrix.to/#/#SpatioTemporal-Asset-Catalog_Lobby:gitter.im</a></div><div><br></div><div>Vincent <br><div><br><blockquote type="cite"><div>On Feb 13, 2023, at 9:25 PM, Matt.Wilkie <Matt.Wilkie@yukon.ca> wrote:</div><br class="Apple-interchange-newline"><div><meta charset="UTF-8"><div class="WordSection1" style="page: WordSection1; caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: none;"><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><span>Thanks Vincent!<o:p></o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><span><o:p> </o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><span>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 already?<o:p></o:p></span></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><span><o:p> </o:p></span></div><div><p class="MsoNormal" style="margin: 4pt 0cm 0cm; font-size: 11pt; font-family: Calibri, sans-serif; line-height: 16.866667px; vertical-align: middle;"><b><span lang="EN-US" style="font-size: 9pt; line-height: 13.8px;">Matt<o:p></o:p></span></b></p></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><span><o:p> </o:p></span></div><div><div style="border-style: solid none none; border-top-width: 1pt; border-top-color: rgb(225, 225, 225); padding: 3pt 0cm 0cm;"><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><b><span lang="EN-US">From:</span></b><span lang="EN-US"><span class="Apple-converted-space"> </span>Vincent Sarago <<a href="mailto:vincent.sarago@gmail.com" style="color: blue; text-decoration: underline;">vincent.sarago@gmail.com</a>><span class="Apple-converted-space"> </span><br><b>Sent:</b><span class="Apple-converted-space"> </span>February 13, 2023 1:03 PM<br><b>To:</b><span class="Apple-converted-space"> </span>Matt.Wilkie <<a href="mailto:Matt.Wilkie@yukon.ca" style="color: blue; text-decoration: underline;">Matt.Wilkie@yukon.ca</a>><br><b>Cc:</b><span class="Apple-converted-space"> </span><a href="mailto:gdal-dev@lists.osgeo.org" style="color: blue; text-decoration: underline;">gdal-dev@lists.osgeo.org</a><br><b>Subject:</b><span class="Apple-converted-space"> </span>[EXT] Re: [gdal-dev] How to build STAC of local raster files?<o:p></o:p></span></div></div></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><o:p> </o:p></div><table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" align="left" width="100%" style="width: 678px;"><tbody><tr><td style="background-color: rgb(166, 166, 166); padding: 5.25pt 1.5pt;"></td><td width="100%" style="width: 644px; background-color: rgb(234, 234, 234); padding: 5.25pt 3.75pt 5.25pt 11.25pt;"><div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 9pt; font-family: wf_segoe-ui_normal; color: rgb(33, 33, 33);">You don't often get email from<span class="Apple-converted-space"> </span><a href="mailto:vincent.sarago@gmail.com" style="color: blue; text-decoration: underline;">vincent.sarago@gmail.com</a>.<span class="Apple-converted-space"> </span><a href="https://aka.ms/LearnAboutSenderIdentification" style="color: blue; text-decoration: underline;">Learn why this is important</a><o:p></o:p></span></div></div></td><td width="75" style="width: 56.25pt; background-color: rgb(234, 234, 234); padding: 5.25pt 3.75pt;"></td></tr></tbody></table><div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;">For creating STAC Items you can look at <a href="https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdevelopmentseed%2Frio-stac&data=05%7C01%7CMatt.Wilkie%40yukon.ca%7Cfbaf365c2fc04e7785e508db0dfd5ea5%7C98f515313973490abb70195aa264a2bc%7C0%7C0%7C638119154534363528%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&sdata=Fku5b4FdCPo0koQINGqFcsA4rFD4eXVWQMv3gUDiQbo%3D&reserved=0" style="color: blue; text-decoration: underline;">https://github.com/developmentseed/rio-stac</a> (disclaimer I’m the author), you can also have a look at <a href="https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fstac-utils%2Fpystac&data=05%7C01%7CMatt.Wilkie%40yukon.ca%7Cfbaf365c2fc04e7785e508db0dfd5ea5%7C98f515313973490abb70195aa264a2bc%7C0%7C0%7C638119154534519723%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&sdata=FPoHfpVP%2FY9m%2FwL5mu2ubj3xiOIftwQ0Qp%2F605%2FZQmY%3D&reserved=0" style="color: blue; text-decoration: underline;">https://github.com/stac-utils/pystac</a> for creating items and catalog<span class="Apple-converted-space"> </span><o:p></o:p></div><div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><o:p> </o:p></div></div><div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;">Here is a quick how to about how to create items and collection and ingesting them to pgstac <a href="https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdevelopmentseed%2FeoAPI%2Ftree%2Fmaster%2Fdemo%2Fnoaa&data=05%7C01%7CMatt.Wilkie%40yukon.ca%7Cfbaf365c2fc04e7785e508db0dfd5ea5%7C98f515313973490abb70195aa264a2bc%7C0%7C0%7C638119154534519723%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&sdata=9xvFOaO6fHnEHjixnhzrLHBS2akWp78QBaweV5I6veo%3D&reserved=0" style="color: blue; text-decoration: underline;">https://github.com/developmentseed/eoAPI/tree/master/demo/noaa</a><o:p></o:p></div></div><div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><o:p> </o:p></div></div><div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;">Vincent <o:p></o:p></div><div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><br><br><o:p></o:p></div><blockquote style="margin-top: 5pt; margin-bottom: 5pt;"><div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;">On Feb 13, 2023, at 8:57 PM, Matt.Wilkie <<a href="mailto:Matt.Wilkie@yukon.ca" style="color: blue; text-decoration: underline;">Matt.Wilkie@yukon.ca</a>> wrote:<o:p></o:p></div></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><o:p> </o:p></div><div><p><span style="font-size: 9pt; font-family: Helvetica, sans-serif;">Hi,<o:p></o:p></span></p><p><span class="mxeventtilebody"><span style="font-size: 9pt; font-family: Helvetica, sans-serif;">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.</span></span><span class="apple-converted-space"><span style="font-size: 9pt; font-family: Helvetica, sans-serif;"> </span></span><span style="font-size: 9pt; font-family: Helvetica, sans-serif;">It would later be consumed by something like<span class="apple-converted-space"> </span><a href="https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fradiantearth%2Fstac-browser&data=05%7C01%7CMatt.Wilkie%40yukon.ca%7Cfbaf365c2fc04e7785e508db0dfd5ea5%7C98f515313973490abb70195aa264a2bc%7C0%7C0%7C638119154534519723%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&sdata=DDLTGzK70wkuozHxsv6o2h2CkPWv1ejfrGtzBg2qL4s%3D&reserved=0" style="color: blue; text-decoration: underline;"><span style="color: rgb(5, 99, 193);">stac-browser</span></a><span class="apple-converted-space"> </span>(I think, I’m not clear on this part yet).<o:p></o:p></span></p><p><span style="font-size: 9pt; font-family: Helvetica, sans-serif;">Also asked at<span class="apple-converted-space"> </span><a href="https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgis.stackexchange.com%2Fquestions%2F451951%2Fhow-to-build-stac-of-local-raster-files&data=05%7C01%7CMatt.Wilkie%40yukon.ca%7Cfbaf365c2fc04e7785e508db0dfd5ea5%7C98f515313973490abb70195aa264a2bc%7C0%7C0%7C638119154534519723%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&sdata=hUnYEUHVXhmMzWXT126fGBru9GW0bsgcrQMvU6QyJQg%3D&reserved=0" style="color: blue; text-decoration: underline;"><span style="color: rgb(5, 99, 193);">https://gis.stackexchange.com/questions/451951/how-to-build-stac-of-local-raster-files</span></a><span class="apple-converted-space"> </span>in order to catch more eyeballs.<o:p></o:p></span></p><p><span style="font-size: 9pt; font-family: Helvetica, sans-serif;">Thanks!<o:p></o:p></span></p><p class="MsoNormal" style="margin: 4pt 0cm 0cm; font-size: 11pt; font-family: Calibri, sans-serif; line-height: 12.65pt; vertical-align: middle;"><b><span lang="EN-US" style="font-size: 10pt;">Matt Wilkie</span></b><o:p></o:p></p><div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 10pt;">Geomatics Developer & Administrator</span><o:p></o:p></div></div><div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 10pt;">Environment<span class="apple-converted-space"> </span><span style="color: rgb(46, 116, 181);">|</span><span class="apple-converted-space"> </span>Technology, Innovation and Mapping</span><o:p></o:p></div></div><div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><span lang="EN-US" style="font-size: 10pt;">T 867-667-8133<span class="apple-converted-space"> </span><span style="color: rgb(46, 116, 181);">|</span><span class="apple-converted-space"> </span></span><u><span style="font-size: 10pt;"><a href="https://can01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fyukon.ca%2F&data=05%7C01%7CMatt.Wilkie%40yukon.ca%7Cfbaf365c2fc04e7785e508db0dfd5ea5%7C98f515313973490abb70195aa264a2bc%7C0%7C0%7C638119154534519723%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&sdata=CPlnciUt2DDl4%2Bim9RPThOM52dWCulOe1oxSgBiMSEE%3D&reserved=0" style="color: blue; text-decoration: underline;"><span lang="EN-US" style="color: windowtext;">Yukon.ca</span></a></span></u><o:p></o:p></div></div><div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><i><span style="font-size: 10pt;">Hours: 08:30-16:30, Mon-Wed: Office, Thu: Remote, Fri: Away.</span></i><o:p></o:p></div></div><div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"> <o:p></o:p></div></div><div style="margin: 0cm; font-size: 11pt; font-family: Calibri, sans-serif;"><span style="font-size: 9pt; font-family: Helvetica, sans-serif;">_______________________________________________<br>gdal-dev mailing list<br></span><a href="mailto:gdal-dev@lists.osgeo.org" style="color: blue; text-decoration: underline;"><span style="font-size: 9pt; font-family: Helvetica, sans-serif; color: rgb(5, 99, 193);">gdal-dev@lists.osgeo.org</span></a><span style="font-size: 9pt; font-family: Helvetica, sans-serif;"><br></span><a href="https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.osgeo.org%2Fmailman%2Flistinfo%2Fgdal-dev&data=05%7C01%7CMatt.Wilkie%40yukon.ca%7Cfbaf365c2fc04e7785e508db0dfd5ea5%7C98f515313973490abb70195aa264a2bc%7C0%7C0%7C638119154534519723%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C2000%7C%7C%7C&sdata=bLBlgnCvxOBPBg%2FGoSAaC1U%2B8mN02W9VpZgvA8jZbx0%3D&reserved=0" style="color: blue; text-decoration: underline;"><span style="font-size: 9pt; font-family: Helvetica, sans-serif; color: rgb(5, 99, 193);">https://lists.osgeo.org/mailman/listinfo/gdal-dev</span></a></div></div></blockquote></div></div></div></div></div></blockquote></div><br></div></body></html>