[mapserver-users] WMS raster display, getfeatureinfo from vector layer

percy percyd at pdx.edu
Thu Jul 10 12:14:30 PDT 2008


I discussed this issue with Tom K. on the IRC yesterday, and he thought 
it was of general interest and should be posted and potentially 
requested as a feature.

Scenario: we have a Geologic map that has super complex cartography that 
we don't want to reproduce in the mapfile (600+ classes, tons of 
patterns, etc). So we dumped out a raster of it to serve as WMS.

However, when the user does a GetFeatureInfo on this WMS, we want to 
return attribute data from the original shapefile.

I can envision this being taken care of at the layer level as a metadata 
tag like "WMS_query_redirect".

In the short term we're working on a little apache mod_rewrite magic to 
take care of it :-)

Cheers,
Percy

-- 
David Percy
Geospatial Data Manager
Geology Department
Portland State University
http://gisgeek.pdx.edu
503-725-3373



More information about the MapServer-users mailing list