OracleSpatial 10i GetExtent slow

Hallgren Johan E jhhal at WMDATA.COM
Fri Feb 24 03:41:25 EST 2006


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

___________________________________


Johan Hallgren
WM-data


Pelle Bergs backe 3
Box 1938, 791 19 Falun
Tel: 023-844 65 (int: +46-2384465)
Mobil: 070-588 44 28 (int: +46-705884428)
johan.e.hallgren at wmdata.com
http://www.wmdata.se

-----Original Message-----
From: UMN MapServer Developers List [mailto:MAPSERVER-DEV at LISTS.UMN.EDU]
On Behalf Of Frank Warmerdam
Sent: den 23 februari 2006 20:11
To: MAPSERVER-DEV at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-DEV] OracleSpatial 10i GetExtent slow

Fernando Simon wrote:
> Hi,
>     The getExtent feature need to return the extent for the layer, 
> and it's use as source the DATA definition.
>     Of coure that for direct tables the USER_SDO_GEOM_METADATA is the
> best way to retrieve the extent for the layer, but the getExtent
> function needs to be generic. So if the user defined a DATA parameter
> that use a function (like SDO_BUFFER, SDO_XOR), or a specific where,
> the getExtent needs to work too.
>     To work with all cases the maporaclespatial.c need to be generic.
> In this moment the maporaclespatial.c don't use the
> USER_SDO_GEOM_METADATA. You can try to define others parameters for
> VERSION to test the results.

Folks,

What is calling the msLayerGetExtent()?  The msOWSGetLayerExtent()
function
includes support for ows_extent metadata to short circuit extent
computations.

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