Copied!

Geotools interface

AbstractInterface
Constants
public League\Geotools\GeotoolsInterface::FEET_PER_METER = 0.3048
 

The ratio feet per meter.

  • var float
public League\Geotools\GeotoolsInterface::FOOT_UNIT = 'ft'
 

The feet unit.

  • var string
public League\Geotools\GeotoolsInterface::KILOMETER_UNIT = 'km'
 

The kilometer unit.

  • var string
public League\Geotools\GeotoolsInterface::METERS_PER_MILE = 1609.344
 

The ratio meters per mile.

  • var float
public League\Geotools\GeotoolsInterface::MILE_UNIT = 'mi'
 

The mile unit.

  • var string
public League\Geotools\GeotoolsInterface::UTM_SCALE_FACTOR = 0.9996
 

Transverse Mercator is not the same as UTM.

A scale factor is required to convert between them.

  • var float
Methods
public abstract batch(Geocoder\Geocoder $geocoder)
 

Returns an instance of Batch.

  • param \GeocoderInterface $geocoder The Geocoder instance to use.
  • return \BatchInterface
public abstract convert(League\Geotools\Coordinate\CoordinateInterface $coordinates)
 

Returns an instance of Convert.

  • param \CoordinateInterface $coordinates The coordinates to convert.
  • return \ConvertInterface
public abstract distance()
 

Returns an instance of Distance.

  • return \DistanceInterface
public abstract geohash()
 

Returns an instance of Geohash.

  • return \GeohashInterface
public abstract vertex()
 

Returns an instance of Vertex.

  • return \VertexInterface
© 2025 Bruce Wells
Search Namespaces \ Classes
Configuration