|
60 | 60 | "cell_type": "markdown",
|
61 | 61 | "metadata": {},
|
62 | 62 | "source": [
|
63 |
| - "To give us some material to work with, lets download a single image from the [Spacenet 5 challenge](https://www.topcoder.com/challenges/30099956). We'll use a temporary directory to save off our single-item STAC." |
| 63 | + "To give us some material to work with, lets download a single image from the [SpaceNet 5 challenge](https://www.topcoder.com/challenges/30099956). We'll use a temporary directory to save off our single-item STAC." |
64 | 64 | ]
|
65 | 65 | },
|
66 | 66 | {
|
|
657 | 657 | "source": [
|
658 | 658 | "### Collections\n",
|
659 | 659 | "\n",
|
660 |
| - "Collections are a subtype of Catalog that have some additional properties to make them more searchable. They also can define common properties so that items in the collection don't have to duplicate common data for each item. Let's create a collection to hold common properties between two images from the Spacenet 5 challenge.\n", |
| 660 | + "Collections are a subtype of Catalog that have some additional properties to make them more searchable. They also can define common properties so that items in the collection don't have to duplicate common data for each item. Let's create a collection to hold common properties between two images from the SpaceNet 5 challenge.\n", |
661 | 661 | "\n",
|
662 | 662 | "First we'll get another image, and it's bbox and footprint:"
|
663 | 663 | ]
|
|
818 | 818 | "outputs": [],
|
819 | 819 | "source": [
|
820 | 820 | "collection = stac.Collection(id='wv3-images',\n",
|
821 |
| - " description='Spacenet 5 images over Moscow',\n", |
| 821 | + " description='SpaceNet 5 images over Moscow',\n", |
822 | 822 | " extent=collection_extent,\n",
|
823 | 823 | " properties=common_properties,\n",
|
824 | 824 | " license='CC-BY-SA-4.0')"
|
|
951 | 951 | "cell_type": "markdown",
|
952 | 952 | "metadata": {},
|
953 | 953 | "source": [
|
954 |
| - "## Creating a STAC of imagery from Spacenet 5 data" |
| 954 | + "## Creating a STAC of imagery from SpaceNet 5 data" |
955 | 955 | ]
|
956 | 956 | },
|
957 | 957 | {
|
|
1039 | 1039 | "cell_type": "markdown",
|
1040 | 1040 | "metadata": {},
|
1041 | 1041 | "source": [
|
1042 |
| - "Let's make a STAC of imagery over Moscow as part of the Spacenet 5 challenge. As a first step, we can list out the imagery and extract IDs from each of the chips." |
| 1042 | + "Let's make a STAC of imagery over Moscow as part of the SpaceNet 5 challenge. As a first step, we can list out the imagery and extract IDs from each of the chips." |
1043 | 1043 | ]
|
1044 | 1044 | },
|
1045 | 1045 | {
|
|
1154 | 1154 | "source": [
|
1155 | 1155 | "### Creating the Collection\n",
|
1156 | 1156 | "\n",
|
1157 |
| - "All of these images are over Moscow. In Spacenet 5, we have a couple cities that have imagery; a good way to separate these collections of imagery. We can store all of the common `eo` metadata in the collection." |
| 1157 | + "All of these images are over Moscow. In SpaceNet 5, we have a couple cities that have imagery; a good way to separate these collections of imagery. We can store all of the common `eo` metadata in the collection." |
1158 | 1158 | ]
|
1159 | 1159 | },
|
1160 | 1160 | {
|
|
1211 | 1211 | "outputs": [],
|
1212 | 1212 | "source": [
|
1213 | 1213 | "collection = stac.Collection(id='wv3-images',\n",
|
1214 |
| - " description='Spacenet 5 images over Moscow',\n", |
| 1214 | + " description='SpaceNet 5 images over Moscow',\n", |
1215 | 1215 | " extent=collection_extent,\n",
|
1216 | 1216 | " properties=common_properties,\n",
|
1217 | 1217 | " license='CC-BY-SA-4.0')"
|
|
1248 | 1248 | "metadata": {},
|
1249 | 1249 | "outputs": [],
|
1250 | 1250 | "source": [
|
1251 |
| - "catalog = stac.Catalog(id='spacenet5', description='Spacenet 5 Data (Test)')\n", |
| 1251 | + "catalog = stac.Catalog(id='spacenet5', description='SpaceNet 5 Data (Test)')\n", |
1252 | 1252 | "catalog.add_child(collection)"
|
1253 | 1253 | ]
|
1254 | 1254 | },
|
|
1265 | 1265 | "cell_type": "markdown",
|
1266 | 1266 | "metadata": {},
|
1267 | 1267 | "source": [
|
1268 |
| - "## Adding label items to the Spacenet 5 catalog\n", |
| 1268 | + "## Adding label items to the SpaceNet 5 catalog\n", |
1269 | 1269 | "\n",
|
1270 | 1270 | "We can use the [label extension](https://github.com/radiantearth/stac-spec/tree/v0.8.1/extensions/label) of the STAC spec to represent the training data in our STAC. For this, we need to grab the URIs of the GeoJSON of roads:"
|
1271 | 1271 | ]
|
|
1305 | 1305 | "metadata": {},
|
1306 | 1306 | "outputs": [],
|
1307 | 1307 | "source": [
|
1308 |
| - "label_catalog = stac.Catalog(id='spacenet-data-labels', description='Labels for Spacenet 5')\n", |
| 1308 | + "label_catalog = stac.Catalog(id='spacenet-data-labels', description='Labels for SpaceNet 5')\n", |
1309 | 1309 | "catalog.add_child(label_catalog)"
|
1310 | 1310 | ]
|
1311 | 1311 | },
|
|
0 commit comments