[Therion] map without scrap, survey or map reported as incompatible map projection
Bruce Mutton
bruce at tomo.co.nz
Mon Sep 9 05:36:45 CEST 2019
I was creating a new map just now, and while I should have realised that it
would probably not work in its current form, the error message caused al lot
of confusion and initially led me down the wrong track.
C:\Program Files .\therion.exe: error -- INDEXGLMESM_System.th [134] --
incompatible map projection -- SwissM_PlanMap at GLMESM_system
I started looking through map definitions to find which one was not defined
properly as a plan, despite knowing they all must be, as they have worked
for years.
map GreenlinkAreaPlanMap -title "Greenlink Area<br>Plan view" -projection
plan
# overview map focusing on surface features
preview below SwissM_PlanMap at GLMESM_system
preview below DwarfsDoorPlanMap at GLMESM_system
preview below MiddleEarthPlanMap at GLMESM_system
preview below GreenlinkPlanMap at GLMESM_system
preview below BlackSabbathPlanMap at GLMESM_system
endmap GreenlinkAreaPlanMap
The problem turns out to be that a map definition must contain more than
just previews. If I remove 'preview below' from one of the definition
lines, all is well.
I suggest that the error would be more helpfully be reported by Therion as;
"map must contain at least one scrap, survey or map without preview"
Bruce
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.speleo.sk/pipermail/therion/attachments/20190909/41d3afbe/attachment.htm>
More information about the Therion
mailing list