JonasPfeiffer123 / DistrictHeatingSim

This project focuses on generating and analyzing heating networks using geospatial data. It integrates geographic information system (GIS) functionality with network analysis to model and simulate heating networks.
MIT License
0 stars 1 forks source link

Direct Integration of shape-LOD2 or CityGML-LOD2 data instead of converting to geoJSON in QGIS #77

Open JonasPfeiffer123 opened 3 months ago

JonasPfeiffer123 commented 3 months ago

Currently it's necessary to convert downloaded LOD2 data to geoJSON first to use it with the software as problems were encountered with shape-files. This issues needs to be resolved for a userfriendly software

mherling commented 2 weeks ago

https://github.com/citygml4j/citygml-tools bundle or use docker image:

  1. install https://hub.docker.com/r/citygml4j/citygml-tools (docker and WSL needed)
  2. use

    $ docker run --rm -u 1000 -v /path/to/your/data:/data citygml-tools to-cityjson *.gml

    citygml4j/citygml-tools:latest

Note that /data is the default working directory inside the container. Relative paths to input files like in the above example are automatically resolved against /data by citygml-tools. If you mount your local directory at a different path inside the container, you must specify the full path to your input files, of course.