Re: [mapserver-users] arrow head doesn't draw at the end

2011-09-27 Thread Havard Tveite
Have you seen: http://mapserver.org/mapfile/symbology/construction.html#changing-the-center-of-a-point-symbol Håvard Tveite On 9/27/2011 4:12 AM, Puneet Kishor wrote: My arrows look like so instead of with declarations like so SYMBOL NAME vert-line TYPE

Re: [mapserver-users] passing cgi query params to wms layers

2011-09-27 Thread Puneet Kishor
On Sep 26, 2011, at 11:22 PM, Mr. Puneet Kishor wrote: On Sep 26, 2011, at 11:04 PM, Stephen Woodbridge wrote: On 9/26/2011 10:29 PM, Puneet Kishor wrote: I am using OpenLayers as the front-end, requesting a WMS layer from MapServer that is getting data from Pg. My DATA statement is like

Re: [mapserver-users] WFS Typename behavior

2011-09-27 Thread Havard Tveite
You are right, Jukka. Multiple typeNames have been supported by WFS from the start (WFS 1.0.0), through a sequence of Querys, each containing a typeName. Sorry about the confusion. Håvard On 9/22/2011 1:35 PM, Rahkonen Jukka wrote: Hi, I can see from the server logs that users of ArcGIS Data

Re: [mapserver-users] PHP Mapscript - debugging help

2011-09-27 Thread Carlos Ruiz
Ian, We have moved from 5.x to 6.x are chasing an issue causing a segmentation fault which appears to be related to the way we are defining the symbols. Are you talking about the SYMBOLSET file definition ? The segmentation fault throws when you invoke map-draw() ? We used to print_r

[mapserver-users] PHP mapscript - how to add label style

2011-09-27 Thread Ian Walberg
Hello, I am sure it is staring me in the face but we cannot see how to add a style to a label (Mapserver 6.x) using PHP mapscript. Works fine via map file and we see the open issue with the save not including the geotransform line. What are we missing? Thanks Ian

Re: [mapserver-users] passing cgi query params to wms layers

2011-09-27 Thread Stephen Woodbridge
On 9/27/2011 9:27 AM, Puneet Kishor wrote: On Sep 26, 2011, at 11:22 PM, Mr. Puneet Kishor wrote: On Sep 26, 2011, at 11:04 PM, Stephen Woodbridge wrote: On 9/26/2011 10:29 PM, Puneet Kishor wrote: I am using OpenLayers as the front-end, requesting a WMS layer from MapServer that is

Re: [mapserver-users] Rendering weather data

2011-09-27 Thread Bob Basques
Could the barb class be built up from primitives, stem anddifferent flags on the tail, based on the numbers passed in. Basically you would be writing the barb symbol out for each label location needed, instead of sampling from a list of many? Just use a max/min thresholding to decide when

Re: [mapserver-users] Rendering weather data

2011-09-27 Thread Paul Ramsey
Once you have vectors, the classic trick I've seen for doing the barbs is to do math to map the windspeed into an appropriate char() value and store the barbs as TTF font entries. So you only end up with one class, and the barb is an appropriately rotated label. P. On Tue, Sep 27, 2011 at 10:31

Re: [mapserver-users] Rendering weather data

2011-09-27 Thread Norman Vine
On Sep 27, 2011, at 2:03 PM, Paul Ramsey wrote: Once you have vectors, the classic trick I've seen for doing the barbs is to do math to map the windspeed into an appropriate char() value and store the barbs as TTF font entries. So you only end up with one class, and the barb is an

Re: [mapserver-users] Rendering weather data

2011-09-27 Thread Brent Fraser
Bob, Maybe. I had considered some kind of programmed CGI-based URL function to create the wind barb (hence the interest in UCAR's NCL), but I don't think mapserver has the capability to use a URL as a symbol reference (would be a nice enhancement). I don't know how to procedurally add

Re: [mapserver-users] Rendering weather data

2011-09-27 Thread Brent Fraser
Paul, Does mapserver have the capability to do the math in the mapfile (e.g. via RFC 64)? If not, it's another good reason to load the raster as a point table in a database. And the font/anno layer method has the added feature of automatically decluttering the map using the labelcache. I

Re: [mapserver-users] Rendering weather data

2011-09-27 Thread Bob Basques
Brent, I was thinking about a template approach where you could build a chunk of the mapfile and using an include (this might be a good spot for that URL call BTW, at least to ask the dev list about) to get at the new chunk. Paul's idea about using a TTF font is much more elegant a

Re: [mapserver-users] Rendering weather data

2011-09-27 Thread Brent Fraser
Norman, Many thanks for the link; it's good to see how others have approached the problem. The font referenced is an ESRI font so I don't think I can use it due to copyright, but perhaps I could construct my own using the same glyph indexes for compatibility. Best Regards, Brent Fraser

[mapserver-users] minscaledenom puzzle, Mapserver 6.0.1

2011-09-27 Thread Peter N. Schweitzer
Surely I have misunderstood minscaledenom or otherwise have misused it. I just switched over to Mapserver 6.0.1 (Linux, CentOS, data in PostgreSQL+PostGIS) The web page is http://mrdata.usgs.gov/mineral-resources/mrds-us.html Feature type is point. The classes from the map file are these:

RE: [mapserver-users] PHP mapscript - how to add label style

2011-09-27 Thread Ian Walberg
We have spent some time chasing this with no success, is anyone out there using PHP mapscript and mapserver 6.x? Thanks Ian From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Ian Walberg Sent: Tuesday, September 27, 2011 8:21

[mapserver-users] Using a Symbol instead of text for a label

2011-09-27 Thread Matt McClelland
Hi I have a bunch of symbols that overlap on a map. EG at a park where I want to show an symbol for playground, toilet and picnic tables. The data for each of these items are individual point data items. I would like to ask mapserver, very kindly, to 'tile' nearby symbols into a group OR Use

[mapserver-users] output template trimlast doesn't work

2011-09-27 Thread jjwang
This is my template file. The *trimlast=','* statement doesn't work. Any idea on this? // mapserver template [resultset layer=pd] [ [feature trimlast=','] { id: [id], description: [description], venue: [venue], year: [year] }, [/feature] ] [/resultset] --

Re: [mapserver-users] PHP mapscript - how to add label style

2011-09-27 Thread Tim-Hinnerk Heuer
I am not an experienced mapscript user, but I do know PHP and MapServer quite well, so if you have any questions which are related to that, I would be happy to answer if i can. Tim On 28/09/11 11:51, Ian Walberg wrote: We have spent some time chasing this with no success, is anyone out

[mapserver-users] TILEINDEX layer problem mapserver 6.0.1

2011-09-27 Thread Simon Mercier
Hi list, I try to migrate a map service to Mapserver 6.0.1 that work perfectly with a Mapserver 5.0.3 and I have a strange behavior with a TILEINDEX layer. If you look the picture(in yellow you have the raster coverage)(http://mapcoop.org/www-demo/bugorthos.JPG), you see that my image coverage is