[Mapserver-users] Just display a layer (2) - Excellent - Thanks

harato harato_1 at yahoo.com
Fri Aug 8 09:04:32 EDT 2003


Excellent !

Big Thanks for your help !

I've made my mapfile example with an other example
(I'm a beginner/newbie...) and now I've delete 0 in
"expression" and I've my map.

Excellent. thanks again for your help

Cheers

Harato

--- Frank Warmerdam <warmerdam at pobox.com> wrote:
> harato wrote:
> > probably my mapfile is wrong (maybe ?)
> > 
> > have I need to add projection value ?
> > 
> > I've attached my mapfile example, if anyone can
> help
> > me...
> ...
> >   LAYER
> >     NAME "Département"
> >     STATUS ON
> >     DATA "./dept56"
> >     TYPE POLYGON
> >     UNITS METERS
> >     SIZEUNITS PIXELS
> >     TOLERANCE 0
> >     TOLERANCEUNITS PIXELS
> >     METADATA
> >       "Description"    "Département"
> >     END
> >     CLASS
> >       NAME "dept56"
> >       EXPRESSION "0"
> >       SYMBOL 12
> >       COLOR 153 255 255
> >       OUTLINECOLOR 51 204 255
> >       SIZE 1
> >       MINSIZE 1
> >       MAXSIZE 100
> >     END
> >   END
> > END
> 
> Harato,
> 
> I would suggest turning the layer status to DEFAULT,
> but the problem I ran
> into with this configuration was your use of
> EXPRESSION "0".  If I comment
> that out it renders OK for me in MapServer.
> 
> I don't see anything indicating what variable is
> being used for the
> classification, so I don't know what the EXPRESSION
> is testing, but whatever
> (if anything it is), it doesn't match your
> expression.
> 
> Best regards,
> 
> -- 
>
---------------------------------------+--------------------------------------
> I set the clouds in motion - turn up   | Frank
> Warmerdam, warmerdam at pobox.com
> light and sound - activate the windows |
> http://pobox.com/~warmerdam
> and watch the world go round - Rush    | Geospatial
> Programmer for Rent
> 
> 


__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com



More information about the mapserver-users mailing list