This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

MBTiles file sans PNG images to use for geocoding (with carmen)

0

Carmen does geocoding and is known to handle OSM data (and TIGER). If I want to geocode addresses in Germany, what are the steps?

I've found so far:

But I'll only do geocoding, and do not need GB of PNG images.

Maybe the easiest way is still to spend XX hours of fat server power to generate the images and then just delete the images-table from the MBTiles file (since it's sqlite-based)?

But there ought to be a better way. And, if allowed, I'd be happy to reward a less than XX hours solution :-)

asked 10 Jul '14, 08:09

sesam's gravatar image

sesam
11114
accept rate: 0%

edited 10 Jul '14, 08:25

1

Would it be possible to explain the reason why you're looking at the mbtiles approach when you're interested in geocoding? Apologies if I'm completely missing the point here...

(10 Jul '14, 11:25) SomeoneElse ♦
1

Yes. I need to geocode massive amounts of addresses, as well as support users doing searches. Can't pay several thousand dollars, not even hundreds of dollars per month. So no services/API:s are fast/cheap enough. Carmen is fast like Google and open source, so I'm trying to get data to use with Carmen.

(10 Jul '14, 11:29) sesam

One Answer:

2

Well as I understand it (purely from reading the github readme!), Carmen depends on vector tiles, so mbtiles based on image tiles won't be useful. I'd start by going through the various vector tile presentations at SOTM-EU, but be aware it's not exactly a "mature technology" yet. See the links from here too.

This answer is marked "community wiki".

answered 10 Jul '14, 11:36

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

Thanks! I have trouble digging up anything on sotm-eu.org; tried search and quick-reading the summaries at https://sotm-eu.org/en/program so now looking through the mapnik-vector-tile repo. In the carmen repo, "openstreetmap" is mentioned once (a config of which features to import) and that might also be a place to look. Digging further...

(10 Jul '14, 12:46) sesam

Source code available on GitHub .