r/Python • u/Absolute_Tinkerer • Jun 30 '20
I Made This I finished my Map Stylizer program! Repo in the comments
13
8
Jun 30 '20
Love this. I can see myself making wallpapers using stylized maps of significant geographical regions. Thanks for sharing!
2
u/Absolute_Tinkerer Jun 30 '20
You're welcome! For very large regions, you will definitely want to trim down your data file before loading it
3
u/querymcsearchface Jun 30 '20
nice work!
what was your impetus to create this project?
3
u/Absolute_Tinkerer Jun 30 '20
Thank you! And quite honestly, I did it because I thought it would be cool, haha
1
125
30
16
7
u/bond_uk Jun 30 '20
Great project! Do you have a requirements.txt or other list of dependencies which will help users get this running?
6
1
1
u/fuzzy-focus Jun 30 '20
Cool. Gotta check that out!
Are you at all into Shadowrun by any chance?
1
1
u/im-AMS Jun 30 '20
wooah!! good one....
btw, can u make PyQt5 tutorials....i have not found even one which is beginner friendly!!
1
u/Absolute_Tinkerer Jun 30 '20
I could certainly give it a shot! Here's a solid primer: if you use the Anaconda python distro, it ships with a program called "Qt Designer." This is what I use to create GUIs. Designer outputs a .ui file, which you can convert to a .py file using pyuic, which also ships with Anaconda
1
u/im-AMS Jul 01 '20
yup I'm aware of that.... but the problem is... I don't have a formal training in python.. I just know basic stuffs... its just a pain, n not enough resources
1
Jun 30 '20
Can this lead to procedurally mapping models (buildings, trees, sidewalks, roads, pedestrians etc.) for python engines?
2
u/Absolute_Tinkerer Jun 30 '20
I'm sure you could do this. First thought I had was download a ton of OSM files and train a machine learning algorithm on it. Then your model could generate what it thinks are valid maps
1
1
u/Coccolillo Jul 03 '20
Amazing job, thanks for sharing! Do you think that is it possible to export the file as a vector?
1
u/Absolute_Tinkerer Jul 04 '20
I'm sure it would be possible. I would need to do a little research first
3
u/quaductas Jul 01 '20
Have you tried posting this over at r/openstreetmap? I'm sure they'll love it
2
u/pvc Jun 30 '20
Would be nice to add a requirements.txt file or similar. As soon as open street map website gets back to working I'll check it out.
2
1
Jun 30 '20
It looks straight like from NFS: Most Wanted. Maybe it's even possible to replicate the style exactly.
1
1
1
1
1
1
1
u/bigbic69 Jun 30 '20
My phone lagged fullscreening that image, I can't imagine what the program is like ahaha
1
1
1
u/webtron18 Jul 01 '20
I really love the colors of the map you used above. Do you happen to remember the color combinations you used?
1
1
u/Jean-ClaudeMonet Jul 01 '20
Awesome project!
Is there any way to extract the necessary data from a local OSM planet file or GIS database instead of getting it from OpenStreetMap.org?
1
1
84
u/Absolute_Tinkerer Jun 30 '20
Github Repo: https://github.com/Absolute-Tinkerer/map-stylizer
Demo YouTube Video: https://www.youtube.com/watch?v=0ZPQwr0leys
The post image is Pittsburgh, PA.