title: Get placeId of state from city in here geocode api
body: <p>I have a problem with geocoding states and citys in Germany. I'm not able to get the correct place id for specific countys or states. Lets take a county for example: Oldenburg.</p>
  
  <p>Oldenburg county exists twice inside the Here API. </p>
  
  <ol>
  <li><code>Oldenburg (Oldb.)</code> - which is the county from the city Oldenburg</li>
  <li><code>Oldenburg</code> - which is the county from the area around the city of Oldenburg</li>
  </ol>
  
  <p>So i'd now like to defer between booth unique Oldenburg-Countys. But therefore, i need the correct <code>herePlaceId</code> for booth countys. But i'm not able to form the correct request for the here-api, so that i'm getting the correct placeId for booth of them. <code>Oldenburg (Oldb.)</code> as county for the city Oldenburg works fine, but how would it be possible to get the correct <code>herePlaceId</code> for <code>Oldenburg</code>, the county around Oldenburg-City.</p>
  
  <p>Google understands my search correctly:</p>
  
  <p>This is county <code>Oldenburg</code> for the area around Oldenburg-City: <a href="https://www.google.com/maps/place/Oldenburg/@52.9845275,8.0922129,10z/data=!3m1!4b1!4m5!3m4!1s0x47b72f168effaa95:0xd6a3061c95f9bd2b!8m2!3d52.9654037!4d8.386907" rel="nofollow noreferrer">https://www.google.com/maps/place/Oldenburg/@52.9845275,8.0922129,10z/data=!3m1!4b1!4m5!3m4!1s0x47b72f168effaa95:0xd6a3061c95f9bd2b!8m2!3d52.9654037!4d8.386907</a></p>
  
  <p>and this is the County <code>Oldenburg (Oldb.)</code> for the city itself: <a href="https://www.google.com/maps/place/Oldenburg/@53.0578722,8.3356219,11.25z/data=!4m5!3m4!1s0x47b6de53b5b669b3:0xed1ccb1bad854865!8m2!3d53.1434501!4d8.2145521" rel="nofollow noreferrer">https://www.google.com/maps/place/Oldenburg/@53.0578722,8.3356219,11.25z/data=!4m5!3m4!1s0x47b6de53b5b669b3:0xed1ccb1bad854865!8m2!3d53.1434501!4d8.2145521</a></p>
  
  <p>I hope you are understanding what i mean. As a second example you can take <code>Sachsen</code>. Whenever you request <code>Sachsen</code> to the here-geocoding-api you will get back a city in south-germany and no information about the state <code>Sachsen</code>.</p>
  
  <p>Is there a way to get only information for states back from the api?</p>
  
  <pre><code>[
    {
      formattedAddress: 'Sachsen bei Ansbach, Bayern, Deutschland',
      latitude: 49.28949,
      longitude: 10.66038,
      country: 'Deutschland',
      countryCode: 'DE',
      state: 'Bayern',
      county: 'Ansbach (Landkreis)',
      city: 'Sachsen bei Ansbach',
      zipcode: '91623',
      district: null,
      streetName: null,
      streetNumber: null,
      building: null,
      extra: { herePlaceId: 'NT_jFqf4FFetzruKjei6.HGfA', confidence: 1 },
      administrativeLevels: { level1long: 'Bayern', level2long: 'Ansbach (Landkreis)' },
      provider: 'here'
    }
  ]
  </code></pre>
  
  <p><strong>Edit - 14.04.2020 | 13:23Uhr</strong>
  As i played around with the api i found out that i can get the correct placeId for <code>Sachsen</code> by using a english request. So i didn't request <code>Sachsen, Deutschland</code> but <code>Saxony, Germany</code>, that did it, i got the correct placeId for state <code>Sachsen</code>. Problem with <code>Oldenburg</code> still exists</p>