[Cartoweb-users] querying a wms layer

Oliver Christen oliver.christen at camptocamp.com
Thu Apr 3 02:34:41 EDT 2008


Hi,

As far as I know, you can't query wms layers within Cartoweb, you can only 
view them, sorry.

regards
Oliver


> Congratulations for your great work with this project.
> I'm analyzing Geographical Information Software and testing several
> products. I can truly say that Cartoweb is excellent!!
> Now I'm having troubles to query a wms layer, it's a simple query,
> with de query_by_box tool.
> I've made some tests with shapes and database layers, and it works OK,
> but no result is display in the wms layers case.
> I've defined the TEMPLATE in the mapfile and the "wms_" tags in the
> METADATA section, I've tried with more than once wms server and with
> different layers.
>
> Don't know what to do now...
> May you help me with this, please?
>
> Thank you.
>
> Example (part of my mapfile):
>
> LAYER
>   NAME "manzanas"
>   TYPE POLYGON
>   STATUS ON
>   CONNECTION "http://desgis.imm.gub.uy:11080/geoserver/wms?"
>   CONNECTIONTYPE WMS
>   TEMPLATE 
> "http://desgis.imm.gub.uy/sit/aplicaciones/montevimap/formularios/manzanas.html"
>   METADATA
>       "exported_values"          "data_object, query_returned_attributes"
>       "data_object"                    "mdg_manzanas"
>       "wms_srs"             "EPSG:32721"
>       "wms_name"            "topp:mdg_manzanas"
>       "wms_server_version"  "1.1.1"
>       "wms_format"          "image/png"
>       "wms_legend_graphic"  "true"
>       "query_returned_attributes" "CARPETA_CATASTRAL"
>       "wms_info_format"       "text/plain"
>   END
>
> END
>
> LAYER
>  NAME "padrones_menores"
>  TYPE POLYGON
>  STATUS ON
>  CONNECTION "http://desgis.imm.gub.uy/cgi-bin/mapserv_montevideo?"
>  CONNECTIONTYPE WMS
>  TEMPLATE "padrones.html"
>  METADATA
>     "wms_srs"             "EPSG:32721"
>     "wms_name"            "padrones_menores"
>     "wms_server_version"  "1.1.1"
>     "wms_format"          "image/png"
>     "wms_legend_graphic"  "true"
>     "id_attribute_string"  "PADRON"
>      "query_returned_attributes" "AREATOT"
>      "wms_request"           "GetFeatureInfo"
>      "wms_info_format"       "text/plain"
>  END
> END
> _______________________________________________
> Cartoweb-users mailing list
> Cartoweb-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/cartoweb-users
> 



More information about the Cartoweb-users mailing list