Hello list,

 

Using an OGR connection to an sqlite data file we can get point and
labels to draw successfully.

 

However when we try and draw a line using the point data we do not get
anything drawn.

 

Layer details below.

 

Thanks

 

Ian

 

 

LAYER

  NAME ogr_points

  STATUS DEFAULT

  TYPE point

 

  CONNECTIONTYPE OGR

  CONNECTION "points.sqlite"

  DATA "DataPoints"

 

  CLASS

    NAME "From OGR"

    COLOR 255 0 0

      STYLE

        SYMBOL 'City'

        SIZE 5

        COLOR 0 255 255

      END

      LABEL

        COLOR 255 255 255

        OUTLINECOLOR 0 0 0

        TYPE truetype

        FONT Unicode

        SIZE 16

        ANTIALIAS TRUE

        POSITION AUTO

      END # end of label

    END

 

END

 

LAYER

  NAME ogr_line

  STATUS OFF

  TYPE line

 

  CONNECTIONTYPE OGR

  CONNECTION "points.sqlite"

  DATA "DataPoints"

 

  CLASS

    STYLE

      COLOR 255 22 22

      WIDTH 2

    END

  END

END

 

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to