[mapserver-users] Getting cellsize with Mapscript
Vladimir
fl_v at inbox.ru
Mon May 11 07:06:09 PDT 2020
Hi All!
As I noticed, the 'cellsize' is calculated during 'OWSDispatch' performing.
Is it possible to get it right after setting of request parameters?
Code sample:
map_obj = mapscript.mapObj('mapfile.map')
request = mapscript.OWSRequest()
for key, value in params:
request.setParameter(key, value)#setting BBOX, HEIGHT, WIDTH etc
cellsize = map_obj.cellsize ???
…
mapscript.msIO_installStdoutToBuffer()
map_obj.OWSDispatch(request)
mapscript.msIO_getStdoutBufferBytes()
--
Regards, Vladimir.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20200511/59d3f99d/attachment.htm>
More information about the MapServer-users
mailing list