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

r.out.vtk: replace dead WMS server with NASA GIBS WMS in docs (#4844) #4854

Closed
wants to merge 8 commits into from
6 changes: 3 additions & 3 deletions raster/r.out.vtk/r.out.vtk.html
Original file line number Diff line number Diff line change
Expand Up @@ -97,11 +97,11 @@ <h3>Spearfish example with RGB data</h3>
g.region n=4926990 s=4914840 w=591570 e=607800 res=30 -p
Copy link
Contributor

Choose a reason for hiding this comment

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

The computational region should be changed to follow the region and coordinate system of the WMS used. The same applies to the title -- it is not Spearfish example with RGB data anymore.


# 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
r.in.wms layers=BlueMarbleNG url=https://gibs.earthdata.nasa.gov/wms/epsg4326/best/wms.cgi? \
pesekon2 marked this conversation as resolved.
Show resolved Hide resolved
output=wms_BlueMarbleNG

# export the data to VTK
r.out.vtk rgbmaps=wms_global_mosaic.red,wms_global_mosaic.green,wms_global_mosaic.blue \
r.out.vtk rgbmaps=wms_BlueMarbleNG.red,wms_BlueMarbleNG.green,wms_BlueMarbleNG.blue \
elevation=elevation.10m output=/tmp/out.vtk

# visualize in Paraview or other VTK viewer:
Expand Down
Loading