[Cartoweb-users] querying a wms layer

Rafal Wawer Rafal.Wawer at sadl.kuleuven.be
Thu Apr 3 04:45:05 EDT 2008


Dear Victoria,
Are you sure, the URL is correct? I couldn't find the server
http://desgis.imm.gub.uy you provided in WMS connection URL.

Best regards:
Rafal

Dr. Rafal Wawer
K.U.Leuven
R&D Division SADL (Spatial Application Division) 
Celestijnenlaan 200e bus 2224 
BE-3001 Leuven-Heverlee
Belgium
tel. 0032 16 329731



-----Original Message-----
From: cartoweb-users-bounces at lists.maptools.org
[mailto:cartoweb-users-bounces at lists.maptools.org] On Behalf Of Victoria
Alvarez
Sent: Wednesday, April 02, 2008 8:09 PM
To: cartoweb-users at lists.maptools.org
Subject: [Cartoweb-users] querying a wms layer


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/manzan
as.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



Disclaimer: http://www.kuleuven.be/cwis/email_disclaimer.htm



More information about the Cartoweb-users mailing list