Re: [mapserver-users] CLUSTER and GetFeatureInfo

2011-06-01 Thread luca.casagra...@gmail.com
2011/6/1 Tamas Szekeres : > > 2011/6/1 Luca Casagrande >> >> Hello everybody, >> I have a working demo with the new CLUSTER class working fine. What I'd >> like >> to do is to get the list of the values for a specific attribute, for every >> feature in the cluster. Is this possible, for example, w

[mapserver-users] MAXLENGTH not working with WRAP

2011-06-01 Thread kngai
Hi Everyone, I have setup a wms server to display a polygon on OpenLayers. I can show the labels with WRAP " ". But when I add MAXLENGTH, the map image (tiles) simply doesn't render anymore. Here is my mapfile LABEL: LABEL COLOR

Re: [mapserver-users] CLUSTER and GetFeatureInfo

2011-06-01 Thread Tamas Szekeres
2011/6/1 Luca Casagrande > Hello everybody, > I have a working demo with the new CLUSTER class working fine. What I'd > like > to do is to get the list of the values for a specific attribute, for every > feature in the cluster. Is this possible, for example, with a > GetFeatureInfo > request? > >

[mapserver-users] CLUSTER and GetFeatureInfo

2011-06-01 Thread Luca Casagrande
Hello everybody, I have a working demo with the new CLUSTER class working fine. What I'd like to do is to get the list of the values for a specific attribute, for every feature in the cluster. Is this possible, for example, with a GetFeatureInfo request? Thanks Luca -- View this message in conte

Re: [mapserver-users] Hwy Shields

2011-06-01 Thread Brent Fraser
This is kinda cool: http://commons.wikimedia.org/wiki/Category:Highway_shield_blanks Best Regards, Brent Fraser On 6/1/2011 9:50 AM, Fawcett, David (MPCA) wrote: Does anyone have a highway shield example map file and symbol set that they are willing to share? Thanks, David. __

Re: [mapserver-users] RE: Hwy Shields

2011-06-01 Thread Brent Fraser
Johan, That's the "classic" way of doing it: layer 1 (line): line symbology layer 2 (anno): label with point symbol under the label The "new" way is to use a STYLE object (referencing the point symbol) inside the LABEL object of the line layer so only one layer required. Bes

[mapserver-users] RE: Hwy Shields

2011-06-01 Thread Johan Forsman
> -Original Message- > From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users- > boun...@lists.osgeo.org] On Behalf Of Fawcett, David (MPCA) > Sent: Wednesday, June 01, 2011 10:50 AM > To: mapserver-users@lists.osgeo.org > Subject: [mapserver-users] Hwy Shields > > Does anyo

[mapserver-users] Geom Field with PostGIS

2011-06-01 Thread B. Heath Robinson
I am using tilecache with mapserver to serve map tiles. I seem to be having a problem because my geometry column is not named 'geom'. Below is my mapfile exerpt and the error message. You can see the the SQL that is built is not correct. I did some digging in the source code and found the li

Re: [mapserver-users] Hwy Shields

2011-06-01 Thread Brent Fraser
David, While the below example uses a very simple symbol (a circle), it may get you started: #Circle symbol SYMBOL NAME 'CIRCLE' TYPE ellipse FILLED true POINTS 1 1 END END LAYER # Roads NAME 'Roads' TYPE LINE : CLASS LABEL

Re: [mapserver-users] Hwy Shields

2011-06-01 Thread Jeff McKenna
On 11-06-01 12:50 PM, Fawcett, David (MPCA) wrote: Does anyone have a highway shield example map file and symbol set that they are willing to share? Hi David, I recommend that you try the OSM/MapServer steps, and in the end you'll have a nice mapfile with all of the tricks (such as shields)

[mapserver-users] Hwy Shields

2011-06-01 Thread Fawcett, David (MPCA)
Does anyone have a highway shield example map file and symbol set that they are willing to share? Thanks, David. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] font support problem

2011-06-01 Thread William Kyngesburye
Freetype is found. Iconv is found. GD is found. gdImageStringFT test fails because it doesn't try with iconv. I do see a test for if GD needs iconv in configure, but for some reason it's not getting to this test for me... I'll look into it more later this evening when I have time. On Jun 1

Re: [mapserver-users] font support problem

