Re: [Therion] How to properly scale xvi for using as a background image for drawing

2018-06-18 Thread Marco Menchise via Therion
Yes, I'm using Topodroid.

Topodroid sketches are exported using a scale factor of 39.37, so to create
a proper .xvi I had to use the following thconfig (let's say survey,th
contains centerline data and splays):



source survey.th
layout topodroidlayout
scale 1 39.37
endlayout
export map -proj plan -layout topodroidlayout -output background.xvi



After that I'm able to use the generated .xvi as the backround for the
Topodroid sketches in xtherion.

Thanks to Marco Corvi for the explanation.

Marco






Il giorno mer 13 giu 2018 alle ore 07:24 Martin Sluka via Therion <
therion@speleo.sk> ha scritto:

> Topodroid?
>
> Martin S.
>
> Odesláno z iPhonu
>
> 13. 6. 2018 v 0:07, Marco Menchise via Therion :
>
> > Hello,
> >
> > is there a simple way to scale .th2 scraps to make they perfectly match
> the scale factor of a .xvi file used as background image in xtherion?
> >
> > I want to edit a set of scraps (which are contained in a single th2
> file) while having centerline and splays as a background image. So I
> usually generate the .xvi file from centerline data and load it as a
> background image of the scrap in xtherion. If the scraps don't have the
> same scale factor of the background I'm not able to superimpose them and
> edit the drawing.
> >
> > How to make they match? Should I edit .th2 files by hands and do some
> calculations?
> >
> > Could someone please clarifiy how Therion manages scale factor of scraps?
> >
> > My scraps usually contain stations so I'm quite sure I don't have to
> change the "-scale" option of the scraps.
> >
> > Thanks,
> > Marco
> > ___
> > 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 mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


[Therion] How to properly scale xvi for using as a background image for drawing

2018-06-12 Thread Marco Menchise via Therion
Hello,

is there a simple way to scale .th2 scraps to make they perfectly match the
scale factor of a .xvi file used as background image in xtherion?

I want to edit a set of scraps (which are contained in a single th2 file)
while having centerline and splays as a background image. So I usually
generate the .xvi file from centerline data and load it as a background
image of the scrap in xtherion. If the scraps don't have the same scale
factor of the background I'm not able to superimpose them and edit the
drawing.

How to make they match? Should I edit .th2 files by hands and do some
calculations?

Could someone please clarifiy how Therion manages scale factor of scraps?

My scraps usually contain stations so I'm quite sure I don't have to change
the "-scale" option of the scraps.

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


Re: [Therion] Web cave 3D models viewer

2018-02-24 Thread Marco Menchise via Therion
And, since a few weeks:

http://www.speleotoscana.it/3d/

:-)

Marco


2018-02-24 9:45 GMT+01:00 Martin Sluka via Therion :

> https://aardgoose.github.io/CaveView.js/
>
> http://www.speleopg.it/modelli-3d/
>
> Martin S.
>
> ___
> 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] Web cave 3D models viewer

2018-02-24 Thread Marco Menchise via Therion
2018-02-24 9:48 GMT+01:00 Marco Menchise :

> And, since a few weeks:
>
> http://www.speleotoscana.it/3d/
>
> :-)
>
> That is a page from the Federazione Speleologica Toscana website. We
collected 3D models of many caves in Apuan Alpes, Italy and we overlayed
them with three different maps: a trekking map, a geological map and the
official Italian map. Users may choose about different maps and models
using CaveView menu.

There are also credits at the page bottom :-)

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


Re: [Therion] Therion and DEM

2019-01-23 Thread Marco Menchise via Therion
Hello,
I'm facing same problem.

Any hint/answer?
Thanks,
Marco


Il giorno ven 29 giu 2018 alle ore 00:38 Xavier Robert via Therion <
therion@speleo.sk> ha scritto:

