Re: [mapserver-users] changing rendered color of layer dynamically?

2009-04-09 Thread Subha Ramakrishnan
The solution didn't work for me. This is my url: http://localhost/cgi-bin/mapserv?MAP=india_states.mapTRANSPARENT=trueLAYERS=india_statesmap.layer[india_states].class[ANDHRA%20PRADESH].style[0].color+255+0+0FORMAT=image%2Fpng;

Re: [mapserver-users] Layer Object Parameter Substitution fromURLusing GIS

2009-04-09 Thread Heiko Schröter
Hello Steve, Mapserver fails by just scanning the mapfile. Did fetch the 5.4_rc1 and installed it. But same behaviour as with the 5.4_beta. /usr/lib/cgi-bin/mapserv -v MapServer version 5.4.0-rc1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE

[mapserver-users] Generating a symbol with a fixed size

2009-04-09 Thread Adrian Popa
Hello everybody, I'm using mapserver v4.10 and I'm trying to display a circle symbol that has a fixed radius (in meters) that shows the coverage area over a map. The main problem is setting the radius so it would change and cover the same area with different zoom levels (more clearly - I want

Re: [mapserver-users] Layer Object Parameter Substitution fromURLusing GIS

2009-04-09 Thread Steve Lime
Hi Heiko: I'm thinking this is a problem with the snippet I sent you. Because MapServer is tokenizing the content of the VALIDATION block it's sees the word FILTER as a keyword that isn't allow in that block. The fix is to simply quote any validation keys that are keywords so the block becomes:

Re: [mapserver-users] changing rendered color of layer dynamically?

2009-04-09 Thread Steve Lime
Versions 5+ use syntax like: map.layer[india_states].class[ANDHRA%20PRADESH].style[0]=COLOR+255+0+0 There was a typo in my old message. Since you're doing WMS you could/should use SLD. Steve Subha Ramakrishnan su...@gslab.com 04/09/09 1:02 AM The solution didn't work for me. This is my

Re: [mapserver-users] Generating a symbol with a fixed size

2009-04-09 Thread Steve Lime
You can use the CLASS parameter SIZEUNITS to do this. For example: LAYER ... SIZEUNITS METERS CLASS ... SYMBOL 'circle' SIZE 40 END END I think that's right. Steve Adrian Popa adrian_gh.p...@romtelecom.ro 04/09/09 3:26 AM Hello everybody, I'm using mapserver v4.10 and

[mapserver-users] WFS layer and https

2009-04-09 Thread Fischer, Brian
I'm trying to use a WFS that is coming from a SSL (https) server. Is it possible to use a WFS from an https connection? Here is the error I am getting. HTML HEADTITLEMapServer Message/TITLE/HEAD !-- MapServer version 5.0.2 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF

Re: [mapserver-users] WFS layer and https

2009-04-09 Thread Michael Smith
Brian, You need the servers certificate in your cURL certificate directory. Where to put it, I think, depends on your OS. The default in the Unix OS¹s is /usr/share/ssl/certs. Mike -- Michael Smith RSGIS Center ERDC - CRREL US Army Corps of Engineers On 4/9/09 10:09 AM, Fischer, Brian

Re: [mapserver-users] MapServer 5.4 Release Candidate 1 Now Available

2009-04-09 Thread William Kyngesburye
The link on the download page is messed up. I had to go to download.osgeo.org/mapserver to download. On Apr 8, 2009, at 7:55 PM, Steve Lime wrote: Greetings all: MapServer 5.4 Release Candidate 1 is now available for download at http://mapserver.org/download.html. Only a couple of

RE: [mapserver-users] WFS layer and https

2009-04-09 Thread Fischer, Brian
Thanks Mike. We actually narrowed it down to a problem with MS4W. It appears that MS4W's libcurl does not include the root certificate authority bundle. I'll need to file a bug with MS4W. Thanks again for your help. Brian Fischer Houston Engineering, Inc. Maple Grove, MN (763)

[mapserver-users] Highlight

2009-04-09 Thread Jay Kapalczynski
Any way to highlight a feature in my map in PHP? I can grab a unique identifier but can figure out how to highlight it... THanks ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] RE: Highlight

2009-04-09 Thread Jay Kapalczynski
Basically what I have is a query that runs on a shapefile... It returns the records into a table, which I then have the option to zoom to. I am looking for a bit moreafter I run the query (php) I want the returned records to highlight in the map... I can get the Unique identifier but don't

[mapserver-users] Help in Fedora Linux

