Re: [mapserver-users] WFS layer - XML/JSON safe chars

2016-04-14 Thread Rahkonen Jukka (MML)
Hi Ian, Thanks for the clarification. I made a simple test by adding an abstract into layer metadata. This shows “test ä” as an abstract "wfs_abstract" "test ä” This one shows an empty abstract "wfs_abstract" "test ä &" So it looks like Mapserver doesn’t know to convert “&” into “” for XML.

Re: [mapserver-users] WFS layer - XML/JSON safe chars

2016-04-14 Thread Rahkonen Jukka (MML)
Hi, You can’t have & in feature type names or attribute names in WFS because they are defined in the XML schema to be “QName”. The prefix and LocalPart are of type NCName https://en.wikipedia.org/wiki/QName and from

[mapserver-users] WFS layer - XML/JSON safe chars

2016-04-14 Thread Ian Walberg
Folks, Can mapserver produce XML or JSON safe characters for WFS served data or do we need to ensure the source data has the escaped values. We got tripped up today as there were some ‘&’ in our names which we had not considered. Thanks Ian ___

Re: [mapserver-users] Symbol size in meters, width in pixels units

2016-04-14 Thread thomas bonfort
we use it already: https://github.com/mapserver/mapserver/blob/branch-7-0/renderers/agg/src/clipper.cpp -- thomas On 14 April 2016 at 15:00, Stephen Woodbridge wrote: > Thomas, > > Please take a moment to review this library: > >

Re: [mapserver-users] Symbol size in meters, width in pixels units

2016-04-14 Thread Stephen Woodbridge
Thomas, Please take a moment to review this library: http://www.angusj.com/delphi/clipper.php I've used the JavaScript version to do offsets in the browser. It could be used to offset and linestring or polygon object like a circle and IIRC, it also does one sided offsets. It also does lots

Re: [mapserver-users] Symbol size in meters, width in pixels units

2016-04-14 Thread Michal Seidl
Thanks for replay. Actually I am triyng to size circle vector symbol in map/meters/units. It works perfectly till you use only COLOR and not OUTLINECOLOR. All is needed is SIZEUNITS meters at LAYER level and then STYLE SIZE is then computed not in pixeles but map meters. Unfortunatelly the

Re: [mapserver-users] Symbol size in meters, width in pixels units

2016-04-14 Thread thomas bonfort
For lines, you have the OUTLINEWIDTH keyword which is always in pixels. -- thomas On 14 April 2016 at 10:17, Michal Seidl wrote: > Hi, > I can see the same behaviour with Mapserver 6.4 driver AGG. I am affraid it > is not possible. Unfortunaltely. I din not find any

Re: [mapserver-users] Symbol size in meters, width in pixels units

2016-04-14 Thread Michal Seidl
Hi, I can see the same behaviour with Mapserver 6.4 driver AGG. I am affraid it is not possible. Unfortunaltely. I din not find any workaround. Michal -- View this message in context: http://osgeo-org.1560.x6.nabble.com/Symbol-size-in-meters-width-in-pixels-units-tp4228865p5261186.html Sent