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

Reply via email to