<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Hi Bruce,</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">thanks for pointing it out. I have tried to allow map containing only previews, but there were apparently a lot of subsequent issues with its zero dimensions. Normally, previews are ignored when calculating the extent of a map. So I have modified the error message according to your suggestion. </div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">I assume the same map can be generated using a single map-fg color and hiding all symbols. Or am I missing something?<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">S.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, 4 Oct 2021 at 06:54, Bruce Mutton <<a href="mailto:bruce@tomo.co.nz">bruce@tomo.co.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;" lang="EN-NZ"><div class="gmail-m_4768919597389778630WordSection1"><p class="MsoNormal">Hello Team<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I think this may be a bug.<u></u><u></u></p><p class="MsoNormal">Selecting a map with only previews inside of it is causing an error, where possibly it should not.<u></u><u></u></p><p class="MsoNormal">And if it is by design that it triggers an error, then the message it gives is not helpful. A better message would be “map cannot contain only previews”<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><b>The error message.<u></u><u></u></b></p><p class="MsoNormal">therion.exe: error -- GreenlinkArea/INDEXGLMESM_System.th [164] -- incompatible map projection -- SwissM_PlanMap@GLMESM_system<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><b>The map definition.<u></u><u></u></b></p><p class="MsoNormal"> map GLMESMPreviewOnlyMap -projection plan<u></u><u></u></p><p class="MsoNormal"> preview below SwissM_PlanMap@GLMESM_system #map<u></u><u></u></p><p class="MsoNormal"> preview below DwarfsDoorPlanMap@GLMESM_system #map<u></u><u></u></p><p class="MsoNormal"> preview below MiddleEarthPlanMap@GLMESM_system #map<u></u><u></u></p><p class="MsoNormal"> endmap GLMESMPreviewOnlyMap<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">The maps all have -projection plan explicitly defined, and the error is unchanged if I remove the projection option from the definition above.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal"><b>The thconfig.<u></u><u></u></b></p><p class="MsoNormal">select QEII-01GreenLinkPlanCL<u></u><u></u></p><p class="MsoNormal">select QEII-01GreenLinkPlan<u></u><u></u></p><p class="MsoNormal">select GLMESMPreviewOnlyMap<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I have selected three maps, two contain valid maps, and one contains only previews. If I remove one of the ‘preview below’ statements preceding any of the previewed maps, the project compiles as expected.<u></u><u></u></p><p class="MsoNormal">If I try to type the preview below directly into the thconfig, there is an error also, but I suspect this might be by design.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Using 6.0.3, but am not assuming this was introduced recently. I have never tried it before.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">Regards<u></u><u></u></p><p class="MsoNormal">Bruce<u></u><u></u></p></div></div>_______________________________________________<br>
Therion mailing list<br>
<a href="mailto:Therion@speleo.sk" target="_blank">Therion@speleo.sk</a><br>
<a href="https://mailman.speleo.sk/listinfo/therion" rel="noreferrer" target="_blank">https://mailman.speleo.sk/listinfo/therion</a><br>
</blockquote></div>