3

I am trying to download WMS tiles into a grass mapset. I'd like to use NASA's GIBS servers which replaced the JPL OnEarth services. I'm not sure how much remains the same between the two services, but it seems that the JPL OnEarth server was supported. Here is an example command that I run in the Grass shell

r.in.wms url=https://gibs.earthdata.nasa.gov/wmts/epsg4326/best/wmts.cgi layer=BlueMarble_ShadedRelief output=testing format=png

This does connect to and download from the server and it is reported that the raster is imported. However, the entire image is populated with no data. Am I missing something really basic here?

2 Answers 2

2

WMS is not supported by NASA's GIBS server as far I can tell when going through their features.

Features Access imagery through standards-based web services and formats:
Web Map Tile Service (WMTS)
Tiled Web Map Service (TWMS)
Keyhole Markup Language (KML)
Geospatial Data Abstraction Library (GDAL)

1
  • In haste, I was assuming that WMS and WMTS would operate similarly. If you pass driver=WMTS_GRASS to r.in.wms, then you can access NASA's GIBS servers. Thanks for pointing that out.
    – CoastalBoy
    Commented Aug 29, 2017 at 20:02
1

https://gibs.earthdata.nasa.gov/wms/epsg4326/best/wms.cgi? This URL works as a WMS server. Beware - it has over 300 layers to sort through.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.