<div dir="ltr">Dear all,<br><br>Environment :<br>Windows : mapmanager, based on MapServer 8.0.1, GDAL 3.8.4<br>Linux : MapServer 8.2.0, GDAL 3.8.4<br><br>In order to make my map files more generic, I am using INCLUDE directives.<br>When defining a LABEL, I tried to INCLUDE some common definitions. For example :<br><br>MyClass.map file :<br>CLASS<br>   STYLE<br>      ....<br>   END<br>   LABEL<br>      EXPRESSION ('[NAME]' != 'UNK')<br>      TEXT       "[NAME]"<br>      INCLUDE    "TextCharacteristics.txt"<br>   END<br>END<br><br>TextCharacteristics.txt file :<br>POSITION CC<br>COLOR    "#000000"<br>FONT     condensed<br>SIZE     12<br><br>I get the following error :<br>'load_Label(): Premature End-of-File. ;msyylex(): Unable to access file.<br>Error opening included file "TextCharacteristics.txt"..<br>Please correct the issue in the text tab'<br><br>As a workaround, I gave the absolute file path to make it work.<br><br>The documentation says that relative path could be used.<div><br>Did I make something wrong ?<br><br>Thanks for your help<br><br>Philippe</div></div>
<font style="font-size: 9px;">The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised.<br>If you are not the intended recipient, please notify Airbus immediately and delete this e-mail.<br>Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately.<br>All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free.</font>