> Dear all,
>
> For a quite large project, I am using a relatively high-resolution DEM
> (i.e. 1 px = 1 m), and I am trying to use it within Therion to produce a
> .lox-3D file. I am however facing some problems:
>
>- If I export the full resolution DEM to a .th file (6540*4307 cells)
>with the line "grid 325816.2990788577 5106250.599820679 1 1 6540
>4307 ». I have the error « therion: error -- dem.th [14] -- line too
>long ». This line 14 correspond to the first row of the DEM. ASC
>parameters are « #NCOLS = 6540, NROWS   = 4307, XLLCORNER =
>325816.2990788577, YLLCORNER =5106250.599820679, CELLSIZE = 1.0 »
>- If I export the DEM with a 5 m pixel resolution (1308*861 cells)
>(with the line "grid 325816.299079 5106250.59982 5.001161440185831
>5.001161440185831 1308 861 », I get the same error,
>- If I export the DEM with a 10 m pixel resolution (654 * 431 cells)
>(with the line « grid 325816.299079 5106250.59982 9.996519721577727
>9.996519721577727 654 431 »), everything compiles OK and the result is
>quite OK (
>
> https://www.groupe-speleo-vulcain.com/wp-content/themes/custom_theme/3d/JB.html
>; be patient, it takes time to load), but not with the full resolution.
>
>
> The process to build each .th DEM is exactly the same, I do not touch any
> end of line. I edit the .asc DEM with vi to translate it into a .th file.
>
> I thus suspect that there is a size limitation for the DEM in Therion, I
> imagine a limitation in the number of row/columns of the DEM.
>
>- Is that true ?
>- If yes, what is this size limit for DEMs ?
>- As anyone an idea how to overtake that and use the full resolution
>DEM ?
>
>
> Cheers,
>
> Xavier
>
> ___
> 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] Therion and DEM

2019-01-23 Thread Marco Menchise via Therion
Hi,I also tried to lower the DEM accuracy by cutting digits after the point
but I got same error:  line too long. In my case I have only 3 digits.

I would know if it is a Therion limit and if it is somewhat possible to
overcome it by, for example, recompiling Therion.

Marco




Il giorno mer 23 gen 2019 alle ore 11:32 Pavel Herich via Therion <
therion@speleo.sk> ha scritto:

> Hi,
> I do strugle with the same problem, if I understand well; partly there
> is solution tu cut all grid values after f.e. second number behind point
> (if you have values like I do - 1205.648971354 and so), you fit almost
> twice of values into the line.
> I did not experiece any troubles with number of columns, so
> I suppose real solution would be to extend line in Therion, but I don´t
> know, if it´s possible.
> Pavel
>
>
> Dňa 2019-01-23 10:25 Marco Menchise via Therion napísal(a):
> > Hello,
> > I'm facing same problem.
> >
> > Any hint/answer?
> > Thanks,
> > Marco
> >
> > Il giorno ven 29 giu 2018 alle ore 00:38 Xavier Robert via Therion
> >  ha scritto:
> >
> >> Dear all,
> >>
> >> For a quite large project, I am using a relatively high-resolution
> >> DEM (i.e. 1 px = 1 m), and I am trying to use it within Therion to
> >> produce a .lox-3D file. I am however facing some problems:
> >>
> >> * If I export the full resolution DEM to a .th file (6540*4307
> >> cells) with the line "grid 325816.2990788577 5106250.599820679 1 1
> >> 6540 4307 ». I have the error « therion: error -- dem.th [1] [14]
> >> -- line too long ». This line 14 correspond to the first row of the
> >> DEM. ASC parameters are « #NCOLS = 6540, NROWS   = 4307, XLLCORNER
> >> = 325816.2990788577, YLLCORNER =5106250.599820679, CELLSIZE = 1.0 »
> >> * If I export the DEM with a 5 m pixel resolution (1308*861 cells)
> >> (with the line "grid 325816.299079 5106250.59982 5.001161440185831
> >> 5.001161440185831 1308 861 », I get the same error,
> >> * If I export the DEM with a 10 m pixel resolution (654 * 431
> >> cells) (with the line « grid 325816.299079 5106250.59982
> >> 9.996519721577727 9.996519721577727 654 431 »), everything compiles
> >> OK and the result is quite OK
> >>
> > (
> https://www.groupe-speleo-vulcain.com/wp-content/themes/custom_theme/3d/JB.html
> >> ; be patient, it takes time to load), but not with the full
> >> resolution.
> >>
> >> The process to build each .th DEM is exactly the same, I do not
> >> touch any end of line. I edit the .asc DEM with vi to translate it
> >> into a .th file.
> >>
> >> I thus suspect that there is a size limitation for the DEM in
> >> Therion, I imagine a limitation in the number of row/columns of the
> >> DEM.
> >>
> >> * Is that true ?
> >> * If yes, what is this size limit for DEMs ?
> >> * As anyone an idea how to overtake that and use the full
> >> resolution DEM ?
> >>
> >> Cheers,
> >>
> >> Xavier
> >>
> >> ___
> >> Therion mailing list
> >> Therion@speleo.sk
> >> https://mailman.speleo.sk/listinfo/therion
> >
> >
> > Links:
> > --
> > [1] http://dem.th
> > ___
> > 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 mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] Compass (.dat) to Therion (.th) converter?

