# Confusion of Frankfurt/Main and Frankfurt Oder

**URL:** <https://ask.openrouteservice.org/t/confusion-of-frankfurt-main-and-frankfurt-oder/155>\
**Category:** openrouteservice\
**Created:** [December 20, 2018, 3:41pm UTC](https://ask.openrouteservice.org/t/confusion-of-frankfurt-main-and-frankfurt-oder/155 "2018-12-20T15:41:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nmxosm](https://ask.openrouteservice.org/letter_avatar_proxy/v4/letter/n/46a35a/32.png) [@Nmxosm](https://ask.openrouteservice.org/u/Nmxosm)\
**Post date:** [December 20, 2018, 3:41pm UTC](https://ask.openrouteservice.org/t/confusion-of-frankfurt-main-and-frankfurt-oder/155/1 "2018-12-20T15:41:13Z")

</div>

Hi,

if you enter “Frankfurt” at [https://maps.openrouteservice.org/](https://maps.openrouteservice.org/) ist gives you the Results for Frankfurt/Main and Frankfurt/Oder (both in Germany). However if you select one of them, you get sent to the opposite one.

According to [https://www.openstreetmap.org/note/1570517](https://www.openstreetmap.org/note/1570517) where this has been reported first, the actual map data on OSM and whosonfirst ( see links in OSM-note ) is correct.  
Can somebody please have a look at this?

Greetings Nmxosm

---

<div class="post-metadata">

**Author:** ![nils](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/nils/32/6_2.png) [@nils](https://ask.openrouteservice.org/u/nils)\
**Post date:** [December 21, 2018, 7:39am UTC](https://ask.openrouteservice.org/t/confusion-of-frankfurt-main-and-frankfurt-oder/155/2 "2018-12-21T07:39:55Z")

</div>

Our geocoding is Pelias and the data in that case is not coming from OSM, but from whosonfirst. And indeed it’s wrongly tagged there! Good catch, I’ll put an issue to WOF.

Compare these entries:  
[https://api.openrouteservice.org/geocode/search?api\_key=your-key&text=Frankfurt+am+main,Germany&size=5](https://api.openrouteservice.org/geocode/search?api_key=your-key&text=Frankfurt+am+main,Germany&size=5)

Pelias doesn’t even find Frankfurt/main when looking for it explicitly! Only with a fallback and low accuracy. Which is in itself likely a Pelias issue.

I replied to the OSM note as well.

---

<div class="post-metadata">

**Author:** ![nils](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/nils/32/6_2.png) [@nils](https://ask.openrouteservice.org/u/nils)\
**Post date:** [December 21, 2018, 8:28am UTC](https://ask.openrouteservice.org/t/confusion-of-frankfurt-main-and-frankfurt-oder/155/3 "2018-12-21T08:28:11Z")

</div>

Sorry, my bad. WOF is right! The raw query from Pelias indeed gives wrong response on the `county` and `localadmin` level and suggests that WOF is wrong.

However, WOF is right and Pelias gives wrong results. I put an issue:

> <https://github.com/pelias/pelias/issues/763>
>
> \#### Here's what I did :innocent:
> 
> Frankfurt in Germany seems very messy.. It …confuses Frankfurt (Oder) and Frankfurt (Main) on a county level. Compare the first 3 results of:
> http://pelias.github.io/compare/#/v1/search%3Ftext=frankfurt,germany&size=5
> 
> Let's take the first result as example: It returns \`county\` with WOF ID \`102063589\` and displays it as Frankfurt (Oder). However, \[spelunker\](https://spelunker.whosonfirst.org/id/102063589/) knows it's Frankfurt (Main).
> 
> WOF ID \`102063919\` is the exact other way around.
> 
> \---
> \#### Here's what I was expecting :sparkles:
> 
> Pelias returning the same names for administrative units as WOF raw data.
> 
> \---
> \#### Here's what I think could be improved :trophy:
> Is this pointing to a more general issue? I wonder how this happens and figured the WOF importer is inserting ES documents as it finds it in the WOF records.
