Copied!

Geotools class

CloneableInstantiable
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
Properties
public static $cardinalPoints = ['N', 'NNE', 'NE', 'ENE', 'E', 'ESE', 'SE', 'SSE', 'S', 'SSW', 'SW', 'WSW', 'W', 'WNW', 'NW', 'NNW', 'N']
 

The cardinal points / directions (the four cardinal directions,
the four ordinal directions, plus eight further divisions).

  • var array
public static $latitudeBands = ['C', 'D', 'E', 'F', 'G', 'H', 'J', 'K', 'L', 'M', 'N', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'X']
 

Latitude bands in the UTM coordinate system.

  • see http://en.wikipedia.org/wiki/Universal_Transverse_Mercator_coordinate_system
  • var array
Methods
public batch(Geocoder\Geocoder $geocoder)
 
    public convert(League\Geotools\Coordinate\CoordinateInterface $coordinates)
     
      public distance()
       
        public geohash()
         
          public vertex()
           
            Properties
            public static $cardinalPoints = ['N', 'NNE', 'NE', 'ENE', 'E', 'ESE', 'SE', 'SSE', 'S', 'SSW', 'SW', 'WSW', 'W', 'WNW', 'NW', 'NNW', 'N']
             

            The cardinal points / directions (the four cardinal directions,
            the four ordinal directions, plus eight further divisions).

            • var array
            public static $latitudeBands = ['C', 'D', 'E', 'F', 'G', 'H', 'J', 'K', 'L', 'M', 'N', 'P', 'Q', 'R', 'S', 'T', 'U', 'V', 'W', 'X', 'X']
             

            Latitude bands in the UTM coordinate system.

            • see http://en.wikipedia.org/wiki/Universal_Transverse_Mercator_coordinate_system
            • var array
            © 2023 Bruce Wells
            Search Namespaces \ Classes
            Configuration