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

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

Open
echoix opened this issue Dec 15, 2024 · 0 comments
Open

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

echoix opened this issue Dec 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@echoix
Copy link
Member

echoix commented Dec 15, 2024

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

@echoix echoix added the bug Something isn't working label Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant