[ka-Map-users] precache2 problem

Paul Spencer pspencer at dmsolutions.ca
Mon May 15 22:12:52 EDT 2006


Jesse,

not sure what the right way to handle this is.  Precache is a fairly  
rudimentary script.  You will probably have to dig in and get it to  
work for yourself since it seems like you have a special case here.
Cheers
Paul

On 15-May-06, at 10:21 AM, Jesse Lovelace wrote:

> Precache2 seems to have a problem when processing some directories  
> for data:
>
> Warning: [MapServer Error]: msSHPOpenFile():
> (/var/www/http/tiger2005fe/37/37053//place)
> in /var/www/http/tl-map/precache2.php on line 238
>
> Warning: [MapServer Error]: msSHPOpenFile():
> (/home/data/tiger2005fe/37/37053//place)
> in /var/www/http/tl-map/precache2.php on line 238
>
> Fatal error: Call to a member function on a non-object in
> /var/www/http/tl-map/precache2.php on line 239
>
> The 37/37053 directory doesn't have a 'place' shapefile--I think  
> precache should
> continue gracefully if it comes to a directory that is missing a  
> layer--it could
> be that not all areas have all layers.
>
> This should be an easy fix, but I'm not sure what all is going on  
> in precache2 so I hesitate to make to many changes.
>
> Many thanks.
>
> jesse
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users

+-----------------------------------------------------------------+
|Paul Spencer                           pspencer at dmsolutions.ca   |
+-----------------------------------------------------------------+
|Applications & Software Development                              |
|DM Solutions Group Inc                 http://www.dmsolutions.ca/|
+-----------------------------------------------------------------+






More information about the ka-Map-users mailing list