[Geomoose-users] Error in pdf-print module for point shapefiles when they use SYMBOL in the STY

Fischer, Brian bfischer at houstonengineeringinc.com
Thu Nov 29 13:35:38 EST 2007


Yes, I can send you an mdb/ogr layer in UTM 15.  My guess is that is an
ESRI geodatabase.  I will email it to you offline.
 
Brian Fischer
Houston Engineering, Inc.
Maple Grove, MN
(763) 493-4522
 

________________________________

From: geomoose-users-bounces at lists.sourceforge.net
[mailto:geomoose-users-bounces at lists.sourceforge.net] On Behalf Of Dan
Little
Sent: Thursday, November 29, 2007 10:06 AM
To: Bob Basques; Athanasis Nikolaos
Cc: geomoose-users at lists.sourceforge.net
Subject: Re: [Geomoose-users] Error in pdf-print module for point
shapefiles when they use SYMBOL in the STY


Actually it looks like the script is disagreeing with the use of an
MDB/OGR layer.  Brian, do you happen to have any UTM-15 Access/MDB
format data that I could dump into the Demo app and do some testing?

-Duck


----- Original Message ----
From: Bob Basques <Bob.Basques at ci.stpaul.mn.us>
To: Athanasis Nikolaos <athanasis at geo.aegean.gr>
Cc: geomoose-users at lists.sourceforge.net
Sent: Monday, November 26, 2007 12:22:54 PM
Subject: Re: [Geomoose-users] Error in pdf-print module for point shape
files when they use SYMBOL in the STY


Athanasis,
 
Is it a raster symbol or a MapServer symbol?  If I had to guess, I would
bet it was related to the symbol being a raster (bitmap) symbol, and the
PDF maker having a hard time trying to apply that in the final output.
Either the Symbol can't be found or the name is referenced differently
in more than one spot.
 
Can you send some more details about the symbol type.
 
bobb
 


>>> "Athanasis Nikolaos" <athanasis at geo.aegean.gr> wrote:

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


________________________________

Never miss a thing. Make Yahoo your homepage.
<http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs>  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/geomoose-users/attachments/20071129/2d76280b/attachment.html


More information about the Geomoose-users mailing list