Open diegorssouza12 opened 4 years ago
Hi @diegorssouza12 , I'll look into this in the evening. One thing I see that may cause problems is that i had some issues with the library for reprojection, so is not implemented in the javascript template. I see you are using WGS84, but not the "default" which as an EPSG code of "4326". If it is not part of the problem, it will surely create some down the line, so i suggest converting your projects into that. Also, do you have any pointclouds next to these vectors? Potree by default is made for pointclouds, and the plugin is built in a way that it instructs you to select one.
Thanks for the assistance, we use wgs84 - utm 23 -south here in Brazil (we use lastools to make potree by default but we have some lack of knowledge on javascript programming, so we get stuck with the examples offered by the potree creator) , when i put the vector on just wgs 84 the vector shows problems on qgis (not displayed on the correct location).
Ps: we have two pointclouds of those vectors that we survey with an drone.
i see. well if its mostly a fitting issue, could i ask for a small section of the cloud, so i could test it out? something insignificant, but yet recognizable if the process goes through well, like one of those street sign arches or a section of a bridge from the middle?
sure, its already uploaded on the same link!
if you set everything to WGS84 / EPSG 4326 it works for me. The elevation of the shapes are a bit off, i can't really pinpoint why, because i do not have Autocad or anything which would "naturally" work with dxf files. I assume this is a cad drawing, since we used to draw these with that too. Seems like a fix value, so you can just hammer it down by two meters or something and it will fit like a glove.
Otherwise it seems fitting, look:
In QGIS:
The conversion parameters were the following:
Did i manage to help, or you still have questions / issues?
fyi - i forgot to include this, in qgis the shapefile conversion was done like this:
Multiclass shapes are not handled well (or rather not handled at all) by the processing script. That was provided by the potree community, not me, so i don't really know how it functions exactly, i just tried to morph the code invoking it in a way it would give back useful results.
thanks for the help, works fine with wgs 84 (but have some height issues) i dont know how to do that in other way so we will try that way!
Regards!
you're welcome, i am sorry i can't provide any solution which would be more... professional. :) use the measurement function in potree to get a rough estimate of the gap. Since this is all for a presentation, i highly doubt your superiors would be able to tell that you switched projections for this project. If you have any other issues, feel free to dump it in here or in another ticket.
Best regards, Tom
Hi Thomas and everyone...i'm getting some kind of python error when i try to use potreecraft on qgis (3.10 and 3.14) as you can see bellow. Im getting one dxf and make one shapefile of it,when i try to set the layers or make something else the python error appears
Could you help me?
dxf file link : https://drive.google.com/drive/folders/1jmqF7KlWzZh6l9YiDMUfevIn8UTTGY34?usp=sharing
Ps: thanks for your work on Potreecraft!