[Chameleon] LocateByAttribute Widget error

Delfos, Jacob Jacob.Delfos at maunsell.com
Tue Sep 18 20:08:59 EDT 2007

Hi Nelson,

I thought I had it set up such that it could work if nothing was
projected. Had a look at the code, and can see that if no projection was
set anywhere, it tried to build a projection object based on the
map-projection (despite not using it). That must be what caused the
I have made some changes, and hopefully this should fix it for you. I
will forward you the new files separately.




> -----Original Message-----
> From: chameleon-bounces at lists.maptools.org 
> [mailto:chameleon-bounces at lists.maptools.org] On Behalf Of 
> LITTLE Nelson
> Sent: 18 September 2007 11:20
> To: Chameleon maillist
> Subject: [Chameleon] LocateByAttribute Widget error
> Hello,
> I have just added the LocateByAttribute Widget to my application and I
> get the following error after I select the layer, attribute, and value
> from the widget popup page:
> Fatal error: [MapServer Error]: _msProcessAutoProjection(): 
> PROJECTION must be in the format 
> 'AUTO:proj_id,units_id,lon0,lat0' (got
> ''). in
> C:\ms4w\apps\chameleon\htdocs\widgets\LocateByAttribute\search
> tml on line 279
> My map file has no PROJECTION info defined. This is because 
> *all* of my
> layers are in the same x-y format (with units of meters) and I didn't
> want it projected because the x-y format was accurate for the 
> small area
> I am mapping. 
> Can anyone offer any help? If I really must have a PROJECTION 
> defined at
> the MAP level then what should I use?
> Cheers,
> Nelson
> Disclaimer :
> The contents of this e-mail including any attachments are 
> intended only
> for the person or entity to which this e-mail is addressed.  
> If you are not,
> or believe you may not be, the intended recipient, please 
> advise the sender
> immediately by return e-mail, delete this e-mail and destroy 
> any copies.
> Tenix does not warrant nor guarantee that this email 
> communication is free
> from errors, virus, interception or interference.
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon

This email and any attachments are intended solely for the named recipient and are confidential. The copying or distribution of them or any information they contain by anyone other than the named recipient is prohibited. If you have received this document in error, please notify the sender and delete all copies from your computer system and destroy all hard copies. It is the recipient's responsibility to check this email and any attachments to this email for viruses before use.

More information about the Chameleon mailing list