class_docstr: Pelias geocoder.
  
  Documentation at:
      https://github.com/pelias/documentation
  
  See also :class:`geopy.geocoders.GeocodeEarth` which is a Pelias-based
  service provided by the developers of Pelias itself.
class_docstr_tok: ["Pelias","geocoder",".","Documentation","at",":","https",":","\/\/github.com\/pelias\/documentation","See","also",":","class",":","`","geopy.geocoders.GeocodeEarth","`","which","is","a","Pelias-based","service","provided","by","the","developers","of","Pelias","itself","."]
code: def _parse_code(self, feature):
      # Parse each resource.
      latitude = feature.get("geometry", {}).get("coordinates", [])[1]
      longitude = feature.get("geometry", {}).get("coordinates", [])[0]
      placename = feature.get("properties", {}).get("name")
      return Location(placename, (latitude, longitude), feature)
  
file_path: geopy/geopy/geocoders/pelias.py
imports: import warnings
  from functools import partial
  from urllib.parse import urlencode
  from geopy.geocoders.base import DEFAULT_SENTINEL, Geocoder
  from geopy.location import Location
  from geopy.util import logger
label_desc: Use image node_id 4 for calling the Pelias obj's underlying member method code with example usage: obj._parse_code(feature) and returns: Location