[mapserver-users] More Labels on a layer

2012-10-30 Thread Andrea Peri
Hi, I'm trying to have more distinct label on a single layer,. To do this I try to set a classgroup and three class in that group every class use a distinct label. LAYER ... CLASSGROUP aaa .. CLASS GROUP aaa LABEL .. TEXT [FIELD1] .. END END CLASS GROUP aaa LABEL .. TEXT [FIELD2]

Re: [mapserver-users] More Labels on a layer

2012-10-30 Thread Lime, Steve D (DNR)
A feature can only match 1 class... 6.2 supports multiple labels per class though. Steve From: mapserver-users-boun...@lists.osgeo.org [mapserver-users-boun...@lists.osgeo.org] on behalf of Andrea Peri [aperi2...@gmail.com] Sent: Tuesday, October 30,

Re: [mapserver-users] More Labels on a layer

2012-10-30 Thread Andrea Peri
Hi Steve, It work greatly. I was not understand that on a class can put more than one LABEL. Andrea. 2012/10/30 Lime, Steve D (DNR) steve.l...@state.mn.us A feature can only match 1 class... 6.2 supports multiple labels per class though. Steve

Re: [mapserver-users] More Labels on a layer

2012-10-30 Thread Andrea Peri
Hi, I notice also that the dcumentiation say of element TEXT on the CLASS section but don't speak anything about the choice to put the TEXT element in the LABEL section. Instead it is possible on the mapserver 6.2 and is necessary to have multiple labels on the same class. CLASS NAME

[mapserver-users] Saving an image from a query

2012-10-30 Thread David Quinn
Hi List, I'm trying to understand how to save an image as a result of a query. One approach that I have experimented with is using `wget` to save the file but I've been getting an error message (I asked a question on this here:

Re: [mapserver-users] Saving an image from a query

2012-10-30 Thread Till Adams
Hi David, depending on your environemnt you use for your server you may use any scripting language, when you pass the image-request to a script, e.g. use -php -ruby -python -java ... either of them is offering any method to save images. For simpe php you find some hints and code-examples here:

Re: [mapserver-users] Saving an image from a query

2012-10-30 Thread Rahkonen Jukka
Hi, Perhaps wget thinks that certain characters are cutting the URL string. Try wget http://mysite.com/mapserv.cgi?map=../../mapfiles/demo.maplayer=landmode=mapFORMAT=image/png; -O output.png We have used wget a lot for downloading data from WCS so I guarantee you will make it work by

Re: [mapserver-users] Saving an image from a query

2012-10-30 Thread Basques, Bob (CI-StPaul)
I went and looked at the stackexchange thread. . . . A thought . . . In your map file, in the WEB block, try adding a line like this: QUERYFORMAT image/png Bobb -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver- users-boun...@lists.osgeo.org] On

Re: [mapserver-users] Saving an image from a query

2012-10-30 Thread David Quinn
Jukka's suggestion of using http://mysite.com/mapserv.cgi?map=../../mapfiles/demo.maplayer=landmode=mapFORMAT=image/png; -O output.png worked. Thanks for the suggestion. I have not tried any of the other approaches yet. -David I went and looked at the stackexchange thread. . . . A thought .

[mapserver-users] Very cool wind map

2012-10-30 Thread Stephen Woodbridge
Hi all, I thought you might be interested in checking this out. http://hint.fm/wind/ It is a very cool animated wind map of the US. I haven't look at the implementation but thought it was worth sharing. -Steve ___ mapserver-users mailing list

[mapserver-users] Strategies for displaying a temporary Postgres table

2012-10-30 Thread David Quinn
Hi List, I am exploring how to show the results of a pgRouting shortest path query. One suggestion is to create a temporary table ( http://download.osgeo.org/pgrouting/forum/pgrouting.postlbs.org/wiki/MapServer.html). One way I thought of doing this is to write a mapfile using php with DATA

Re: [mapserver-users] Strategies for displaying a temporary Postgres table

2012-10-30 Thread David Quinn
Thanks Bob - I did not realize I could substitute the table name. That solves the problem. I'm using SELECT ST_Extent(geom) FROM mytable to get the bounding box using PostGIS, and then using the results from that with MAPEXT. -David On Tue, Oct 30, 2012 at 2:44 PM, Basques, Bob (CI-StPaul)