T O P

  • By -

ouath

Totally uneducated in that field, seems impressive.


defiancy

Open maps is pretty great, at least if we are talking the python module. It's a large mapping database that can give you pretty much any info you want for countries with public source maps. I use it to calculate distances between points for a transportation program I wrote. There is a ton of utility in it but I have to say what OP did was pretty impressive. I would have not thought to use the data like that (if I played Minecraft).


aScarfAtTutties

Can it be used to calculate driving distances between 2 addresses? I have a list of a ~100 addresses I need to do that for at work. Also, is it free?


[deleted]

[удалено]


ry4nolson

Does this actually give driving distance? I'm not familiar with osmnx, but the code *looks* like it's just straight point to point.


HealingWithNature

That's the definition of geodesic, shortest distance on a curved surface. > Geopy can calculate geodesic distance between two points using the geodesic distance or the great-circle distance


Numbzy

That is straight line distance.


aScarfAtTutties

I know nothing about coding, so this is already above my pay grade. I may have to start learning Python now, haha. I really appreciate you taking the time to comment :)


pupu500

An hour back and forth with GPT4 could easily have you understand what the above means. 2 hours more and it could have you understand the general concept of a working python code it has spat out that solves your problem. You might not be able to understand it all but for your use case, it could have a working code in no time. Look up Google collabs and guides on youtube, that's a free, quick and easy environment to run the actual python code in. I've made a lot of stuff this way that I never thought I could.


paintballboi07

Unless you already have the correct answers to compare with, I would have a hard time trusting code that comes straight from GPT. It can definitely be a good starting point, but it does make mistakes.


pupu500

You're definitely right. You can't really code with it without knowing to code. The "working" code need to be guided and redone 20 times from the first draft. But for his use case? That's easy enough and require simple code that chatgpt can do without major errors. I've made several API implementations with chatgpt and they work.


death12236

There are a lot of neat resources out there to help you. I'd start with Harvard's CS50x, then maybe do a python coding BootCamp. It's a simple language, but it's useful to understand what you're doing and CS50x will help you start thinking like a coder.


Tartarus762

It can but it's not easy, if you want to know why, look up the "travelling salesman" problem, of which this is a real life example. Google has invested vast amounts of computing resources to create the maps experience they offer you. I don't know for sure but I imagine it's possible to get api access for a fee and you could then write a simple script that just asks Google for the directions.


Cilph

Its not a Traveling Salesman problem when the order of the 100 addresses is fixed. But yeah, you can just API query Google for it and fill an excel.


MattieShoes

I think it's still non-trivial to calculate... You can probably get pretty good results with heuristics, but to *prove* that a particular path is the best (by time, distance, whatever) is time consuming.


jhaluska

I'm an OSM contributor and programmer. OSM used all the time to calculate the driving distance. While the database is "free", the API freeness varies depending on your use case. A low amount of 100 can probably be done for free. The quality is a bit variable. I'll assume you're in the US. In the US, OSM is very good at road completeness, but it doesn't have all the addresses (some areas are great, others have none). That said, you also can add 100 buildings and addresses in about a day after about 15 minutes of training. Amazon and Lyft use it, so it can't be that bad.


Cilph

OpenStreetMaps is just the large public database of roads et al.


Synthetic_dreams_

You don’t need Python at all, you can use QGIS (or ArcGIS if you don’t want to use the FOSS software) to do pretty much anything with OSM data or DEM tiles etc. I use it for Cities Skylines to get 1m resolution height maps and matching overlays. It’s pretty cool!


m0nk37

Its vector data, so it translates into geometric formations like minecraft blocks.


Jawshable

Super 


BrotatoChips23

And yet here I am living in a hole in the ground with my pet chicken, Ronathan. It’s a good life.


MrSmilingDeath

I hope Ronathan is well this day.


GONKworshipper

In Minecraft? Or real life?


nagi603

why not both?


BrotatoChips23

Yes.


Savings-Speed-9779

ALL HAIL RONOTHAN


Michelfungelo

