Bruce, Good thing you've noticed the problem with CS specification. Actually, it was working for me, but not always as I specified... After many tests, it seems that specifying a CS inside the Layout does nothing. Apparently, the output CS should be specified outside and that the last CS specified is the one used for all the outputs. In the test example joined, EPSG:27582 (French Lambert II) is the last CS specified. Therion says: -> output coordinate system: EPSG:27582 and output coordinates as well as the output map are in this coordinate system (I translated with another tool to obtain the coordinates of Cave1 X=543263.98772068, Y=1907965.20640927). Xavier Bruce Mutton a écrit :
Xavier
I have not addressed your question (as I don't know the answer). Your data files compile on my machine as you describe in your message (an error as submitted, but success if the cave names are changed).
I noticed that you have a co-ordinate conversion from one cs to another.
Interested to know if the conversion is performed correctly for you?
I tried to do this some weeks ago with my data (different co-ordinate systems), and although no errors were raised, the co-ordinates were not transformed at all, the maps and grids printed with the input co-ordinate system, and not the requested output co-ord system.
In studying the outputs I get with your data I find the same thing is happening. Am I (we?) misunderstanding how to do the co-ordinate conversions, or is something not working?
Bruce
-----Original Message----- From: therion-bounces@speleo.sk [mailto:therion-bounces@speleo.sk] On Behalf Of Xavier Pennec Sent: Thursday, 13 November 2008 8:59 a.m. To: List for Therion users Subject: [Therion] Problem with object types
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
_______________________________________________ Therion mailing list Therion@speleo.sk http://mailman.speleo.sk/mailman/listinfo/therion
encoding utf-8 ## Gather all data togother survey Topocave1 -title "Cave 1" centerline date 1991 cs EPSG:2757 ## Lambert II 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 Topocave2 -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@Topocave1 equate cave2 cave2@Topocave2 equate cave1 cave1@surface equate cave2 cave2@surface encoding utf-8 cs EPSG:27583 ## Lambert III source test source ## Reference file with all Fixed points centerline cs UTM31 fix cave1 390300 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 10 10 10 m grid-coords all # cs EPSG:27573 ## Lambert III transparency on opacity 80 surface bottom #surface-opacity 80 endlayout cs EPSG:27583 ## Lambert III export map -o test.pdf -layout map_layout -fmt pdf export model -fmt survex -o test.3d #!CAVE LIST EXPORT cs EPSG:27572 ## Lambert II export cave-list -o Coordonnees.html -location on