tin-terrain
tin-terrain copied to clipboard
Can this project build with visual studio 2015 on windows?
hello,
I use cmake to generate a vs 2015 x64 solution on windows.But,it appear some errors when i build with vs2015.Can this project build with visual studio 2015 on windows?
Hi @dajiang31835008 We did not test with Windows yet. As a quick solution I suggest to run tool in a Docker. Will this help?
I had the same problem
Hi @delfrrr
Thanks for your reply.I have build it on windows successfully.But I have encountered some problems to run the tool. I use the ' dem2tintiles --input C:\Users\31835\Desktop\test\dem_10m.tif --output-dir C:\Users\31835\Desktop\test --min-zoom 1 --max-zoom 6 --output-format=terrain --max-error 2.0' command line.The flowing image is the result.Why is each tile so big?
.The input raster epsg is 3857.
I'm happy to hear that you managed to build it @dajiang31835008
As for your problem, I don't have enough information to answer your question. Is it possible for you to share the DEM you're working with?
Thank you very much! @fester I have share my test data via https://pan.baidu.com/s/1VNGkFA7w_PP_8WKkeWHDPw .Please download it.
Unfortunately I can not get through the Chinese UI of Baidu. All I get is a prompt to download some Baidu client (I guess? not even sure about it), but not the data. I have to ask you to upload the data somewhere else.
Thanks for your reply! @fester
I share it via https://github.com/dajiang31835008/testdata.git Please download it.
Thanks for providing your data @dajiang31835008. Unfortunately, I can't reproduce the behaviour you are having with a 62KB sized tiles, my build yields only 20KB tile. I'm not sure how to continue since I don't have a Windows machine to test on.
We will talk about our ability to test it get back to you afterwards.
Hi @dajiang31835008 .I tried to build it on Windows with VS2015 just like you.But I got errors:
C2440 “return”: can not convert from “void” to “fmt::v5::internal::value<Context>” tntn E:\Source\tin-terrain\tin-terrain-master\3rdparty\fmt-5.1.0\include\fmt\core.h 969
and
C1189 #error: unknown architecture tntn E:\Source\tin-terrain\tin-terrain-master\include\tntn\endianness.h 14
Did you have the the same problem?
Hi @whuzxy .I have the same problem, have you solved it yet?
typedef unsigned int uint; @xuanyuanqing
C2440 “return”: can not convert from “void” to “fmt::v5::internal::value<Context>” tntn E:\Source\tin-terrain\tin-terrain-master\3rdparty\fmt-5.1.0\include\fmt\core.h 969 and C1189 #error: unknown architecture tntn E:\Source\tin-terrain\tin-terrain-master\include\tntn\endianness.h 14 @bfzhao2008 Did you have this problem like me and @whuzxy ?
@dajiang31835008 I have the same problem at windows vs studio , can I have your chat, my chat name are-long, thank you very much