Skip to content

Commit c93a512

Browse files
committed
Merge branch 'main' of github.com:nasa-gibs/gibs-api-docs
2 parents 80c98a4 + 4fd79fe commit c93a512

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/map-library-usage.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -353,11 +353,10 @@ gdal_translate -of JPEG BarentsSea.tif BarentsSea.jpg
353353

354354
The projection string for the GIBS Antarctic projection is "+proj=stere +lat_0=-90 +lat_ts=-71 +lon_0=0 +k=1 +x_0=0 +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m +no_defs". Here are the links for the [Arctic](http://spatialreference.org/ref/epsg/3413/proj4/){:target="_blank"} and [Antarctic](http://spatialreference.org/ref/epsg/3031/proj4/){:target="_blank"} PROJ4 definitions. Some other workarounds are:
355355

356-
* Use a ".aux.xml" file with the ".tif" file. Download the sample [Arctic](img/GIBS_Arctic_3413.tif.aux.xml){:target="_blank"} or [Antarctic](img/GIBS_Antarctic_3031.tif.aux.xml){:target="_blank"} XML file and rename it to match the GeoTIFF file.
356+
* Use a ".aux.xml" file with the ".tif" file. Download the sample [Arctic](img/GIBS_Arctic_3413.tif.aux.xml){:target="_blank"} or [Antarctic](img/GIBS_Antarctic_3031.tif.aux.xml){:target="_blank"} XML file and rename it to match the GeoTIFF file (copy "GIBS_Arctic_3413.tif.aux.xml" to "BarentsSea.tif.aux.xml").
357357

358358
```
359359
gdal_translate -of GTiff -outsize 980 940 -projwin 1520000 240000 2500000 -700000 GIBS_Terra_MODIS_Arctic.xml BarentsSea.tif
360-
"copy" GIBS_Arctic_3413.tif.aux.xml "to" BarentsSea.tif.aux.xml
361360
gdal_translate -of JPEG BarentsSea.tif BarentsSea.jpg
362361
```
363362

@@ -410,8 +409,8 @@ Only a subset of layers are available from GIBS in the polar projections. This i
410409
<DataWindow>
411410
<UpperLeftX>-180.0</UpperLeftX>
412411
<UpperLeftY>90</UpperLeftY>
413-
<LowerRightX>396.0</LowerRightX>
414-
<LowerRightY>-198</LowerRightY>
412+
<LowerRightX>180.0</LowerRightX>
413+
<LowerRightY>0</LowerRightY>
415414
<TileLevel>5</TileLevel>
416415
<TileCountX>2</TileCountX>
417416
<TileCountY>1</TileCountY>

0 commit comments

Comments
 (0)