Closed MathiasPechinger closed 11 months ago
The problem is that the path is relative and the script first chdirs into input path, so relative paths of detected files are no longer valid.
Try adding
os.chdir("..")
just after
for files in types:
files_found.extend(glob.glob(files))
in CityGML2OBJs.py, its around line 351
then around line 694, replace
with open(RESULT + FILENAME + str(adj_suffix) + ".obj", "w") as obj_file:
with
with open(FILENAME + str(adj_suffix) + ".obj", "w") as obj_file:
Hi, First I want to thank you for keeping up the development of this tool!
I have the folowing Setup:
Windows 10
I basically installed all packages that are listed in the requirements and used python 3.10.0. For "Decimal" I have used "PyDecimal" which should be fine.
I am trying to convert the following file:
https://geoportal.bayern.de/bayernatlas/?lang=de&topic=ba&bgLayer=atkis&catalogNodes=11&layers=WMS%7C%7COpendata_Auswahl_LoD2%7C%7Chttps:%2F%2Fgeoservices.bayern.de%2Fwms%2Fv1%2Fopendatagrid%7C%7Clod2%7C%7C1.1.1&E=689460.10&N=5337199.11&zoom=14
https://download1.bayernwolke.de/a/lod2/citygml/688_5336.gml
I am experiencing the following issue:
I have tried the following to resolve it:
added -v 1 and -p 1 flags
checked with CityDoctor 2.2.1
The tool didn't show anything in the GUI but gave this error in the console:
I hope I have added all necessary information.