[Mapserver-users] QueryItem

Tracy Howlett thowlett at whistlermuseum.org
Sun Feb 15 13:57:00 PST 2004


Hi,

I'm using 4.0.1 and I've noticed that the QueryItem reference in the Mapfile
is no longer valid.  How can I customize which field values are returned?  I
am using Chameleon to do most of my development so I know that there will be
some tweaking there but for now I can't even figure out how to return a
normal query result.

Please help!

Tracy

-----Original Message-----
From: mapserver-users-admin at lists.gis.umn.edu
[mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of Attila Csipa
Sent: Saturday, February 14, 2004 1:24 PM
To: Gregorio Greco; mapserver-users at lists.gis.umn.edu
Subject: Re: [Mapserver-users] Re: Mapserver-users digest, Vol 1 #431 - 24
msgs

On Saturday 14 February 2004 20:44, Gregorio Greco wrote:
> i want to use the script shp2mysql.pl for to convert a shapefile.
> My environment is Win XP with WebServer Apache running!
> When i compile the script it's all ok! when I execute the script "
> shp2mysql.pl name_file"
>
> it's an error , that:
>  "Can't locate object method "new" via package "Shape" (....)'.
>
>  I believe that the problem is the subroutine "new" in the package
> Shapefile.pm and I attach the first code line :

Do you have shapelib installed ? In perl, the "new" subroutine is actually
the 
constructor of the shape class - every class HAS to have a constructor.
Check 
out the wiki for additional info regarding windows installations.

_______________________________________________
Mapserver-users mailing list
Mapserver-users at lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users





More information about the MapServer-users mailing list