issues
search
mbforbes
/
mapgen
Procedural map generation with GANs.
https://maxwellforbes.com/posts/procedural-map-generation-with-gans
13
stars
0
forks
source link
City chunk building generation
#7
Closed
mbforbes
closed
6 years ago
mbforbes
commented
6 years ago
Worklist:
[x] find appropriate lat, lon range to auto chunk map segments into
[x] find appropriate pixel range for that as well
[x] write osm → txt python code
[x] write with format
prefix;points
or something like that, so processing can pick color
[x] write two files (e.g. in dirs A and B), where A omits buildings
[x] write processing rendering code
[x] render everything in file
[x] pick nice color scheme :-)
[x] fixups
[x] fix y flipping if needed
[x] fix out-of-bounds pixel drawing if needed
data collection
[x] partition osm data into folders so it's clear what will be used for train/test/val
[x] get more data until N is reasonably high enough; probably need to use mirror
[x] find reasonable city range
[x] write script to curl @ lat, lon ranges within the region
[x] run osm python script to generate txt files
[x] run processing script to generate to pairs of images
mbforbes
commented
6 years ago
Finished.
Worklist:
prefix;points
or something like that, so processing can pick colordata collection