mixing local and global coordinate systems
Hello all, I have a compass PLT file that I would like to import into an existing therion project that I have. The therion project has numerous fixed stations, all in the same UTM zone. Unfortunately, if I try to equate a station in the PLT file with the equivalent station in my project, I can't proceed as I can't mix local (in the PLT file) and global (in my project) coordinate systems. If I comment out all of the "cs" commands in my therion project as a test, I can't proceed because therion won't allow two fixed stations to be equated with one another. Removing the "cs" commands isn't really a viable option anyways since I need the stations to have real-world coordinates so that I can load the maps into QGIS and GRASS. My question then is is it possible to override the coordinates of an imported PLT file, transforming them into the coordinate system of my project? Thanks very much in advance! Best regards, Jonny
I have not tried this with plt but with 3d, however according to the thbook it should work. import file.plt calibrate [<x> <y> <z> <X> <Y> <Z>] Where coordinates in the imported file are shifted from lower-case coordinates to upper-case coordinates. I hope I have understood what you are trying to achieve, if not a sample file might help Andrew On 03/08/12 19:20, Jonny Prouty wrote:
Hello all,
I have a compass PLT file that I would like to import into an existing therion project that I have. The therion project has numerous fixed stations, all in the same UTM zone. Unfortunately, if I try to equate a station in the PLT file with the equivalent station in my project, I can't proceed as I can't mix local (in the PLT file) and global (in my project) coordinate systems. If I comment out all of the "cs" commands in my therion project as a test, I can't proceed because therion won't allow two fixed stations to be equated with one another. Removing the "cs" commands isn't really a viable option anyways since I need the stations to have real-world coordinates so that I can load the maps into QGIS and GRASS.
My question then is is it possible to override the coordinates of an imported PLT file, transforming them into the coordinate system of my project? Thanks very much in advance!
Best regards,
Jonny
_______________________________________________ Therion mailing list Therion@speleo.sk http://mailman.speleo.sk/mailman/listinfo/therion
Hello again Bruce and Andrew, Your suggestion of using the calibrate option with the import command did the trick! The origin of the coordinate reference system in the PLT file was set to one of the entrances. My calibrate command set 0 0 0 in the input to the northing, easting, and elevation for that point, i.e. import test.plt -calibrate [0 0 0 363315 3837128 368]. I am now able to use the survey with the surface I've created for that area and have it tie in with my survey. I've commented out all of the "cs" commands in the project, as I haven't fiddled with setting the error values for one of the stations, as suggested by Bruce. Exported maps will at least have the correct X and Y pairs, I'll simply have to go in after the fact and specify the specific reference system. Thanks again for the all of the help. Jonny On Fri, Aug 3, 2012 at 3:39 PM, Andrew Atkinson <andrew@wotcc.org.uk> wrote:
I have not tried this with plt but with 3d, however according to the thbook it should work.
import file.plt calibrate [<x> <y> <z> <X> <Y> <Z>]
Where coordinates in the imported file are shifted from lower-case coordinates to upper-case coordinates.
I hope I have understood what you are trying to achieve, if not a sample file might help
Andrew
On 03/08/12 19:20, Jonny Prouty wrote:
Hello all,
I have a compass PLT file that I would like to import into an existing therion project that I have. The therion project has numerous fixed stations, all in the same UTM zone. Unfortunately, if I try to equate a station in the PLT file with the equivalent station in my project, I can't proceed as I can't mix local (in the PLT file) and global (in my project) coordinate systems. If I comment out all of the "cs" commands in my therion project as a test, I can't proceed because therion won't allow two fixed stations to be equated with one another. Removing the "cs" commands isn't really a viable option anyways since I need the stations to have real-world coordinates so that I can load the maps into QGIS and GRASS.
My question then is is it possible to override the coordinates of an imported PLT file, transforming them into the coordinate system of my project? Thanks very much in advance!
Best regards,
Jonny
_______________________________________________ Therion mailing list Therion@speleo.sk http://mailman.speleo.sk/mailman/listinfo/therion
Therion mailing list Therion@speleo.sk http://mailman.speleo.sk/mailman/listinfo/therion
Hi Jonny No real answer, but you can equate two fixed stations, but you will need to specify error values for one or both of them. I have done it before with coordinates in the same cs. It should work for differing cs (I have done this in different circumstances), but of course not for an arbitrary coordinate system. There are some interesting hacks needed in some circumstances, see http://article.gmane.org/gmane.comp.gis.therion/2909/match=loop+fix Stacho indicated he would look at correcting some of the issues raised, perhaps why the next update is taking so long :-)
From the therion book…
fix <station> [<x> <y> <z> [<std x> <std y> <std z>]] ◃ fix station coordinates (with specified errors—only the units transformation, not calibration, is applied to them). And on transforming the plt coordinates, the calibrate option of the import command on page 33 of The Therion Book seems to suggest a way forward. I have never used ‘import’ so cannot speak from experience. Bruce _____ From: therion-bounces@speleo.sk [mailto:therion-bounces@speleo.sk] On Behalf Of Jonny Prouty Sent: Saturday, 4 August 2012 6:21 a.m. To: List for Therion users Subject: [Therion] mixing local and global coordinate systems Hello all, I have a compass PLT file that I would like to import into an existing therion project that I have. The therion project has numerous fixed stations, all in the same UTM zone. Unfortunately, if I try to equate a station in the PLT file with the equivalent station in my project, I can't proceed as I can't mix local (in the PLT file) and global (in my project) coordinate systems. If I comment out all of the "cs" commands in my therion project as a test, I can't proceed because therion won't allow two fixed stations to be equated with one another. Removing the "cs" commands isn't really a viable option anyways since I need the stations to have real-world coordinates so that I can load the maps into QGIS and GRASS. My question then is is it possible to override the coordinates of an imported PLT file, transforming them into the coordinate system of my project? Thanks very much in advance! Best regards, Jonny
Hello Bruce, Thanks for the suggestions! I'll go have a more thorough look through the therion book. The calibrate command looks particularly promising! Jonny On Fri, Aug 3, 2012 at 3:56 PM, Bruce <bruce@tomo.co.nz> wrote:
**
Hi Jonny****
No real answer, but you can equate two fixed stations, but you will need to specify error values for one or both of them. I have done it before with coordinates in the same cs. It should work for differing cs (I have done this in different circumstances), but of course not for an arbitrary coordinate system. There are some interesting hacks needed in some circumstances, see http://article.gmane.org/gmane.comp.gis.therion/2909/match=loop+fix****
Stacho indicated he would look at correcting some of the issues raised, perhaps why the next update is taking so long J****
** **
From the therion book…****
** **
fix <station> [<x> <y> <z> [<std x> <std y> <std z>]] ◃ fix station coordinates (with specified errors—only the units transformation, not calibration, is applied to them).****
** **
And on transforming the plt coordinates, the calibrate option of the import command on page 33 of The Therion Book seems to suggest a way forward. I have never used ‘import’ so cannot speak from experience.****
** **
Bruce****
** ** ------------------------------
*From:* therion-bounces@speleo.sk [mailto:therion-bounces@speleo.sk] *On Behalf Of *Jonny Prouty *Sent:* Saturday, 4 August 2012 6:21 a.m. *To:* **List for Therion users** *Subject:* [Therion] mixing local and global coordinate systems****
** **
Hello all,****
** **
I have a compass PLT file that I would like to import into an existing therion project that I have. The therion project has numerous fixed stations, all in the same UTM zone. Unfortunately, if I try to equate a station in the PLT file with the equivalent station in my project, I can't proceed as I can't mix local (in the PLT file) and global (in my project) coordinate systems. If I comment out all of the "cs" commands in my therion project as a test, I can't proceed because therion won't allow two fixed stations to be equated with one another. Removing the "cs" commands isn't really a viable option anyways since I need the stations to have real-world coordinates so that I can load the maps into QGIS and GRASS.****
** **
My question then is is it possible to override the coordinates of an imported PLT file, transforming them into the coordinate system of my project? Thanks very much in advance!****
** **
Best regards,****
** **
Jonny****
_______________________________________________ Therion mailing list Therion@speleo.sk http://mailman.speleo.sk/mailman/listinfo/therion
participants (3)
-
Andrew Atkinson -
Bruce -
Jonny Prouty