[ka-Map-users] queryByAttributes and projection

Bistrais, Bob Bob.Bistrais at maine.gov
Thu Mar 19 12:41:51 EST 2009


Hi Mike,

This looks interesting.  I'm looking at the user guide, but don't see
where to place it in Ka-Map.  Do I include it in one of the .php files?
Or the main html file? 

-----Original Message-----
From: Mike Adair [mailto:madair at dmsolutions.ca] 
Sent: Thursday, March 19, 2009 1:24 PM
To: Bistrais, Bob
Cc: ka-map-users at lists.maptools.org
Subject: Re: [ka-Map-users] queryByAttributes and projection

You can also re-project the coordinates on the client using Proj4js
(http://trac.osgeo.org/proj4js/).

Mike

Bistrais, Bob wrote:
>
> (Cross-posted to the Mapserver list)...
>
> I have a modified ka-map application with some customized search 
> tools. One of these tools allows the user to pick a town from a 
> dropdown and zoom to it. This uses a queryByAttributes process and it 
> was working well.
>
>
> The data for the project is projected in UTM in its native format. The

> customer asked if we could display the data in lat/long (EPSG:4326).
> If I change the projection and extent in the .Map files, the map 
> displays properly, but the search tools no longer function, I get a 
> "no matching results" error.
>
> This seems pretty strange, as I am only querying by attributes, not 
> spatially. So I wouldn't think projection would be an issue. But 
> apparently it is. Does anyone have some insight as to how I can 
> correct this (other than reprojecting the data)?
>
> ----------------------------------------------------------------------
> --
>
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users
>   

-- 
   Michael Adair
   Senior Software Architect
   DM Solutions Group Inc.

   Office: (613) 565-5056 x26
   madair at dmsolutions.ca
   http://www.dmsolutions.ca
   http://research.dmsolutions.ca




More information about the ka-Map-users mailing list