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

Open Source

31029 readers
916 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
[–] [email protected] 48 points 8 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.

[–] [email protected] 5 points 8 months ago

OSMand~ has an online mode...

[–] [email protected] -2 points 8 months ago* (last edited 8 months ago) (2 children)

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

[–] [email protected] 17 points 8 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.

[–] [email protected] 3 points 8 months ago (1 children)
[–] [email protected] 6 points 8 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?

[–] [email protected] 4 points 8 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

[–] [email protected] 9 points 8 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?

[–] [email protected] 2 points 8 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.

[–] [email protected] 3 points 8 months ago (1 children)

This is true for literally every selfhosted app

[–] [email protected] 3 points 8 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.

[–] [email protected] 1 points 8 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 😅

[–] [email protected] 2 points 8 months ago (1 children)

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

[–] [email protected] 2 points 8 months ago

The correlation is high.

[–] [email protected] 1 points 8 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.

[–] [email protected] 2 points 8 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.

[–] [email protected] 2 points 8 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.

[–] [email protected] 18 points 8 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...)

[–] [email protected] 13 points 8 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.

[–] [email protected] -1 points 8 months ago (4 children)

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

[–] [email protected] 8 points 8 months ago

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

[–] [email protected] 6 points 8 months ago (1 children)
[–] [email protected] 3 points 8 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

[–] [email protected] 5 points 8 months ago* (last edited 8 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.

[–] [email protected] 2 points 8 months ago* (last edited 8 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.

[–] [email protected] 2 points 8 months ago

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

[–] [email protected] 1 points 8 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!

[–] [email protected] 2 points 8 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.

[–] [email protected] 2 points 8 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.

[–] [email protected] 1 points 8 months ago

It handles addresses well

[–] [email protected] 8 points 8 months ago* (last edited 8 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

[–] [email protected] 5 points 8 months ago (1 children)

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

[–] [email protected] 3 points 8 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.

[–] [email protected] 3 points 8 months ago

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

[–] [email protected] 3 points 8 months ago

Gmaps WV on F-Droid?

[–] [email protected] 1 points 8 months ago

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