Closed chkhm closed 11 years ago
When logging a failure for data to appear on a map, it would be really helpful to include a screenshot of the "Network" tab in the browsers debugging tools and maybe any console errors, too.
The first step in troubleshooting is determining if the JavaScript code is encountering an error, or if JS is behaving correctly and the data is not being passed from the WMS or WFS server to the client correctly.
Here you go.
It seems like there is an error in two API calls: http://central.usgin.org/api/action/geoserver_proxy_layer_name http://central.usgin.org/api/action/get_wms_for_pkg
@asonnenschein it looks like those actions are failing. Can you figure out why?
400 error on geoserver_proxy_layer_name is probably UI constructing an invalid POST?
UI is making a request for an action that, apparently, does not exist.
Fixed in 'map_search_bugfixes' branch, needs to be merged into master.
Christoph marked this issue as critical for Nov 22 demo. Is that still true? If so, what is the plan for
Not sure, probably best to pull this into master asap so that people can test it out. Same with the refactor-validation branch @rclark ?
Merged into master, this is done. Closing.
@chkhm @rwschwanke New WMS code is pushed on node.usgin.org and central.usgin.org. Central in particular works well. I searched for "Arizona" and every WMS I tried worked.
Node suffers from old-data issues that mean most of the datasets that report having a WMS do not behave as anticipated. @asonnenschein is going to put up 5 or 6 new, good datasets on node.usgin.org and he'll let you know how to find/demo them. They should work on map search and on preview, as WMS and WFS.
@chkhm @rwschwanke @rclark I uploaded a bunch of data services for the demo:
WMS: http://node.usgin.org/dataset/arizonaheat-flow http://node.usgin.org/dataset/california-borehole-temperatures-valid http://node.usgin.org/dataset/new-mexico-physical-samples
WFS: http://node.usgin.org/dataset/california-geothermal-areas (polygon- zoom in) http://node.usgin.org/dataset/oregon-power-plant-facilities (point) http://node.usgin.org/dataset/texas-active-faults (line)
Hi Adrian, what do the comments (polygon zoom in, point, line) mean?
@chkhm Those are the GeoJSON geometry types. Just a demonstration that we can do previews with the three main GIS geometry types. To see the polygons, you'll need to zoom in because the polygons are pretty small.
Also- @chkhm The oregon power plant facilities WFS layer seems to be behaving unpredictably. Sometimes the proper symbology is showing up and other times one of those broken link images is showing up in place of the proper symbology.
Only thing it's a WFS :-)
Ah, I see! I can see it in the map preview in recline. Cool!
Yup, the WFS previews won't show up in the map search page. We only support WMS layers there.
WMS layers should now be working on the map search page. Closing this issue.
I have only very limited success overlaying WMS on the Map Search Page. As one example that does not work search for (central.usgin.org): Borehole Temperatures near Missouri
Click on the WMS of Missouri Borehole Temperatures...