RE: [mapserver-users] PERL MapScript

2009-05-20 Thread Christopher Condit
. Thanks for your input. -Chris -Original Message- From: Kralidis,Tom [Ontario] [mailto:tom.krali...@ec.gc.ca] Sent: Tuesday, May 19, 2009 4:58 PM To: Christopher Condit; mapserver-users@lists.osgeo.org Subject: RE: [mapserver-users] PERL MapScript I get the same error when running

[mapserver-users] PERL MapScript

2009-05-19 Thread Christopher Condit
Hi- I'm trying to get up and running with PERL MapScript on Linux (CentOS 5, MapServer 5.4 codebase). It seems to compile and install correctly but when I attempt to open a MapFile I get the following error: Can't locate auto/mapscript/mapObj/get.al in @INC (@INC contains:

RE: [mapserver-users] PERL MapScript

2009-05-19 Thread Christopher Condit
Hi Tom- What does your code look like? The following works for me: #!/usr/bin/perl use mapscript; use strict; my $map = new mapscript::mapObj(test.map) or die no map $!; my $name = $map-get(name); print $name; #!/usr/bin/perl use strict; use warnings; use mapscript; my $map = new

RE: [mapserver-users] Re: php mapscript objects in session?

2008-11-21 Thread Christopher Condit
-Original Message- From: [EMAIL PROTECTED] [mailto:mapserver-users- [EMAIL PROTECTED] On Behalf Of jim white Sent: Friday, November 21, 2008 9:19 AM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] Re: php mapscript objects in session? Hi- I'm using ms4w 2.2.7 and

[mapserver-users] php mapscript objects in session?

2008-11-20 Thread Christopher Condit
Hi- I'm using ms4w 2.2.7 and I've run into a problem. Ideally I'd like to create the MapScript map object and store it in the session: $_SESSION['map'] = ms_newMapObj($getMapPath); This works fine for the that page, for the first call, but when I attempt to reference it later I get a PHP error:

RE: [mapserver-users] KML thematics from MS Layers

2008-06-03 Thread Christopher Condit
Hi Sarel- I’m not sure why I didn’t see your GDAL-dev post… I don’t know of any way to do this with MapServer, but you can come close with a combination of OGR and XSL. I wrote a post on this a while ago on the gdal wiki here: http://trac.osgeo.org/gdal/wiki/KML So essentially you’d export to

RE: [mapserver-users] Mapserver and OpenDAP

2008-05-20 Thread Christopher Condit
Hi Arjen, Chris, I'd be very interested to hear about your experiences on building Mapserver on Windows, especially concerning the OpenDAP driver and the makefile Frank mentioned. I guess the build kit is the best way to start? Since I'm also interested in this I've created a new ticket in

RE: [mapserver-users] Mapserver and OpenDAP

2008-05-19 Thread Christopher Condit
Hi Arjen, What would be the best way of getting this to work? Would this mean I have to recompile Mapserver? Or is it possible to just recompile the GDAL driver? Any tips on recompiling on Windows (if necessary) or on using OpenDAP with Mapserver would be very welcome, since I have no

RE: [MAPSERVER-USERS] How to get class expression used in layer in themapfile

2008-05-02 Thread Christopher Condit
Here's an example in C# (it's from an older project, but I think it should still show what to do): classObj cls = new classObj(myLayerObj); cls.name = Test Class; sls.setExpression(count = 5); styleObj sty = new styleObj(cls);

[mapserver-users] PHP MapScript and Inheritance

2008-05-01 Thread Christopher Condit
I'm curious if anyone has successful inherited from the php classes exposed by PHP MapScript. I'd to subclass both mapObj and layerObj, but can't quite figure out how. Thanks, -Chris ___ mapserver-users mailing list mapserver-users@lists.osgeo.org