[mapserver-users] Transform the style's angle

2010-04-09 Thread Berend Veldkamp
Hi, I have a shapefile containing an Angle attribute, but it seems that values are interpreted in a different way that I'd expected. My data uses 0⁰ = up and CW, but MS seems to use 0⁰ = right and CCW. I can't find any specific documentation about this, other than

Re: [mapserver-users] queryByAttributes syntax

2010-01-25 Thread Berend Veldkamp
', mapscript.MS_MULTIPLE); } _ From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Berend Veldkamp Sent: Friday, January 22, 2010 7:22 AM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] queryByAttributes syntax Hi

Re: [mapserver-users] queryByAttributes syntax

2010-01-25 Thread Berend Veldkamp
a regex, for example: layer.queryByAttributes(map, myfield, /myregex/, mapscript.MS_MULTIPLE); Steve From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Berend Veldkamp Sent: Friday, January 22, 2010 6:22 AM To: mapserver-users

[mapserver-users] queryByAttributes syntax

2010-01-22 Thread Berend Veldkamp
to do a partial match on a shapefile (PostGIS supports 'LIKE') Regards, Berend Veldkamp ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] Joins with MapScript

2010-01-21 Thread Berend Veldkamp
Hello, Using MapScript C#, is there a way to get to the Join object (does it exist at all)? I can see layerObj.numjoins, but not layerObj.getJoin(i) or something similar. Is there a way to retrieve values from a joined table? Best regards, Berend Veldkamp

[mapserver-users] Hatch symbol not properly saved

2009-02-19 Thread Berend Veldkamp
Hi, I'm using CSharp mapscript to define some symbols, for instance a hatch: symbolObj result = new symbolObj(hatch, null); result.type = (int)MS_SYMBOL_TYPE.MS_SYMBOL_HATCH; map.symbolset.appendSymbol(result); when I call msmap.symbolset.save(), the symbol will have the following definition:

[mapserver-users] MapScript CSharp save fontset

2009-02-18 Thread Berend Veldkamp
Hi, Is there a way to save a fontset with CSharp MapScript? It is of course not hard to do that manually, but it would be nice to have a method similar to symbolset.save(). And another thing: After I save the fontset, I can't seem to set the mapObj.fontset.filename, because it claims to be a

[mapserver-users] CSharp Mapscript regional settings

2009-02-18 Thread Berend Veldkamp
Hi, I have written an application based on CSharp MapScript that generates mapfiles. When I save them, decimal values are written in the format specified in my regional settings (In the Netherlands that is a comma , instead of a period .). So I end up with: EXTENT -336022,285241803

[mapserver-users] One-to-many join

2008-06-12 Thread Berend Veldkamp
Hi, I'm trying to get a one-to-many join in a Postgis db working. One-to-one is working fine, but when I use one-to-many and add a template to the join object, no joined records are returned. In fact, the join template seems to be ignored altogether. Does anyone have a working example? The

[mapserver-users] One-to-many join

2008-06-12 Thread Berend Veldkamp
Hello Wim, As happens often, one thinks of the answer right after clicking Send... In the layer's template, add a tag named [join_test], i.e. the literal text join, an underscore, and the name of the join in the mapfile. This is the place where zero or more join templates will be inserted. In

[mapserver-users] One-to-many join

2008-06-12 Thread Berend Veldkamp
BTW, this is MapServer 5.0.2 ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users