Re: [Therion] Export centerline and/or stations to SHP without th2 files

2021-11-28 Thread עמרי גסטר
Hi Stacho & Martin
I ran it with the new release, it world good now.
Thanks!

On Wed, Nov 24, 2021, 9:23 PM Martin Budaj  wrote:

> ‪On Thu, Nov 18, 2021 at 12:09 PM ‫עמרי גסטר‬‎  wrote:‬
> > When I try to export to SHP or kml I get empty layers because I don't
> use th2 files.
> > What I don't understand is why the centerline / splayes / stations
> layers are empty as well.
>
> Hi,
>
> there is a bug in the embedded shapefile library if it's used under
> Windows. The latest commit contains a local fix, so it should work
> well now.
>
> Martin
> ___
> Therion mailing list
> Therion@speleo.sk
> https://mailman.speleo.sk/listinfo/therion
>
___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] Export centerline and/or stations to SHP without th2 files

2021-11-24 Thread Martin Budaj
‪On Thu, Nov 18, 2021 at 12:09 PM ‫עמרי גסטר‬‎  wrote:‬
> When I try to export to SHP or kml I get empty layers because I don't use th2 
> files.
> What I don't understand is why the centerline / splayes / stations layers are 
> empty as well.

Hi,

there is a bug in the embedded shapefile library if it's used under
Windows. The latest commit contains a local fix, so it should work
well now.

Martin
___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] Export centerline and/or stations to SHP without th2 files

2021-11-22 Thread Stacho Mudrak
Hi Omri,

have you tried exporting model to .SHP files?

export model -o cave.shp

If you export map, I am not sure about altitude information in it. It is a
long time ago we were working on it, but there were some differences when
exporting map (2D) and model (3D) data. If you export model to .SHP files,
it creates 3 layers - stations3d, shots3d and walls3d with proper 3D
geometry and metadata of these features.

S.

‪On Thu, 18 Nov 2021 at 12:09, ‫עמרי גסטר‬‎  wrote:‬

>
> Hi everyone,
> I have a survey with coordinates at the first station but I don't use th2
> files.
> When I export to loch file, It works perfect, I can see the model in the
> correct place together with the DEM and surface image.
> When I try to export to SHP or kml I get empty layers because I don't use
> th2 files.
> What I don't understand is why the centerline / splayes / stations layers
> are empty as well.
>
> Is there a way to export to SHP / kml only the data from the th file?
>
>
>
>
> --
> Omri
> ___
> Therion mailing list
> Therion@speleo.sk
> https://mailman.speleo.sk/listinfo/therion
>
___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] Export centerline and/or stations to SHP without th2 files

2021-11-18 Thread Xavier Robert
Hi,

I never focussed on that but :
If i do not mistake, you have the info of the altitude of each station in the 
sql database of the cave/system you may export. You may need to use some sql 
and/python queries to extract what you want.
I am sure this is quite easy to compute, the last version of CaveView 
(https://aardgoose.github.io/CaveView.js/) is indicating that nicely. If your 
aim is to get the depth from the surface for only few points, you may tried tu 
use CaveView (Juste open a web page that is also using a CaveView Viewer, and 
then drag and grad your .lox file in the 3D viewer panel).

Cheers

Xavier

> Le 18 nov. 2021 à 15:11, ⁨עמרי גסטר⁩ <⁨omri...@gmail.com⁩> a écrit :
> 
> Thanks Xavier,
> it worked!
> 
> So , after converting the KML to SHP I have a polyline of the cave centerline 
> & spalyes. 
> What I'm aiming for, are the stations with the absolute altitude.
> If I manage to get that, then I can calculate the relative depth of each 
> station from the surface.
> 
>  
> 
> On Thu, Nov 18, 2021 at 2:31 PM Xavier Robert 
>  > wrote:
> Hi,
> 
> For shp, I never tried.
> 
> For kml, I export the centerline + splays by exporting the model, not the 
> map. For instance :
> export model -fmt kml -o Outputs/MyCave.kml
> 
> Hope it helps,
> 
> Xav
> 
> > Le 18 nov. 2021 à 12:08, ⁨עמרי גסטר⁩ <⁨omri...@gmail.com 
> > ⁩> a écrit :
> > 
> > 
> > Hi everyone,
> > I have a survey with coordinates at the first station but I don't use th2 
> > files.
> > When I export to loch file, It works perfect, I can see the model in the 
> > correct place together with the DEM and surface image.
> > When I try to export to SHP or kml I get empty layers because I don't use 
> > th2 files.
> > What I don't understand is why the centerline / splayes / stations layers 
> > are empty as well.
> > 
> > Is there a way to export to SHP / kml only the data from the th file?
> > 
> > 
> > 
> >  
> > -- 
> > Omri
> > ___
> > Therion mailing list
> > Therion@speleo.sk 
> > https://mailman.speleo.sk/listinfo/therion 
> > 
> 
> ___
> Therion mailing list
> Therion@speleo.sk 
> https://mailman.speleo.sk/listinfo/therion 
> 
> 
> 
> -- 
> בברכה,
> עמרי גסטר
> 052-6124995
> ___
> Therion mailing list
> Therion@speleo.sk
> https://mailman.speleo.sk/listinfo/therion

___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] Export centerline and/or stations to SHP without th2 files

