[Geomoose-users] Error in pdf-print module for point shape files when they use SYMBOL in the STYLE element

Athanasis Nikolaos athanasis at geo.aegean.gr
Mon Nov 26 12:51:33 EST 2007


Hello,
 
I am facing the following problem: When I add a layer in the statedemo.xml file about points that uses a SYMBOL in its STYLE, then the whole map cannot be printed.
 
This appears ONLY in point shape files and ONLY if they use a SYMBOL and ONLY if the specific layer is active when you try to print the whole map!
 
The log file shows the following:
 
[Mon Nov 26 19:39:53 2007] [error] [client 195.251.137.181]     def draw(*args): return _mapscript.mapObj_draw(*args)\r, referer: http://195.251.137.181/geomoose/statedemo.html
[Mon Nov 26 19:39:53 2007] [error] [client 195.251.137.181] _mapscript.MapServerError: msDrawMap(): Image handling error. Failed to draw layer named 'dexamenes'.\r, referer: http://195.251.137.181/geomoose/statedemo.html
[Mon Nov 26 19:39:53 2007] [error] [client 195.251.137.181] msOGRFileOpen(): OGR error. Open failed for OGR connection `lesvos.mdb'.\r, referer: http://195.251.137.181/geomoose/statedemo.html
[Mon Nov 26 19:39:53 2007] [error] [client 195.251.137.181] Unable to initialize ODBC connection to DSN for DRIVER=Microsoft Access Driver (*.mdb);DBQ=lesvos.mdb,\r, referer: http://195.251.137.181/geomoose/statedemo.html
[Mon Nov 26 19:39:53 2007] [error] [client 195.251.137.181] [Microsoft][ODBC Microsoft Access Driver] Could not find file '(unknown)'.\r, referer: http://195.251.137.181/geomoose/statedemo.html
[Mon Nov 26 19:39:53 2007] [error] [client 195.251.137.181] \r, referer:  
 
 
 
In my web browser i get an :"Internal Server error", when i print the map, and ONLY if the specific layer is active
 
 
The dexamenes.map file contains the following:
 
LAYER

NAME 'dexamenes'

CONNECTIONTYPE ogr

CONNECTION "lesvos.mdb"

 

DATA "DEXAMENES_LATH"

STATUS DEFAULT

TYPE Point

CLASS NAME ""

STYLE

SYMBOL star

COLOR 0 0 255

SIZE 10

END

END

 

PROJECTION

'init=epsg:2100'

END

END #LAYER

 
 
Please, does anyone know if there is a solution to this problem?
 
Thank you in advance,
 
Athanasis Nikolaos
Adjunct Faculty  and Ph.D. Candidate, 
Department of Geography and Department of Cultural Technology and Communication
 
University of the Aegean
University Hill
81100 Mytilene, GREECE
 
TEL  +30-22510-36436
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20071126/59c91783/attachment.html


More information about the Geomoose-users mailing list