On Sunday 23 April 2006 12:38, Martin Spott wrote:
> Paul Surgeon wrote:
> > On Sunday 23 April 2006 00:17, Martin Spott wrote:
> >> Please enjoy the latest update to the Landcover Mapserver and the
> >> underlying database. Visit:
> >>
> >>   http://mapserver.flightgear.org/
> >
> > Looks excellent Martin!
>
> Thanks ! I feel a major drwback is that the airports don't have their
> ICAO codes attached to the circles. This appears to be part of the
> group of features that need special handling ....


Ok, I'm assuming you're pulling the airport data out of the DB. I used a 
shapefile but the properties should be set the same in the Mapscript.
The "LABELITEM" property is the "column name".
One thing you may want to do is use a dot with a ring for symbols. It makes it 
easy to see the symbol on top of any color.
Light ring around dark dot or dark ring around a light dot.

Example : http://www.freeimagelibrary.com/images/Surge/map1.png

  LAYER
    NAME         "Airports"
    DATA         "Airports"
    STATUS       OFF
    TYPE         POINT
    UNITS        DD
    LABELMAXSCALE 10000000
    LABELITEM    "NAME"
    TOLERANCE 3

    CLASS
      NAME       "Airports"
      STYLE
        SYMBOL       "cities-symbol"
        COLOR        100 120 255
        OUTLINECOLOR 255 255 255
      END

      LABEL
        COLOR 0 0 0
        OUTLINECOLOR 255 255 255
        TYPE BITMAP
        SIZE MEDIUM
        ANTIALIAS TRUE
        POSITION UR
        PARTIALS FALSE
        MINDISTANCE 300
        BUFFER 4
      END
    END
  END

Paul


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to