PQueryNotes
22 Nov 2009 01:42 UTC 2009326+0142 UTC

Development Page--Not for Official Use

So, this is a discussion area for pquery redesign issues? Hmm...ok, then here's a few ideas...

  • First, users could have a choice of a form (like the current one...but without the Rainbow Brite Color Scheme), or a Map (the map being more user friendly).

  • For the map option, you could have a single map of the Gulf of Mexico including both Texas and Florida (of course with a pretty header and footer....something along the lines of what Martha has been working on). And once we conquer the rest of the world, it can be a world map. :) Click here to see sample entry page.

  • When a user clicks on the map, it takes them to a zoomed in section of the map (similar to the dnr site). Once at the smaller map, stations are indicated by flags (as usual) and when a user clicks on a station, a white area to the right of the map could be filled in with what attributes are available for that station (as a scroll down menu?), and users would be prompted to choose something from there.

  • In order to allow users to choose multiple stations, there could be two buttons...one to the right of the map that says "Submit Station" and one above or below the map that says "View Graphs".

  • If the "Submit Station" button is chosen, then the same map appears again, only this time with some area indicating which stations have been chosen so far, and the stations flags that have been chosen are now a different color on the map. Maybe a glowing yellow, to indicate it is currently a station of choice.

  • When a user is satisfied with the number of glowing stations, he/she presses the "View Graphs" button, and appropriate graphs appear...

Perhaps I'll add some template images here to give a better description of what I am talking about....coming soon...

Soon is here, so here is an example. Once a user clicks on the main map page of the Gulf of Mexico, this is what a typical zoomed in version could look like:

-JessicaTishmack?


Notes to self about project:

Use stnmap for the maps...so far, here are possible maps that will be used:

 comps-1200
 texas-1200
 comps-310
 texas-310

Also, here is an example of stnmap in use:

$STNMAP = "$CBI::CBIDB/cgi-bin/stnmap.cgi"; my($map) = "/stnlist=:active:/stnlist=$id&attrlist=abbr"; my($reg) = ($lon<90) ? "comps" : "texas";

system $STNMAP,"-action=html", "map=$reg-1200", "centerstn=$id", "size=310,310", $map;

system $STNMAP,"-action=html", "map=$reg-310", "legend=y",$map;

system $STNMAP,"-action=html", "map=texas-1200", "centerstn=001", "size=310,310", $map; system $STNMAP,"-action=html", "map=texas-310", "legend=y",$map;

Algorithm Ideas:

The main Gulf of Mexico map will me an image map, where each secion along the gulf leads to a single cgi script (where parameters determine locaion of zoomed in section).

A zoomed in page will go something like this:

A single cgi script will look at its parameters (CBI::ReadForm?) and determine from there the Map to place. What appears is a map, an empty scroll down menu (which says Click on the map to view available series for a station".

The image on the left, somehow in conjunction with stnmap, will have onclick events? that when clicked on, will cause the page to reload, with all items the same, except the message above the scrolldown list will say "Available series for stnid stnabbr" and the scrolldown menu will have the series in it for that station.

When a user clicks on submit, the form is submitted, and a group of sslist items are added to the URL (sslist, cuz each is a separate query). Granted, choosing multiple stations at once isn't all that easy at this point (but perhaps old query page should still be available...this one is just more user friendly).

Also, the new page now has an empty scroll down box, and a message that says please Click on the map to view available series for a station, but below teh map, the station/abbrev is listed under chosen stations.

Then graphs button calls pmdata (will later call jgraph).

And voila!

Page last modified on September 29, 2005, at 09:28 PM