You are here

public function GeometryProviderInterface::geocode in Geocoder 8.3

Same name and namespace in other branches
  1. 8.2 modules/geocoder_geofield/src/Geocoder/Provider/GeometryProviderInterface.php \Drupal\geocoder_geofield\Geocoder\Provider\GeometryProviderInterface::geocode()

Geocode a source string.

Parameters

string $filename: The file path with data to be geocoded.

Return value

\Geometry The Geometry result.

Throws

\Geocoder\Exception\Exception

1 method overrides GeometryProviderInterface::geocode()
AbstractGeometryProvider::geocode in modules/geocoder_geofield/src/Geocoder/Provider/AbstractGeometryProvider.php
Geocode a source string.

File

modules/geocoder_geofield/src/Geocoder/Provider/GeometryProviderInterface.php, line 28

Class

GeometryProviderInterface
Providers GeometryProvider interface..

Namespace

Drupal\geocoder_geofield\Geocoder\Provider

Code

public function geocode($filename) : Geometry;