[Chameleon] virtual spatial data

Alejandro Narvaez anarvaez at fcrecovery.com.ar
Tue Feb 17 09:54:19 EST 2009


Hello list

 

I need some help with de Virtual Spatial Data

 

I have this ovf and mapfile definition:

 

 

<OGRVRTDataSource>

   <OGRVRTLayer name=xy>

       <SrcDataSource>ODBC:@access</SrcDataSource>

       <SrcSQL>SELECT * FROM XY</SrcSQL>

      <GeometryField encoding='PointFromColumns' x='Long' y='Lat'/>

       <GeometryType>wkbPoint</GeometryType>

      <LayerSRS>WGS84</LayerSRS>

   </OGRVRTLayer>

</OGRVRTDataSource>

 

LAYER

   CONNECTIONTYPE OGR

   CONNECTION "compress.ovf"

   DATA xy

   METADATA

       "wms_srs"   "4326"

       "wms_title"   "Compress"

   END

   NAME "Compress"

   PROJECTION

      "init=epsg:4326"

   END

   SIZEUNITS PIXELS

   STATUS ON

   TOLERANCE 0

   TOLERANCEUNITS PIXELS

   TYPE POINT

   DUMP FALSE

   UNITS METERS

   CLASS

      NAME "Compress"

      STYLE

         COLOR 255 0 0

         MAXSIZE 100

         MINSIZE 1

         SIZE 6

         SYMBOL "star"

      END

   END

END

 

With this configuration the ogr test work, and is generated the image
with shp2img . But it doesn't work when I call it from my chameleon
application.

 

Can anybody help me.

 

Thanks!!

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20090217/cf67ddf2/attachment.htm 


More information about the Chameleon mailing list