[Chameleon] query problem in chameleon

mickel delay mickeldelay at yahoo.com
Sun Jul 18 09:04:04 EDT 2004


Dear list

Hi 
i have a map file that contain an ecw raster  and a
ovf layer(OGR connection) that display  location of
park city with a star symbol in raster layer in
chameleon.
i want to use query tools in chameleon and when i
click in each star then show result of query in html
form.
i change my map file for this goal and use from query
tools in chameleon but this message appear in query
form.
"no queryable layers found"
i enclose map file layers and ovf file .please direct
me ASAP.
regards .
mickel
ovf file
///
<OGRVRTDataSource>

    <OGRVRTLayer name="capitalNames">
        <SrcDataSource>ODBC:ovf</SrcDataSource>
     <SrcLayer>queryresult</SrcLayer>
    <GeometryType>wkbPoint</GeometryType>
        <LayerSRS>WGS84</LayerSRS>
    <GeometryField encoding="PointFromColumns"
x="longitude" y="latitude"/>
    </OGRVRTLayer>

</OGRVRTDataSource>
///
 LAYER
    NAME "ortofoto"
    STATUS ON
    DATA "c:/ms4w/apps/gmap/htdocs/map/ecw/city.ecw"
    TYPE RASTER
  END
  LAYER
    NAME "MyVirtualLayer"
    STATUS ON
    DATA "capitalNames"
    TYPE POINT
    CONNECTIONTYPE OGR
    CONNECTION "c:/ms4w/apps/gmap/htdocs/virtual.ovf"
    TOLERANCE 5
       METADATA
      "DESCRIPTION"    "MyVirtualLayer"
      "RESULT_FIELDS"    "longitude"
    END
    
    PROJECTION
    "init=epsg:4326"
    END
    CLASS
      NAME "longitude"
      symbol 2
      size 20
      color 255 6 76
      TEMPLATE "ttt_query.html"
    END
    END

END




__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Chameleon mailing list