Quantcast

[Geomoose-users] multi labeling

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

[Geomoose-users] multi labeling

Marc-André D.
Hi all,

I'm facing a new problem...

I'm trying to show few label of a layer. I know that when we use the type
"TEXT" the "LABELITEM" is overrided, but, with GeoMoose, it seems that the
type "TEXT" is not working


CLASS
      EXPRESSION "2004"
      NAME "2004"
      TEXT ([NO_LOT]:![SUPERF])
      LABEL
        WRAP "!"
        TYPE truetype
        FONT 'verdana'
        ANTIALIAS true
        SIZE 8
        COLOR 100 100 100
        OUTLINECOLOR 250 250 250
      END
END

The result should be:
"6548:
 31283.23"

How can I make this work???

Thanks!

--
View this message in context: http://geomoose-users.964460.n3.nabble.com/multi-labeling-tp3707090p3707090.html
Sent from the Geomoose-users mailing list archive at Nabble.com.

-----------------------------
Marc-André Dion
B.Sc Géomatique appliquée
Université de Sherbrooke
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: [Geomoose-users] multi labeling

Brent Fraser
Actually that's a Mapserver thing.  Which version of Mapserver are you
using?

Best Regards,
Brent Fraser


On 2/1/2012 9:21 AM, maddqc wrote:

> Hi all,
>
> I'm facing a new problem...
>
> I'm trying to show few label of a layer. I know that when we use the type
> "TEXT" the "LABELITEM" is overrided, but, with GeoMoose, it seems that the
> type "TEXT" is not working
>
>
> CLASS
>        EXPRESSION "2004"
>        NAME "2004"
>        TEXT ([NO_LOT]:![SUPERF])
>        LABEL
>          WRAP "!"
>          TYPE truetype
>          FONT 'verdana'
>          ANTIALIAS true
>          SIZE 8
>          COLOR 100 100 100
>          OUTLINECOLOR 250 250 250
>        END
> END
>
> The result should be:
> "6548:
>   31283.23"
>
> How can I make this work???
>
> Thanks!
>
> --
> View this message in context: http://geomoose-users.964460.n3.nabble.com/multi-labeling-tp3707090p3707090.html
> Sent from the Geomoose-users mailing list archive at Nabble.com.
> _______________________________________________
> Geomoose-users mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/geomoose-users
>


Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: [Geomoose-users] multi labeling

Marc-André D.
I don't really know how to get the mapserv version under linux....

Do you know how?

And from which version the type "TEXT" is supported?

Thx

--
View this message in context: http://geomoose-users.964460.n3.nabble.com/multi-labeling-tp3707090p3707197.html
Sent from the Geomoose-users mailing list archive at Nabble.com.

-----------------------------
Marc-André Dion
B.Sc Géomatique appliquée
Université de Sherbrooke
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: [Geomoose-users] multi labeling

Brent Fraser

Best Regards,
Brent Fraser

On 2/1/2012 9:55 AM, maddqc wrote:
I don't really know how to get the mapserv version under linux....

Do you know how?
http://mapserver.org/ogc/wms_client.html#compilation-installation

And from which version the type "TEXT" is supported?
http://mapserver.org/mapfile/class.html

Thx

--
View this message in context: http://geomoose-users.964460.n3.nabble.com/multi-labeling-tp3707090p3707197.html
Sent from the Geomoose-users mailing list archive at Nabble.com.
_______________________________________________
Geomoose-users mailing list
[hidden email]
http://lists.osgeo.org/mailman/listinfo/geomoose-users

Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: [Geomoose-users] multi labeling

Marc-André D.
My version of Mapserv is 6.0.1

I don't know if it's supposed to work....be it still doesn't.

--
View this message in context: http://geomoose-users.964460.n3.nabble.com/multi-labeling-tp3707090p3707476.html
Sent from the Geomoose-users mailing list archive at Nabble.com.

-----------------------------
Marc-André Dion
B.Sc Géomatique appliquée
Université de Sherbrooke
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: [Geomoose-users] multi labeling

Brent Fraser
You need to ask on mapserver email list.  There are many more people
with a lot more experience with mapfile syntax.

A quick review of the mapserver doc shows your:

   TEXT ([NO_LOT]:![SUPERF])


might not work.  Try

   TEXT '[NO_LOT]:![SUPERF]'

but the "!" may give the expression parser some trouble.  You may need
to experiment with other characters.

Best Regards,
Brent Fraser


On 2/1/2012 11:22 AM, maddqc wrote:

> My version of Mapserv is 6.0.1
>
> I don't know if it's supposed to work....be it still doesn't.
>
> --
> View this message in context: http://geomoose-users.964460.n3.nabble.com/multi-labeling-tp3707090p3707476.html
> Sent from the Geomoose-users mailing list archive at Nabble.com.
> _______________________________________________
> Geomoose-users mailing list
> [hidden email]
> http://lists.osgeo.org/mailman/listinfo/geomoose-users
>


Loading...