[Therion] Multiple elevation maps
Bill Gee
bgee at campercaver.net
Tue Nov 11 21:54:46 CET 2014
Hi Martin -
When I try this, I get a compile error in Therion. It says that the target of
the select command cannot be found.
I made up a simple data set to illustrate what I get. The files are attached.
What I want to get is to split the elevations across multiple PDF files. From
there I can place the files on the plan map.
Regards - Bill Gee
On Monday, November 10, 2014 21:43:53 Martin Sluka wrote:
> What is the problem?
>
>
> map_ext_1.map -projection extended
> scrap_ext_1
> scrap_ext_2
> endmap
>
> map_ext_2.map -projection extended
> scrap_ext_3
> scrap_ext_4
> endmap
>
> map_ext_3.map -projection extended
> scrap_ext_5
> scrap_ext_6
> endmap
>
> map_ext_all.map -projection extended
> map_ext_1.map
> map_ext_2.map
> break
> map_ext_3.map
> endmap
>
> In thconfig:
>
> select map_ext_all.map
>
> …
>
> 10. 11. 2014 v 20:55, Bill Gee <bgee at campercaver.net>:
> > Hello everyone -
> >
> > I am working on a map where the cave makes a T-junction. I have an
> > elevation working for the passage from the entrance to the junction. Now
> > I want to make a NEW elevation map for each arm of the T.
> >
> > I think the secret I am missing is how to specify the scraps to be
> > included in a specific layout. I included sections of the thconfig and
> > main.th file below.
> >
> > The output I get is two identical elevation maps which include all of the
> > elevation scraps. What I want is two (or more) elevation maps each of
> > which includes only a few scraps.
> >
> > The main map will then include each of the elevation maps as "map-image"
> > lines. These will go in different positions so they match up to the
> > portion of the plan they illustrate.
> >
> > Looking through the Therion Book, I see that scraps can have an index
> > (page
> > 20). Do I need to assign different indexes to the scraps depending on
> > which elevation they go with?
> >
> > Thanks - Bill Gee
> >
> > From the .th file:
> > ###################
> > # Plan map joins
> > join Entrance1 EntranceConnector
> > join EntranceConnector Entrance2
> > join Entrance2 TJunction1
> > join TJunction1 TJunction2
> > join TJunction2 TJunction3
> >
> > # Profile map joins - Entrance passage
> > join Elevation1 Elevation2
> > join Elevation2 Elevation3
> > join Elevation3 Elevation4
> > join Elevation4 Elevation5
> > join Elevation5 Elevation6
> >
> > #Profile map joins - C side passage
> > join ElevationB1-C2 ElevationC2-C5
> > ##################
> >
> > From the thconfig file:
> > ##################
> > # This layout is for the elevation profile
> > layout profilemap
> >
> > units imperial
> > scale 1 200
> > color map-fg [90 66 46]
> > legend off
> > symbol-set UIS
> > map-header 0 0 off
> >
> > endlayout
> >
> > # This layout is for the elevation profile
> > layout profilemap2
> >
> > units imperial
> > scale 1 200
> > color map-fg [90 66 46]
> > legend off
> > symbol-set UIS
> > map-header 0 0 off
> >
> > endlayout
> >
> > # Entrance passage elevations
> > export map -proj elevation -layout profilemap -o
> > MillCreekCaveElevation.pdf
> >
> > # C side passage elevations
> > export map -proj elevation -layout profilemap2 -o
> > MillCreekCaveElevation2.pdf
> >
> > export map -proj plan -layout mainmap -o MillCreekCave.pdf
> > ##################
> >
> > _______________________________________________
> > Therion mailing list
> > Therion at speleo.sk
> > http://mailman.speleo.sk/mailman/listinfo/therion
>
> _______________________________________________
> Therion mailing list
> Therion at speleo.sk
> http://mailman.speleo.sk/mailman/listinfo/therion
-------------- next part --------------
encoding utf-8
survey PracticeCave -title "Practice Cave"
# Contains the Entrance1 and Entrance2 scrap
input PracticeCave1.th2
map pdp -title "Practice Cave Plan View"
# Main survey scraps
Entrance1
Entrance2
endmap
map MyProj.map -projection extended
Elevation1
endmap
map MyProj2.map -projection extended
Elevation2
endmap
map AllElevations.map -projection extended
MyProj.map
break
MyProj2.map
endmap
centreline
date 2013.09.28
team "Bill Gee"
units compass degrees
units clino degrees
units length feet
units depth feet
units tape feet
units altitude feet
units dimensions feet
# Declination is +15 minutes 41 seconds as per USGS. Not enough to matter.
# Bring in the centerline data
input PracticeCaveSurveyStations.txt
endcentreline
# Joins are listed here
# Plan map joins
join Entrance1 Entrance2
endsurvey PracticeCave
-------------- next part --------------
encoding utf-8
##XTHERION## xth_me_area_adjust -128 -1520 2226 128
##XTHERION## xth_me_area_zoom_to 50
##XTHERION## xth_me_image_insert {0 1 1.0} {0 {}} ElktonCaveSurveyPage3.jpg 0 {}
scrap Entrance1 -projection plan -scale [-128 -1520 2226 -1520 0.0 0.0 59.791599999999995 0.0 m]
line wall
1491.0 -1259.0
1491.0 -1259.0 1508.0 -1267.0 1512.0 -1251.0
1516.0 -1235.0 1523.0 -1232.0 1518.0 -1217.0
1513.0 -1202.0 1495.0 -1186.0 1493.0 -1166.0
1491.0 -1146.0 1484.0 -1140.0 1501.0 -1127.0
1518.0 -1114.0 1550.0 -1091.0 1574.0 -1074.0
1598.0 -1057.0 1612.0 -1037.0 1633.0 -1019.0
1654.0 -1001.0 1675.0 -984.0 1691.0 -972.0
1707.0 -960.0 1730.0 -938.0 1742.0 -932.0
1754.0 -926.0 1745.0 -932.0 1760.0 -918.0
1775.0 -904.0 1756.0 -891.0 1783.0 -888.0
1810.0 -885.0 1822.0 -884.0 1829.0 -895.0
1836.0 -906.0 1845.0 -918.0 1856.0 -923.0
1867.0 -928.0 1872.0 -939.0 1865.0 -958.0
1858.0 -977.0 1843.0 -1002.0 1851.0 -1015.0
1859.0 -1028.0 1887.0 -1060.0 1891.0 -1072.0
smooth off
endline
line wall
1989.0 -590.0
1989.0 -590.0 1972.0 -620.0 1940.0 -621.0
1908.0 -622.0 1903.0 -614.0 1883.0 -623.0
1863.0 -632.0 1861.0 -635.0 1844.0 -633.0
1827.0 -631.0 1816.0 -624.0 1814.0 -597.0
1812.0 -570.0 1825.0 -546.0 1821.0 -524.0
1817.0 -502.0 1786.0 -477.0 1762.0 -481.0
1738.0 -485.0 1710.0 -499.0 1698.0 -513.0
1686.0 -527.0 1673.0 -554.0 1673.0 -554.0
smooth off
1673.0 -554.0 1636.0 -565.0 1607.0 -582.0
1578.0 -599.0 1517.0 -635.0 1497.0 -651.0
1477.0 -667.0 1405.0 -739.0 1393.0 -748.0
1381.0 -757.0 1323.0 -787.0 1303.0 -796.0
1283.0 -805.0 1241.0 -842.0 1215.0 -856.0
1189.0 -870.0 1174.0 -887.0 1164.0 -907.0
1154.0 -927.0 1142.0 -943.0 1155.0 -942.0
1168.0 -941.0 1165.0 -944.0 1206.0 -923.0
1247.0 -902.0 1224.0 -892.0 1254.0 -892.0
1284.0 -892.0 1289.0 -893.0 1310.0 -880.0
1331.0 -867.0 1341.0 -845.0 1341.0 -859.0
1341.0 -873.0 1338.0 -926.0 1329.0 -947.0
1320.0 -968.0 1323.0 -1013.0 1310.0 -1035.0
1297.0 -1057.0 1286.0 -1078.0 1286.0 -1078.0
smooth off
endline
point 1432.0 -1124.0 station -name A2
point 1814.0 -732.0 station -name A1
endscrap
scrap Elevation1 -projection extended -scale [-128 -1520 2226 -1520 0.0 0.0 59.791599999999995 0.0 m]
point 1380.0 -378.0 station -name A2
point 1802.0 -386.0 station -name A1
line wall
1874.0 -306.0
1874.0 -306.0 1736.0 -302.0 1698.0 -300.0
1660.0 -298.0 1644.0 -324.0 1546.0 -326.0
1448.0 -328.0 1234.0 -342.0 1234.0 -342.0
smooth off
endline
line wall
1232.0 -410.0
1232.0 -410.0 1172.0 -388.0 1292.0 -408.0
1412.0 -428.0 1388.0 -440.0 1458.0 -452.0
1528.0 -464.0 1552.0 -470.0 1614.0 -468.0
1676.0 -466.0 1778.0 -462.0 1800.0 -436.0
1822.0 -410.0 1876.0 -386.0 1876.0 -386.0
smooth off
endline
endscrap
scrap Elevation2 -projection extended -scale [-128 -1520 2226 -1520 0.0 0.0 59.791599999999995 0.0 m]
point 326.0 -1092.0 station -name A4
point 576.0 -1106.0 station -name A3
point 956.0 -1112.0 station -name A2
line wall
982.0 -1044.0
916.0 -1058.0 860.0 -1056.0 824.0 -1050.0
788.0 -1044.0 578.0 -1030.0 578.0 -1030.0
smooth off
398.0 -1042.0
282.0 -1056.0
endline
line wall
284.0 -1162.0
284.0 -1162.0 310.0 -1184.0 386.0 -1168.0
462.0 -1152.0 454.0 -1122.0 496.0 -1176.0
538.0 -1230.0 554.0 -1272.0 602.0 -1264.0
650.0 -1256.0 700.0 -1272.0 730.0 -1226.0
760.0 -1180.0 734.0 -1156.0 802.0 -1168.0
870.0 -1180.0 986.0 -1160.0 986.0 -1160.0
smooth off
endline
endscrap
scrap Entrance2 -projection plan -scale [-128 -1520 2226 -1520 0.0 0.0 59.791599999999995 0.0 m]
line wall
841.0 -302.0
841.0 -302.0 829.0 -342.0 816.0 -358.0
803.0 -374.0 793.0 -388.0 777.0 -413.0
761.0 -438.0 750.0 -464.0 725.0 -466.0
700.0 -468.0 660.0 -457.0 634.0 -441.0
608.0 -425.0 563.0 -391.0 512.0 -403.0
461.0 -415.0 409.0 -430.0 392.0 -456.0
375.0 -482.0 344.0 -509.0 356.0 -537.0
368.0 -565.0 401.0 -614.0 404.0 -627.0
407.0 -640.0 397.0 -665.0 388.0 -675.0
379.0 -685.0 361.0 -686.0 356.0 -692.0
351.0 -698.0 355.0 -706.0 353.0 -714.0
351.0 -722.0 347.0 -728.0 327.0 -728.0
307.0 -728.0 318.0 -705.0 293.0 -724.0
268.0 -743.0 253.0 -741.0 264.0 -767.0
275.0 -793.0 257.0 -820.0 290.0 -825.0
323.0 -830.0 329.0 -822.0 356.0 -808.0
383.0 -794.0 377.0 -789.0 397.0 -809.0
417.0 -829.0 454.0 -848.0 485.0 -855.0
516.0 -862.0 570.0 -860.0 591.0 -844.0
612.0 -828.0 617.0 -805.0 647.0 -815.0
677.0 -825.0 702.0 -831.0 731.0 -824.0
760.0 -817.0 791.0 -805.0 807.0 -787.0
823.0 -769.0 845.0 -755.0 858.0 -729.0
871.0 -703.0 883.0 -681.0 892.0 -654.0
901.0 -627.0 909.0 -603.0 922.0 -577.0
935.0 -551.0 925.0 -543.0 943.0 -538.0
961.0 -533.0 977.0 -540.0 987.0 -549.0
997.0 -558.0 994.0 -568.0 1007.0 -571.0
1020.0 -574.0 1023.0 -578.0 1025.0 -565.0
1027.0 -552.0 1014.0 -545.0 1021.0 -533.0
1028.0 -521.0 1033.0 -512.0 1033.0 -512.0
smooth off
endline
point 309.0 -737.0 station -name A4
point 574.0 -787.0 station -name A3
point 912.0 -432.0 station -name A2
endscrap
-------------- next part --------------
station A1 entrance
data normal from to tape compass clino backcompass backclino left right up down
# These are the regular centerline survey shots
A1 A2 72.3 224 -4 44 5 30 22 4 6
A2 A3 34.0 220 2 40 -1.5 25 19 5 4.5
A3 A4 31.3 228 -6 47.5 6 3 7 2.5 2
# Splay shots are listed here
flags splay
-------------- next part --------------
encoding utf-8
source PracticeCave.th
# input CustomSymbolsCode.txt
# This layout is for the elevation profile
layout profilemap
units imperial
scale 1 200
color map-fg [90 66 46]
legend off
symbol-set UIS
map-header 0 0 off
# Bring in the custom symbols code
# copy CustomSymbols
endlayout
# This layout is for the main 2D map, all on one page
layout mainmap
units imperial
scale-bar 20 feet
page-numbers on
scale 1 200
color map-fg [100 86 66]
map-comment "A compass and tape survey of Practice Cave."
statistics explo all
legend on
symbol-set UIS
map-header 10 50 center
symbol-color area water [25 50 100]
# section for PDF properties
doc-author "Bill Gee"
doc-title "Map of Practice Cave"
doc-subject "Plan map of Practice Cave"
# Section for map photos
# map-image 30 9 center DSC_0004.JPG
# map-image 48 29 center DSC_0056.JPG
# Add the elevations map
map-image 2 0 nw PracticeElevation1.pdf
# Include custom Metapost code for special symbols
# copy CustomSymbols
endlayout
# Change the legend callout for stalagmaflats
# text en_US "point u:stalagmaflat_AMER" "stalagmaflat"
# text en_US "line u:dripline_AMER" "dripline"
text en_US "point u:pendant" "pendant"
text en_US "point u:stromatolite" "stromatolite"
# Entrance passage elevations
select AllElevations.map
export map -proj extended -layout profilemap -o PracticeElevation1.pdf
select pdp
export map -proj plan -layout mainmap -o PracticeCave.pdf
More information about the Therion
mailing list