[mapserver-users] shapefile names? (FWD)

teb teb at mallit.fr.umn.edu
Thu Jan 31 07:25:55 PST 2002


------------- Begin Forwarded Message -------------

From: "D.J. Grzicic" <grzicidj at muss.cis.mcmaster.ca>
Subject: shapefile names?
To: mapserver-info at lists.gis.umn.edu
Date: Wed, 30 Jan 2002 16:54:41 -0500
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit

Hi list,
I've come into a weird problem with regards to dbase and opening .dbf
files. If the dbf file is a certain name such as "theme6.dbf" it won't
open BUT when i rename the file to say "jackass.dbf" then it works
perfectly ?? I checked all permissions on the folder and the file is not
open in any other program, but obviously i'm missing something ??
Anybody have a clue ????

-thanks

On Mon, 28 Jan 2002 14:31:26 -0500
 Daniel Morissette <morissette at dmsolutions.ca> wrote:
> "D.J. Grzicic" wrote:
> > 
> > Thanks Dan,
> > the php code did wonders BUT, the change to my label properties has
> no
> > effect ?? What could be the problem ? When i print out the values
> of the
> > labelObj like so:
> > 
> > $class -> {label} -> {type} = 1;
> > $help = $class->{label}->{type};
> > echo "this is help value [$help]<BR>";
> > 
> 
> As I had written in my previous message: you have to use the set()
> method to set values in any mapscript object:
> 
>  $class -> {label} ->set("type", 1);
> 
> or even better, use the predefined constants:
> 
>  $class -> {label} ->set("type", MS_TRUETYPE);
> 
> -- 
> ------------------------------------------------------------
>  Daniel Morissette               morissette at dmsolutions.ca
>  DM Solutions Group              http://www.dmsolutions.ca/
> ------------------------------------------------------------
>   Don't put for tomorrow what you can do today, because if 
>       you enjoy it today you can do it again tomorrow.


------------- End Forwarded Message -------------





More information about the MapServer-users mailing list