I like this comment a lot. Because wheter you do for real or not, the first thing I thought: "That sounds really good." Hope you have a good day, week and year. Give Ronathan a hug.


ominousomanytes

What does Ronathan do whilst you play Minecraft


Kamikutie69

Ronathan the rooster loves you brotato


crazymack

I knew the world was flat.


MolybdenumBlu

The universe is a manifold.


paranormal_shouting

The world is a vampire.


apf_1979

God is empty


schrukke

God is a DJ


gingeropolous

A what now?


MolybdenumBlu

It is a mathematical thing where every small part of something works like a flat 2d plane, but if you zoom out, it gets weird. Eg. If you are zoomed in enough, the earth does look flat, but if you star at the north Pole, walk 100 miles in a straight line, turn 90° to the left, then walk another 100 miles, then turn left again, then walk 100 miles, you end up at the north Pole. A triangle with 3 straight edges, but the internal angles add up to more than 90°. This proves the earth cannot be flat on a big scale, even if every step feels flat at the time.


benes238

Wouldn't that be true anywhere on earth? I've only seen it used at the north pole in the context of riddles like "100m south, then 100m east, then 100m north", but in theory if you're turning exactly 90* the curvature is reasonably similar all over isn't it?


MolybdenumBlu

Yes, it would be the same, but the north pole is generally used as an example since it is an intuitive point on a sphere (like object) that everyone can recognise. The point is walking in straight lines and only taking two right angle turns to make what would appear to be parallel lines intersect. A pole is just a convenient start/end point, but we could also go with, say, the city of Cheyenne (also helpful given that Wyoming is flatter than most pool tables).


MattieShoes

> Wouldn't that be true anywhere on earth? The effects of curvature are everywhere, yes. I also think, the way it's stated, it's not actually true. It'd be true if you travelled East or West after your 90 degree turn, but traveling East or West anywhere but the equator is a curved path -- walking straight would slowly deviate to the South in his example. So your second 90 degree turn wouldn't be back to facing North, and you'd be farther than 100 miles from the North pole. It works if you walked from the North pole to the equator, then did your 90 degree turn, since then your straight path would stay East or West.


Slacker-71

You are correct; the question is usually stated "where can you go x distance south, then y distance east or west, then x distance north and end up exactly where you started"


dustofdeath

The world disappears after certain distance.


Jargonautical

Nice work! You should look up geocraft by Chris Gutteridge (cgutteridge on github). does the same with added lidar. unless you ARE Chris, in which case - hi Chris :)


AtmosphericBeats

Really interesting! Didn't know about it, seems to not be updated since years


Jargonautical

Yep, he's been focusing on the day job. code is free to fork and adapt however you wish, and he's always open to pull requests :)


MikeFratelli

