[mapserver-users] msSearchDiskTree(): Errors

Sean Gillies sgillies at i3.com
Sat Mar 30 13:47:52 EST 2002


Stephen,

I had the same symptoms when I first started using Python MapScript
on Win32.

A shapefile that was working for me with the Mapserv program was
not accessible through the mapObj.draw() method.

After pulling out half my hair I tried a different shape file and
had no problems.

The difference between my shapefiles is that the accessible file
was generated from ArcView and the inaccessible file was produced
by PCI Geomatics software.  I'm not certain why MapScript would
have higher standards for shapefiles than Mapserv (or ArcView).

Sorry that I don't have an answer for your problem, but maybe you
can use my experience.

cheers,
Sean

Stephen Woodbridge wrote:
> Chris et al,
> 
> Thanks,this is good to know, 
> 
> but I don't think this is the case with the data set I just built. And
> if it is the case with this dataset, then I need to know what is the
> problem so I can fix it. I just built the tileindexes based on the
> exitance of the shp files. So I don't know how there can be missing
> data. 
> 
> If there is missing data then,
> 
>         HOW do I figure out what files are missing?
> 
> Mapserver is clearly complaining about something, but the error message
> is not adequate to figure out the problem. 
> 
> imap at chesapeake.net wrote:
> 
>>Steve,
>>
>>I dont think these are errors... this occurs when you are missing
>>files in your tiles.  (ie. county tile missing a feature layer)
>>They occur in the MS_ERRORLOG, but dont effect processing
>>unless you have not defined IGNORE_MISSING_DATA at compile time.
>>
>>This has been in the code for a long time...
>>There should probably be some logic coded into the source to
>>get rid of these messages if IGNORE_MISSING_DATA is defined.  It
>>tends to fill up the logfile.
>>
>>-Chris Stuber (mapsurfer)
>>
>>Stephen Woodbridge wrote:
>>
>>>Hi all,
>>>
>>>I searched the archives, but could not find anything useful on this
>>>error message:
>>>
>>>Sat Mar 30 12:31:35 2002 - msSearchDiskTree(): Unable to access file.
>>>
>>>I have a bunch of tileindexes referenced in my mapfile, I have checked
>>>all the files and directories to make sure they are accessible. I turned
>>>on error logging to a file but got nothing more useful than what was get
>>>prionted in the scripts.
>>>
>>>How do I find out what file msSearchDiskTree() is complaining about?
>>>
>>>I am running ms_3.5 release. I tried 3/20 nightly and could not get any
>>>thing to display. the error is alway on the php/mapscript line
>>>
>>>$image = $map->draw();
>>>
>>>I rebuilt all my tileindexes and there shptrees.
>>>
>>>So, I am at a total loss on how to proceed.
>>>
>>>Thanks again for any help or suggestions you might offer.
>>>
>>>-Steve
>>
> 
> 





More information about the mapserver-users mailing list