2009-04-09 Thread Rui Gomes
Hi... I build a websig in Linux Ubuntu and now i'm trying to do the same in Linux Fedora but i having a few problems. SELinux is preventing the write of the images in the tmp folder. How i solve this? Thanks -- Rui Gomes

Re: [mapserver-users] RE: Highlight

2009-04-09 Thread Moen, Paul T.
Set the mapfile QUERYMAP style to highlight http://mapserver.org/mapfile/querymap.html. Draw the map using drawQuery() instead of draw(). $img = $map-drawQuery(); header('Content-Type: image/jpeg'); $img-saveImage(); On 4/9/09 1:31 PM, Jay Kapalczynski jkapalczyn...@ci.maple-grove.mn.us

Re: [mapserver-users] PHP MapScript inserting extra parameters into.map file

2009-04-09 Thread Ian
The display of the data still works, however the altered .map file is no longer compatible with the OpenLayers wiki print.php code (http://trac.openlayers.org/wiki/Printing). I can't figure out why. My TileCache layers will still print but any layers coming from the PHP MapScript-edited map file

RE: [mapserver-users] RE: Highlight

2009-04-09 Thread Jay Kapalczynski
Dang I misspoke...I am sorry... I am querying a Database for records, these records have a PID (unique Number). These are the records that show up in the Table. As this happens I have to take the results and run the query against the parcels to get the features in the Shapefile, then

RE: [mapserver-users] RE: Highlight

2009-04-09 Thread Fawcett, David
Or a string variable containing a comma-delimited list of the ID numbers that you really want? David. -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Jay Kapalczynski Sent: Thursday,

RE: [mapserver-users] RE: Highlight

2009-04-09 Thread Jay Kapalczynski
That's what I was figuringright now I have some code that is in a while loop building the table from the query... I think maybe here I can build a list of PID values that can be sent to a PHP page Once at the PHP page I can then write code that will highlight the features in the map based

RE: [mapserver-users] RE: Highlight

2009-04-09 Thread Jay Kapalczynski
Thanks for your response... $qlayer-queryByAttributes('PID','PID IN (1, 2,7,9,23,87)',MS_MULTIPLE); Is the 1, 2,7,9,23,87 examples of PID values, if so I assume that these can be replaced with variables? Thanks again From: mapserver-users-boun...@lists.osgeo.org

Re: [mapserver-users] RE: Highlight

2009-04-09 Thread Moen, Paul T.
Yes, that looks feasible. On 4/9/09 3:49 PM, Jay Kapalczynski jkapalczyn...@ci.maple-grove.mn.us wrote: That's what I was figuringright now I have some code that is in a while loop building the table from the query... I think maybe here I can build a list of PID values that can be sent to

[mapserver-users] msIO_getStdoutBufferBytes(), gdBuffer in mapscript perl

2009-04-09 Thread Felipe Alcacibar
Hi, i'm trying to implement a wms server with a perl api of mapscript but i cannot understand how msIO_getStdoutBufferBytes() work in the docs msIO_getStdoutBufferBytes() function return the binary content of the current output but i cannot see that, when i dump with Data::Dump::Streamer i got: -

[mapserver-users] Re: msIO_getStdoutBufferBytes(), gdBuffer in mapscript perl

2009-04-09 Thread Felipe Alcacibar
sorry, i forget that: This is the version i use, i'm on gentoo linux Perl use mapscript; Perl print mapscript::msGetVersion(); MapServer version 5.0.0 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER

[mapserver-users] MapServer Arctic Sea Ice Cover

2009-04-09 Thread Joel D. Schlagel
A MapServer web site of interest: US Army Cold Regions Research Engineering Lab Ice Mass Balance web site. Movement of sea ice is monitored by sensors on buoys and locations are plotted using MapServer. No snazzy interface here - just a lot of interesting data.

[mapserver-users] error loading php_mapscript.so on apache start

2009-04-09 Thread P.Romero
I am able to dynamically load php_mapscript.so successfully on apache/fedora (latest versions of everything.). However, trying to load the module at apache startup (by adding it to httpd.conf, LoadModule.) fails with the following error: Cannot load /etc/httpd/modules/php_mapscript.so into

Re: [mapserver-users] error loading php_mapscript.so on apache start

2009-04-09 Thread Shawn Gervais
However, trying to load the module at apache startup (by adding it to httpd.conf, “LoadModule…”) fails with the following error: That's because php_mapscript.so is not an Apache module, it is a PHP module. If you want to load the php_mapscript module automatically when Apache starts, you need