[mapserver-users] Bad BBOX passed to db query

Lime, Steve D (MNIT) Steve.Lime at state.mn.us
Tue Sep 24 07:19:49 PDT 2013


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

-----Original Message-----
From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Jack Walters
Sent: Monday, September 23, 2013 6:13 PM
To: mapserver-users at lists.osgeo.org
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
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users




More information about the mapserver-users mailing list