[mapserver-users] OGR data layer type - points and lines

Ian Walberg ian.walberg at airborne.aero
Thu Dec 16 01:00:34 EST 2010


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

 

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


More information about the mapserver-users mailing list