[ka-Map-users] ka-Map-users Digest, Vol 47, Issue 17

Mike Adair madair at dmsolutions.ca
Mon Mar 23 13:00:43 EST 2009


You also need to include the library in you HTML file:

<script src="lib/proj4js-compressed.js"></script>

Mike

Bistrais, Bob wrote:
> OK, I've put the following line in my main ka-map html file:
> <script type="text/javascript"
> src="lib/proj4js/lib/defs/EPSG26919.js"></script> 
>
> -and I get the error message (in Firefox/Firebug) the Proj4js is not
> defined.
>
>   
>
> -----Original Message-----
> From: ka-map-users-bounces at lists.maptools.org
> [mailto:ka-map-users-bounces at lists.maptools.org] On Behalf Of
> ka-map-users-request at lists.maptools.org
> Sent: Saturday, March 21, 2009 1:00 PM
> To: ka-map-users at lists.maptools.org
> Subject: ka-Map-users Digest, Vol 47, Issue 17
>
> Send ka-Map-users mailing list submissions to
> 	ka-map-users at lists.maptools.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.maptools.org/mailman/listinfo/ka-map-users
> or, via email, send a message with subject or body 'help' to
> 	ka-map-users-request at lists.maptools.org
>
> You can reach the person managing the list at
> 	ka-map-users-owner at lists.maptools.org
>
> When replying, please edit your Subject line so it is more specific than
> "Re: Contents of ka-Map-users digest..."
>
>
> Today's Topics:
>
>    1. Re: ka-Map-users Digest, Vol 47, Issue 16 (Bistrais, Bob)
>    2. Re: Multiple layers (donny wicaks)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 20 Mar 2009 15:20:00 -0400
> From: "Bistrais, Bob" <Bob.Bistrais at maine.gov>
> Subject: Re: [ka-Map-users] ka-Map-users Digest, Vol 47, Issue 16
> To: <ka-map-users at lists.maptools.org>
> Message-ID:
> 	
> <4EFF8BB964547748A07CA32961810C0412C48507 at SOM-TEAQASMAIL1.som.w2k.state.
> me.us>
> 	
> Content-Type: text/plain;	charset="US-ASCII"
>
> Thanks everyone,
>
> Still not clear on installing the proj4js scripts.  I downloaded the zip
> file.  Where should this be installed to work with Ka-Map?  Also, I
> don't see my projection def file (EPSG 26919) in there.  What parameters
> do I need to put in to make my own def file?
>
>
> -----Original Message-----
> From: ka-map-users-bounces at lists.maptools.org
> [mailto:ka-map-users-bounces at lists.maptools.org] On Behalf Of
> ka-map-users-request at lists.maptools.org
> Sent: Friday, March 20, 2009 1:00 PM
> To: ka-map-users at lists.maptools.org
> Subject: ka-Map-users Digest, Vol 47, Issue 16
>
> Send ka-Map-users mailing list submissions to
> 	ka-map-users at lists.maptools.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> 	http://lists.maptools.org/mailman/listinfo/ka-map-users
> or, via email, send a message with subject or body 'help' to
> 	ka-map-users-request at lists.maptools.org
>
> You can reach the person managing the list at
> 	ka-map-users-owner at lists.maptools.org
>
> When replying, please edit your Subject line so it is more specific than
> "Re: Contents of ka-Map-users digest..."
>
>
> Today's Topics:
>
>    1. Re: queryByAttributes and projection (Mike Adair)
>    2. Re: queryByAttributes and projection (Bistrais, Bob)
>    3.  queryByAttributes and projection (TC Haddad)
>    4. Re: queryByAttributes and projection (Mike Adair)
>    5. Multiple layers (Mohammed Rashad)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Thu, 19 Mar 2009 13:24:11 -0400
> From: Mike Adair <madair at dmsolutions.ca>
> Subject: Re: [ka-Map-users] queryByAttributes and projection
> To: "Bistrais, Bob" <Bob.Bistrais at maine.gov>
> Cc: ka-map-users at lists.maptools.org
> Message-ID: <49C27FBB.90103 at dmsolutions.ca>
> Content-Type: text/plain; charset=windows-1252; format=flowed
>
> 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