>> Blog home

IWS serving directly into Google Earth or Maps

May 15, 2009

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.
  • Center point of the image (lon / lat variables)

For example:

e.g. http://iws.erdas.com/cherokee/kml/kml.aspx?MAXBBOX=34.41378122797285,34.0600996189106,-84.6626445488661,-82.50883447416302&lon=-83.58573951151456&lat=34.23694042344172&image_name=cherokee_mos_ecw&layers=/images/atlanta/cherokee/cherokee_mos_ecw.ecw

The iws.kml.aspx file then translates the information coming from Google Earth and makes an "ImageX" request to Image Web Server, that susequently responds with the representive image.

Feel free to use this in whatever way you would like.

Richard

2009526983598418kml.zip

RFgO87 YMMD with that answer! TX
Posted by Bubber | Saturday 09 Apr 2011, 03:28 PM

TWIzqU , [url=http://axcbzkgmlbal.com/]axcbzkgmlbal[/url], [link=http://otgateomgpbs.com/]otgateomgpbs[/link], http://ofvxwmigtyhj.com/
Posted by doypyjdkuao | Saturday 23 Apr 2011, 07:46 PM
Add a comment

Name:
Comment:
Enter the code you see above here:
     Projection:    Datum:    EPSG:    Scale: 1 :     Image Size:       View in desktop