[mapserver-dev] Implement msPostgisLayerGetExtent

Tamas Szekeres szekerest at gmail.com
Tue Dec 31 08:53:09 PST 2013


As far as the GetExtent function in mapscript can provide the driver extent
(if not specified explicitly) I'm fine with the change, however I'm not
sure about the implementation burden it involves.

Tamas



2013/12/31 Even Rouault <even.rouault at mines-paris.org>

> Just an idea :
>
> Similarly to (
> http://mapserver.org/mapfile/projection.html#projection-auto )
> PROJECTION
>         AUTO
> END
>
> why not having ?
> EXTENT AUTO
>
> When this is defined, it would go to the possibly expensive computation.
>
> So we would have :
> - no EXTENT specified at layer level
> - EXTENT xmin ymin xmax ymax
> - EXTENT AUTO
>
> The question is when no EXTENT is specified, should that be equivalent to
> "EXTENT AUTO" for layers where it is cheap such as shapefiles ? We would
> probably a virtual method HasFastExtentComputation to do that
>
> Even
>
> --
> Geospatial professional services
> http://even.rouault.free.fr/services.html
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20131231/03ead1fe/attachment.html>


More information about the mapserver-dev mailing list