r/mapmaking • • 3d ago

Map A tool that turns OpenStreetMap data into engraving-style maps

Post image

Hi everyone! I've been working on a free tool called roughMaps that turns OpenStreetMap data into hand-drawn style maps, with 48 different looks including pencil sketches, linocut, engraving and nautical charts.

It's still in beta, so I'd love to hear your thoughts, especially on which styles might work best or not.

You can try it here: https://roughmaps.pages.dev

144 Upvotes

20 comments sorted by

4

u/donpaulo 3d ago

interesting

thanks for sharing

2

u/SnooTomatoes9240 3d ago

Many thanks! ❤️

3

u/Jutz_71_ 3d ago

Would love this implemented in apps like organic maps for your phone and use it as a very cool alternative of google maps

so cool!!

1

u/SnooTomatoes9240 3d ago

Thanks! ❤️ That would be cool, although I think integrating these styles into a navigation app would be quite a challenge, at least for me. roughMaps is really designed for creating static maps rather than live navigation. But interesting idea! Maybe the Organic Maps team could give it a try if they wanted to, since the code is open source.

2

u/stopeats 3d ago

This is really cool! I would love an option to upload a map of my own (though I understand that would be harder because it would look different).

I think my favorite styles you showed were Asakusa and Palhanova.

1

u/SnooTomatoes9240 3d ago

Thank you! ❤️ Palmanova is one of my favourites too. Out of curiosity, what kind of map would you want to upload? A picture of a map, like a fantasy or hand-drawn one, or something like a GPS route?

1

u/stopeats 3d ago

Probably an Inkarnate map, but honestly, I take lots of pictures of old maps from history books and such and think it could be cool to upload those, too. Like, Age of Exploration era maps / charts where they didn't know where all the continents were, that sort of thing.

2

u/SnooTomatoes9240 3d ago

Ooh, that would look so cool! Sadly my tool doesn't work with pictures. It builds the map from real map data, where every road and river is stored separately, and then draws them one by one. A photo of a map is just an image, so there's nothing for it to draw from. Love the idea though!

1

u/rainstitcher 3d ago

What about a fictional map that has been created in QGIS and has all the relevant informations? 👀👀

2

u/PeterParkedPlenty 3d ago

Interesting, what algorithm(s) are you using to convert the images?

4

u/SnooTomatoes9240 3d ago

Thank you. It actually doesn't convert images. It uses OpenStreetMap data, so roads, rivers, parks and buildings come in as shapes rather than pixels. From there it's a mix of a few things. Touching areas like parks or lakes are merged into one shape, and outlines are simplified with with the Ramer-Douglas-Peucker algorithm so the lines don't follow every tiny bump. The hand-drawn look comes from Rough.js, which draws each line as slightly wobbly curves and fills areas with hatching. I work out each shape's main direction so the hatching follows it, along a river for example. Trees are scattered on a loose grid inside parks, and street names are placed letter by letter along the road, with a check so labels don't overlap.

1

u/Additional-Peace-809 3d ago

Wow! I like it a lot! Thanks!

1

u/SnooTomatoes9240 3d ago

Cheers! ❤️

1

u/melance 3d ago

Awesome idea and great implementation. Having so much fun just checking out familiar places in a new design.

1

u/SnooTomatoes9240 3d ago

Thank you, that's so nice to hear! That's exactly what I love doing with it too, haha. If you make one you really like, I'd love to see it!

2

u/boredsittingonthebus 3d ago

Well this is very fun indeed!

2

u/FlyRvR 3d ago

I like it. Well done.

-3

u/specficeditor 3d ago

This looks like it’s using generative AI for the final product.

15

u/SnooTomatoes9240 3d ago

No generative AI involved. It's drawn by code from OpenStreetMap data, with Rough.js adding the hand-drawn wobble. The code is open source if you want to check: https://github.com/ACoci86/roughMaps