That asshole [wrote it in PERL](https://github.com/cgutteridge/geocraft)!? What a madman


michalpatryk

That is the point in which you start from scratch xD


MrHappyHam

Start in Scratch, you say?


worm45s

perl should be very efficient for it tbh, although I understand it's not as popular choice nowadays


Demigans

This is the kind of tech I would have expected in RTS’s and other strategy games by now. Imagine if you could do an XCOM like game in real small city street, or build and fight through a city and the surrounding landscape. Instead we are going more and more to completely symmetrical games because 1v1 is more important than creativity and learning the layout on the fly.


wheretohides

I've been waiting for a game where the map is an entire country, and its like battlefield. I wish we could do 1,000 vs 1,000 players or something like that.


Demigans

Planetside 2 managed that. Now it did have maps a bit more designed for it with specific buildings at some distance and a rendering system that made it so they basically had to load one object and then could copy that a thousand times on your screen which is going to be a bit more difficult when you copy real world building dimensions (or approximations) into it. But with all the new tech we have gotten it might be feasible enough. Not an entire country though. I think that if you use it on a few city blocks you can easily have 1000 vs 1000 player battles and still have trouble finding your opponents.


-jackhax

Wow. I really didn't expect to hear about plantside today


MotherBaerd

Neither did I but I an glad I did


confirmedshill123

There is a little zombie base building colony sim coming out soon that does basically this, I made an outpost out of the mall near my house and raided my crib for food, I forgot the name of it but it was neat, although the game needed alot of work.


ThisIsGlenn

Infection Free Zone


SamSzmith

Infection Free Zone is doing with as a Zombie RTS.


Presumably_Not_A_Cat

yeah, but everything is flat and that includes the gameplay. I would love for it to get more complex and challenging, but i guess it's going to take a whole while if ever.


SamSzmith

yeah, I got bored pretty fast, but it was neat seeing it generate areas you're familiar with.


Jumaai

Arma 3 is like that, to a point. The Altis base terrain is a lightly modified copy of a real island, Lemnos. Buildings aren't matching due to the sheer amount of unique assets it would take, but the general landscape, roads, building locations is. Some players are visiting the island on holidays lol, planning to do so myself.


ptapobane

there's this game called infection free zone that uses real world map to generate sandbox to survive in from a zombie apocalypse


adrianbackache

looks better than cities skylines 2 /j


No_Refrigerator4698

/not j


Mcmenger

I really thought it was just bugged out cs2


nyotao

/uj


TheFrenchSavage

Mail system is equally bad.


ardybeheshti

This is pretty hot and love to see geospatial work - nicely done. I did something similarly in Unreal using Cesium https://cesium.com/learn/unreal/unreal-photorealistic-3d-tiles/


The_Real_Black

Love the idea from time to time I see peole do this, hope you finish it. Would be nice to drop longitude, latitude and a radius to pregenerate a map to play in my town minecraft. Or do you try to do it even "live" in game?


AtmosphericBeats

Thanks! It's a software I'm making, still at early stages of development I can pass to the software the border coordinates of the desired area, the scale of the map, the details I want to be in the map (vegetation, rivers, lakes, coast, buildings, roads..) and it automatically generates the world + all the waypoints of cities, villages to be used in JourneyMap I do maps for commission at the moment


joeyoungblood

Any chance this can be used to make maps for FPS games running on Unreal? Asking for myself.


AtmosphericBeats

I'll do some research on it


Alexoizzz

This may be the solution for BTE


MineFact

We already have that in the BTE Modpack. Just without the building heights since thats highly inacurrate everywhere outside the bigger cities and to make building easier


siluin57

Building the software is only half the work the other half is communicating with their incompetent staff


MrHappyHam

I tried helping with my region's BTE group a couple years back. What's the deal with their staff?


Captlard

This was step 1 in building the matrix. Here we go!


Nisekoi_

imagine your small town map


AtmosphericBeats

You can ask for that lol


Superus

Can you export it as a 3D file?


AtmosphericBeats

Not at the moment as the work was focused on the making of a Minecraft World, but it can be done, for sure!


Superus

I've been searching everywhere how to "slice" a part of a 3d map to print it, but no luck. this would be sweet


acu2005

Someone on one of the 3d printing subs recently posted their printed version of downtown Chicago but they said they ended up modeling most of the buildings in the map. Making this work would be sick.


Superus

Yup I saw that post. Crazy dedication. But since I suck at modeling I'm trying to find something I can export and edit. Also I'm lazy


JayBeeJB89

Ive done this at work. I used twinmotion to get the context, export to data smith, into unreal, export as an .STL file then 3D print it.


Superus

That's too many words I don't know, but I'll Google it! Thank you!


h4x_x_x0r

Just a small town map...


HataToryah

Living in a mincraft world...


alexppetrov

r/BuildTheEarth ? Pretty cool


AtmosphericBeats

Nope, it's a different project/software


alexppetrov

Why not try to collaborate? Afaik they don't have similar tooling


[deleted]

[удалено]


alexppetrov

I understand, but getting the general building shape does save a lot of time. Iirc they use world edit and tools to quickly replace patterns or blocks, so having the blank building facade and doing the design from there is actually a reasonable way, i think


MineFact

We already have that in the BTE Modpack. Just without the building heights since thats highly inacurrate everywhere outside the bigger cities and to make building easier


[deleted]

[удалено]


Garrus4ever

This is awesome! Well done


Schrippenlord

Impressive. Whats the scale?


AtmosphericBeats

1:1 scale


Schrippenlord

You can officially stalk peoples homes in minecraft.


PadishaEmperor

Is one block 1m*1m?


AtmosphericBeats

Yes, 1m * 1m * 1m, the resolution is 1m also vertically


beans217

Can this be done in unreal?


AtmosphericBeats

I've been asked this more than once, I think I'll consider working on it


Carinwe_Lysa

Won't lie, I'd absolutely love to see my city in a 1:1 scale in Minecraft! Just getting to start off from my childhood home, and walk the in-game route to the city centre etc - it would be so cool!


RainbowBier

Are you planning on integrated terrain elevation, still a very good thing you made here


AtmosphericBeats

Of course, 3DEP DEM data at 1m resolution are already integrated into the map, as well as Land Cover data to define biomes and vegetation


No_Refrigerator4698

Sooo you've built your own metaverse of Earth? :-D


AtmosphericBeats

That's the goal of the project lol


No_Refrigerator4698

Looks awesome


ydob_suomynona

I tried importing a heat map of elevation of my town once a long time ago but it ended up being super chaotic and jagged everywhere. I remember trying to smooth it out by reducing the elevation scale and removing some bounds (like an old quary that goes super deep) but don't think I was ever happy with it. 


[deleted]

[удалено]


Ethra2k

I was about to ask about that project. How far has it gotten?


DuckCleaning

Any stomach issues from ingesting that much data?


[deleted]

[удалено]


AtmosphericBeats

A map I made is typically 46000x46000 and it weight about 35-40gb


theperfectlysadhuman

Beautiful numbers 👌


Aussierotica

A beautiful example of the difference between worldspace that is largely algorithmically defined and one that is effectively a rasterised map at block level. Since you're already manipulating the worldspace so much, I wonder if there'd be scope for data storage optimisation.


TheLavaShaman

Is there any way this could be done with something like Dungeon Alchemist?


DevTahlyan

This is totally incredible! My daughter loves building stuff in Minecraft and I can't wait to show her this.


No_Refrigerator4698

So the next steps are to add ChatGPT NPCs


BillyWhizz09

How did you do this? I want to make my town in minecraft


BeyondNetorare

I thought this was City Skylines 2


lordkaramat

Lol, nice Baltimore


MrMonkry

that’s a lot of work geez


Particular-Welcome-1

> sideways Alleys? Pretty sure. Look great. =)


