[Cartoweb-users] can't find idAttribute for layer

marc.monnerat at swisstopo.ch marc.monnerat at swisstopo.ch
Tue Jan 31 11:10:01 EST 2006


Hello,

If you're layer is not queryable, you should remove the TEMPLATE entry in
the Mapfile (mapserver specific)


TEMPLATE "dummy"

And probably those two entries (cartoweb3 specific)

METADATA
  "id_attribute_string" "FID|string"
  "query_returned_attributes" "FID FNAME"
END 



Regards

Marc Monnerat



-----Message d'origine-----
De : cartoweb-users-bounces at lists.maptools.org
[mailto:cartoweb-users-bounces at lists.maptools.org] De la part de Oliver
Ishmael
Envoyé : mardi, 31. janvier 2006 16:33
À : cartoweb-users at lists.maptools.org
Objet : [Cartoweb-users] can't find idAttribute for layer


Hi List,

I am experimenting with queries and have received the error below:

[ I have not assigned an idAttribute for the layer UK because i do not want 
it to be queryable! ]

Can anyone offer a solution?

Class : SoapFaultWrapper
Message : can't find idAttribute for layer UK
Backtrace:

file: 415 - 
c:\wamp\www\cartoweb3\coreplugins\location\server\ServerLocation.php
call: ServerMapquery->queryByIdSelection(Object(IdSelection), True)

file: 528 - 
c:\wamp\www\cartoweb3\coreplugins\location\server\ServerLocation.php
call: RecenterLocationCalculator->getIdSelectionBbox(Object(IdSelection))

file: 853 - 
c:\wamp\www\cartoweb3\coreplugins\location\server\ServerLocation.php
call: RecenterLocationCalculator->getBbox()

file: 74 - c:\wamp\www\cartoweb3\server\ServerPluginHelper.php
call: ServerLocation->handleCorePlugin(Object(LocationRequest))

file: 184 - c:\wamp\www\cartoweb3\server\ServerPluginHelper.php
call: ServerPluginHelper->callHandleFunction(Object(ServerLocation), 
"handleCorePlugin")

file: UNKNOWN - UNKNOWN
call: CoreProviderHelper->handleCorePluginHelper(Object(ServerLocation))

file: 267 - c:\wamp\www\cartoweb3\common\PluginManager.php
call: call_user_func_array(Array(2), Array(1))

file: 289 - c:\wamp\www\cartoweb3\server\Cartoserver.php
call: PluginManager->callPluginImplementing(Object(ServerLocation), 
"CoreProvider", "handleCorePlugin")

file: 337 - c:\wamp\www\cartoweb3\server\Cartoserver.php
call: Cartoserver->doGetMap(Object(MapRequest))

file: 358 - c:\wamp\www\cartoweb3\server\Cartoserver.php
call: Cartoserver->callWithExceptionCheck("doGetMap", Object(MapRequest))

file: 81 - c:\wamp\www\cartoweb3\server\MapResultCache.php
call: Cartoserver->cacheGetMap(Object(MapRequest))

file: 115 - c:\wamp\www\cartoweb3\server\MapResultCache.php
call: MapResultCache->getMapResultFromServer(Object(MapRequest))

file: 197 - c:\wamp\www\cartoweb3\server\MapResultCache.php
call: MapResultCache->cacheMapResult(Object(MapRequest))

file: 368 - c:\wamp\www\cartoweb3\server\Cartoserver.php
call: MapResultCache->getMap(Object(MapRequest))

file: 102 - c:\wamp\www\cartoweb3\client\CartoserverService.php
call: Cartoserver->getMap(Object(MapRequest))

file: 156 - c:\wamp\www\cartoweb3\client\CartoserverService.php
call: CartoserverService->callDirect("getMap", Object(MapRequest))

file: 224 - c:\wamp\www\cartoweb3\client\CartoserverService.php
call: CartoserverService->callFunction("getMap", Object(MapRequest))

file: 763 - c:\wamp\www\cartoweb3\client\Cartoclient.php
call: CartoserverService->getMap(Object(MapRequest))

file: 876 - c:\wamp\www\cartoweb3\client\Cartoclient.php
call: Cartoclient->getMapResultFromRequest(Object(MapRequest))

file: 1011 - c:\wamp\www\cartoweb3\client\Cartoclient.php
call: Cartoclient->doMain()

file: 38 - c:\wamp\www\cartoweb3\htdocs\client.php
call: Cartoclient->main()

_________________________________________________________________
Are you using the latest version of MSN Messenger? Download MSN Messenger 
7.5 today! http://messenger.msn.co.uk

_______________________________________________
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