this post was submitted on 16 Feb 2024
37 points (84.9% liked)

Open Source

31396 readers
103 users here now

All about open source! Feel free to ask questions, and share news, and interesting stuff!

Useful Links

Rules

Related Communities

Community icon from opensource.org, but we are not affiliated with them.

founded 5 years ago
MODERATORS
 
top 37 comments
sorted by: hot top controversial new old
[–] thejevans@lemmy.ml 48 points 9 months ago (2 children)

What you're asking for is fairly unrealistic. The only way this could work sustainably would be for something to exist where you host your own tile server and routing service and patch that into OSM. Otherwise, even if the app itself is open source, the backend will cost money to run and will be proprietary.

The reason that OSM is able to be fully open source is because you host the tiles on your phone and do the routing calculations locally.

[–] wildbus8979@sh.itjust.works 5 points 9 months ago

OSMand~ has an online mode...

[–] wmassingham@lemmy.world -2 points 9 months ago* (last edited 9 months ago) (2 children)

I can't think of any reason the backend can't be open-source too.

[–] thejevans@lemmy.ml 17 points 9 months ago (3 children)

It costs money to host something like that. You want low latency, real-time routing and tile-rendering? Even more money. Sure, it could be funded by donations or something like that, but I'm not holding my breath.

[–] tubbadu@lemmy.kde.social 3 points 9 months ago (1 children)
[–] thejevans@lemmy.ml 6 points 9 months ago (1 children)

If you're willing to spend all the money on setting up and running a server, why not just spend way less money to get more phone storage and use OSM?

[–] tubbadu@lemmy.kde.social 4 points 9 months ago (1 children)

Setting up a server just for this is clearly overkill, but if you already have a homeserver it would be great to be able to deploy the backend. Sadly there is no such thing currently

[–] Sir_Kevin@lemmy.dbzer0.com 9 points 9 months ago (1 children)

I totally agree. Running a server on a home machine that's already running 24/7 is trivial. I don't know why this guy is acting like it's a big deal. I've got a $100 mini-PC running multiple servers already. What's one more?

[–] thejevans@lemmy.ml 2 points 9 months ago (2 children)

It's not a BIG deal. I self-host a ton of stuff. It's just a bigger deal than spending a bit more for phone storage for the vast majority of people.

[–] tubbadu@lemmy.kde.social 3 points 9 months ago (1 children)

This is true for literally every selfhosted app

[–] thejevans@lemmy.ml 3 points 9 months ago

I agree. Hence why I wondered why that would be an acceptable option compared to simply changing OPs posted requirements for far less cost and headache.

[–] Sir_Kevin@lemmy.dbzer0.com 1 points 9 months ago

Not necessarily. Most people in the US are locked into some kind of ridiculous contract that makes swapping/upgrading their phone a pain in the ass and a financial burden. To be fair, these same types of people probably lack the ability to run a home server so maybe my point is moot 😅

[–] wmassingham@lemmy.world 2 points 9 months ago (1 children)

That doesn't have anything to do with whether it's open-source or not.

[–] thejevans@lemmy.ml 2 points 9 months ago

The correlation is high.

[–] SuperSpruce@lemmy.zip 1 points 9 months ago (1 children)

What is the cost of hosting a server like this? I'd imagine someone could cloud host it at a cost of $10/mo and sell the online service at $1-$2/mo, which would take very few users to turn a profit. If the code is FOSS, some people would be willing to pay for the service.

[–] thejevans@lemmy.ml 2 points 9 months ago

https://wcedmisten.fyi/post/self-hosting-osm/

The main problem is that this type of service requires way more RAM and disk space than most other popular self-hosted services. You CAN do it, it's just not practical.

[–] sxan@midwest.social 2 points 9 months ago

You're right. There is (are?) an open source web interface to OSM. Technically, someone could host that themselves, and the app is just the web browser.

