Live data from Hacker News

Amazon Location Service

aws.amazon.com

91–98 of 98 posts

Re: Amazon Location Service

#91

Because I don't think a lot of people know about it, I'll mention pelias here. If you have 16 GB RAM and 600 GB of disk, you can have a free, open source, pre-populated geo database that covers the entire planet. https://github.com/pelias/pelias Pelias does geocoding (turns addresses, POIs, and administrative regions into coordinates), reverse geocoding (given coordinates, finds nearby POIs, addresses, neighborhood,…

It's buy, not build culture where I've been working for, we decomissioned a lot of self-host services for transitioning to managed services.

Re: Amazon Location Service

#92
post #91

Because I don't think a lot of people know about it, I'll mention pelias here. If you have 16 GB RAM and 600 GB of disk, you can have a free, open source, pre-populated geo database that covers the entire planet. https://github.com/pelias/pelias Pelias does geocoding (turns addresses, POIs, and administrative regions into coordinates), reverse geocoding (given coordinates, finds nearby POIs, addresses, neighborhood,…

It's buy, not build culture where I've been working for, we decomissioned a lot of self-host services for transitioning to managed services.

What are your impressions so far?

Re: Amazon Location Service

#93
post #60

Based on the recent license change by Mapbox[0], it means that Amazon Location's tutorial[1] suggesting to use Mapbox GL JS should be updated, right? i.e. using Amazon Location with the v2 Mapbox GL JS would also require paying Mapbox for every map load, or you'd need to use the pre v2 version (the last "Open Source one") of the Mapbox GL JS library, correct? EDIT: as pointed by @kylebarron below, Amazon specifically…

I wonder if this was the whole reason Mapbox made their change?

It absolutely is.

Re: Amazon Location Service

#94
post #56

Earlier quoted context omitted.

Leaflet.js is just the client piece. You still need a tile server, which is one of the commercial services being offered here. While you _can_ use the OSM's tile servers, they offer no guarantees: https://operations.osmfoundation.org/policies/tiles/ They also have ongoing operational problems/expenses from people using their tile servers, and it's possible that they will one day break you in order to keep their own s…

I've been looking at potentially selfhosting a tile server and it's way more complicated than I thought. Even getting the OSM tileset in is a pain - not even just from the filesize. Should add that I wanted to self host mostly for privacy. This project I'm working on I'm trying really hard to have no external requests and everything privacy respecting. Unfortunately I really need maps on it and none of the providers…

I experimented with my own OSM tile server a few months ago.

I used this tutorial https://www.linuxbabe.com/ubuntu/openstreetmap-tile-server-u...

If like me you have basic Linux skills it's not that hard, just time consuming.

However the resources needed are quite consequent: I managed to load all Europe tiles on a Core i7 3770k / 32 GB ram / 1 TB SSD workstation.

I think it took 2+ days to load data into Postgres and many more days to render tiles zoom 0 to 18 for France. I estimate that to run a world tile server you would need as many core as possible, at least 64 GB of ram and 2 TB of disk (SSD is mandatory here).

I didn't experiment with updating the DB with new OSM data but it looks quite a chore.

Re: Amazon Location Service

#95

Honestly, I'm surprised that Amazon hasn't done this sooner. Google and to a lesser extent Apple both have a huge lead in this space. Amazon is one of the few companies that can afford the massive capital cost to create this kind of service. I am curious about the quality though. It seems like they're just reselling from 3rd party data providers. Hopefully, we see this forcing price cuts to Google's Maps API at some…

> to a lesser extent Apple both have a huge lead in this space When Apple maps first came out, it was terrible . Now it's actually pretty solid - I've heard Apple is very actively contributing to try and really solidify their maps data, but I wonder if the personnel requirements make this an expensive proposition in the first place...

Of course it's expensive, but when you get for example 10+ billions USD every year just to allow Google to be your default search engine, it's not like you have any money problems!

Re: Amazon Location Service

#96
post #59
post #58

10x cheaper than Google (at least for geolocation). That's unexpected. GCP is usually cheaper than AWS.

Google increased their pricing, I think last year or 2. My website used to be within the free tier, but after the increase, I started paying $100 a month. I ended up spinning up a self-hosted tile server, which I used for new projects unrelated to my website or its data.

We went from basically free to 10k per month. Just switched over to Apple Maps, but that hit its limit last night, so we had to switch back.

Re: Amazon Location Service

#97
post #56

Earlier quoted context omitted.

I've been looking at potentially selfhosting a tile server and it's way more complicated than I thought. Even getting the OSM tileset in is a pain - not even just from the filesize. Should add that I wanted to self host mostly for privacy. This project I'm working on I'm trying really hard to have no external requests and everything privacy respecting. Unfortunately I really need maps on it and none of the providers…

I experimented with my own OSM tile server a few months ago. I used this tutorial https://www.linuxbabe.com/ubuntu/openstreetmap-tile-server-u... If like me you have basic Linux skills it's not that hard, just time consuming. However the resources needed are quite consequent: I managed to load all Europe tiles on a Core i7 3770k / 32 GB ram / 1 TB SSD workstation. I think it took 2+ days to load data into Postgres an…

Yeah that's the issue, it requires a ton of resources. You can use pre baked tilesets but I could only find pretty expensive options for that.

Re: Amazon Location Service

#98

I wonder if this is related to the recent shift of mapbox away from OSS. Was on page 1 in the last week. https://news.ycombinator.com/item?id=25347310

Products developed at Amazon typically take more than a week from start to launch.

Not sure if you are serious but what I meant was, I wonder if Mapbox's recent shift was based on preexisting knowledge of this Amazon release.
Post reply on HN