Hi Marcos

do NOT use a .shp extension in your mapfile (DATA section). this will
solve it:

LAYER
  NAME "Parcels"
  STATUS ON
  DATA "surveying/parcels"
  TYPE POLYGON
  CLASS
      COLOR 255 255 204
      OUTLINECOLOR 0 0 0
  END
END


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:[EMAIL PROTECTED]
############         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: Marcos Sánchez Provencio <[EMAIL PROTECTED]>
To: MAPSERVER-USERS@LISTS.UMN.EDU
Date: Thu, 9 Aug 2007 14:37:35 +0200
Subject: [UMN_MAPSERVER-USERS] qix files

> Now that I've seen how kind you are...
> 
> I get this warning I cannot ignore, since it comes up as an error:
> IOError at /simif/wms/mapserv/
> msSearchDiskTree(): Unable to access file. Unable to open spatial
> index
> for
> /home/simif/src/simif/mapas/vardatos/PENINSULA_fc200708090001.4.shp.q
> ix. In most cases you can safely ignore this message, otherwise check
> file names and permissions.
> 
> Can I ignore the message (with some kind of ignore warnings flag)?
> Can I
> force it not to use qix file, no matter how slow it works?
> 
> Alternatively, I have a shx file (some kind of index too, I guess),
> can
> I make it use that instead?
> 
> Also, if I generate the qix file, mapbuilder either does not find
> PENINSULA_fc200708090001.4.shp (if i do not include .shp) or
> PENINSULA_fc200708090001.4.qix (if i do include it). Funny :-P
> 
> Anything better than generating qix files and renaming them to
> .shp.qix?

Reply via email to