The real reason that it's not common is because there's no demand; or, at least, not enough for anyone to take the effort to package it up in an easy-to-deploy, well documented release. And demand is low because having offline, local tiles is almost always preferrable to nav or maps that require relatively heavy, constant internet access.

[–] lemann@lemmy.dbzer0.com 18 points 9 months ago

No

The current FOSS offerings do the calculations on your device, so you'd need the maps downloaded locally. The small apps that stream their tiles from OSM/Jawg/ESRI/Mapbox etc. don't support navigation because of this

Not FOSS but the closest thing you'll get to this is GMaps WV on F-Droid, made by the DivestOS team. Even that does not support navigation though, it only provides directions (usable for me, your mileage may vary...)

[–] jabjoe@feddit.uk 13 points 9 months ago (1 children)

Not under 50MB but there is: https://organicmaps.app/

And

https://osmand.net/

I find Organic Maps best for driving and OSMAnd+ best for walks.

[–] Scary_le_Poo@beehaw.org -1 points 9 months ago (4 children)

Organic maps can't even handle addresses. How is this useful for driving?

[–] 2xsaiko@discuss.tchncs.de 8 points 9 months ago

Yes it can. You need to download the necessary maps first before you can search for addresses though.

[–] jabjoe@feddit.uk 6 points 9 months ago (1 children)
[–] Scary_le_Poo@beehaw.org 3 points 9 months ago (3 children)

Not in the US. I have the world map and the los Angeles maps. It is incapable of recognizing any address that I give it

[–] N4CHEM@lemmy.ml 5 points 9 months ago* (last edited 9 months ago) (1 children)

Is the area properly mapped in OpenStreetMap? Organic Maps uses OpenStreetMap data, if addresses are not present there, then it's up to the users to add them.

[–] Scary_le_Poo@beehaw.org 2 points 9 months ago* (last edited 9 months ago)

This is the address for the belasco in Los Angeles. It knows the names of the street but not the numbers. Without addresses it's basically useless.

Clicking on any of these results will simply take you to that street at a random location on it.

[–] jabjoe@feddit.uk 2 points 9 months ago

For the UK, it doesn't have house names/numbers, but streets + towns work fine.

[–] lukecooperatus@lemmy.ml 1 points 9 months ago

Not in the US.

I'd be careful of making sweeping statements about 3.7m square miles of land from your doorstep in LA.

I'm in the US too, and here in Atlanta I use Organic Maps frequently to find specific street addresses. It works quite well. I would agree with the other responses here suggesting that maybe you could contribute some data to OSM for the areas you encounter that are missing street numbers. You'll be helping yourself and others!

[–] jbd@lemmy.ml 2 points 9 months ago (1 children)

Street address data isn't available for the US. I find the POI in Google Maps in Firefox and then go to Share and open the coordinates in Organic Maps or OsmAnd.

[–] xycu@programming.dev 2 points 9 months ago

I am in the US and street addresses are visible and searchable in Organic Maps for me. I don't know if it depend on the area or something.

It handles addresses well

[–] WeLoveCastingSpellz@lemmy.dbzer0.com 8 points 9 months ago* (last edited 9 months ago)

I like organic maps cause it does shit locally, offline. It has to download the maps though which is certain to be larger than 50mb. What you are looking for is a cloud based maps solution like google maps and you aren't going to find that in foss space

[–] caos@feddit.de 5 points 9 months ago (1 children)

I don't know the size, but Organic Maps may be rather small

[–] Im_old@lemmy.world 3 points 9 months ago

Not foss but magic earth is a great app that does not rely on google maps. It can also work as a dashcam.

[–] unusual@lemmy.ml 3 points 9 months ago

Gmaps WV on F-Droid?

[–] belated_frog_pants@beehaw.org 3 points 9 months ago

Under 50mb is a very hard ask. Maps have a lot of data.

[–] isVeryLoud@lemmy.ca 1 points 9 months ago

Looking for the same thing for Linux fwiw, with live turn by turn navigation and GPS support.