Great project !
I have just tried it and I had some issues I want to share:
- Downloading a city fails if the OpenTopography API key is not set in the OPENTOPO_ELEVATION_API_KEY environment variable.
- Export fails for me because the "output" directory doesn't exists. I was confused by the fact that main.py is not in the root directory but in "src" directory. So i changed to src directory and launch "python main.py". And it fails. It seems that the right thing to do is staying in the root directory and launch "python src/main.py".
I finally managed to get a map but it seems broken (see attached screenshot)
Anyway it's a great start.
I have made a similar project a while ago. If it can help in any way, here it is:
And some videos of maps created with it:
Hello, greetings.
Thank you very much for taking the time to test the project and share your feedback — it is truly valuable at this stage.
About the OpenTopography API: The use of elevation data is completely
optional.
The project can generate flat maps (streets and basic structures only) without requiring any external data.
OpenTopography queries are only used for
heightmap generation.
If you want to use elevation data, you need to:
- Register on OpenTopography
- Obtain an API key
- Create a .env file in the root directory of the project with the following content:
OPENTOPO_ELEVATION_API_KEY=your_api_key_here
I will improve the documentation to make this step clearer and more visible.
About the missing output folder: You are absolutely right on this point.
The output folder should either be included in the repository or created automatically, and this is currently not handled properly.
This will be fixed in the next update to prevent this issue.
About the road generation issue: Based on the screenshot you shared, it seems that the roads are being generated incorrectly, forming a kind of radial pattern from a single point.
The road generation system is still in an experimental stage, and the issue is likely related to:
- Offset handling
- Spatial references
- Coordinate transformations
I am currently working on restructuring this part, likely moving toward a graph-based street traversal approach to improve geometric consistency.
This is one of the areas I will prioritize in upcoming iterations.
The project is still in an early stage, and several components are under active development.
The current goal is to stabilize the pipeline and improve the consistency of the generated results.
Once again, thank you for your feedback. Real-world testing like this is essential to identify issues and guide development.
I will continue to implement improvements progressively, so any further testing or feedback is more than welcome.
Best regards,
Joaquin (Joako360)