2021-11-18 Thread עמרי גסטר
Thanks Xavier,
it worked!

So , after converting the KML to SHP I have a polyline of the cave
centerline & spalyes.
What I'm aiming for, are the stations with the absolute altitude.
If I manage to get that, then I can calculate the relative depth of each
station from the surface.



On Thu, Nov 18, 2021 at 2:31 PM Xavier Robert <
xavier.rob...@univ-grenoble-alpes.fr> wrote:

> Hi,
>
> For shp, I never tried.
>
> For kml, I export the centerline + splays by exporting the model, not the
> map. For instance :
> export model -fmt kml -o Outputs/MyCave.kml
>
> Hope it helps,
>
> Xav
>
> > Le 18 nov. 2021 à 12:08, ⁨עמרי גסטר⁩ <⁨omri...@gmail.com⁩> a écrit :
> >
> >
> > Hi everyone,
> > I have a survey with coordinates at the first station but I don't use
> th2 files.
> > When I export to loch file, It works perfect, I can see the model in the
> correct place together with the DEM and surface image.
> > When I try to export to SHP or kml I get empty layers because I don't
> use th2 files.
> > What I don't understand is why the centerline / splayes / stations
> layers are empty as well.
> >
> > Is there a way to export to SHP / kml only the data from the th file?
> >
> >
> >
> >
> > --
> > Omri
> > ___
> > Therion mailing list
> > Therion@speleo.sk
> > https://mailman.speleo.sk/listinfo/therion
>
> ___
> Therion mailing list
> Therion@speleo.sk
> https://mailman.speleo.sk/listinfo/therion
>


-- 
בברכה,
עמרי גסטר
052-6124995
___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] Export centerline and/or stations to SHP without th2 files

2021-11-18 Thread Xavier Robert
Hi,

For shp, I never tried.

For kml, I export the centerline + splays by exporting the model, not the map. 
For instance :
export model -fmt kml -o Outputs/MyCave.kml

Hope it helps,

Xav

> Le 18 nov. 2021 à 12:08, ⁨עמרי גסטר⁩ <⁨omri...@gmail.com⁩> a écrit :
> 
> 
> Hi everyone,
> I have a survey with coordinates at the first station but I don't use th2 
> files.
> When I export to loch file, It works perfect, I can see the model in the 
> correct place together with the DEM and surface image.
> When I try to export to SHP or kml I get empty layers because I don't use th2 
> files.
> What I don't understand is why the centerline / splayes / stations layers are 
> empty as well.
> 
> Is there a way to export to SHP / kml only the data from the th file?
> 
> 
> 
>  
> -- 
> Omri
> ___
> Therion mailing list
> Therion@speleo.sk
> https://mailman.speleo.sk/listinfo/therion

___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


[Therion] Export centerline and/or stations to SHP without th2 files

2021-11-18 Thread עמרי גסטר
Hi everyone,
I have a survey with coordinates at the first station but I don't use th2
files.
When I export to loch file, It works perfect, I can see the model in the
correct place together with the DEM and surface image.
When I try to export to SHP or kml I get empty layers because I don't use
th2 files.
What I don't understand is why the centerline / splayes / stations layers
are empty as well.

Is there a way to export to SHP / kml only the data from the th file?




-- 
Omri
___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion