strange problem with quadtree index

Flavio Hendry flavio at TYDAC.CH
Tue Sep 4 03:33:49 EDT 2007


Hi Bart

Read this? (I had even MapServer crashing when using default on points):
 
http://umn.mapserver.ch/MapServer/en/shapetree.htm, on the bottom:

SYNTAX: shptree <shpfile> [<depth>]

<depth> (optional) is the maximum depth of the index to create, default
is 0 meaning that shptree will calculate automatically the default depth
(calculated so, that a quadtree cell contains 8 shapes). Do not use the
 default depth with point files, here a depth between 6 and 10 works fine. 

Mit freundlichem Gruss / Best Regards
Flavio Hendry

----------------------------------------------------------------
TYDAC Web-Site:  http://www.tydac.ch
TYDAC MapServer: http://www.mapserver.ch
----------------------------------------------------------------
############      Mit freundlichen Gruessen / Kind Regards
############             mailto:flavio at tydac.ch
############         TYDAC AG - http://www.tydac.ch
####    ####        Geographic Information Solutions
####    ####         Luternauweg 12 -- CH-3006 Bern
############   Tel +41 (0)31 368 0180 - Fax +41 (0)31 368 1860
----------------------------------------------------------------


-----Original Message-----
From: Bart van den Eijnden <bartvde at GMAIL.COM>
To: MAPSERVER-USERS at LISTS.UMN.EDU
Date: Mon, 3 Sep 2007 17:21:46 +0200
Subject: [UMN_MAPSERVER-USERS] strange problem with quadtree index

> Hi list,
> 
> I have a 3D POINT shapefile dataset, and if I do a query using
> Mapserver (or
> ogrinfo for that matter) when the shapefile has a quadtree index file
> associated (level 4), it does not find any features within the box.
> 
> If I delete the qix file, it correctly finds all the features in the
> box,
> but ofcourse performance is poor.
> 
> Any pointers on this problem? Or is the dataset needed to find out
> the cause
> of such an issue (it's quite big unfortunately)?
> 
> Best regards,
> Bart



More information about the mapserver-users mailing list