MrPistachiman

Worked with openStreetMap a lot for my job. This actually interests me a lot! would love to know more about the process


DumpyHPSauce

Fantastic, do you have any open source code on how to do this?


Cptn_Fluffy

How do you do commissions?


Brobiwan

What city is this? Almost looks like Baltimore


AtmosphericBeats

It is!


River_Thunder

Nice


Yeregorix

It is very impressive! Well done! Similarly, in France, the IGN (National Institute of Geographic Information, a public institution) offers a service called "Minecraft à la carte" on its website where you can select a 5x5 km² area and convert it into a Minecraft map. It supports cities, forests, fields, etc. The service opened in 2016 and is still running today. However, it doesn't seem updated as it is generating maps for Minecraft 1.12. Here is a video from the IGN that illustrates it : [https://www.youtube.com/watch?v=vl\_MExz52jA](https://www.youtube.com/watch?v=vl_MExz52jA)


LordFattimus

Wow that’s super cool. Is this something I could pull off with limited programming knowledge? I’m pretty good at modding/running random 3rd party stuff I just don’t know any languages


JayBeeJB89

I've had to pull this data for architectural context models. Easiest bet is using twinmotions context tool, export to data smith, bring into unreal then export from unreal to what ever format you need it in.


grafknives

Nice dystopian horror setting.


ver-chu

Set the mobs to max, handcraft the houses to have some chests with supplies, and make a really awesome survival experience with online players


coolcosmos

Try with planet.osm


[deleted]

[удалено]


AtmosphericBeats

It's pretty complicated, I can confirm, it's been two months that I've been developing the software


MikeFratelli

