virtual spatial data fails

Kevin Flanders kevin at PEOPLEGIS.COM
Mon Jul 24 17:20:11 EDT 2006


I am trying to add a virtual spatial data layer to my project and failing!
I have created my DSN, and tested it successfully with ogrinfo.  I then
added the following to my mapfile:

  LAYER
    NAME "Permits"
    GROUP "Permits"
    CONNECTION "<OGRVRTDataSource>
    <OGRVRTLayer name='permitsummary'>
    <SrcDataSource>ODBC:@Data_txt</SrcDataSource>
    <SrcLayer>permitsummary.csv</SrcLayer>
    <GeometryField encoding='PointFromColumns' x='X_COORD' y='Y_COORD' />
    <GeometryType>wkbPoint</GeometryType>
    </OGRVRTLayer>
    </OGRVRTDataSource>"
    CONNECTIONTYPE OGR
    DATA "permitsummary"
    METADATA
      "wms_srs"    "88888"
      "wms_title"  "Permit Points"
    END
    STATUS on
    TOLERANCE 5
    SIZEUNITS pixels
    TYPE POINT
    CLASS
      NAME "Permits"
      COLOR 255 0 0
      OUTLINECOLOR 0 0 0
      SIZE 10
    END
  END


My map will not draw....any ideas?


Kevin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060724/7ca94851/attachment.html


More information about the mapserver-users mailing list