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

Alexandre Fellay alexandre.fellay at camptocamp.com
Tue Jan 31 11:05:16 EST 2006


Hi Oliver,
If you don't want your layer to be queryable, remove the line TEMPLATE in your 
layer's definition in the mapfile. Then you should avoid all problems related to 
queries.
Alexandre Fellay

Oliver Ishmael wrote:
> 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