I don't want to come off as too much or anything BUT CAN I PLEASE READ YOUR SOURCE CODE!?? THIS IS AMAZING!!!


The_Easter_Egg

That looks very clever. Do you have to dig into those buildings to create an interior? 😊 (I don't play Minecraft)


AtmosphericBeats

At the moment the buildings are empty inside, but in the future they will have some sort of floors


The_Easter_Egg

Awesome!


Laurenz1337

Now we just need an AI model trained on nice minecraft city maps to automatically "build" the world based on the data.


Senor-Delicious

This is pretty cool. Are you planning to release this on GitHub or so? I didn't play Minecraft for years myself. But it would be cool knowing that this tool can be used by others too if possible.


unematti

Now full it up with cars using underground rails with create, and turn each building into their real looks


MasterSystem6133

teach me master


FSCK_Fascists

Someone needs to do this to Fallout. But I imagine skinning all those buildings would be time consuming. A pipe dream, but a fallout that covers an entire map area like the Southwest US built to scale would be awesome. But, then, I love to explore more than questing.


Abadoss

Would this potentially work with fantasy/sci-fi map data?


LouTheLizbian

That's a cool project. Nice work


Lykablyat

Is something like this used by the people building the Earth in minecraft? If not this seems extremely helpful.


SamSzmith

For what it's worth, Infection Free Zone is doing this and it's pretty cool. Check it out on Steam, they had a free prologue at one point.


Philipine123

The universe is a masterpiece 😍


Kathode72

Sick


StfuItsAThrowawayAcc

Dude I hope you’re part of the build the earth in minecraft team


Low-One7132

Now do this in GTA5 and I’ll drive around the world 🥹


Wesselton3000

> Realistic cities > has uneven and unleveled roads Yeah that tracks actually


LordButtons29

How does it handle hilly terrain? In my job, we base it on building elevation but you still end with buildings clipping through the terrain at strange angles. Looks nice though


Scorpius202

BTE project is doing same but manually, with more detail ofc. 


Fibronacho

Awesome! It's got that Inception limbo vibe!


SaneExile

This is so fucking cool. How’d you do it lol


CYBORBCHICKEN

Game changer


Jake_RTG

Wow how did u do that


CenlTheFennel

Dude this is cool and really impressive.


-jackhax

I mean, you could potentially use an ai and some har database with pictures to reconstruct the buildings


Ransero

It's all fun and games until you hear bells


___Jet

That's insane, any details on the code how you did it?


AdviceMammals

Did you use the mine craft FME plugin for this? I’ve been thinking of trying it when I get the time


onlydaathisreal

I read something like this in a book once. It was mostly about pizza delivery though.


aramova

Have a GitHub or other to follow for updates?


ightholmes

Mirror's edge Minecraft edition


Oxygenius_

Do the buildings have an interior? This is extremely amazing


AtmosphericBeats

The buildings are empty inside at the moment, but in the future they will have floors and other details


GreyGroundUser

A place for you and all your friends.


gmishaolem

Coordinate with the Lost Cities mod people for something epic.


mmtunligit

oh nice baltimore


Smash_Nerd

Hasn't the Build The Earth team been doing this for a while now?


reddit_pleb42069

Bleak and soulless, thats a city alright


snagglegrolop

How detailed are buildings apart from their height? Are you able to make out specific balconies? Anyways that’s really cool!


GovtOfficer420

> ingest Looks like this is what the role of humans is going to be in the ai world, feed it data.


Kamikutie69

Better city than in the Philippines


rationalalien

Realistic cities? All I see are some white blocks.


romerrr

It probably doesnt matter for the small scale but over large distances how does it account for the curvature of the earth?


narlybet

Å900i


Seebyt

Super cool work! Perhaps do you have a github profile where i could check the project out?


GoddessGirl1

Must be an immersive experience to explore and build within these detailed virtual landscapes


tmmzc85

I am always so impressed by people that are able to do this kinda "crosswalking" with data - OSM is cool, but I barely understand how to get it to run on Java.


niky_nikole

Thats pretty cool, do you plan to do anything with the building or keep them like that?