[Therion] How to create KML files
Olly Betts
olly at survex.com
Mon Mar 23 00:14:44 CET 2015
On Sun, Mar 22, 2015 at 10:04:42PM -0000, Henry Bennett wrote:
> Bill Gee writes:
> > "therion: warning -- data not georeferenced -- unable to export KML file"
> >
> > I think this is because I have not included latitude/longitude information.
> >
> > My question is ... How is latitude and longitude specified?
> >
> > Reading through the Therion book, it seems it is done in the "cs" statement
> > within the centerline. However, the syntax is not clear. Are there any
> > examples that show how it is done?
> Use Fix
>
> http://therion.speleo.sk/wiki/doku.php/tbe:wiki2?s[]=fix&s[]=entrance
You need to both specify a coordinate system with "cs" *and* use "fix"
to locate at least one station in that coordinate system, e.g.:
cs long-lat
fix entrance -77.0365 38.8977 30
That assumes datum WGS84 (which is what your GPS probably gives you by
default).
You can't use lat/long as the output coordinate system, as that needs to
use length units. I don't know off-hand if therion picks a suitable
one for you - if not, you'll need to specify a suitable output
coordinate system in your config file - e.g. 'cs utm<NN>' where <NN> is
the UTM zone you are in.
Cheers,
Olly
More information about the Therion
mailing list