Real world map to game terrain (osm2terrn2 Project)

Joako360

Diego Maradona's friend
Joined
Jan 19, 2018
Messages
9
Location
Luis Guillon, Buenos Aires
Recently I discovered an open data map, OpenStreetMap, which allows you to export data from an area, and it is possible to develop a solution to convert data from this map into a game terrain.The objective of this would be to make more realistic terrains in a simpler way, mainly oriented to urban environments.
But this would significantly reduce the creative-artistic factor of creating a totally fictitious and non-existent environment, as had been done since the beginning of time.
My question would not be if it can be because I could do it, my question would be if it is "morally" right to do it.
That's why I created this thread, to make sure I was not creating a "monster" land generator and flooding the repository with real-life maps.
Well... that's it... thanks for reading and waiting for soon response ;)
 

only_a_ptr

Lead Developer
Administrator
Developer
Joined
Jan 31, 2018
Messages
25
Hello @Jonako360 and thanks for posting the interesting question.

This is the first time I'm hearing about OSM, so I did some googling on what data it contains and if anyone ever made a meaningfully looking game terrain with it. Turns out that there's a very good looking actual case here: Osm2city.py - FlightGear wiki

I think it would be great to have a tutorial or a tool for converting OSM data to RoR terrains. I see it as a fresh new approach to play RoR. The point about repository deserves a larger discussion, it would most likely need a new category or something, but I think this is also fine.

You're saying you can do this already... I'm curious to hear more about your tools and techniques.
 
OP
OP
Joako360

Joako360

Diego Maradona's friend
Joined
Jan 19, 2018
Messages
9
Location
Luis Guillon, Buenos Aires
Hello [MENTION=356]only_a_ptr[/MENTION] and thanks for the quick response.


Well ... then a tool that creates real world environments is fine, that's good news, so I'll start this project. Thanks for finding Osm2city.py, it is an important help.


About the tools and techniques that I use, I must confess that I am not a systems expert, just a engineering student. I was learning to develop Windows console applications in C/C++, so my main IDEs would be Visual Studio and Code::Blocks. I am learning to use GitHub as a project manager.


But my knowledge in programming is enough to start developing a WIN32 console application that converts OSM data to terrains with object definition and etc.


So, my idea would be to develop the project alone, when the project has an important advance and learn to manage projects on GitHub (it is more complicated than it seems at the beginning), I publish the code for those who want to bring changes to the project, etc.


I will announce any news by this same thread, be patient, thanks :).
 
OP
OP
Joako360

Joako360

Diego Maradona's friend
Joined
Jan 19, 2018
Messages
9
Location
Luis Guillon, Buenos Aires
Hello again, after some time since the last publication, I have to announce that the current status of this project is ... Active!:D but with some changes in the original concept. After some research:unsure:, I discovered and decided that C # is a good option for the realization of the idea, since it allows to work with xml files much easier and faster than C/C ++. This Project also has a name, I named it "osm2terrn2" (It'll generate all necesary files, not only *.terrn2, but i guess it's a good name :giggle:)

Then, I decided that it is better that the project can be programmed in Visual Studio as a Visual C # Windows Forms Application project (not a console application as planned), with this we will give a graphic interface, which will make it easier to use it.

I am organizing a repository on GitHub to host the project, I am still learning how to use it (I only program arduino microcontrollers and console applications, this is new for me hehe), if you want to take a look I leave the link: Osm2Terrn2 Repo. Its incomplete because I have only defined all filetypes classes, but there's no process yet (empty program LOL), but it's a beginning.

That's all, I will be trying to do updates more frequently, just trying! (nothing promised).
 
Top