Constants |
public League\Geotools\Convert\ConvertInterface::DECIMAL_MINUTES_MODE = 3 Round mode ofr decimal minutes values. |
public League\Geotools\Convert\ConvertInterface::DECIMAL_MINUTES_PRECISION = 5 Round precision for decimal minutes values. |
public League\Geotools\Convert\ConvertInterface::DEFAULT_DDM_FORMAT = '%L %P%D° %N %l %p%d° %n' The default format for degree decimal minutes coordinates. |
public League\Geotools\Convert\ConvertInterface::DEFAULT_DM_FORMAT = '%P%D %N%L, %p%d %n%l' The default format for decimal minutes coordinates. |
public League\Geotools\Convert\ConvertInterface::DEFAULT_DMS_FORMAT = '%D°%M′%S″%L, %d°%m′%s″%l' The default format for degrees minutes seconds coordinates. |
public League\Geotools\Convert\ConvertInterface::DEGREE_DECIMAL_MINUTES_PRECISION = 3 Round precision for degree decimal minutes values. |
public League\Geotools\Convert\ConvertInterface::LATITUDE_DECIMAL_MINUTES = '%N' Latitude in decimal minutes. |
public League\Geotools\Convert\ConvertInterface::LATITUDE_DEGREES = '%D' |
public League\Geotools\Convert\ConvertInterface::LATITUDE_DIRECTION = '%L' The direction of the latitude. |
public League\Geotools\Convert\ConvertInterface::LATITUDE_MINUTES = '%M' |
public League\Geotools\Convert\ConvertInterface::LATITUDE_SECONDS = '%S' |
public League\Geotools\Convert\ConvertInterface::LATITUDE_SIGN = '%P' The sign of the latitude. |
public League\Geotools\Convert\ConvertInterface::LONGITUDE_DECIMAL_MINUTES = '%n' Longitude in decimal minutes. |
public League\Geotools\Convert\ConvertInterface::LONGITUDE_DEGREES = '%d' |
public League\Geotools\Convert\ConvertInterface::LONGITUDE_DIRECTION = '%l' The direction of the longitude. |
public League\Geotools\Convert\ConvertInterface::LONGITUDE_MINUTES = '%m' |
public League\Geotools\Convert\ConvertInterface::LONGITUDE_SECONDS = '%s' |
public League\Geotools\Convert\ConvertInterface::LONGITUDE_SIGN = '%p' The sign of the longitude. |
Methods |
public __construct(League\Geotools\Coordinate\CoordinateInterface $coordinates) Set the coordinate to convert. - param \CoordinateInterface $coordinates The coordinate to convert.
|
public toDecimalMinutes( $format = '%P%D %N%L, %p%d %n%l'League\Geotools\Convert\ConvertInterface::DEFAULT_DM_FORMAT) |
public toDegreeDecimalMinutes( $format = '%L %P%D° %N %l %p%d° %n'League\Geotools\Convert\ConvertInterface::DEFAULT_DDM_FORMAT) |
public toDegreesMinutesSeconds( $format = '%D°%M′%S″%L, %d°%m′%s″%l'League\Geotools\Convert\ConvertInterface::DEFAULT_DMS_FORMAT) |
public toDM( $format = '%P%D %N%L, %p%d %n%l'League\Geotools\Convert\ConvertInterface::DEFAULT_DM_FORMAT) Alias of toDecimalMinutes function. - param string $format The way to format the DMS coordinate.
- deprecated This alias is deprecated, use toDecimalMinutes()
- return string Converted and formatted string.
|
public toDMS( $format = '%D°%M′%S″%L, %d°%m′%s″%l'League\Geotools\Convert\ConvertInterface::DEFAULT_DMS_FORMAT) Alias of toDegreesMinutesSeconds function. - param string $format The way to format the DMS coordinate.
- deprecated This alias is deprecated, use toDegreesMinutesSeconds()
- return string Converted and formatted string.
|
public toUniversalTransverseMercator() |
public toUTM() Alias of toUniversalTransverseMercator function. - deprecated This alias is deprecated, use toUniversalTransverseMercator()
- return string The converted UTM coordinate in meters
|