[gdal-dev] break a bounding box into smaller boxes

jratike80 jukka.rahkonen at maanmittauslaitos.fi
Thu Feb 18 03:43:59 PST 2021


Hi,

I would guess that Mapserver does not care about your BBOX but by the same
you create GetMap requests with &WIDTH= and &HEIGHT= that exceeds the limit
that is configured on the server with MAP-MAXSIZE
https://mapserver.org/mapfile/map.html.

So you must split your requests smaller by the requested pixels. For example
GDAL can do that automatically with the WMS driver
https://gdal.org/drivers/raster/wms.html. Have a look at
BlockSizeX/BlockSizeY.

-Jukka Rahkonen-



MRRAJESH wrote
> Hi,
> 
> We have large area bbox coordinates. When we hit with this BBOX, MapServer
> is not able to handle the bigger size bbox values. 
> 
> We are planning to split the bigger bbox into multiple bboxes and send
> them
> to the map server for features data. Any library or sample code to break a
> bounding box into smaller boxes (coordinates)?
> 
> Regards,
> Rajesh
> 
> 
> 
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html
> _______________________________________________
> gdal-dev mailing list

> gdal-dev at .osgeo

> https://lists.osgeo.org/mailman/listinfo/gdal-dev





--
Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html


More information about the gdal-dev mailing list