It would be helpful to see the mapfile before and after.

-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Jack Walters
Sent: Monday, September 23, 2013 6:13 PM
To: [email protected]
Subject: Re: [mapserver-users] Bad BBOX passed to db query

UPDATE - Possible fix

- Removed PROJECTION items from all layers
- Set main PROJECTION to AUTO
- Only reference to epsg 4326 is in MAP->METADATA wms_srs and postgresql db 
calls

All items are now returning as expected. BBOX now:

GeomFromText('POLYGON((-179.52099606876
-21.9022779637684,-179.52099606876 74.0074402855723,179.129882837677
74.0074402855723,179.129882837677 -21.9022779637684,-179.52099606876
-21.9022779637684))',4326)

Any issues using it this way? Could the extra PROJECTION statments cause 
mapserver to calculate the longitude differently?

Thanks,
Jack Walters
Web Development Engineer III
Zonar Systems


Confidentiality Notice: This e-mail may contain proprietary information some of 
which may be legally privileged. It is for the intended recipient(s) only. If 
you believe that it has been sent to you in error, please notify the sender by 
reply e-mail and delete the message. Any disclosure, copying, distribution or 
use of this information by someone other than the intended recipient(s) is 
prohibited and may be unlawful.
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users


_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to