Time for action – using WMS Reflector
Let's use the
topp:states
layer preview for this example. Enter the following URL into your browser, or select the JPEG output option from the All Formats drop-down list on the Layer Preview page. The layer preview URL is quite long:http://localhost:8080/geoserver/topp/wms?service=WMS&version=1.1.0&request=GetMap&layers=topp:states&styles=&bbox=-124.73142200000001,24.955967,-66.969849,49.371735&width=780&height=330&srs=EPSG:4326&format=image/png
Now open a new window, or browser tab, and use the Reflector to get the same results. Just type the following URL in the address bar and then press Enter:
http://localhost:8080/geoserver/wms/reflect?layers=topp:states
Now add a new projection from the native EPSG: 4326 to Google Mercator. EPSG:900913. You will see the image flatten out:
http://localhost:8080/geoserver/wms/reflect?layers=topp:states&srs=EPSG:900913
What just happened?
We just saved some considerable time for sure...