2011-06-01 Thread Stephen Woodbridge
When you get a chance please write a bug against this issue. It seems that there are a few things that need to be fixed: 1. error message is wrong and misleading 2. configure is not finding the libraries 3. configure is not detecting a missing library (iconv) and disabling freetype if the missi

Re: [mapserver-users] SLD with filter

2011-06-01 Thread Daniel Degasperi
Ok, ticket (with test data) created at http://trac.osgeo.org/mapserver/ticket/3902 Am 31/05/2011 19:35, schrieb Yewondwossen Assefa: Daniel, I just did a quick test with 5.6.x (svn) and a postgis layer using the metadata but could not reproduce a crash. If it is something I can reproduce us

Re: [mapserver-users] font support problem

2011-06-01 Thread William Kyngesburye
Freetype is not the problem. I already figured it out - my gd font support needs -liconv and configure is not adding it to the gd test. It looks like the mapserver configure doesn't get the libs from the gdlib-config script but makes a common guess. I thought I had this working in the past, b

Re: [mapserver-users] font support problem

2011-06-01 Thread Stephen Woodbridge
./configure can not find your truetype font includes and/or libs. You need to make sure you have the truetype package installed on Linux this is called something like freetype2. On my debian system: ls /usr/include/freetype2/freetype/ configftcid.h ftimage.h ftmodapi.h ftsnames.h

Re: [mapserver-users] font support problem

2011-06-01 Thread William Kyngesburye
It would help if I turned off the find words option ;) There it is in configure, I just need to figure out why it was disabled. On Jun 1, 2011, at 8:40 AM, William Kyngesburye wrote: > Something has killed my font support in MapServer in the compilation stage. > > I'm getting a "Keyword FONT i

[mapserver-users] font support problem

2011-06-01 Thread William Kyngesburye
Something has killed my font support in MapServer in the compilation stage. I'm getting a "Keyword FONT is not valid without TrueType font support" error at runtime. It looks like font support is conditionalized on USE_GD_TTF or USE_GD_FT, but I can't figure out where this is set in configurati

Re: [mapserver-users] Re: Is it posible to substitute a value from table for width of line

2011-06-01 Thread Brent Fraser
There's even a ticket: http://trac.osgeo.org/mapserver/ticket/3448 Best Regards, Brent Fraser On 6/1/2011 3:18 AM, prab.raja wrote: OK. Thanks! On Wed, Jun 1, 2011 at 2:34 PM, thomas bonfort [via OSGeo.org] <[hidden email] > wrote: ok. the docs are wrong. WIDTH binding is available si

Re: [mapserver-users] Re: HTTP request error. CURLOPT_PROXYAUTH not supported. Requires Curl 7.10.7 and up

2011-06-01 Thread thomas bonfort
looking at the code, it seems the only reason on unix you'd get that message is because the curl library is too old. On ms4w it might be because the maintainer has not set the USE_CURLOPT_PROXYAUTH #define. -- thomas On Wed, Jun 1, 2011 at 11:26, sulu wrote: > Hi Jukka. > > Thanks for answering.

[mapserver-users] Re: HTTP request error. CURLOPT_PROXYAUTH not supported. Requires Curl 7.10.7 and up

2011-06-01 Thread sulu
Hi Jukka. Thanks for answering. If i use only wms_proxy_host and wms_proxy_port parameter in the Layer/Metadata i get a plain old 407 because of missing credentials. But if wms_proxy_password comes into use the "CURLOPT_PROXYAUTH not supported"-error shows up. -- View this message in context: h

[mapserver-users] Re: Is it posible to substitute a value from table for width of line

2011-06-01 Thread prab.raja
OK. Thanks! On Wed, Jun 1, 2011 at 2:34 PM, thomas bonfort [via OSGeo.org] < ml-node+6426142-1064851714-338...@n2.nabble.com> wrote: > ok. the docs are wrong. WIDTH binding is available since mapserver 5.4.0. > > On Wed, Jun 1, 2011 at 10:58, prab.raja <[hidden > email]

Re: [mapserver-users] Re: HTTP request error. CURLOPT_PROXYAUTH not supported. Requires Curl 7.10.7 and up

2011-06-01 Thread Rahkonen Jukka
Hi, All I can say is that I am running MS4W 3.0.2 updated to use Mapserver 6.0 and I have these two lines in the LAYER-METADATA for setting the proxy and it works for me. "wms_proxy_host" "xxx.yyy.zzz" "wms_proxy_port" "" -Jukka Rahkonen- sulu wrote: > > Update. > > Am i doing someth

