[mapserver-users] Labeling via OGR, MySQL table

Jay Kapalczynski jkapalczynski at ci.maple-grove.mn.us
Thu Apr 16 13:02:03 EDT 2009


I am plotting a few points via an OVF file and MySQL table
The points show up fine...
As soon as I try to label from the MySQL table the Star points disappear...
I imagine I have some syntax issues or missing something in the map file (See below)

Any thoughts?

THANKS

HERE ARE THE POINTS
LAYER # Points from the MySQL Database
    NAME Database
    STATUS DEFAULT
    TYPE POINT
    CONNECTIONTYPE OGR
    CONNECTION './Coordinatedata1.ovf'
    DATA 'Coordinatedata'
    CLASS
       #NAME "ID"
           STYLE
               SYMBOL "star"
               SIZE 15
               COLOR 238 0 0
           END
    END
END

CANT GET THE LABELS TO SHOW UP
  LAYER # Points from the MySQL Database
    NAME Database
    STATUS DEFAULT
    TYPE POINT
    CONNECTIONTYPE OGR
    CONNECTION './Coordinatedata1.ovf'
    DATA 'Coordinatedata'
    LABELITEM 'Name'
    LABELCACHE ON
                CLASS
                LABEL
                     COLOR 0 0 0
                      SIZE 7
END
    END
END


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090416/fe8d2ca9/attachment.html


More information about the mapserver-users mailing list