<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:arial,helvetica,sans-serif;font-size:10pt"><div style="font-family: arial,helvetica,sans-serif; font-size: 10pt;">Actually it looks like the script is disagreeing with the use of an MDB/OGR layer.&nbsp; 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?<br><br>-Duck<br><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">----- Original Message ----<br>From: Bob Basques &lt;Bob.Basques@ci.stpaul.mn.us&gt;<br>To: Athanasis Nikolaos &lt;athanasis@geo.aegean.gr&gt;<br>Cc: geomoose-users@lists.sourceforge.net<br>Sent: Monday, November 26, 2007 12:22:54 PM<br>Subject: Re: [Geomoose-users] Error in pdf-print module for point shape files when they use SYMBOL in the STY<br><br>

 

<div>Athanasis,</div>
<div>&nbsp;</div>
<div>Is it a raster symbol or a MapServer symbol?&nbsp; If&nbsp;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.&nbsp; Either the Symbol can't be found or the name is referenced differently in more than one spot.</div>
<div>&nbsp;</div>
<div>Can you send some more details about the symbol type.</div>
<div>&nbsp;</div>
<div>bobb</div>
<div>&nbsp;</div>
<div><br><br>&gt;&gt;&gt; "Athanasis Nikolaos" &lt;athanasis@geo.aegean.gr&gt; wrote:<br></div>
<div style="border-left: 1px solid rgb(5, 5, 5); margin: 0px 0px 0px 15px; padding-left: 7px; background-color: rgb(243, 243, 243);">
<div id="idOWAReplyText7680" dir="ltr">
<div dir="ltr"><font color="#000000" face="Arial" size="2">Hello,</font></div>
<div dir="ltr"><font face="Arial" size="2"></font>&nbsp;</div>
<div dir="ltr"><font face="Arial" size="2">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.</font></div>
<div dir="ltr"><font face="Arial" size="2"></font>&nbsp;</div>
<div dir="ltr"><font face="Arial" size="2">This appears ONLY in point shape files&nbsp;and ONLY if they use a SYMBOL <font face="Times New Roman" size="3">and ONLY if the specific layer is active when you try to print the whole map!</font></font></div>
<div dir="ltr">&nbsp;</div>
<div dir="ltr"><font face="Arial" size="2">The log&nbsp;file shows the&nbsp;following:</font></div>
<div dir="ltr">&nbsp;</div>
<div dir="ltr">[Mon Nov 26 19:39:53 2007] [error] [client 195.251.137.181]&nbsp;&nbsp;&nbsp;&nbsp; def draw(*args): return _mapscript.mapObj_draw(*args)\r, referer: <a rel="nofollow" target="_blank"  href="http://195.251.137.181/geomoose/statedemo.html">http://195.251.137.181/geomoose/statedemo.html</a><br>[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: <a rel="nofollow" target="_blank"  href="http://195.251.137.181/geomoose/statedemo.html">http://195.251.137.181/geomoose/statedemo.html</a><br>[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: <a rel="nofollow" target="_blank"  href="http://195.251.137.181/geomoose/statedemo.html">http://195.251.137.181/geomoose/statedemo.html</a><br>[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: <a rel="nofollow" target="_blank"  href="http://195.251.137.181/geomoose/statedemo.html">http://195.251.137.181/geomoose/statedemo.html</a><br>[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: <a rel="nofollow" target="_blank"  href="http://195.251.137.181/geomoose/statedemo.html">http://195.251.137.181/geomoose/statedemo.html</a><br>[Mon Nov 26 19:39:53 2007] [error] [client 195.251.137.181] \r, referer: &nbsp;</div>
<div dir="ltr">&nbsp;</div>
<div dir="ltr">&nbsp;</div>
<div dir="ltr">&nbsp;</div>
<div dir="ltr">In my web browser i get an :"Internal Server error", when i print the map, and ONLY if the specific layer is active</div>
<div dir="ltr">&nbsp;</div>
<div dir="ltr">&nbsp;</div>
<div dir="ltr">The dexamenes.map file contains the following:</div>
<div dir="ltr">&nbsp;</div>
<div dir="ltr"><font size="2">
</font><p><font size="2">LAYER</font></p>
<p><font size="2">NAME 'dexamenes'</font></p>
<p><font size="2">CONNECTIONTYPE ogr</font></p>
<p><font size="2">CONNECTION "lesvos.mdb"</font></p>
<p><font size="2">&nbsp;</font></p>
<p><font size="2">DATA "DEXAMENES_LATH"</font></p>
<p><font size="2">STATUS DEFAULT</font></p>
<p><font size="2">TYPE Point</font></p>
<p></p>
<p></p>
<p><font size="2">CLASS NAME ""</font></p>
<p><font size="2">STYLE</font></p>
<p><font size="2">SYMBOL </font><font face="Courier New" size="2">star</font></p><font size="2">
<p>COLOR 0 0 255</p>
<p>SIZE 10</p>
<p>END</p></font><font size="2">
<p>END</p>
<p>&nbsp;</p>
<p>PROJECTION</p>
<p>'init=epsg:2100'</p>
<p>END</p>
<p></p>
<p></p>
<p>END #LAYER</p></font></div>
<div dir="ltr">&nbsp;</div>
<div dir="ltr">&nbsp;</div>
<div dir="ltr">Please, does anyone know if there is a solution to this problem?</div>
<div dir="ltr">&nbsp;</div>
<div dir="ltr">Thank you in advance,</div>
<div dir="ltr"><font color="#000000" face="Arial" size="2"></font>&nbsp;</div></div>
<div id="idSignature27420" dir="ltr">
<div><font color="#000000" face="Arial" size="2">
<div><font color="#000000" face="Arial" size="2">Athanasis Nikolaos</font></div>
<div><font color="#000000" face="Arial" size="2">
</font><div><font color="#000000" face="Arial" size="2"><font face="Arial" size="2"><font face="Times New Roman" size="3">Adjunct Faculty&nbsp; and </font></font>Ph.D. Candidate, </font></div></div>
<div><font color="#000000" face="Arial" size="2">Department of Geography and <font face="Times New Roman" size="3">Department of Cultural Technology and Communication</font></font></div>
<div><font face="Times New Roman" size="3"></font>&nbsp;</div>
<div>
<div>
<div><font color="#000000" face="Arial" size="2">University of the Aegean</font></div></div>
<div><font color="#000000" face="Arial" size="2">University Hill</font></div>
<div><font color="#000000" face="Arial" size="2">81100 Mytilene, GREECE</font></div>
<div><font color="#000000" face="Arial" size="2"></font>&nbsp;</div>
<div><font color="#000000" face="Arial" size="2">TEL&nbsp; +30-22510-36436</font></div></div></font></div></div></div></div><br></div></div><br>



      <hr size=1>Never miss a thing.  <a href="http://us.rd.yahoo.com/evt=51438/*http://www.yahoo.com/r/hs"> Make Yahoo your homepage.</a>

</body></html>