Re: [mapserver-users] Re: Is it posible to substitute a value from table for width of line

2011-06-01 Thread thomas bonfort
ok. the docs are wrong. WIDTH binding is available since mapserver 5.4.0. On Wed, Jun 1, 2011 at 10:58, prab.raja wrote: > Below is the mapserv.exe -v output. > It shows MapServer version 5.2.1 only. > MapServer version 5.2.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP > OUTPUT=PDF >  OUTPUT=SW

[mapserver-users] Re: HTTP request error. CURLOPT_PROXYAUTH not supported. Requires Curl 7.10.7 and up

2011-06-01 Thread sulu
That sould not be the problem. On the centos-box we have: yum list | grep -i curl curl.i386 7.15.5-9.el5_6.2 installed curl.x86_647.15.5-9.el5_6.2 installed curl-devel.i3867.15.5-9.el

[mapserver-users] Re: Is it posible to substitute a value from table for width of line

2011-06-01 Thread prab.raja
Below is the mapserv.exe -v output. It shows MapServer version 5.2.1 only. MapServer version 5.2.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICO NV SUPPORTS=FRIBIDI SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT

Re: [mapserver-users] Re: HTTP request error. CURLOPT_PROXYAUTH not supported. Requires Curl 7.10.7 and up

2011-06-01 Thread thomas bonfort
first check that comes to mind: is your curl version > to 7.10.7 ? On Wed, Jun 1, 2011 at 10:55, sulu wrote: > Update. > > Am i doing something wrong here? > > There is the same problem when i use the ms4w-windows-mapserver (5.6.6) > > It also complains about > CURLOPT_PROXYAUTH not supported. R

[mapserver-users] Re: HTTP request error. CURLOPT_PROXYAUTH not supported. Requires Curl 7.10.7 and up

2011-06-01 Thread sulu
Update. Am i doing something wrong here? There is the same problem when i use the ms4w-windows-mapserver (5.6.6) It also complains about CURLOPT_PROXYAUTH not supported. Requires Curl 7.10.7 and up Maybe there is something amiss in the mapefile. "wms_proxy_auth_type" "

Re: [mapserver-users] Re: Is it posible to substitute a value from table for width of line

2011-06-01 Thread thomas bonfort
then make sure you are actually using 5.2.1 and not an older version On Wed, Jun 1, 2011 at 10:47, prab.raja wrote: > yes. > Below is the style copied from my Map file. >         STYLE >             COLOR 0 140 70 >             WIDTH [gid] >          END > On Wed, Jun 1, 2011 at 2:12 PM, thomas b

[mapserver-users] Re: Is it posible to substitute a value from table for width of line

2011-06-01 Thread prab.raja
yes. Below is the style copied from my Map file. STYLE COLOR 0 140 70 WIDTH [gid] END On Wed, Jun 1, 2011 at 2:12 PM, thomas bonfort [via OSGeo.org] < ml-node+6426084-491165995-338...@n2.nabble.com> wrote: > are you using the exact syntax of your first exa

Re: [mapserver-users] Re: Is it posible to substitute a value from table for width of line

2011-06-01 Thread thomas bonfort
are you using the exact syntax of your first example, i.e. "WIDTH [gid]" ? On Wed, Jun 1, 2011 at 10:27, prab.raja wrote: > But when I tried this mapserver gives error message as "getInteger(): Symbol > definition error. Parsing error near (gid)". > I am using MapServer version 5.2.1. > > On Wed,

[mapserver-users] Re: Is it posible to substitute a value from table for width of line

2011-06-01 Thread prab.raja
But when I tried this mapserver gives error message as *"getInteger(): Symbol definition error. Parsing error near (gid)". * **I am using MapServer version 5.2.1. On Wed, Jun 1, 2011 at 1:48 PM, Havard Tveite [via OSGeo.org] < ml-node+6426034-1909892157-338...@n2.nabble.com> wrote: > According t

Re: [mapserver-users] Is it posible to substitute a value from table for width of line

2011-06-01 Thread Havard Tveite
According to http://www.mapserver.org/mapfile/style.html > that should be possible. Håvard On 6/1/2011 8:09 AM, prab.raja wrote: Hi, I would like to know if it's posible to draw line layer with variable width from database table. Something like this? LAYER NAME line_layer CONNEC