[mapserver-users] Bad BBOX passed to db query

Jack Walters jack.walters at zonarsystems.com
Mon Sep 23 15:21:07 PDT 2013


Any help here would be greatly appreciated.

Thanks,
Jack Walters
Web Development Engineer III
Zonar Systems


On 9/16/2013 10:27 AM, Jack Walters wrote:
> We are updating to mapserver 6.2.1 from 5.6.5 and have found that
> several polygons/polylines/labels in western North America are not being
> drawn.
>
> We are using:
> - epsg 4326
> - DB Postgres
> - "tile_map_edge_buffer" "256"
> - "tile_metatile_level" "2"
> - Bing map tile quadrant key example 0231
>
> I have tried:
> - changing the tile_map_edge_buffer and tile_metatile_level
> - made sure the Proj.4 was up to date and definition was set with
> '+over' --
> http://lists.osgeo.org/pipermail/mapserver-users/2012-June/072538.html
> - manipulating labels with labelcache_map_edge_buffer
>
> No luck. The polygons and polylines will draw if I remove
> tile_map_edge_buffer and tile_metatile_level, but then the labels are bad.
>
> I set up debugging and the only real difference from the previous
> version to the new one was the bounding box passed to the db call was
> different.
> - I did note that the msTileSetExtent from both are the same:
> msTileSetExtent (-22537304.912690, -2499796.572690) (-7518957.597310,
> 12518550.742690)
>
> The resulting bounding boxes:
>
> mapserver 5.6.5:
> GeomFromText('POLYGON((-179.52099606876
> -21.9022779637684,-179.52099606876 74.0074402855723,179.129882837677
> 74.0074402855723,179.129882837677 -21.9022779637684,-179.52099606876
> -21.9022779637684))',4326)
>
> mapserver 6.2.1:
> ST_GeomFromText('POLYGON((157.543945340682
> -21.9022779637684,157.543945340682 74.0074402855723,292.456054696902
> 74.0074402855723,292.456054696902 -21.9022779637684,157.543945340682
> -21.9022779637684))',4326)
>
> Any ideas? Maybe a bad compile?
>
> I originally added this to the github bug submission, but I thought I
> would post it here as well.
>
> 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



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.



More information about the MapServer-users mailing list