Re: [mapserver-users] text size from field but with an expression

2012-10-09 Thread Andrea Peri
Hi, This works for sure for me: DATA select geometry,osm_id,amenity,aeroway, name from osm_polygon where amenity is not null or aeroway='apron' Perhaps you do not need anything else than DATA select id,the_geom,field1+10 as field1, field2 from mytable -Jukka Rahkonen- Hi Jukka, it work greatly.

Re: [mapserver-users] [TinyOWS] Problem with attribute names with dots

2012-10-09 Thread Olivier Courtin
Jukka, But i need to check against CITE, that the fix don't introduce new regression, before commiting. CITE Checked and so commited, (#17). -- Olivier ___ mapserver-users mailing list mapserver-users@lists.osgeo.org

[mapserver-users] WFS fails if table name includes a dot character

2012-10-09 Thread Rahkonen Jukka
Hi, It may be an odd idea to use dots in table/feature type names, but because I made such a test and faced a problem so I report it here. Source table is in PostGIS and its name is dot.test. WFS DescribeFeatureType leads to following error [Tue Oct 9 10:56:02 2012].214191

Re: [mapserver-users] WFS fails if table name includes a dot character

2012-10-09 Thread Puneet Kishor
On Oct 9, 2012, at 7:51 AM, Rahkonen Jukka jukka.rahko...@mmmtike.fi wrote: Hi, It may be an odd idea to use dots in table/feature type names, but because I made such a test and faced a problem so I report it here. Source table is in PostGIS and its name is dot.test. WFS

Re: [mapserver-users] WFS fails if table name includes a dot character

2012-10-09 Thread Cristiano Sumariva
Uppercase chars in table names will also cause trouble, avoid them. 2012/10/9 Puneet Kishor punk.k...@gmail.com On Oct 9, 2012, at 7:51 AM, Rahkonen Jukka jukka.rahko...@mmmtike.fi wrote: Hi, It may be an odd idea to use dots in table/feature type names, but because I made such a

Re: [mapserver-users] Echo PHP in a query template?

2012-10-09 Thread Bistrais, Bob
Thanks everyone. The original purpose was to do some error checking, and have little red comments (such as invalid entry) on some fields based on an IF condition. I'm finding another way to do it, which should work. From: Lime, Steve D (DNR) [mailto:steve.l...@state.mn.us] Sent: Sunday,

[mapserver-users] How do you display a symbol with two colours?

2012-10-09 Thread geographika
Hi, I'm trying to draw a point layer, with each point represented in two colours (for example a square split in two with one half red and one half green). I can create the symbols and apply the data but either the squares are the incorrect shape, or they overlap. The closest I got was with

[mapserver-users] mapscript.jar error in servlet project

2012-10-09 Thread forest21000
Hello,Everyone!I am using mapscript.jar in my servlet project to generate tilemap in realtime.And lots of time it works very well.But sometimes,I came across the eroor like this: * Java.lang.UnknowError:msDrawMap():Image handling error.Failed to draw layer named

Re: [mapserver-users] mapscript.jar error in servlet project

2012-10-09 Thread Umberto Nicoletti
Since you're on windows it could be a locking issue: one process locked the file and mapserver can't therefore access it. Are there other programs accessing that same file? regards, Umberto On Wednesday, October 10, 2012, forest21000 wrote: Hello,Everyone!I am using mapscript.jar in my