[Cartoweb-users] Error in msSHPOpenFile(): (/raster/50kindex .dbf)

marc.monnerat at swisstopo.ch marc.monnerat at swisstopo.ch
Fri Jan 20 05:28:54 EST 2006


Hello,

This is a pure Mapserver error, not related to Cartoweb

How did you create your tile index (image catalog in ESRI parlance) ?
Mapserver use a complete Shapefile as index, not only a dBaseIV file. You
should use "gdaltindex" to build the Mapserver raster index
(http://www.remotesensing.org/gdal/gdaltindex.html and Mapserver Raster
Howto).

Cheers

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é : vendredi, 20. janvier 2006 11:18
À : cartoweb-users at lists.maptools.org
Objet : [Cartoweb-users] Error in msSHPOpenFile(): (/raster/50kindex.dbf)


Hi List,

I am trying to display some raster data, part of an Ordnance Survey base 
map, using a tile index. This consists of a .dbf which references both the 
physical location of 6 raster tiles as well as their geographical extent 
(XMIN, YMIN, XMAX, YMAX).

I have added the layer to both my *.map and layers.ini and it has produced 
the following errors:

Failure

class:   SoapFaultWrapper
message:   Mapserver error: Error in msDrawMap(): Failed to draw layer named

'50kindex'.

Error in msSHPOpenFile(): (/raster/50kindex.dbf)

Error in msSHPOpenFile(): (/raster/50kindex.dbf)


Backtrace:

file: 193 - c:\wamp\www\cartoweb3\coreplugins\images\server\ServerImages.php
call: ServerContext->checkMsErrors()

file: 305 - c:\wamp\www\cartoweb3\server\Cartoserver.php
call: ServerImages->drawMainmap(Object(Images))

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()


Can anyone identify what the problem might be?
(when answering, please note that i DO have: "extension=php_soap.dll" 
included in my php.ini)

Cheers
Olly

_________________________________________________________________
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