USGS-R / hazardItems

Services for creating coastal change hazards items for the USGS Coastal Change Hazards Portal
https://marine.usgs.gov/coastalchangehazardsportal
Other
4 stars 9 forks source link

remove mapdata dependency #60

Open jordansread opened 9 years ago

jordansread commented 9 years ago

This package is a pain for windows and it probably makes sense to pull map tiles instead of vector data for the thumbnail generation.

jordansread commented 9 years ago

@mhines-usgs interested in punching this one out w/ me?

mhines-usgs commented 9 years ago

@jread-usgs yes!

jordansread commented 9 years ago

@mhines-usgs I was looking into this quickly, with the idea of using a baselayer instead of building an image w/ the mapdata vector data. Do you know how to get an image (png) back from the WMS with a given BBOx?

something like this?

http://basemap.nationalmap.gov/arcgis/services/USGSHydroNHD/MapServer/WMSServer?version=1.3.0&service=wms&layers=0&request=GetMap&srs(crs)=CRS:84&styles=default&bbox=-179.999996,-89.000000,179.999996,89.000000&width=150&height=150&format=image%2Fpng

jordansread commented 9 years ago

working, but would like different layers: http://webservices.nationalatlas.gov/wms?SERVICE=WMS&REQUEST=GetMap&VERSION=1.1.1&FORMAT=PNG&WIDTH=300&HEIGHT=425&SRS=EPSG:4326&BBOX=-125,31,-110,50&LAYERS=states

mhines-usgs commented 9 years ago

digging for ideas, putting notes here

http://sedac.ciesin.columbia.edu/data/set/gpw-v3-coastlines/maps/services

http://sedac.ciesin.org/geoserver/ows?service=wms&version=1.3.0&request=GetCapabilities cartographic:00-gpw-v3-national-admin-boundaries gpw-v3:gpw-v3-coastlines coastlines are nice but not when you zoom in.

prob this: cartographic:national-boundaries