RE: [mapserver-users] MapServer Symbol Conversion from Polyline Points

2008-12-29 Thread Donald Kerr
Just to add a wee bit to this. I have a number of symbols that I would like to recreate in MapServer. I have an image of what they should look like and I have the arrays of polyline points. What I don't really know is the limitations of the MapServer vector points i.e. the maximum number of points

[mapserver-users] add symbol to search result

2008-12-29 Thread Borbás Attila
Hello, I want to add a symbol to my search result. I have a mysql table with city names and coordinates. If I search the map zoom onto city and I want to add a symbol that shows the search result. How can i do this? Thanx for answers. Attila ___

Re: [mapserver-users] MapServer Symbol Conversion from Polyline Points

2008-12-29 Thread thomas bonfort
hi, On Mon, Dec 29, 2008 at 11:59, Donald Kerr donald.k...@dkerr.co.uk wrote: the maximum number of points that can be used by default it's 100. you can change the MS_MAXVECTORPOINTS constant in mapsymbol.h to change that limit. and the highest positive/negative numbers that can be used. I

RE: [mapserver-users] MapServer Symbol Conversion from Polyline Points

2008-12-29 Thread Donald Kerr
Thomas, Thanks for your prompt reply. If I take just part of the above then it still doesn't work: SYMBOL NAME 'boulderGeometry' TYPE VECTOR FILLED FALSE POINTS -0.154 0.236 -0.111 0.365 -0.116 0.501

Re: [mapserver-users] MapServer Symbol Conversion from Polyline Points

2008-12-29 Thread thomas bonfort
On Mon, Dec 29, 2008 at 13:58, Donald Kerr donald.k...@dkerr.co.uk wrote: Thomas, Thanks for your prompt reply. If I take just part of the above then it still doesn't work: SYMBOL NAME 'boulderGeometry' TYPE VECTOR FILLED FALSE POINTS -0.154

[mapserver-users] LABEL - POSITION and FONT Calculations

2008-12-29 Thread Donald Kerr
I have a problem that has me stumped. I am trying to place text on a map as a LABEL which I can successfully do with the following code: LAYER CONNECTIONTYPE postgis NAME CartographicText CONNECTION user=postgres dbname=MasterMap host=localhost DATA geom FROM (SELECT

RE: [mapserver-users] MapServer Symbol Conversion from Polyline Points

2008-12-29 Thread Fawcett, David
Another potential solution would be to create a true type font character and use that as your symbol. -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of thomas bonfort Sent: Monday, December 29, 2008 7:06 AM To:

RE: [mapserver-users] MapServer Symbol Conversion from Polyline Points

2008-12-29 Thread Donald Kerr
Another potential solution would be to create a true type font character and use that as your symbol. That might be worth a try. I'll be working on this problem later today wo will give it a go and see how I get on. I also want to try getting the polyline points into a vector format just to

Re: [mapserver-users] LABEL - POSITION and FONT Calculations

2008-12-29 Thread José María Michia
2008/12/29 Donald Kerr donald.k...@dkerr.co.uk: I have a problem that has me stumped. I am trying to place text on a map as a LABEL which I can successfully do with the following code: LAYER CONNECTIONTYPE postgis NAME CartographicText CONNECTION user=postgres

[mapserver-users] Re: Update: MapServer Documentation Effort

2008-12-29 Thread Howard Butler
A reminder to let you know that the CNAME for mapserver.gis.umn.edu will be moving to mapserver.osgeo.org tomorrow, which coincides with our migration to the new website It may take a day or so for DNS to propagate. http://mapserver.osgeo.org Howard

Re: [mapserver-users] LABEL - POSITION and FONT Calculations

2008-12-29 Thread Steve Lime
Hi Donald: The question is: Is it possible to take the values from the database and convert them for use within the LABEL e.g. 2 = ul = POSITION ul or 5 = uc = POSITION uc? At the moment POSITION is not bindable. If you file a bug then that can be changed. Once changed you could use a

RE: [mapserver-users] LABEL - POSITION and FONT Calculations

2008-12-29 Thread Donald Kerr
Steve, The question is: Is it possible to take the values from the database and convert them for use within the LABEL e.g. 2 = ul = POSITION ul or 5 = uc = POSITION uc? At the moment POSITION is not bindable. If you file a bug then that can be changed. Once changed you could use a

RE: [mapserver-users] LABEL - POSITION and FONT Calculations

2008-12-29 Thread Steve Lime
Here's one: DATA point FROM (select *, OID, substring(station from 2) as station_no_char, (case when current is null or tstamp_24hr is null or (now()-tstamp) interval '1 day' then 0 when current tstamp_24hr then 1 when current tstamp_24hr then 2 else 3 end) as trend from

RE: [mapserver-users] LABEL - POSITION and FONT Calculations

2008-12-29 Thread Donald Kerr
Jose, All understood. I'll try your suggestions tomorrow. Many thanks. Regards, Donald -Original Message- From: José María Michia [mailto:jose.maria.mic...@gmail.com] Sent: 29 December 2008 15:33 To: Donald Kerr Cc: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users]

RE: [mapserver-users] LABEL - POSITION and FONT Calculations

2008-12-29 Thread Donald Kerr
Steve, Here's one: DATA point FROM (select *, OID, substring(station from 2) as station_no_char, (case when current is null or tstamp_24hr is null or (now()-tstamp) interval '1 day' then 0 when current tstamp_24hr then 1 when current tstamp_24hr then 2 else 3 end) as trend from

RE: [mapserver-users] MapServer Symbol Conversion from Polyline Points

2008-12-29 Thread Steve Lime
I believe the size is computed from the max x, y coordinates and 0,0. That size (and the Style size) is then used to offset the symbol so it is centered accordingly. Typically I always develop vector symbols on a unit square (0 to 1) so that things work predictably. As suggested later in this

[mapserver-users] MapServer Website Migration

2008-12-29 Thread Steve Lime
Hi all: Perhaps you've already noticed the change, but regardless, the MapServer PSC is pleased to announce the migration of the MapServer website to a new domain and platform. This move completes the MapServer migration of services to OSGeo. It also marks the end of an era. For years the

Re: [mapserver-users] MapServer Website Migration

2008-12-29 Thread Bob Basques
All, Hey, is there a link to the mapfile being used for the OpenStreetMap data in the map. bobb Steve Lime wrote: Hi all: Perhaps you've already noticed the change, but regardless, the MapServer PSC is pleased to announce the migration of the MapServer website to a new domain and

[mapserver-users] RE: Symbol Style Angle Seems Incorrect (MapServer 5.0.2)

2008-12-29 Thread David Martin
I found some TRAC history on this issue and it appears to have been reported. I have also worked around the problem by changing the | char to a - character and increasing the symbol size in the map file. Just wanted to post this update for other looking at the same issue. Regards David Martin