Anyone done latitude/longitude/geolocation things?

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
User avatar
togFox
Party member
Posts: 828
Joined: Sat Jan 30, 2021 9:46 am
Location: Brisbane, Oztralia

Anyone done latitude/longitude/geolocation things?

Post by togFox »

I just thought I might start a new challenge by doing some sort of economy/market simulator based on real locations and started thinking how I might draw lat/long data using Love2D.

I'm thinking I'd have a flat map of the globe (2D) and then somehow convert known location lat/long as pins onto this map. Haven't thought to hard about it. Anyone done that? Any lua libraries?
Last project:
https://togfox.itch.io/hwarang
A card game that brings sword fighting to life.
Current project:
Idle gridiron. Set team orders then idle and watch: https://togfox.itch.io/idle-gridiron
User avatar
dusoft
Party member
Posts: 654
Joined: Fri Nov 08, 2013 12:07 am
Location: Europe usually
Contact:

Re: Anyone done latitude/longitude/geolocation things?

Post by dusoft »

Yes!

I would recommend using OSM data:
https://github.com/nekromoff/osmlove

Treat my utility as a proof of concept, also the code is old, so some changes might be necessary.
User avatar
togFox
Party member
Posts: 828
Joined: Sat Jan 30, 2021 9:46 am
Location: Brisbane, Oztralia

Re: Anyone done latitude/longitude/geolocation things?

Post by togFox »

Thanks. I've contributed to OSM in the past but it slipped my mind. I'll check out your library. Thanks.
Last project:
https://togfox.itch.io/hwarang
A card game that brings sword fighting to life.
Current project:
Idle gridiron. Set team orders then idle and watch: https://togfox.itch.io/idle-gridiron
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests