[ka-Map-users] imagery options

Joe Franklin traderboy at yahoo.com
Tue Apr 11 12:07:28 EDT 2006


I've tried both:

For google maps, disable their mouse/keyboard events
(map.disableDragging()) and use ka-map to pan/zoom. 
Put your code to move google maps in your ka-map
extentsChanged function, for example.  Make sure your
data is projected into mercator or it probably won't
line up.

I posted a hack to tile.php a while back that creates
tiles you can use with GTileLayer.getTileUrl (api
version 2) if you want to use the google map api
without ka-map.

For Terraserver, just add the following to your .map
file:

LAYER
  NAME 'DOQ' 
  GROUP 'DOQ'
  TYPE RASTER
  CONNECTION "http://terraservice.net/ogcmap.ashx"
  CONNECTIONTYPE WMS
  STATUS OFF
  PROJECTION
      "init=epsg:4326"
  END
  METADATA
  	imageformat "JPEG"
	"wms_name" "DOQ"
	"wms_srs" "EPSG:4326"
	"wms_server_version"  "1.1.1"
	"wms_format"  "image/jpeg"
  END
END  # LAYER

It's slow, but I'm sure there are ways to improve
performance.


--- cschmidt at rohan.sdsu.edu wrote:

> Has anyone experimented with adding imagery to the
> background of ka-maps?
> (either Satellite or aerial photo).  So far I've
> considered laying ka-map
> over google maps and trying to sync the two maps
> during pan and zoom, or
> trying to pull USGS imagery from
>
http://terraservice.net/about.aspx?n=AboutTerraServiceAPI.
>  Has any tried
> one of these of something different?
> 
> - Charlie.
> 
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
>
http://lists.maptools.org/mailman/listinfo/ka-map-users
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the ka-Map-users mailing list