[Cartoweb-users] Non queriable layers
Pierre GIRAUD
pierre.giraud at camptocamp.com
Mon Feb 27 03:31:57 EST 2006
The metadata parameters ("id_attribute_string", ...) aim is not to
register a queriable layer. They are required when you want to use query
but don't say if a layer is queriable or not.
The parameter that will do the job is the "TEMPLATE" one in the mapfile.
You'll find it with the value "ttt" but you can use something like "foo"
or anything else.
It's a Mapserver parameter that tells user can query a layer.
Regards
Pierre
Giorgio Plazzotta wrote:
>Hello
>i am working on a project that is derived from the democw3 project. In the
>project I have several layers that I don't want to query at all and
>therefore I didn't add any metadata information in the mapfile. I expected
>that they were ignored when i use the query tool. Instead i get the
>following error
>
>Class : CartocommonException
>Message : Error [8, Undefined property: SoapFault::$faultcode,
>c:\wamp\www\cartoweb3\client\CartoserverService.php, 40]
>Backtrace:
>
>only if I put the query metadata in the mapfile I don't get this error. The
>parameters i saw in the documentation about the query system doesn't seem to
>apply to this case, so it seems that I must put a metadata section in all
>the layers to avoid the error but I think there is something else to do.
>TIA
>
>Giorgio
>
>_______________________________________________
>Cartoweb-users mailing list
>Cartoweb-users at lists.maptools.org
>http://lists.maptools.org/mailman/listinfo/cartoweb-users
>
>
--
_________________________________________________________
Pierre GIRAUD
Géomaticien, Analyste
Camptocamp France SAS
Savoie Technolac, BP 352
73377 Le Bourget du Lac, Cedex
Tel : 00 33 4 79 44 44 93
Mail : pierre.giraud at camptocamp.com
http://www.camptocamp.com
More information about the Cartoweb-users
mailing list