[mapserver-users] template item formatting options and joined table

2011-03-28 Thread iomeneandrei
Dear all, I have an ITEMQUERY on a layer with a join object inside (ONE-TO-MANY). I would like to format the results using template item formatting options. Is it possible to use them with the items of joined table? I have applied it using this kind of syntax [item name="relationname_field" pre

RE: [mapserver-users] template item formatting options and joined table

2011-03-28 Thread Lime, Steve D (DNR)
It's not possible yet. Joined items aren't handled in the same fashion as regular items. This is an oversight on my part. There is a need to add a new one-to-many template block but it slipped off my radar. If you'd file a ticket and assign to me I'll get it added. Steve -Original Message-

Re: [mapserver-users] MapServer CGI Controls doc web page

2011-03-28 Thread Daniel Morissette
On 11-03-27 04:56 AM, iomeneandrei wrote: I think that the sentence you have in MapServer 4.10 to 5.0 Migration doc web page - "the qstring_validation_pattern layer-level metadata is required for qstring queries to work" - should be included in MapServer CGI Controls doc web page. It would be fa

RE: [mapserver-users] MapServer CGI Controls doc web page

2011-03-28 Thread Lime, Steve D (DNR)
Hi Andrea: I believe Daniel already commented on the documentation side of things. In terms of an example it's pretty straight forward. The validation pattern is given as a regex like so: LAYER ... METADATA 'qstring_validation_pattern' '.' # would allow any value 'qstring_validation_

Re: [mapserver-users] MapServer CGI Controls doc web page

2011-03-28 Thread Rahkonen Jukka
Hi, How straight forward it is to validate non-ASCII characters like äåö (äåö)? -Jukka Rahkonen Lime, Steve D wrote: > Hi Andrea: I believe Daniel already commented on the documentation side of > things. In terms of an > example it's pretty straight forward. The validation pattern is given

[mapserver-users] RE: template item formatting options and joined table

2011-03-28 Thread iomeneandrei
Dear Steve, Lime, Steve D (DNR) wrote: > > It's not possible yet. Joined items aren't handled in the same fashion as > regular items. This is an oversight on my part. There is a need to add a > new one-to-many template block but it slipped off my radar. If you'd file > a ticket and assign to me I

[mapserver-users] RE: MapServer CGI Controls doc web page

2011-03-28 Thread iomeneandrei
Once again thank to you both. Best regards, Andrea - Andrea Borruso email: aborr...@tin.it website: http://blog.spaziogis.it my 2.0 life: http://aborruso.spaziogis.it feed: http://feeds2.feedburner.com/Tanto 38° 7' 48" N, 13° 21' 9" E ---

[mapserver-users] Too many open files...

2011-03-28 Thread Lee Meilleur
Hello, Has anyone run into the error: "Too many open files: couldn't set child process attributes: /var/www/cgi-bin/mapserv"? This error shows up in an Apache error_log. A broken image now shows up for MapServer layers since this started. I've tried changing the ulimits or the MaxRequestsPer

Re: [mapserver-users] Too many open files...

2011-03-28 Thread fruitwerks
Hey Lee, Look into a little thing called ulimit best of luck, Corey On Mon, Mar 28, 2011 at 2:05 PM, Lee Meilleur wrote: > Hello, > > > > Has anyone run into the error: “Too many open files: couldn’t set child > process attributes: /var/www/cgi-bin/mapserv”?  This error shows up in an > Apache

RE: [mapserver-users] Too many open files...

2011-03-28 Thread Lee Meilleur
Thanks Corey, the ulimit was set to unlimited already. Lee -Original Message- From: fruitwerks [mailto:fruitwe...@gmail.com] Sent: Monday, March 28, 2011 4:21 PM To: Lee Meilleur Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] Too many open files... Hey Lee, Look i

Re: [mapserver-users] Too many open files...

2011-03-28 Thread Stephen Woodbridge
On 3/28/2011 5:05 PM, Lee Meilleur wrote: Hello, Has anyone run into the error: “Too many open files: couldn’t set child process attributes: /var/www/cgi-bin/mapserv”? This error shows up in an Apache error_log. A broken image now shows up for MapServer layers since this started. I’ve tried chan

RE: [mapserver-users] Too many open files...

2011-03-28 Thread Lee Meilleur
Fedora 12 Apache 2.2.14 Prefork MPM ./shp2img: error while loading shared libraries: librx.so.0: cannot open shared object file: No such file or directory (this was news to me) Serving shapefiles only. MapServer version 5.6.3 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PR

Re: [mapserver-users] Too many open files...

2011-03-28 Thread Jim Klassen
Are you running anything else significant on the machine? It would generally be very difficult for MapServer, running in CGI mode, to use up all the open files. The only cases I can think of that could be related to MapServer serving shapefiles would be (1) FastCGI and a bug that isn't closing

Re: [mapserver-users] Too many open files...

2011-03-28 Thread Stephen Woodbridge
Lee, I think I have run into this before. Turn off SELinux if it is running and I bet that is it. Otherwise, try building mapserver from source, maybe you ahve a library or rpm packaging issue. -Steve W On 3/28/2011 5:57 PM, Jim Klassen wrote: Are you running anything else significant on t

[mapserver-users] GetCapabilities error

2011-03-28 Thread Favre, Sebastien
Hello to all, I have the following error when I make a WMS GetCapabilties request : msLoadMap(): Regular expression error. MS_DEFAULT_MAPFILE_PATTERN validation failed. msEvalRegex(): Regular expression error. String failed expression test. Do you have an idea of what could be wrong ? Here is m

[mapserver-users] USING UNIQUE with multiple fields

2011-03-28 Thread geographika
Hi I have a feature table which I'm serving out as a WFS. It has a two column unique index - is there support for this in a LAYER definition in a mapfile? E.g. DATA "GEOM from mytable USING SRID=29902 USING UNIQUE Field1,Field2 I presume not as I've tried a few combinations with no success,

Re: [mapserver-users] GetCapabilities error

2011-03-28 Thread Stephen Woodbridge
Try this? http://localhost/cgi-bin/mapserv.exe?map=C:/ms4w/Apache/htdocs/webmapping/data/mapserver/mapfile.map&SERVICE=WMS&REQUEST=GetCapabilities&VERSION=1.1.1 You had two '?' in your request. On 3/28/2011 6:17 PM, Favre, Sebastien wrote: Hello to all, I have the following error when I make