2019-01-07 Thread Marco Menchise via Therion
Hello Torsten, thank you for the reply.
Unfortunately (or luckily, I don't know) I don't have windows so I can't
use excel. :-(

I'll try some other way.
Thanks again,
Marco




Il giorno lun 7 gen 2019 alle ore 12:03 Torsten Schnitter via Therion <
therion@speleo.sk> ha scritto:

> Hi Marco
>
> I have an excel macro tool which I use for such tasks.
>
> I have done this for my own and I'm using this Excel tool as my "database"
> for survey data.
> You can import different formats like compass, walls, therion, mnemo,
> pockettopo into Excel.
> And you can export to formats for Therion, Walls and Compass.
> This tool is still under progress but may be a help for your task.
>
> Unfortunately you can use it only with Windows and Excel.
> Let me know if you are interested.
>
> cheers,
> Torsten
>
> Marco Menchise via Therion  hat am 7. Januar 2019 um
> 11:35 geschrieben:
>
> Hello,
> does anybody know if such a converter is available?
>
> Thanks,
> Marco
>
> ___
> 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 mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


Re: [Therion] Compass (.dat) to Therion (.th) converter?

2019-01-07 Thread Marco Menchise via Therion
Wow, I didn't know about that page, thanks...

Maybe I missed it because I googled in English and Marco wrote it in
Italian (quite unusual for him :-) )

Thanks,
Marco


Il giorno lun 7 gen 2019 alle ore 12:09 Tom via Therion 
ha scritto:

> Hi,
>
> in handling compass data I use the procedures described in this wiki page,
> written by Marco Corvi, which unfortunately I have found it only in italian
> language.
> In it is linked also a very nice perl script to convert dat files in
> therion.
>
> Tom
>
> Il giorno lun 7 gen 2019, 12:02 Torsten Schnitter via Therion <
> therion@speleo.sk> ha scritto:
>
>> Hi Marco
>>
>> I have an excel macro tool which I use for such tasks.
>>
>> I have done this for my own and I'm using this Excel tool as my
>> "database" for survey data.
>> You can import different formats like compass, walls, therion, mnemo,
>> pockettopo into Excel.
>> And you can export to formats for Therion, Walls and Compass.
>> This tool is still under progress but may be a help for your task.
>>
>> Unfortunately you can use it only with Windows and Excel.
>> Let me know if you are interested.
>>
>> cheers,
>> Torsten
>>
>> Marco Menchise via Therion  hat am 7. Januar 2019 um
>> 11:35 geschrieben:
>>
>> Hello,
>> does anybody know if such a converter is available?
>>
>> Thanks,
>> Marco
>>
>> ___
>> 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 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] Compass (.dat) to Therion (.th) converter?

2019-01-07 Thread Marco Menchise via Therion
Hello Footleg, thanks,
That's was the way I was exploring (by a Java tool written by me) before
being aware of Marco's page.

Thanks for the CaveConverter :-)

Marco

Il giorno lun 7 gen 2019 alle ore 12:29 Footleg via Therion <
therion@speleo.sk> ha scritto:

> You might also find the Cave Converter tool I wrote of some use. It
> doesn't convert to Therion, but it can read Compass.dat and convert to
> Survex. The survex files are not too difficult to then convert into Therion
> in a text editor:
> http://wscc.darkgem.com/caveconverter/
>
> Footleg
>
> On Mon, 7 Jan 2019 at 11:18, Marco Menchise via Therion 
> wrote:
>
>> Wow, I didn't know about that page, thanks...
>>
>> Maybe I missed it because I googled in English and Marco wrote it in
>> Italian (quite unusual for him :-) )
>>
>> Thanks,
>> Marco
>>
>>
>> Il giorno lun 7 gen 2019 alle ore 12:09 Tom via Therion <
>> therion@speleo.sk> ha scritto:
>>
>>> Hi,
>>>
>>> in handling compass data I use the procedures described in this wiki
>>> page, written by Marco Corvi, which unfortunately I have found it only in
>>> italian language.
>>> In it is linked also a very nice perl script to convert dat files in
>>> therion.
>>>
>>> Tom
>>>
>>> Il giorno lun 7 gen 2019, 12:02 Torsten Schnitter via Therion <
>>> therion@speleo.sk> ha scritto:
>>>
>>>> Hi Marco
>>>>
>>>> I have an excel macro tool which I use for such tasks.
>>>>
>>>> I have done this for my own and I'm using this Excel tool as my
>>>> "database" for survey data.
>>>> You can import different formats like compass, walls, therion, mnemo,
>>>> pockettopo into Excel.
>>>> And you can export to formats for Therion, Walls and Compass.
>>>> This tool is still under progress but may be a help for your task.
>>>>
>>>> Unfortunately you can use it only with Windows and Excel.
>>>> Let me know if you are interested.
>>>>
>>>> cheers,
>>>> Torsten
>>>>
>>>> Marco Menchise via Therion  hat am 7. Januar 2019
>>>> um 11:35 geschrieben:
>>>>
>>>> Hello,
>>>> does anybody know if such a converter is available?
>>>>
>>>> Thanks,
>>>> Marco
>>>>
>>>> ___
>>>> 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 mailing list
>>> Therion@speleo.sk
>>> https://mailman.speleo.sk/listinfo/therion
>>>
>> ___
>> 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 mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion


[Therion] Compass (.dat) to Therion (.th) converter?

2019-01-07 Thread Marco Menchise via Therion
Hello,
does anybody know if such a converter is available?

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


[Therion] No passage walls converting .plt to .lox

2018-12-28 Thread Marco Menchise via Therion
Hello, I have a Compass .plt file which I am able to display with Loch. I
happily see station names and passage walls.

I'm trying to generate a .lox file to display with CaveView on the web.
CaveView needs .lox format.

To do this, I import the .plt in Therion then export the lox model enabling
all features (walls, splays, etc.), but I get no walls in the final file. I
tried to generate a .lox model from a test .th file written by hand and I
was able to get all the features.

Am I missing something?

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


Re: [Therion] Therion and DEM

2019-01-24 Thread Marco Menchise via Therion
Hello, I recompiled Therion with a new limit and I generated the .lox
model. No "line too long" error anymore.

Unfortunately, I wasn't able to overlay a .jpg image. Therion overlayed
only part of it over the whole DEM. Sligthly changing calibration data
produce even weird result ..

I'm starting tho think that there are some other constants to tweak
somewhere else.

I cannot attach the model because it is very large (about 200M).

Marco


Il giorno mer 23 gen 2019 alle ore 20:38 Olly Betts  ha
scritto:

> On Wed, Jan 23, 2019 at 11:44:36AM +0100, Marco Menchise via Therion wrote:
> > I would know if it is a Therion limit and if it is somewhat possible to
> > overcome it by, for example, recompiling Therion.
>
> It looks like this line length limit is specified in thinput.cxx:
>
> const long thinput::max_line_size = 8128;
>
> So changing that and recompiling should help.
>
> Cheers,
> Olly
>
___
Therion mailing list
Therion@speleo.sk
https://mailman.speleo.sk/listinfo/therion