Re: [Therion] Therion and DEM
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
Re: [Therion] Therion and DEM
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] Therion and DEM
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
Re: [Therion] Therion and DEM
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