Google Earth transparency
Heryk Julien
hjulien at NRCAN.GC.CA
Thu Feb 2 06:53:35 PST 2006
Hi,
Another tip that might help you:
I had some problems when the extent of my GE (Google Earth) viewer was much
wider then my mapfile extent. Ge could not load mapserver's png getmap
image. To fix that, all wms calls to my mapserver wms service are redirected
to an my cocoon server (xml based server) which restricts the wms extent
before fetching the wms getmap image from mapserver. Works good!
Demo: Click on the GE link at the bottom this page to get the kml (wms
Mapserver based) service (prototype site)
http://ntserv.gis.nrcan.gc.ca/cocoon/ngwd/services/featureCollection/app-map?locale=en&REQUEST=GETFEATURE&FEATUREID=ca.nb.gov.wmslayerref.23139&SESSION=Public
FYI, here is my mapfile output format:
OUTPUTFORMAT
NAME png
DRIVER "GD/PNG"
MIMETYPE "image/png"
IMAGEMODE PC256
EXTENSION "png"
FORMATOPTION "INTERLACE=OFF"
TRANSPARENT ON
END
TRANSPARENT ON
Cheers
Héryk
NRCan
More information about the MapServer-users
mailing list