Skip to content

[Bug] Replace wms server in r.out.vtk example #4844

@echoix

Description

@echoix

Describe the bug

The example here uses a dead WMS server.

<div class="code"><pre>
#set the region
g.region n=4926990 s=4914840 w=591570 e=607800 res=30 -p
# using r.in.wms to create RGB data to get a satellite coverage
r.in.wms layers=global_mosaic mapserver=http://wms.jpl.nasa.gov/wms.cgi \
output=wms_global_mosaic
# export the data to VTK
r.out.vtk rgbmaps=wms_global_mosaic.red,wms_global_mosaic.green,wms_global_mosaic.blue \
elevation=elevation.10m output=/tmp/out.vtk
# visualize in Paraview or other VTK viewer:
paraview --data=/tmp/out.vtk
</pre></div>

Expected behavior

Docs replaced with a working example.

I think the closest I got to the current web servers are listed here https://nasa-gibs.github.io/gibs-api-docs/access-basics/#ogc-web-map-service-wms

Other

Other links:
https://www.earthdata.nasa.gov/engage/open-data-services-software/earthdata-developer-portal/gibs-api
https://neo.gsfc.nasa.gov/about/wms.php
https://web.archive.org/web/20090703225229/http://wms.jpl.nasa.gov/wms.cgi

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinggood first issueGood for newcomers

    Type

    No fields configured for Bug.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions