Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated doc for GDAL scripts to include WMTS driver examples and merged TiledWMS info #24

Merged
merged 2 commits into from
May 6, 2024

Conversation

jtroberts
Copy link
Member

Updated doc for GDAL scripts to include WMTS driver examples and merged TiledWMS info from https://github.com/lucianpls/GDAL-twms-with-NASA-GIBS

Copy link
Contributor

@minniewong minniewong left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a couple of typos to fix

* **Identifier** - MODIS_Aqua_CorrectedReflectance_TrueColor
* **Tiled Group Name** - MODIS Aqua CorrectedReflectance TrueColor tileset
* **Time** - Insert the date (e.g. 2013-08-21) or datetime (e.g. 2013-08-21T00:00:00Z) you are requesting.
* **Time** - Insert the date (e.g. 2013-08-21) or datetime (e.g. 2013-08-21T00:00:00Z) you are requesting. If not time is provided, you can add an option to your GDAL command to specify the value, e.g., `-oo Change=time:2020-02-05`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change to "If no time is provided"


```
gdal_translate -of GTiff -outsize 1200 1000 -projwin -105 42 -93 32 GIBS_Aqua_MODIS_true.xml GreatPlainsSmoke1.tif
```
The XML file can be opened in any GDAL based GIS software. However, in In ArcGIS Pro, TileWMS is not recognized without some extra configuration steps, but it can be dragged and dropped into a map and it will work. Alternatively, we can change the extension into something supported, like .tif for example.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove extra "In" - "in In ArcGIS Pro"...

```

##### #4 - Generate "TiledWMS" Configuration Files for Specified Datasets
gdal_translate has a `-sds` option where each subdataset of the input is copied, in sequence. This can be used to generate multiple handle files in a single command. We can use the open options to restrict which gets generated. For example, this generates all the handle files for patterns that contain the word infrared:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe put quotes around "infrared"

@jtroberts jtroberts merged commit 7178ed9 into main May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants