[mapserver-users] Clipping out unprojectable area?

Christopher Schmidt crschmidt at metacarta.com
Mon Feb 9 18:40:47 EST 2009


On Mon, Feb 09, 2009 at 02:36:37PM -0800, Gregor at HostGIS wrote:
> Hey guys. This picture says the first 1000 words:
> http://maps.hostgis.com/gregor/cg-esri-compare.jpg
> 
> In this case it's a UTM projection for South America, and they're zoomed 
> out inappropriately, so the rest of the world looks ugly.
> 
> The client's request, is whether MapServer has a mechanism for clipping 
> out the area of the requested bbox which would look too gnarly given the 
> projection.
> 
> The application is in PHP and uses PostGIS, so solutions at either of 
> those levels would also be welcome.

Alter your geometry DATA selection to be ST_Union(geom,
bbox_of_projection)?  

Regards,
-- 
Christopher Schmidt
MetaCarta


More information about the mapserver-users mailing list