[Mapserver-dev] Fwd: MapServer testing results

Howard Butler hobu at iastate.edu
Sat Sep 18 22:38:53 EDT 2004


Paul,

 From the ArcSDE C API documentation:
>SE_layeinfo_get_envelope returns the user-defined envelope of a specific 
>layer. This envelope is not necessarily the 'true' calculated envelope of 
>the layer's features

My guess is that this is the extent of the layer that is given when the 
layer is loaded. Some of the ArcSDE loading tools loop through each polygon 
and calculate a full extent, but it varies by tool (cov2sde,shp2sde, 
ArcCatalog, etc).  This extent is put in a table and stuffed in the 
SDE.Layers table as minx, miny, maxx, maxy.  I believe these are the values 
that are returned by SE_layeinfo_get_envelope.

You choose the indexing method when you specify a "keyword" in the 
dbtune.sde file on the server.  (everything is usually just loaded with the 
DEFAULT keyword). You can adjust the index and update statistics using the 
sde command line tools, but as far as I know, it should be indexed in some 
capacity when you load it. 




More information about the mapserver-dev mailing list