[Therion] Problem with object types
Stacho Mudrak
s.m at group-s.sk
Thu Jan 15 13:08:26 CET 2009
Sorry for the extremly late answer... :(
You are right - it is not possible to create station cave1 on the save
level, where cave1 survey exists. Survey station is treated as any
other object in therion.
Regards, S.
2008/11/12 Xavier Pennec <Xavier.Pennec at sophia.inria.fr>:
> I have a problem with object types in therion: it seems that it is not
> possible to have a survey and a station which have the same name (see
> example included which perfectly compiles if one changes the cave1 and cave
> 2 to Cave1 and Cave2 for either the station names or the survey names). Is
> that a normal behavior? It seems to me that a correct typing should allow
> having the same names for surveys, stations and maps.
>
> Xavier
>
>
> encoding utf-8
> ## Gather all data togother
>
>
>
> survey cave1 -title "Cave 1"
>
> centerline
> date 1991
>
> station cave1 "Cave 1" entrance
> equate cave1 0
>
> data normal from to length compass clino ignoreall
> units compass grads
> units clino degrees
>
> 0 1 13.8 240 2
> endcenterline
> endsurvey
>
>
>
> survey cave2 -title "Cave 2"
>
> centerline
> date 1991
>
> station cave2 "Cave 2" entrance
> equate cave2 0
>
> data normal from to length compass clino ignoreall
> units compass grads
> units clino degrees
>
> 0 1 45 140 0
> endcenterline
> endsurvey
>
> survey surface -title "Surface measurements"
>
> centerline
> date 1991
>
>
> equate cave1 0
> equate cave2 1
>
> data normal from to length compass clino ignoreall
> units compass grads
> units clino degrees
>
> 0 1 5 100 0
> endcenterline
> endsurvey
>
>
> ## index all connection points to link them together
>
> equate cave1 cave1 at cave1
> equate cave2 cave2 at cave2
> equate cave1 cave1 at surface
> equate cave2 cave2 at surface
>
>
> encoding utf-8
> source test
>
> source ## Rerefence file with all Fixed points
> centerline
> cs UTM31
> fix cave1 391300 4891742 2160 10 10 20 # GPS accuracy is not so good
> endcentreline
> endsource
>
>
> layout map_layout
>
> symbol-show line survey
> symbol-show point station
>
> # debug on
> north true
> scale 1 100
> units metric
>
> color map-fg altitude
>
> grid bottom
> grid-size 50 50 10 m
> cs EPSG:27572 ## Lambert II
> transparency on
> opacity 80
>
> surface bottom
> #surface-opacity 80
> endlayout
>
> export map -o test.pdf -layout map_layout -fmt pdf
> export model -fmt survex -o test.3d
>
>
> #!CAVE LIST EXPORT
>
> ## cs EPSG:27573 ## Lambert III
> export cave-list -o Coordonnees.html -location on
>
> _______________________________________________
> Therion mailing list
> Therion at speleo.sk
> http://mailman.speleo.sk/mailman/listinfo/therion
>
>
More information about the Therion
mailing list