>> Blog home

ERDAS Image Web Server Blog

Friday 15 May 2009, 04:3 PM
I have created a few files that allow IWS to serve directly into Google Earth or Google Maps.

The attached packaged contains a couple of asp.net files:

kml.aspx + kml.aspx.vb
iws-kml.aspx  + iws-kml.aspx.vb

These files are expected to reside on your server in the /kml virtual directory.

kml.aspx creates a "network link" to your IWS and the particular image layer you want to see. 

This files needs to receive (via a querystring) various bits of information:
  • The layer virtual path and image name as a querystring (layers)
  • Maximum extents of the image (maxbbox)
  • A friendly image name () 
  • Coordinates with the maximum extents of the layer.  The extents must be in Lat Lon Geodetic coordinates....
     Projection:    Datum:    EPSG:    Scale: 1 :     Image Size:       View in desktop