« Return to Thread: GeoServer 1.6.5 problem with WMS GetFeatureInfo on OpenLayers client

Re: GeoServer 1.6.5 problem with WMS GetFeatureInfo on OpenLayers client

by Justin Deoliveira-6 :: Rate this Message:

Reply to Author | View in Thread

Hi Chris,

So yeah, i thought I "fixed" this for 1.6.5 but i actually just
introduced the bug to more people. The issue is an openlayers browser
compatibility issue. I have commitred the fix to 1.6.x, we will probably
release a 1.6.6 in a couple of weeks. In the meantime you can try the
latest 1.6.x nightly build and you should see the issue fixed.

-Justin

ChrisWebster wrote:

> Hi Justin,
>
> I went from 1.6.3 to 1.6.5, but just by uninstalling the old version and
> installing the new one i.e. no data migration.  I've tried clearing the
> browser cache, and re-starting GeoServer, but the problem is still there.
>
> I'll append the source for the preview page and the actual OL map page
> below.
>
> Chris
>
> PREVIEW PAGE STARTS HERE:
>
> <!---  
>           This JSP expect to have a:
>          
>           <form-bean
>    name="mapPreviewForm"
>    type="org.apache.struts.action.DynaActionForm">
>    <form-property
>        name="DSNameList"
>        type="java.lang.String[]"
>    />
>    <form-property
>        name="FTNameList"
>        type="java.lang.String[]"
>    />
>    <form-property
>        name="BBoxList"
>        type="java.lang.String[]"
>    />
>    </form-bean>
>
>   given to it.  
>   The DSNameList list is a list of strings - these are the
>   names of the data stores for the FeatureType.
>   The FTNameList is the list of FeatureTypes represented
>   as strings.
>   The BBoxList contains the bounding box coordinates of
>   the feature type represented as a string.
>   --->
>
> <!-- ALL THIS STUFF TAKEN FROM MAINLAYOUT.JSP -->
> <!------------------------------------------------------------------------>
> <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
>   <head>
>     <title>
>       GeoServer
>       Geoserver
>     </title>
>     <meta content="text/html; charset=iso-8859-1"
> http-equiv="content-type"/>
>
>     <meta content="text/css" http-equiv="content-style-type"/>  
>     <meta name="keywords"
>           content="(GeoServer) (GIS) (Geographic Information Systems)"/>
>     <meta name="author" content="Brent Owens"/>
>  
>     <style type="text/css">
>       <!-- @import url("/geoserver/style.css"); -->
>     </style>
>  
>     <link type="image/gif" href="/geoserver/images/gs.gif" rel="icon"/>
>     <link href="/geoserver/images/gs.ico" rel="SHORTCUT ICON"/>
>   </head>
>   <body>
>  <table class="page">
>
>   <tbody>
> <tr class="header">
>         <td class="gutter">
>          
>              http://geoserver.org/ 
>               GeoServer
>              
>          
> </td>
>
>         <td style="width: 1em">
>         </td>
> <td style="vertical-align: bottom; white-space: nowrap;">
>          
>
>
>               My GeoServer
>            
>          
> </td>
> <td style="vertical-align: bottom; white-space: nowrap; text-align:
> right;">
>
>
>    http://geoserver.org/display/GEOS/Contributors Credits
>
>                
>         </td>
> </tr>
> </table>
> <!------------------------------------------------------------------------>
>
> <h1 align="center"> Mini-map preview of the enabled FeatureTypes. </h1>
>
> <!------------------------------------------------------------------------>
> <!-- DISPLAY THE LIST OF FEATURE TYPES AND THEIR INFORMATION             ->
> <!------------------------------------------------------------------------>
>
>
> <table border=1 cellpadding=4 align="center">
>
>   <tr><th><U>Layer</U> (NameSpace:FeatureType)</th><!-- <th><U>DataStore</U>
> --><!--bean:message key="mapPreview.tableTitle"/--></th><th><U>Preview
> Map</U></th></tr>
>  
>  
> <!-- This iterator take idx from 0 to however many items there are in the
> list.
>      I use the index to grab the data from the 3 input lists (see above).
>      The it_value is ignored.
>   -->
>  
>  
> <tr >
>     <td>
>
>
>
> wms?bbox=588926.6865343997,4913890.332215005,609271.2114429093,4927102.448786693&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=sf:archsites&width=800&height=487&srs=EPSG:26713
> sf:archsites
>
>     </td>
>     <!--
>     <td class="greyedOut2">
> sfArchsites
>     </td>
>      -->
> <td>
> <!-- add link to FTNameList.html -->
> <center>
>
>
> wms?bbox=588926.6865343997,4913890.332215005,609271.2114429093,4927102.448786693&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=sf:archsites&width=800&height=487&srs=EPSG:26713
> OpenLayers   
> wms/kml_reflect?layers=sf:archsites KML   
>
>
> wms?bbox=588926.6865343997,4913890.332215005,609271.2114429093,4927102.448786693&styles=&Format=application/rss%2Bxml&request=GetMap&version=1.1.1&layers=sf:archsites&width=800&height=487&srs=EPSG:26713
> GeoRSS   
>
>
>
> wms?bbox=588926.6865343997,4913890.332215005,609271.2114429093,4927102.448786693&styles=&Format=application/pdf&request=GetMap&version=1.1.1&layers=sf:archsites&width=800&height=487&srs=EPSG:26713
> PDF   
>
>
> wms?bbox=588926.6865343997,4913890.332215005,609271.2114429093,4927102.448786693&styles=&Format=image/svg%2Bxml&request=GetMap&version=1.1.1&layers=sf:archsites&width=800&height=487&srs=EPSG:26713
> SVG
>
>
>
>
>
> </center>
> </td>
> </tr>
>
>  
> <tr >
>     <td>
>
>
> wms?bbox=589311.4871629482,4913787.082099182,609374.4115724327,4920844.691225147&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=sf:bugsites&width=800&height=300&srs=EPSG:26713
> sf:bugsites
>
>
>     </td>
>     <!--
>     <td class="greyedOut2">
> sfBugsites
>     </td>
>      -->
> <td>
> <!-- add link to FTNameList.html -->
> <center>
>
> wms?bbox=589311.4871629482,4913787.082099182,609374.4115724327,4920844.691225147&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=sf:bugsites&width=800&height=300&srs=EPSG:26713
> OpenLayers   
> wms/kml_reflect?layers=sf:bugsites KML   
>
>
> wms?bbox=589311.4871629482,4913787.082099182,609374.4115724327,4920844.691225147&styles=&Format=application/rss%2Bxml&request=GetMap&version=1.1.1&layers=sf:bugsites&width=800&height=300&srs=EPSG:26713
> GeoRSS   
>
>
>
>
> wms?bbox=589311.4871629482,4913787.082099182,609374.4115724327,4920844.691225147&styles=&Format=application/pdf&request=GetMap&version=1.1.1&layers=sf:bugsites&width=800&height=300&srs=EPSG:26713
> PDF   
>
>
> wms?bbox=589311.4871629482,4913787.082099182,609374.4115724327,4920844.691225147&styles=&Format=image/svg%2Bxml&request=GetMap&version=1.1.1&layers=sf:bugsites&width=800&height=300&srs=EPSG:26713
> SVG
>
>
>
>
> </center>
> </td>
> </tr>
>
>  
> <tr >
>
>     <td>
>
>
> wms?bbox=591175.6988413236,4915754.888027622,600052.4121365736,4926353.920417598&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=sf:restricted&width=511&height=550&srs=EPSG:26713
> sf:restricted
>
>     </td>
>     <!--
>     <td class="greyedOut2">
> sfRestricted
>     </td>
>      -->
> <td>
> <!-- add link to FTNameList.html -->
>
> <center>
>
> wms?bbox=591175.6988413236,4915754.888027622,600052.4121365736,4926353.920417598&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=sf:restricted&width=511&height=550&srs=EPSG:26713
> OpenLayers   
> wms/kml_reflect?layers=sf:restricted KML   
>
>
> wms?bbox=591175.6988413236,4915754.888027622,600052.4121365736,4926353.920417598&styles=&Format=application/rss%2Bxml&request=GetMap&version=1.1.1&layers=sf:restricted&width=511&height=550&srs=EPSG:26713
> GeoRSS   
>
>
>
> wms?bbox=591175.6988413236,4915754.888027622,600052.4121365736,4926353.920417598&styles=&Format=application/pdf&request=GetMap&version=1.1.1&layers=sf:restricted&width=511&height=550&srs=EPSG:26713
> PDF   
>
>
> wms?bbox=591175.6988413236,4915754.888027622,600052.4121365736,4926353.920417598&styles=&Format=image/svg%2Bxml&request=GetMap&version=1.1.1&layers=sf:restricted&width=511&height=550&srs=EPSG:26713
> SVG
>
>
>
>
>
> </center>
> </td>
> </tr>
>
>  
> <tr >
>     <td>
>
>
> wms?bbox=588430.2387813567,4913303.484828213,610531.8279023392,4928766.251023613&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=sf:roads&width=800&height=525&srs=EPSG:26713
> sf:roads
>
>
>     </td>
>     <!--
>     <td class="greyedOut2">
> sfRoads
>     </td>
>      -->
> <td>
> <!-- add link to FTNameList.html -->
> <center>
>
> wms?bbox=588430.2387813567,4913303.484828213,610531.8279023392,4928766.251023613&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=sf:roads&width=800&height=525&srs=EPSG:26713
> OpenLayers   
> wms/kml_reflect?layers=sf:roads KML   
>
>
>
> wms?bbox=588430.2387813567,4913303.484828213,610531.8279023392,4928766.251023613&styles=&Format=application/rss%2Bxml&request=GetMap&version=1.1.1&layers=sf:roads&width=800&height=525&srs=EPSG:26713
> GeoRSS   
>
>
>
> wms?bbox=588430.2387813567,4913303.484828213,610531.8279023392,4928766.251023613&styles=&Format=application/pdf&request=GetMap&version=1.1.1&layers=sf:roads&width=800&height=525&srs=EPSG:26713
> PDF   
>
>
> wms?bbox=588430.2387813567,4913303.484828213,610531.8279023392,4928766.251023613&styles=&Format=image/svg%2Bxml&request=GetMap&version=1.1.1&layers=sf:roads&width=800&height=525&srs=EPSG:26713
> SVG
>
>
>
>
> </center>
> </td>
> </tr>
>
>  
> <tr >
>     <td>
>
>
> wms?bbox=588430.3113926318,4913241.156915463,610522.3974737043,4928777.235349244&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=sf:streams&width=800&height=527&srs=EPSG:26713
> sf:streams
>
>     </td>
>     <!--
>     <td class="greyedOut2">
> sfStreams
>     </td>
>      -->
> <td>
>
> <!-- add link to FTNameList.html -->
> <center>
>
> wms?bbox=588430.3113926318,4913241.156915463,610522.3974737043,4928777.235349244&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=sf:streams&width=800&height=527&srs=EPSG:26713
> OpenLayers   
> wms/kml_reflect?layers=sf:streams KML   
>
>
> wms?bbox=588430.3113926318,4913241.156915463,610522.3974737043,4928777.235349244&styles=&Format=application/rss%2Bxml&request=GetMap&version=1.1.1&layers=sf:streams&width=800&height=527&srs=EPSG:26713
> GeoRSS   
>
>
>
> wms?bbox=588430.3113926318,4913241.156915463,610522.3974737043,4928777.235349244&styles=&Format=application/pdf&request=GetMap&version=1.1.1&layers=sf:streams&width=800&height=527&srs=EPSG:26713
> PDF   
>
>
> wms?bbox=588430.3113926318,4913241.156915463,610522.3974737043,4928777.235349244&styles=&Format=image/svg%2Bxml&request=GetMap&version=1.1.1&layers=sf:streams&width=800&height=527&srs=EPSG:26713
> SVG
>
>
>
>
>
> </center>
> </td>
> </tr>
>
>  
> <tr >
>     <td>
>
>
> wms?bbox=-198.0,-99.0,198.0,99.0&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=tiger:giant_polygon&width=800&height=375&srs=EPSG:4326
> tiger:giant_polygon
>
>
>     </td>
>     <!--
>     <td class="greyedOut2">
> DS_giant_polygon
>     </td>
>      -->
> <td>
> <!-- add link to FTNameList.html -->
> <center>
>
> wms?bbox=-198.0,-99.0,198.0,99.0&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=tiger:giant_polygon&width=800&height=375&srs=EPSG:4326
> OpenLayers   
> wms/kml_reflect?layers=tiger:giant_polygon KML   
>
>
>
> wms?bbox=-198.0,-99.0,198.0,99.0&styles=&Format=application/rss%2Bxml&request=GetMap&version=1.1.1&layers=tiger:giant_polygon&width=800&height=375&srs=EPSG:4326
> GeoRSS   
>
>
>
> wms?bbox=-198.0,-99.0,198.0,99.0&styles=&Format=application/pdf&request=GetMap&version=1.1.1&layers=tiger:giant_polygon&width=800&height=375&srs=EPSG:4326
> PDF   
>
>
> wms?bbox=-198.0,-99.0,198.0,99.0&styles=&Format=image/svg%2Bxml&request=GetMap&version=1.1.1&layers=tiger:giant_polygon&width=800&height=375&srs=EPSG:4326
> SVG
>
>
>
>
> </center>
> </td>
> </tr>
>
>  
> <tr >
>     <td>
>
>
> wms?bbox=-74.01199448397661,40.70732689845813,-74.00841053684495,40.71216558957052&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=tiger:poi&width=457&height=550&srs=EPSG:4326
> tiger:poi
>
>     </td>
>     <!--
>     <td class="greyedOut2">
> DS_poi
>     </td>
>      -->
> <td>
>
> <!-- add link to FTNameList.html -->
> <center>
>
> wms?bbox=-74.01199448397661,40.70732689845813,-74.00841053684495,40.71216558957052&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=tiger:poi&width=457&height=550&srs=EPSG:4326
> OpenLayers   
> wms/kml_reflect?layers=tiger:poi KML   
>
>
> wms?bbox=-74.01199448397661,40.70732689845813,-74.00841053684495,40.71216558957052&styles=&Format=application/rss%2Bxml&request=GetMap&version=1.1.1&layers=tiger:poi&width=457&height=550&srs=EPSG:4326
> GeoRSS   
>
>
>
> wms?bbox=-74.01199448397661,40.70732689845813,-74.00841053684495,40.71216558957052&styles=&Format=application/pdf&request=GetMap&version=1.1.1&layers=tiger:poi&width=457&height=550&srs=EPSG:4326
> PDF   
>
>
> wms?bbox=-74.01199448397661,40.70732689845813,-74.00841053684495,40.71216558957052&styles=&Format=image/svg%2Bxml&request=GetMap&version=1.1.1&layers=tiger:poi&width=457&height=550&srs=EPSG:4326
> SVG
>
>
>
>
>
> </center>
> </td>
> </tr>
>
>  
> <tr >
>     <td>
>
>
> wms?bbox=-74.05415325,40.6695265,-73.90085175,40.8921995&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=tiger:poly_landmarks&width=429&height=550&srs=EPSG:4326
> tiger:poly_landmarks
>
>
>     </td>
>     <!--
>     <td class="greyedOut2">
> DS_poly_landmarks
>     </td>
>      -->
> <td>
> <!-- add link to FTNameList.html -->
> <center>
>
> wms?bbox=-74.05415325,40.6695265,-73.90085175,40.8921995&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=tiger:poly_landmarks&width=429&height=550&srs=EPSG:4326
> OpenLayers   
> wms/kml_reflect?layers=tiger:poly_landmarks KML   
>
>
>
> wms?bbox=-74.05415325,40.6695265,-73.90085175,40.8921995&styles=&Format=application/rss%2Bxml&request=GetMap&version=1.1.1&layers=tiger:poly_landmarks&width=429&height=550&srs=EPSG:4326
> GeoRSS   
>
>
>
> wms?bbox=-74.05415325,40.6695265,-73.90085175,40.8921995&styles=&Format=application/pdf&request=GetMap&version=1.1.1&layers=tiger:poly_landmarks&width=429&height=550&srs=EPSG:4326
> PDF   
>
>
> wms?bbox=-74.05415325,40.6695265,-73.90085175,40.8921995&styles=&Format=image/svg%2Bxml&request=GetMap&version=1.1.1&layers=tiger:poly_landmarks&width=429&height=550&srs=EPSG:4326
> SVG
>
>
>
>
> </center>
> </td>
> </tr>
>
>  
> <tr >
>     <td>
>
>
> wms?bbox=-74.03323075,40.67452315,-73.90099425,40.88787585&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=tiger:tiger_roads&width=391&height=550&srs=EPSG:4326
> tiger:tiger_roads
>
>     </td>
>     <!--
>     <td class="greyedOut2">
> DS_tiger_roads
>     </td>
>      -->
> <td>
>
> <!-- add link to FTNameList.html -->
> <center>
>
> wms?bbox=-74.03323075,40.67452315,-73.90099425,40.88787585&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=tiger:tiger_roads&width=391&height=550&srs=EPSG:4326
> OpenLayers   
> wms/kml_reflect?layers=tiger:tiger_roads KML   
>
>
> wms?bbox=-74.03323075,40.67452315,-73.90099425,40.88787585&styles=&Format=application/rss%2Bxml&request=GetMap&version=1.1.1&layers=tiger:tiger_roads&width=391&height=550&srs=EPSG:4326
> GeoRSS   
>
>
>
> wms?bbox=-74.03323075,40.67452315,-73.90099425,40.88787585&styles=&Format=application/pdf&request=GetMap&version=1.1.1&layers=tiger:tiger_roads&width=391&height=550&srs=EPSG:4326
> PDF   
>
>
> wms?bbox=-74.03323075,40.67452315,-73.90099425,40.88787585&styles=&Format=image/svg%2Bxml&request=GetMap&version=1.1.1&layers=tiger:tiger_roads&width=391&height=550&srs=EPSG:4326
> SVG
>
>
>
>
>
> </center>
> </td>
> </tr>
>
>  
> <tr >
>     <td>
>
>
> wms?bbox=-127.61950064999999,23.7351786,-64.08177035,50.592523400000005&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=topp:states&width=800&height=317&srs=EPSG:4326
> topp:states
>
>
>     </td>
>     <!--
>     <td class="greyedOut2">
> states_shapefile
>     </td>
>      -->
> <td>
> <!-- add link to FTNameList.html -->
> <center>
>
> wms?bbox=-127.61950064999999,23.7351786,-64.08177035,50.592523400000005&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=topp:states&width=800&height=317&srs=EPSG:4326
> OpenLayers   
> wms/kml_reflect?layers=topp:states KML   
>
>
>
> wms?bbox=-127.61950064999999,23.7351786,-64.08177035,50.592523400000005&styles=&Format=application/rss%2Bxml&request=GetMap&version=1.1.1&layers=topp:states&width=800&height=317&srs=EPSG:4326
> GeoRSS   
>
>
>
> wms?bbox=-127.61950064999999,23.7351786,-64.08177035,50.592523400000005&styles=&Format=application/pdf&request=GetMap&version=1.1.1&layers=topp:states&width=800&height=317&srs=EPSG:4326
> PDF   
>
>
> wms?bbox=-127.61950064999999,23.7351786,-64.08177035,50.592523400000005&styles=&Format=image/svg%2Bxml&request=GetMap&version=1.1.1&layers=topp:states&width=800&height=317&srs=EPSG:4326
> SVG
>
>
>
>
> </center>
> </td>
> </tr>
>
>  
> <tr >
>     <td>
>
>
> wms?bbox=145.043768,-43.5520475,148.42675200000002,-40.7242665&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=topp:tasmania_cities&width=800&height=627&srs=EPSG:4326
> topp:tasmania_cities
>
>     </td>
>     <!--
>     <td class="greyedOut2">
> tasmania_cities
>     </td>
>      -->
> <td>
>
> <!-- add link to FTNameList.html -->
> <center>
>
> wms?bbox=145.043768,-43.5520475,148.42675200000002,-40.7242665&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=topp:tasmania_cities&width=800&height=627&srs=EPSG:4326
> OpenLayers   
> wms/kml_reflect?layers=topp:tasmania_cities KML   
>
>
> wms?bbox=145.043768,-43.5520475,148.42675200000002,-40.7242665&styles=&Format=application/rss%2Bxml&request=GetMap&version=1.1.1&layers=topp:tasmania_cities&width=800&height=627&srs=EPSG:4326
> GeoRSS   
>
>
>
> wms?bbox=145.043768,-43.5520475,148.42675200000002,-40.7242665&styles=&Format=application/pdf&request=GetMap&version=1.1.1&layers=topp:tasmania_cities&width=800&height=627&srs=EPSG:4326
> PDF   
>
>
> wms?bbox=145.043768,-43.5520475,148.42675200000002,-40.7242665&styles=&Format=image/svg%2Bxml&request=GetMap&version=1.1.1&layers=topp:tasmania_cities&width=800&height=627&srs=EPSG:4326
> SVG
>
>
>
>
>
> </center>
> </td>
> </tr>
>
>  
> <tr >
>     <td>
>
>
> wms?bbox=145.043768,-43.5520475,148.42675200000002,-40.7242665&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=topp:tasmania_roads&width=800&height=627&srs=EPSG:4326
> topp:tasmania_roads
>
>
>     </td>
>     <!--
>     <td class="greyedOut2">
> tasmania_roads
>     </td>
>      -->
> <td>
> <!-- add link to FTNameList.html -->
> <center>
>
> wms?bbox=145.043768,-43.5520475,148.42675200000002,-40.7242665&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=topp:tasmania_roads&width=800&height=627&srs=EPSG:4326
> OpenLayers   
> wms/kml_reflect?layers=topp:tasmania_roads KML   
>
>
>
> wms?bbox=145.043768,-43.5520475,148.42675200000002,-40.7242665&styles=&Format=application/rss%2Bxml&request=GetMap&version=1.1.1&layers=topp:tasmania_roads&width=800&height=627&srs=EPSG:4326
> GeoRSS   
>
>
>
> wms?bbox=145.043768,-43.5520475,148.42675200000002,-40.7242665&styles=&Format=application/pdf&request=GetMap&version=1.1.1&layers=topp:tasmania_roads&width=800&height=627&srs=EPSG:4326
> PDF   
>
>
> wms?bbox=145.043768,-43.5520475,148.42675200000002,-40.7242665&styles=&Format=image/svg%2Bxml&request=GetMap&version=1.1.1&layers=topp:tasmania_roads&width=800&height=627&srs=EPSG:4326
> SVG
>
>
>
>
> </center>
> </td>
> </tr>
>
>  
> <tr >
>     <td>
>
>
> wms?bbox=143.60260815000004,-43.851764249999995,148.71135685000002,-39.370182750000005&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=topp:tasmania_state_boundaries&width=800&height=658&srs=EPSG:4326
> topp:tasmania_state_boundaries
>
>     </td>
>     <!--
>     <td class="greyedOut2">
> tasmania_state_boundaries
>     </td>
>      -->
> <td>
>
> <!-- add link to FTNameList.html -->
> <center>
>
> wms?bbox=143.60260815000004,-43.851764249999995,148.71135685000002,-39.370182750000005&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=topp:tasmania_state_boundaries&width=800&height=658&srs=EPSG:4326
> OpenLayers   
> wms/kml_reflect?layers=topp:tasmania_state_boundaries KML   
>
>
> wms?bbox=143.60260815000004,-43.851764249999995,148.71135685000002,-39.370182750000005&styles=&Format=application/rss%2Bxml&request=GetMap&version=1.1.1&layers=topp:tasmania_state_boundaries&width=800&height=658&srs=EPSG:4326
> GeoRSS   
>
>
>
> wms?bbox=143.60260815000004,-43.851764249999995,148.71135685000002,-39.370182750000005&styles=&Format=application/pdf&request=GetMap&version=1.1.1&layers=topp:tasmania_state_boundaries&width=800&height=658&srs=EPSG:4326
> PDF   
>
>
> wms?bbox=143.60260815000004,-43.851764249999995,148.71135685000002,-39.370182750000005&styles=&Format=image/svg%2Bxml&request=GetMap&version=1.1.1&layers=topp:tasmania_state_boundaries&width=800&height=658&srs=EPSG:4326
> SVG
>
>
>
>
>
> </center>
> </td>
> </tr>
>
>  
> <tr >
>     <td>
>
>
> wms?bbox=145.90921514999997,-43.094763300000004,147.28209985,-41.712738699999996&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=topp:tasmania_water_bodies&width=596&height=550&srs=EPSG:4326
> topp:tasmania_water_bodies
>
>
>     </td>
>     <!--
>     <td class="greyedOut2">
> tasmania_water_bodies
>     </td>
>      -->
> <td>
> <!-- add link to FTNameList.html -->
> <center>
>
> wms?bbox=145.90921514999997,-43.094763300000004,147.28209985,-41.712738699999996&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=topp:tasmania_water_bodies&width=596&height=550&srs=EPSG:4326
> OpenLayers   
> wms/kml_reflect?layers=topp:tasmania_water_bodies KML   
>
>
>
> wms?bbox=145.90921514999997,-43.094763300000004,147.28209985,-41.712738699999996&styles=&Format=application/rss%2Bxml&request=GetMap&version=1.1.1&layers=topp:tasmania_water_bodies&width=596&height=550&srs=EPSG:4326
> GeoRSS   
>
>
>
> wms?bbox=145.90921514999997,-43.094763300000004,147.28209985,-41.712738699999996&styles=&Format=application/pdf&request=GetMap&version=1.1.1&layers=topp:tasmania_water_bodies&width=596&height=550&srs=EPSG:4326
> PDF   
>
>
> wms?bbox=145.90921514999997,-43.094763300000004,147.28209985,-41.712738699999996&styles=&Format=image/svg%2Bxml&request=GetMap&version=1.1.1&layers=topp:tasmania_water_bodies&width=596&height=550&srs=EPSG:4326
> SVG
>
>
>
>
> </center>
> </td>
> </tr>
>
>  
> <tr >
>     <td>
>
>
> wms?bbox=-186.6462389534154,-18.662719632885555,161.6251772168374,75.59188722905185&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=xgcc_demo:us_urban_areas&width=800&height=300&srs=EPSG:4269
> xgcc_demo:us_urban_areas
>
>     </td>
>     <!--
>     <td class="greyedOut2">
> xgcc_postgis
>     </td>
>      -->
> <td>
>
> <!-- add link to FTNameList.html -->
> <center>
>
> wms?bbox=-186.6462389534154,-18.662719632885555,161.6251772168374,75.59188722905185&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=xgcc_demo:us_urban_areas&width=800&height=300&srs=EPSG:4269
> OpenLayers   
> wms/kml_reflect?layers=xgcc_demo:us_urban_areas KML   
>
>
> wms?bbox=-186.6462389534154,-18.662719632885555,161.6251772168374,75.59188722905185&styles=&Format=application/rss%2Bxml&request=GetMap&version=1.1.1&layers=xgcc_demo:us_urban_areas&width=800&height=300&srs=EPSG:4269
> GeoRSS   
>
>
>
> wms?bbox=-186.6462389534154,-18.662719632885555,161.6251772168374,75.59188722905185&styles=&Format=application/pdf&request=GetMap&version=1.1.1&layers=xgcc_demo:us_urban_areas&width=800&height=300&srs=EPSG:4269
> PDF   
>
>
> wms?bbox=-186.6462389534154,-18.662719632885555,161.6251772168374,75.59188722905185&styles=&Format=image/svg%2Bxml&request=GetMap&version=1.1.1&layers=xgcc_demo:us_urban_areas&width=800&height=300&srs=EPSG:4269
> SVG
>
>
>
>
>
> </center>
> </td>
> </tr>
>
>  
> <tr >
>     <td>
>
>
> wms?bbox=-180.0,-90.0,180.0,90.0&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=nurc:Arc_Sample&width=800&height=375&srs=EPSG:4326
> nurc:Arc_Sample
>
>
>     </td>
>     <!--
>     <td class="greyedOut2">
> arcGridSample
>     </td>
>      -->
> <td>
> <!-- add link to FTNameList.html -->
> <center>
>
> wms?bbox=-180.0,-90.0,180.0,90.0&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=nurc:Arc_Sample&width=800&height=375&srs=EPSG:4326
> OpenLayers   
> wms/kml_reflect?layers=nurc:Arc_Sample KML   
>
>
>
>    GeoRSS  
>
>
> wms?bbox=-180.0,-90.0,180.0,90.0&styles=&Format=application/pdf&request=GetMap&version=1.1.1&layers=nurc:Arc_Sample&width=800&height=375&srs=EPSG:4326
> PDF   
>
>
>    SVG
>
>
>
> </center>
> </td>
> </tr>
>
>  
> <tr >
>     <td>
>
>
> wms?bbox=-130.85168,20.7052,-62.0054,54.1141&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=nurc:Img_Sample&width=800&height=364&srs=EPSG:4326
> nurc:Img_Sample
>
>     </td>
>     <!--
>     <td class="greyedOut2">
> worldImageSample
>     </td>
>      -->
> <td>
>
> <!-- add link to FTNameList.html -->
> <center>
>
> wms?bbox=-130.85168,20.7052,-62.0054,54.1141&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=nurc:Img_Sample&width=800&height=364&srs=EPSG:4326
> OpenLayers   
> wms/kml_reflect?layers=nurc:Img_Sample KML   
>
>
>    GeoRSS  
>
>
> wms?bbox=-130.85168,20.7052,-62.0054,54.1141&styles=&Format=application/pdf&request=GetMap&version=1.1.1&layers=nurc:Img_Sample&width=800&height=364&srs=EPSG:4326
> PDF   
>
>
>    SVG
>
>
>
>
> </center>
> </td>
> </tr>
>
>  
> <tr >
>     <td>
>
>
> wms?bbox=347649.93086859107,5176214.082539256,370725.976428591,5196961.352859256&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=nurc:Pk50095&width=800&height=674&srs=EPSG:32633
> nurc:Pk50095
>
>
>     </td>
>     <!--
>     <td class="greyedOut2">
> img_sample2
>     </td>
>      -->
> <td>
> <!-- add link to FTNameList.html -->
> <center>
>
> wms?bbox=347649.93086859107,5176214.082539256,370725.976428591,5196961.352859256&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=nurc:Pk50095&width=800&height=674&srs=EPSG:32633
> OpenLayers   
> wms/kml_reflect?layers=nurc:Pk50095 KML   
>
>
>
>    GeoRSS  
>
>
> wms?bbox=347649.93086859107,5176214.082539256,370725.976428591,5196961.352859256&styles=&Format=application/pdf&request=GetMap&version=1.1.1&layers=nurc:Pk50095&width=800&height=674&srs=EPSG:32633
> PDF   
>
>
>    SVG
>
>
>
> </center>
> </td>
> </tr>
>
>  
> <tr >
>     <td>
>
>
> wms?bbox=6.34617490847439,36.4917718219401,20.8296831527815,46.5907669751351&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=nurc:mosaic&width=800&height=523&srs=EPSG:4326
> nurc:mosaic
>
>     </td>
>     <!--
>     <td class="greyedOut2">
> mosaic
>     </td>
>      -->
> <td>
>
> <!-- add link to FTNameList.html -->
> <center>
>
> wms?bbox=6.34617490847439,36.4917718219401,20.8296831527815,46.5907669751351&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=nurc:mosaic&width=800&height=523&srs=EPSG:4326
> OpenLayers   
> wms/kml_reflect?layers=nurc:mosaic KML   
>
>
>    GeoRSS  
>
>
> wms?bbox=6.34617490847439,36.4917718219401,20.8296831527815,46.5907669751351&styles=&Format=application/pdf&request=GetMap&version=1.1.1&layers=nurc:mosaic&width=800&height=523&srs=EPSG:4326
> PDF   
>
>
>    SVG
>
>
>
>
> </center>
> </td>
> </tr>
>
>  
> <tr >
>     <td>
>
>
> wms?bbox=590010.0,4914020.0,609000.0,4928000.0&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=sf:dem&width=800&height=552&srs=EPSG:26713
> sf:dem
>
>
>     </td>
>     <!--
>     <td class="greyedOut2">
> sfDem
>     </td>
>      -->
> <td>
> <!-- add link to FTNameList.html -->
> <center>
>
> wms?bbox=590010.0,4914020.0,609000.0,4928000.0&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=sf:dem&width=800&height=552&srs=EPSG:26713
> OpenLayers   
> wms/kml_reflect?layers=sf:dem KML   
>
>
>
>    GeoRSS  
>
>
> wms?bbox=590010.0,4914020.0,609000.0,4928000.0&styles=&Format=application/pdf&request=GetMap&version=1.1.1&layers=sf:dem&width=800&height=552&srs=EPSG:26713
> PDF   
>
>
>    SVG
>
>
>
> </center>
> </td>
> </tr>
>
>  
> <tr >
>     <td>
>
>
> wms?bbox=589425.9342365642,4913959.224611808,609518.6719560538,4928082.949945881&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=spearfish&width=800&height=527&srs=EPSG:26713
> spearfish
>
>     </td>
>     <!--
>     <td class="greyedOut2">
> Base Map
>     </td>
>      -->
> <td>
>
> <!-- add link to FTNameList.html -->
> <center>
>
> wms?bbox=589425.9342365642,4913959.224611808,609518.6719560538,4928082.949945881&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=spearfish&width=800&height=527&srs=EPSG:26713
> OpenLayers   
> wms/kml_reflect?layers=spearfish KML   
>
>
> wms?bbox=589425.9342365642,4913959.224611808,609518.6719560538,4928082.949945881&styles=&Format=application/rss%2Bxml&request=GetMap&version=1.1.1&layers=spearfish&width=800&height=527&srs=EPSG:26713
> GeoRSS   
>
>
>
> wms?bbox=589425.9342365642,4913959.224611808,609518.6719560538,4928082.949945881&styles=&Format=application/pdf&request=GetMap&version=1.1.1&layers=spearfish&width=800&height=527&srs=EPSG:26713
> PDF   
>
>
>    SVG
>
>
>
>
> </center>
> </td>
> </tr>
>
>  
> <tr >
>     <td>
>
>
> wms?bbox=143.83482400000003,-43.648056,148.47914100000003,-39.573891&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=tasmania&width=800&height=658&srs=EPSG:4326
> tasmania
>
>
>     </td>
>     <!--
>     <td class="greyedOut2">
> Base Map
>     </td>
>      -->
> <td>
> <!-- add link to FTNameList.html -->
> <center>
>
> wms?bbox=143.83482400000003,-43.648056,148.47914100000003,-39.573891&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=tasmania&width=800&height=658&srs=EPSG:4326
> OpenLayers   
> wms/kml_reflect?layers=tasmania KML   
>
>
>
> wms?bbox=143.83482400000003,-43.648056,148.47914100000003,-39.573891&styles=&Format=application/rss%2Bxml&request=GetMap&version=1.1.1&layers=tasmania&width=800&height=658&srs=EPSG:4326
> GeoRSS   
>
>
>
> wms?bbox=143.83482400000003,-43.648056,148.47914100000003,-39.573891&styles=&Format=application/pdf&request=GetMap&version=1.1.1&layers=tasmania&width=800&height=658&srs=EPSG:4326
> PDF   
>
>
> wms?bbox=143.83482400000003,-43.648056,148.47914100000003,-39.573891&styles=&Format=image/svg%2Bxml&request=GetMap&version=1.1.1&layers=tasmania&width=800&height=658&srs=EPSG:4326
> SVG
>
>
>
>
> </center>
> </td>
> </tr>
>
>  
> <tr >
>     <td>
>
>
> wms?bbox=-74.047185,40.679648,-73.907005,40.882078&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=tiger-ny&width=431&height=550&srs=EPSG:4326
> tiger-ny
>
>     </td>
>     <!--
>     <td class="greyedOut2">
> Base Map
>     </td>
>      -->
> <td>
>
> <!-- add link to FTNameList.html -->
> <center>
>
> wms?bbox=-74.047185,40.679648,-73.907005,40.882078&styles=&Format=application/openlayers&request=GetMap&version=1.1.1&layers=tiger-ny&width=431&height=550&srs=EPSG:4326
> OpenLayers   
> wms/kml_reflect?layers=tiger-ny KML   
>
>
> wms?bbox=-74.047185,40.679648,-73.907005,40.882078&styles=&Format=application/rss%2Bxml&request=GetMap&version=1.1.1&layers=tiger-ny&width=431&height=550&srs=EPSG:4326
> GeoRSS   
>
>
>
> wms?bbox=-74.047185,40.679648,-73.907005,40.882078&styles=&Format=application/pdf&request=GetMap&version=1.1.1&layers=tiger-ny&width=431&height=550&srs=EPSG:4326
> PDF   
>
>
> wms?bbox=-74.047185,40.679648,-73.907005,40.882078&styles=&Format=image/svg%2Bxml&request=GetMap&version=1.1.1&layers=tiger-ny&width=431&height=550&srs=EPSG:4326
> SVG
>
>
>
>
>
> </center>
> </td>
> </tr>
>
> </table>
>
> </body>
> </html>
>
> END OF PREVIEW PAGE.
>
> MAP PAGE STARTS HERE (for topp:states layer):
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
> "DTD/xhtml1-strict.dtd">
> <html xmlns="http://www.w3.org/1999/xhtml">
>         <head>
>         <title>OpenLayers map preview</title>
>         <style type="text/css">
>             #map {
>                 width: 800px;
>                 height: 317px;
>                 border: 1px solid black;
>             }
>             #wrapper {
>                 width: 800px;
>             }
>             #location {
>                 float: right;
>             }
>         </style>
>         <script
> src="http://localhost:8080/geoserver/openlayers/OpenLayers.js"
> type="text/javascript">
>         </script>
>         <script defer="defer" type="text/javascript">
>         var map;
>         var untiled;
>         var tiled;
>         function setHTML(response) {
>             document.getElementById('nodelist').innerHTML =
> response.responseText;
>         };
>        
>         OpenLayers.IMAGE_RELOAD_ATTEMPTS = 5;
>         OpenLayers.DOTS_PER_INCH = 25.4 / 0.28;
>        
>         function init(){
>             var bounds = new OpenLayers.Bounds(
>                 -127.61950064999999, 23.7351786,
>                 -64.08177035, 50.592523400000005
>             );
>             var options = {
>                 controls: [],
>                 maxExtent: bounds,
>                 maxResolution: 0.248194258984375,
>                 projection: "EPSG:4326",
>                 units: 'degrees'
>             };
>             map = new OpenLayers.Map('map', options);
>            
>            
>             // setup tiled layer
>             tiled = new OpenLayers.Layer.WMS(
>                 "topp:states - Tiled",
> "http://localhost:8080/geoserver/wms",
>                 {
>                     height: '317',
>                     width: '800',
>                     layers: 'topp:states',
>                     styles: '',
>                     srs: 'EPSG:4326',
>                     format: 'image/png',
>                     tiled: 'true',
>                     tilesOrigin : "-127.61950064999999,23.7351786"
>                 },
>                 {buffer: 0}
>             );
>            
>             // setup single tiled layer
>             untiled = new OpenLayers.Layer.WMS(
>                 "topp:states - Untiled",
> "http://localhost:8080/geoserver/wms",
>                 {
>                     height: '317',
>                     width: '800',
>                     layers: 'topp:states',
>                     styles: '',
>                     srs: 'EPSG:4326',
>                     format: 'image/png'
>                 },
>                 {singleTile: true, ratio: 1}
>             );
>        
>             map.addLayers([untiled, tiled]);
>            
>             // setup controls and initial zooms
>             map.addControl(new OpenLayers.Control.PanZoomBar());
>             map.addControl(new OpenLayers.Control.Navigation());
>             map.addControl(new OpenLayers.Control.Scale($('scale')));
>             map.addControl(new OpenLayers.Control.MousePosition({element:
> $('location')}));
>             map.addControl(new OpenLayers.Control.LayerSwitcher());
>             //map.addControl(new OpenLayers.Control.OverviewMap());
>             map.zoomToExtent(bounds);
>            
>             // support GetFeatureInfo
>             map.events.register('click', map, function (e) {
>                 document.getElementById('nodelist').innerHTML = "Loading...
> please wait...";
>                 var url =  map.layers[0].getFullRequestString(
>                     {
>                         request: "GetFeatureInfo",
>                         EXCEPTIONS: "application/vnd.ogc.se_xml",
>                         BBOX: map.getExtent().toBBOX(),
>                         X: e.xy.x,
>                         Y: e.xy.y,
>                         INFO_FORMAT: 'text/html',
>                         QUERY_LAYERS: map.layers[0].params.LAYERS,
>                         FEATURE_COUNT: 50,
>                         WIDTH: map.size.w,
>                         HEIGHT: map.size.h
>                     },
>                     "http://localhost:8080/geoserver/wms"
>                 );
>                 OpenLayers.loadURL(url, '', this, setHTML, setHTML);
>                 OpenLayers.Event.stop(e);
>             });
>         }
>         </script>
>
>     </head>
>     <body onload="init()">
>         <div id="map"></div>
>         <div id="wrapper">
>             <div id="location"></div>
>             <div id="scale"></div>
>         </div>
>         <div id="nodelist">Click on the map to get feature info</div>
>
>     </body>
> </html>
>
>
> END OIF MAP PAGE.
>
>


--
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@...
https://lists.sourceforge.net/lists/listinfo/geoserver-users

 « Return to Thread: GeoServer 1.6.5 problem with WMS GetFeatureInfo on OpenLayers client