[ka-Map-users] RE: CVS imageformat && wms connectors

Paul Spencer pspencer at dmsolutions.ca
Thu Dec 1 11:38:26 EST 2005


Steve,

looking at wmsLayer.js, you should be able to request the layer in  
any SRS by passing the SRS as the final parameter to the new  
_wmsLayer function.  the SRS is appended to all tile requests as  
&SRS= so you need to pass the appropriate string to get it to do what  
you want (i.e. EPSG:42304)

Cheers

Paul

On 1-Dec-05, at 11:29 AM, Steve Benzo wrote:

> >>Hello,
> >>
> >>It appears that in the latest ka-map CVS version, the imageformat  
> (i=x) >>variable is being ignored, and the layers are taking the  
> specified format in the >>mapfile. Is there a simple fix for this?
>
> Answered my own question, just uncommented lines 54 & 55 in tile.php:
>
> if (isset($_REQUEST['i']))
>   setOutputFormat( $_REQUEST['i');
>
> Still stuck on the wms/projection issue however.
>
> >>Also, is there a way we can tweak the WMS js/php connecters to  
> convert >>whatever projection our map is using (say, UTM) to Lat/ 
> Lon so that we can add >>WMS layers from any projection instead of  
> just geographic.
> >>
>
> Yahoo! Personals
> Single? There's someone we'd like you to meet.
> Lots of someones, actually. Yahoo! Personals
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users

+-----------------------------------------------------------------+
|Paul Spencer                           pspencer at dmsolutions.ca   |
+-----------------------------------------------------------------+
|Applications & Software Development                              |
|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
+-----------------------------------------------------------------+






More information about the ka-Map-users mailing list