[Expo-tech] Therion edit question re paths

Andrew Atkinson andrew at wotcc.org.uk
Fri Dec 27 16:29:04 GMT 2019


I'm doing this from memory as I'm on holiday.

The files are for the background images that a drawn on/around. The first set of {} give the coordinates of the station in most (all) cases below 1.0. The other 2 sets of {} are something like the dpi and zoom level plus the grid size to open in. Really not that important.

What [] ?

Andrew

On 27 December 2019 15:39:49 CET, "Philip Sargent (Gmail)" <philip.sargent at gmail.com> wrote:
>OK Therion experts, 
>can I just hand-edit a .th2 file to fix bad links, e.g. this lot
>sitting in
>drawings\therion\plan\107ent3.th2
>refers to paths on a local machine, none of which are paths we use on
>the server or expo laptop(s):
>
>##XTHERION## xth_me_image_insert {-2500 1 1.0} {-500 {}}
>../../Pictures/olly-jenny-note-scans/cave050.jpg 0 {}
>##XTHERION## xth_me_image_insert {0 1 1.0} {1 {}} ../19-107-small.jpg 0
>{}
>##XTHERION## xth_me_image_insert {-1900 1 1.0} {-750 {}}
>../../Pictures/107originalplan.png 0 {}
>##XTHERION## xth_me_image_insert {-2500 1 1.0} {-1500 {}}
>../../wonderland.png 0 {}
>##XTHERION## xth_me_image_insert {-1000 1 1.0} {0 {}}
>../../Pictures/olly-jenny-note-scans/25-107.png 0 {}
>##XTHERION## xth_me_image_insert {-4.0 1 1.0} {64.0 {}}
>../../Pictures/SurveyScansHertford/olly364.bmp.png 0 {}
>##XTHERION## xth_me_image_insert {500 1 1.0} {0 {}}
>../../Pictures/SurveyScansHertford/olly368.bmp.png 0 {}
>##XTHERION## xth_me_image_insert {-1000 1 1.0} {-300 {}}
>../../Pictures/SurveyScansHertford/olly369.bmp.png 0 {}
>##XTHERION## xth_me_image_insert {1500 1 1.0} {0 {}}
>../../Pictures/SurveyScansHertford/olly370.bmp.png 0 {}
>##XTHERION## xth_me_image_insert {1500 1 1.0} {1 {}}
>../../Pictures/olly-jenny-note-scans/cave052.jpg 0 {}
>##XTHERION## xth_me_image_insert {700 1 1.0} {0 {}}
>../../Pictures/expoimages/surveyscans/2012/olly-jenny-note-scans/19-107.png
>0 {}
>##XTHERION## xth_me_image_insert {-4 1 1.0} {64 {}}
>../../Pictures/SurveyScansHertford/olly364.bmp.png 0 {}
>##XTHERION## xth_me_image_insert {700 1 1.0} {30 {}}
>../21-107-small.jpg 0 {}
>##XTHERION## xth_me_image_insert {-2100 1 1.0} {0 {}}
>../../Pictures/SurveyScansHertford/wonderland-joined.png 0 {}
>##XTHERION## xth_me_image_insert {-2800 1 1.0} {1300 {}}
>../2014_skeches/27fudgedup_plan1.jpeg 0 {}
>##XTHERION## xth_me_image_insert {0 1 1.0} {0 {}} ../19-107-small.jpg 0
>{}
>
>This is an extreme example from 2012. The priority is to fix up bad
>links in therion and tunnel files from 2018 and 2018.
>[now got Git working and so using the correct ::drawings:: repo]
>
>Philip
>
>-----Original Message-----
>From: Philip Sargent (Gmail) [mailto:philip.sargent at gmail.com] 
>Sent: 20 December 2019 00:51
>To: 'Wookey'
>Subject: RE: [Expo-tech] fun with tunneldata and surveyscans
>
>Not done anything yet, just the first stage of diagnosis...
>The [] and {} are puzzling though.
>
>-----Original Message-----
>From: Expo-tech [mailto:expo-tech-bounces at lists.wookware.org] On Behalf
>Of Wookey
>Sent: 19 December 2019 21:49
>To: expo-tech at lists.wookware.org
>Subject: Re: [Expo-tech] fun with tunneldata and surveyscans
>
>On 2019-12-19 21:10 -0000, Philip Sargent (Gmail) wrote:
>> OK, I know I should be doing this with git & ‘drawings’ but bear with
>me..
>> 
>>  
>> 
>> cd expofiles/tunneldata
>> 
>> grep -ar surveyscans * | tr ' ' '\n' | grep surveyscans
>> 
>>  
>> 
>> done as the start of an attempt to find mismatched tunnel files and 
>> inexpertly renamed plan and elev image files in /surveyscans/
>> 
>> and there are some wonderful strangenesses:
>> sfsketch="surveyscans/2018/2018#05/blitzen_to_liquidluck_plan.jpg"
>>
>sfsketch="expofiles/surveyscans/2018/2018#13/ulysses_to_toto_plan.jpg"
>> ../../../expofiles/surveyscans/2007/2007#34/notes2.jpg
>> {../../../expofiles/surveyscans/2015/2015#59/notes.jpg}
>> [../../../expofiles/surveyscans/2015/2015#67/notes1.jpg]
>>
>../../Pictures/expoimages/surveyscans/2012/olly-jenny-note-scans/19-10
>> 7.png 
>>
>sfsketch=http://seagrass.goatchurch.org.uk/~expo/expofiles/surveyscans
>> /2007/
>> 2007%2366/plan2.JPG
>> 
>> 348 occurrences where it says “expofiles/surveyscans/” rather than 
>> “surveyscans /”
>> 
>> OK there are only 1,276 occurrences of “surveyscans” overall in the 
>> tunneldata so this is very manageable, but really,..
>
>It's people loading files in filers on a multitude of different
>checkouts on different computers over 18 years. If we have any
>consistency at all then that's quite good :-)
>
>Anywhere where anyone ever ran tunnel. Ideally they had all the files
>checked out together in a fairly standard layout but nothing forces
>them to, and we've probably not even been totally consistent on the
>offical expo machine over that time. (e..g expofiles/surveyscans vs
>surveyscans)
>
>Anyway well done for tidying up the mess - it's needed doing for some
>time.
>
>Wookey
>--
>Principal hats:  Linaro, Debian, Wookware, ARM http://wookware.org/
>
>
>_______________________________________________
>Expo-tech mailing list
>Expo-tech at lists.wookware.org
>https://lists.wookware.org/cgi-bin/mailman/listinfo/expo-tech

Andrew
-- 



More information about the Expo-tech mailing list