OracleSpatial 10i GetExtent slow

Frank Warmerdam warmerdam at POBOX.COM
Fri Feb 24 10:12:18 EST 2006


Hallgren Johan E wrote:
> Hello
> 
> I have used the mapscript function getExtent for a layer, to get the
> extent, that one was slow. Do you mean that the msOWSGetLayerExtent
> would be faster?
> 
> Could it be possible to change the logic so the function I need would
> run the msOWSGetLayerExtent instead?

Johan / others,

I'm no expert on this area of the code, but it definitely seems like we
ought to offer a mapscript mechanism that works like msOWSGetLayerExtent,
using layer metadata if available.

In the meantime Johan, if you already know your extents (as you would have
to for setting up OWS metadata on a layer) you could just modify your
mapscript application to hardcode the extent or perhaps to pull it manually
from layer metadata.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the mapserver-dev mailing list