On Sun, Feb 21, 2010 at 1:55 PM, Joe Public <[email protected]> wrote: > > The problem I'm having is: when I click on the map, I get "info" for the > base layer (which is blank of course) and the other layer(s) if they are > checked.... > So my question: is there a way to make it so that when I click on the map, > only info the top most layer appears in the popup box? Also, if you click on > the base layer (the other layers are un-checked) the popup box does not show > up
Look at the list of layers in your getfeatureInfo request - just remove the layers you don't want to show up. > > My other issue: > > I have data that was collected on various things about the parcels and > lots... This data is stored in > tables in the database.... The only links these tables/data have with the > shape files are the name and id variables.... > Question: Is there a way to include info from the tables in the pop display > along with the getfeatureinfo information when I click on the map? > You'll need to load the shapefiles in to PostGIS and then create a view of the joined tables. http://geoserver.org/display/GEOSDOC/PostGIS+DataStore shows how to do this. Ian -- Ian Turton Sent from Altoona, PA, United States _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
