Testsuite
This page tests the Grid Reference Utilities PHP and JavaScript libraries. For further details, see the links on the sidebar. The PHP tests run on my server. The JavaScript tests run in your browser. Browsers can have small floating point precision differences. The tests try to avoid showing a failure in such cases, but it is possible that your browser could fail due to very large floating point precision errors. These can normally be ignored.
PHP
Meta | ||
---|---|---|
gridRefUtils | PASS | |
gridRefUtilsToolbox | PASS | |
Singleton | PASS | |
get_UK_grid_ref | ||
get_UK_grid_ref truncated text | PASS | |
get_UK_grid_ref rounded text | PASS | |
get_UK_grid_ref array input | PASS | |
get_UK_grid_ref array extra | PASS | |
get_UK_grid_ref default figure | PASS | |
get_UK_grid_ref 6 figure truncated text | PASS | |
get_UK_grid_ref 6 figure rounded text | PASS | |
get_UK_grid_ref 20 figure truncated text | PASS | |
get_UK_grid_ref 20 figure rounded text | PASS | |
get_UK_grid_ref European text | PASS | |
get_UK_grid_ref Asian text | PASS | |
get_UK_grid_ref default text | PASS | |
get_UK_grid_ref symbol text | PASS | |
get_UK_grid_ref HTML | PASS | |
get_UK_grid_ref true | PASS | |
get_UK_grid_ref array output | PASS | |
get_UK_grid_ref false | PASS | |
get_UK_grid_ref defaults | PASS | |
get_UK_grid_ref out of grid | PASS | |
get_UK_grid_ref denyBadReference | PASS | |
get_UK_grid_nums | ||
get_UK_grid_nums parsing no spaces | PASS | |
get_UK_grid_nums parsing first space | PASS | |
get_UK_grid_nums parsing second space | PASS | |
get_UK_grid_nums parsing spaces | PASS | |
get_UK_grid_nums parsing whitespace | PASS | |
get_UK_grid_nums parsing dot space | PASS | |
get_UK_grid_nums parsing 4 figure | PASS | |
get_UK_grid_nums parsing unbalanced | PASS | |
get_UK_grid_nums European text | PASS | |
get_UK_grid_nums Asian text | PASS | |
get_UK_grid_nums default text | PASS | |
get_UK_grid_nums symbol text | PASS | |
get_UK_grid_nums HTML | PASS | |
get_UK_grid_nums true | PASS | |
get_UK_grid_nums array output | PASS | |
get_UK_grid_nums false | PASS | |
get_UK_grid_nums defaults | PASS | |
get_UK_grid_nums unbalanced separate | PASS | |
get_UK_grid_nums floating point | PASS | |
get_UK_grid_nums short floating point | PASS | |
get_UK_grid_nums one floating point | PASS | |
get_UK_grid_nums parsing one float | PASS | |
get_UK_grid_nums parsing too many chars | PASS | |
get_UK_grid_nums parsing not enough chars | PASS | |
get_UK_grid_nums parsing not enough chars no-space | PASS | |
get_UK_grid_nums parsing separate params | PASS | |
get_UK_grid_nums parsing separate error letters | PASS | |
get_UK_grid_nums parsing separate error numbers | PASS | |
get_UK_grid_nums array input | PASS | |
get_UK_grid_nums array extra | PASS | |
get_UK_grid_nums deny bad parsing | PASS | |
get_UK_grid_nums deny separate error letters | PASS | |
get_UK_grid_nums allow too many separate letters | PASS | |
get_UK_grid_nums deny too many separate letters | PASS | |
get_UK_grid_nums deny separate error numbers | PASS | |
get_UK_grid_nums text rounded | PASS | |
get_UK_grid_nums array rounded | PASS | |
get_UK_grid_nums array rounded decimal | PASS | |
get_UK_grid_nums text precise | PASS | |
get_UK_grid_nums text precise truncated decimal | PASS | |
get_UK_grid_nums text precise rounded decimal | PASS | |
get_UK_grid_nums precise does not affect arrays | PASS | |
get_Irish_grid_ref | ||
get_Irish_grid_ref truncated text | PASS | |
get_Irish_grid_ref error handling | PASS | |
get_Irish_grid_ref deny bad | PASS | |
get_Irish_grid_nums | ||
get_Irish_grid_nums parsing no spaces | PASS | |
get_Irish_grid_nums parsing spaces | PASS | |
get_Irish_grid_nums separate params | PASS | |
get_Irish_grid_nums array input | PASS | |
get_Irish_grid_nums array extra | PASS | |
get_Irish_grid_nums too many letters | PASS | |
get_Irish_grid_nums too many separate letters | PASS | |
get_Irish_grid_nums deny too many letters | PASS | |
get_Irish_grid_nums deny too many separate letters | PASS | |
get_Irish_grid_nums parsing precise truncation | PASS | |
get_Irish_grid_nums parsing precise rounding | PASS | |
add_grid_units | ||
add_grid_units text output | PASS | |
add_grid_units negative | PASS | |
add_grid_units array input | PASS | |
add_grid_units array extra | PASS | |
add_grid_units European text | PASS | |
add_grid_units Asian text | PASS | |
add_grid_units default text | PASS | |
add_grid_units symbol text | PASS | |
add_grid_units HTML | PASS | |
add_grid_units true | PASS | |
add_grid_units array output | PASS | |
add_grid_units false | PASS | |
add_grid_units defaults | PASS | |
add_grid_units array negative easting | PASS | |
add_grid_units array negative northing | PASS | |
add_grid_units precise | PASS | |
add_grid_units precise array | PASS | |
parse_grid_nums | ||
parse_grid_nums integers | PASS | |
parse_grid_nums floating point numbers | PASS | |
parse_grid_nums signs | PASS | |
parse_grid_nums directions 1 | PASS | |
parse_grid_nums directions 2 | PASS | |
parse_grid_nums directions and signs | PASS | |
parse_grid_nums space | PASS | |
parse_grid_nums units | PASS | |
parse_grid_nums invalid | PASS | |
parse_grid_nums array input | PASS | |
parse_grid_nums array extra | PASS | |
parse_grid_nums European text | PASS | |
parse_grid_nums Asian text | PASS | |
parse_grid_nums default text | PASS | |
parse_grid_nums symbol text | PASS | |
parse_grid_nums HTML | PASS | |
parse_grid_nums true | PASS | |
parse_grid_nums array output | PASS | |
parse_grid_nums deny invalid | PASS | |
parse_grid_nums strict_nums integer | PASS | |
parse_grid_nums strict_nums floats | PASS | |
parse_grid_nums strict_nums directions | PASS | |
parse_grid_nums precise | PASS | |
parse_grid_nums precise array output | PASS | |
parse_grid_nums precise array input | PASS | |
get_shift_set | ||
get_shift_set for existing values | PASS | |
get_shift_set for non-existent values | PASS | |
create_shift_set | ||
create_shift_set with valid values | PASS | |
create_shift_set with invalid name | PASS | |
create_shift_set with empty name | PASS | |
create_shift_set with no x_spacing | PASS | |
create_shift_set with no y_spacing | PASS | |
create_shift_record | ||
create_shift_record with valid values | PASS | |
cache_shift_records | ||
cache_shift_records with single item | PASS | |
cache_shift_records with multiple items | PASS | |
cache_shift_records without name | PASS | |
cache_shift_records with no items | PASS | |
cache_shift_records with empty array | PASS | |
cache_shift_records with invalid name | PASS | |
cache_shift_records with invalid record name | PASS | |
cache_shift_records with invalid east_shift | PASS | |
cache_shift_records with invalid north_shift | PASS | |
cache_shift_records with invalid geoid_undulation | PASS | |
delete_shift_cache | ||
delete_shift_cache with name | PASS | |
delete_shift_cache with non-existent name | PASS | |
delete_shift_cache without name | PASS | |
shift_grid | ||
shift_grid with easting, northing | PASS | |
shift_grid with easting, northing, height | PASS | |
shift_grid with [ easting, northing ] | PASS | |
shift_grid with [ easting, northing ], height | PASS | |
shift_grid with [ easting, northing, height] | PASS | |
shift_grid with [ easting, northing, height], height | FAIL: Threw a warning: Trying to access array offset on value of type int /var/www/vhosts/tarquin-howto/webroot/php/gridrefutils.php Line: 650 | |
shift_grid array extra | PASS | |
shift_grid with easting on grid edge | PASS | |
shift_grid with northing on grid edge | PASS | |
shift_grid with easting,northing on grid edge | PASS | |
shift_grid with invalid easting or northing | PASS | |
shift_grid with coordinates out of grid | PASS | |
shift_grid with missing shiftset | PASS | |
shift_grid with invalid x_spacing | PASS | |
shift_grid with invalid y_spacing | PASS | |
shift_grid with custom shiftset | PASS | |
shift_grid with index-less custom shiftset | PASS | |
shift_grid proving cache works | PASS | |
shift_grid proving set deletion works | PASS | |
shift_grid proving deletion works | PASS | |
shift_grid proving deletion limits | PASS | |
shift_grid with invalid fetch_records | PASS | |
shift_grid with anonymous fetch_records | PASS | |
shift_grid European text | PASS | |
shift_grid Asian text | PASS | |
shift_grid default text | PASS | |
shift_grid symbol text | PASS | |
shift_grid HTML | PASS | |
shift_grid error array | PASS | |
shift_grid error height array | PASS | |
shift_grid true | PASS | |
shift_grid array output | PASS | |
shift_grid no datum array output | PASS | |
shift_grid height array | PASS | |
shift_grid no datum height array | PASS | |
shift_grid false | PASS | |
shift_grid defaults | PASS | |
shift_grid denied bad easting or northing | PASS | |
shift_grid denied coordinates out of grid | PASS | |
shift_grid precise | PASS | |
shift_grid precise array | PASS | |
reverse_shift_grid | ||
reverse_shift_grid with easting, northing | PASS | |
reverse_shift_grid with easting, northing, height | PASS | |
reverse_shift_grid with [ easting, northing ] | PASS | |
reverse_shift_grid with [ easting, northing ], height | PASS | |
reverse_shift_grid with [ easting, northing, height] | PASS | |
reverse_shift_grid with [ easting, northing, height], height | FAIL: Threw a warning: Trying to access array offset on value of type int /var/www/vhosts/tarquin-howto/webroot/php/gridrefutils.php Line: 674 | |
reverse_shift_grid array extra | PASS | |
reverse_shift_grid with easting on grid edge | PASS | |
reverse_shift_grid with northing on grid edge | PASS | |
reverse_shift_grid with easting,northing on grid edge | PASS | |
reverse_shift_grid with invalid easting or northing | PASS | |
reverse_shift_grid with coordinates out of grid | PASS | |
reverse_shift_grid with missing shiftset | PASS | |
reverse_shift_grid with invalid x_spacing | PASS | |
reverse_shift_grid with invalid y_spacing | PASS | |
reverse_shift_grid with custom shiftset | PASS | |
reverse_shift_grid with index-less custom shiftset | PASS | |
reverse_shift_grid proving cache works | PASS | |
reverse_shift_grid proving set deletion works | PASS | |
reverse_shift_grid proving deletion works | PASS | |
reverse_shift_grid with invalid fetch_records | PASS | |
reverse_shift_grid with anonymous fetch_records | PASS | |
reverse_shift_grid with European text | PASS | |
reverse_shift_grid with Asian text | PASS | |
reverse_shift_grid with default text | PASS | |
reverse_shift_grid with symbol text | PASS | |
reverse_shift_grid HTML | PASS | |
reverse_shift_grid error array | PASS | |
reverse_shift_grid error height array | PASS | |
reverse_shift_grid true | PASS | |
reverse_shift_grid array output | PASS | |
reverse_shift_grid no datum array output | PASS | |
reverse_shift_grid height array | PASS | |
reverse_shift_grid no datum height array | PASS | |
reverse_shift_grid false | PASS | |
reverse_shift_grid defaults | PASS | |
reverse_shift_grid denied bad easting or northing | PASS | |
reverse_shift_grid denied coordinates out of grid | PASS | |
reverse_shift_grid precise | PASS | |
reverse_shift_grid precise array | PASS | |
get_ellipsoid | ||
get_ellipsoid for existing Airy_1830 | PASS | |
get_ellipsoid for existing Airy_1830_mod | PASS | |
get_ellipsoid for existing GRS80 | PASS | |
get_ellipsoid for existing WGS84 | PASS | |
get_ellipsoid for non-existent values | PASS | |
create_ellipsoid | ||
create_ellipsoid with valid values | PASS | |
get_datum | ||
get_datum for existing OSGB36 | PASS | |
get_datum for existing OSTN15 | PASS | |
get_datum for existing Ireland_1965 | PASS | |
get_datum for existing IRENET95 | PASS | |
get_datum for existing UPS_North | PASS | |
get_datum for existing UPS_South | PASS | |
get_datum for non-existent values | PASS | |
create_datum | ||
create_datum with valid values | PASS | |
create_datum with no ellipsoid | PASS | |
create_datum with invalid ellipsoid | PASS | |
grid_to_lat_long | ||
grid_to_lat_long with easting, northing | PASS | |
grid_to_lat_long with array input | PASS | |
grid_to_lat_long array extra | PASS | |
grid_to_lat_long with large northing | PASS | |
grid_to_lat_long forcing wraparound | PASS | |
grid_to_lat_long forcing shortcut wraparound | PASS | |
grid_to_lat_long with custom datum | PASS | |
grid_to_lat_long with invalid datum | PASS | |
grid_to_lat_long with OSGB36 | PASS | |
grid_to_lat_long with Ireland_1965 | PASS | |
grid_to_lat_long with IRENET95 | PASS | |
grid_to_lat_long with COORDS_OS_UK | PASS | |
grid_to_lat_long with COORDS_OSI | PASS | |
grid_to_lat_long with COORDS_GPS_ITM | PASS | |
grid_to_lat_long with COORDS_GPS_UK | PASS | |
grid_to_lat_long with COORDS_GPS_IRISH | PASS | |
grid_to_lat_long with COORDS_GPS_IRISH_HELMERT | PASS | |
grid_to_lat_long with European text | PASS | |
grid_to_lat_long with Asian text | PASS | |
grid_to_lat_long with default text | PASS | |
grid_to_lat_long with symbol text | PASS | |
grid_to_lat_long HTML | PASS | |
grid_to_lat_long true | PASS | |
grid_to_lat_long array output | PASS | |
grid_to_lat_long false | PASS | |
grid_to_lat_long defaults | PASS | |
lat_long_to_grid | ||
lat_long_to_grid with latitude, longitude | PASS | |
lat_long_to_grid with array input | PASS | |
lat_long_to_grid array extra | PASS | |
grid_to_lat_long with custom datum | PASS | |
lat_long_to_grid with missing datum | PASS | |
lat_long_to_grid with invalid datum | PASS | |
lat_long_to_grid with OSGB36 | PASS | |
lat_long_to_grid with Ireland_1965 | PASS | |
lat_long_to_grid with IRENET95 | PASS | |
lat_long_to_grid with COORDS_OS_UK | PASS | |
lat_long_to_grid with COORDS_OSI | PASS | |
lat_long_to_grid with COORDS_GPS_ITM | PASS | |
lat_long_to_grid with COORDS_GPS_UK | PASS | |
lat_long_to_grid with COORDS_GPS_IRISH | PASS | |
lat_long_to_grid with COORDS_GPS_IRISH_HELMERT | PASS | |
lat_long_to_grid with European text | PASS | |
lat_long_to_grid with Asian text | PASS | |
lat_long_to_grid with default text | PASS | |
lat_long_to_grid with symbol text | PASS | |
lat_long_to_grid HTML | PASS | |
lat_long_to_grid true | PASS | |
lat_long_to_grid array output | PASS | |
lat_long_to_grid false | PASS | |
lat_long_to_grid defaults | PASS | |
lat_long_to_grid precise | PASS | |
lat_long_to_grid precise array | PASS | |
utm_to_lat_long | ||
utm_to_lat_long with shorthand | PASS | |
utm_to_lat_long with shorthand floats | PASS | |
utm_to_lat_long with shorthand hemisphere | PASS | |
utm_to_lat_long with shorthand south | PASS | |
utm_to_lat_long with shorthand south letter | PASS | |
utm_to_lat_long with shorthand negative | PASS | |
utm_to_lat_long with shorthand punctuation | PASS | |
utm_to_lat_long with shorthand octal | PASS | |
utm_to_lat_long with longhand | PASS | |
utm_to_lat_long with longhand | PASS | |
utm_to_lat_long with longhand south | PASS | |
utm_to_lat_long with longhand negative | PASS | |
utm_to_lat_long with longhand punctuation | PASS | |
utm_to_lat_long with longhand punctuation2 | PASS | |
utm_to_lat_long with longhand octal | PASS | |
utm_to_lat_long invalid shorthand | PASS | |
utm_to_lat_long invalid shorthand zone | PASS | |
utm_to_lat_long invalid longhand | PASS | |
utm_to_lat_long with separate parameters | PASS | |
utm_to_lat_long separate parameters south | PASS | |
utm_to_lat_long with array input | PASS | |
utm_to_lat_long array extra | PASS | |
utm_to_lat_long separate with zone -1 | PASS | |
utm_to_lat_long separate with zone 70 | PASS | |
utm_to_lat_long with custom ellipsoid | PASS | |
utm_to_lat_long with invalid ellipsoid | PASS | |
utm_to_lat_long with European text | PASS | |
utm_to_lat_long with Asian text | PASS | |
utm_to_lat_long with default text | PASS | |
utm_to_lat_long with symbol text | PASS | |
utm_to_lat_long HTML | PASS | |
utm_to_lat_long true | PASS | |
utm_to_lat_long array output | PASS | |
utm_to_lat_long false | PASS | |
utm_to_lat_long defaults | PASS | |
lat_long_to_utm | ||
lat_long_to_utm shorthand | PASS | |
lat_long_to_utm array input | PASS | |
lat_long_to_utm array extra | PASS | |
lat_long_to_utm shorthand south | PASS | |
lat_long_to_utm shorthand wraparound | PASS | |
lat_long_to_utm longhand | PASS | |
lat_long_to_utm longhand south | PASS | |
lat_long_to_utm zone 31H | PASS | |
lat_long_to_utm zone 31J | PASS | |
lat_long_to_utm zone 31N | PASS | |
lat_long_to_utm zone 31P | PASS | |
lat_long_to_utm zone 32V | PASS | |
lat_long_to_utm zone 32V | PASS | |
lat_long_to_utm zone 31W | PASS | |
lat_long_to_utm zone 31X | PASS | |
lat_long_to_utm zone 33X west | PASS | |
lat_long_to_utm zone 33X east | PASS | |
lat_long_to_utm zone 35X west | PASS | |
lat_long_to_utm zone 35X east | PASS | |
lat_long_to_utm zone 37X west | PASS | |
lat_long_to_utm 180 is zone 1 | PASS | |
lat_long_to_utm zone A | PASS | |
lat_long_to_utm zone B | PASS | |
lat_long_to_utm zone Y | PASS | |
lat_long_to_utm zone Z | PASS | |
lat_long_to_utm zone A longhand | PASS | |
lat_long_to_utm zone B longhand | PASS | |
lat_long_to_utm zone Y longhand | PASS | |
lat_long_to_utm zone Z longhand | PASS | |
lat_long_to_utm invalid coordinates | PASS | |
lat_long_to_utm custom ellipsoid | PASS | |
lat_long_to_utm invalid ellipsoid | PASS | |
lat_long_to_utm with European text | PASS | |
lat_long_to_utm with Asian text | PASS | |
lat_long_to_utm with default text | PASS | |
lat_long_to_utm with symbol text | PASS | |
lat_long_to_utm HTML | PASS | |
lat_long_to_utm true | PASS | |
lat_long_to_utm shorthand output array | PASS | |
lat_long_to_utm longhand output array | PASS | |
lat_long_to_utm false | PASS | |
lat_long_to_utm defaults | PASS | |
lat_long_to_utm deny bad range | PASS | |
lat_long_to_utm deny bad value | PASS | |
lat_long_to_utm shorthand precise | PASS | |
lat_long_to_utm longhand precise | PASS | |
lat_long_to_utm precise array | PASS | |
polar_to_lat_long | ||
polar_to_lat_long with easting, northing | PASS | |
polar_to_lat_long with array input | PASS | |
polar_to_lat_long array extra | PASS | |
polar_to_lat_long with large northing | PASS | |
polar_to_lat_long with large easting | PASS | |
polar_to_lat_long south | PASS | |
polar_to_lat_long with custom datum | PASS | |
polar_to_lat_long with invalid datum | PASS | |
polar_to_lat_long with no datum | PASS | |
polar_to_lat_long with European text | PASS | |
polar_to_lat_long with Asian text | PASS | |
polar_to_lat_long with default text | PASS | |
polar_to_lat_long with symbol text | PASS | |
polar_to_lat_long HTML | PASS | |
polar_to_lat_long true | PASS | |
polar_to_lat_long array output | PASS | |
polar_to_lat_long false | PASS | |
polar_to_lat_long defaults | PASS | |
lat_long_to_polar | ||
lat_long_to_polar with latitude, longitude | PASS | |
lat_long_to_polar with array input | PASS | |
lat_long_to_polar array extra | PASS | |
lat_long_to_polar with south | PASS | |
lat_long_to_polar with custom datum | PASS | |
lat_long_to_polar with invalid datum | PASS | |
lat_long_to_polar with no datum | PASS | |
lat_long_to_polar with European text | PASS | |
lat_long_to_polar with Asian text | PASS | |
lat_long_to_polar with default text | PASS | |
lat_long_to_polar with symbol text | PASS | |
lat_long_to_polar HTML | PASS | |
lat_long_to_polar true | PASS | |
lat_long_to_polar array output | PASS | |
lat_long_to_polar false | PASS | |
lat_long_to_polar defaults | PASS | |
lat_long_to_polar precise | PASS | |
lat_long_to_polar precise array | PASS | |
ups_to_lat_long | ||
ups_to_lat_long with zone letters | PASS | |
ups_to_lat_long with hemisphere | PASS | |
ups_to_lat_long with zone letters floats | PASS | |
ups_to_lat_long with hemisphere floats | PASS | |
ups_to_lat_long with fu$ll name | PASS | |
ups_to_lat_long south zone | PASS | |
ups_to_lat_long south hemisphere | PASS | |
ups_to_lat_long south fu$ll name | PASS | |
ups_to_lat_long west negative | PASS | |
ups_to_lat_long with punctuation | PASS | |
ups_to_lat_long with invalid string | PASS | |
ups_to_lat_long with zone, easting, northing | PASS | |
ups_to_lat_long with array input | PASS | |
ups_to_lat_long array extra | PASS | |
ups_to_lat_long hemisphere 1 | PASS | |
ups_to_lat_long hemisphere N | PASS | |
ups_to_lat_long hemisphere North | PASS | |
ups_to_lat_long hemisphere B | PASS | |
ups_to_lat_long hemisphere s | PASS | |
ups_to_lat_long hemisphere -1 | PASS | |
ups_to_lat_long invalid zone | PASS | |
ups_to_lat_long null zone | PASS | |
ups_to_lat_long with European text | PASS | |
ups_to_lat_long with Asian text | PASS | |
ups_to_lat_long with default text | PASS | |
ups_to_lat_long with symbol text | PASS | |
ups_to_lat_long HTML | PASS | |
ups_to_lat_long true | PASS | |
ups_to_lat_long array output | PASS | |
ups_to_lat_long false | PASS | |
ups_to_lat_long defaults | PASS | |
ups_to_lat_long with denied invalid string | PASS | |
ups_to_lat_long with denied invalid zone | PASS | |
ups_to_lat_long with long coordinates | PASS | |
ups_to_lat_long with short coordinates | PASS | |
ups_to_lat_long with denied short easting | PASS | |
ups_to_lat_long with denied short northing | PASS | |
lat_long_to_ups | ||
lat_long_to_ups with zone letters | PASS | |
lat_long_to_ups array input | PASS | |
lat_long_to_ups array extra | PASS | |
lat_long_to_ups with zone letters west | PASS | |
lat_long_to_ups with zone letters south | PASS | |
lat_long_to_ups with zone letters southwest | PASS | |
lat_long_to_ups wraparound | PASS | |
lat_long_to_ups with hemisphere | PASS | |
lat_long_to_ups with south hemisphere | PASS | |
lat_long_to_ups 0 is Z | PASS | |
lat_long_to_ups invalid coordinates | PASS | |
lat_long_to_ups coordinates out of range north | PASS | |
lat_long_to_ups coordinates range north | PASS | |
lat_long_to_ups coordinates beyond north | PASS | |
lat_long_to_ups coordinates out of range south | PASS | |
lat_long_to_ups coordinates range south | PASS | |
lat_long_to_ups coordinates beyond south | PASS | |
lat_long_to_ups with European text | PASS | |
lat_long_to_ups with Asian text | PASS | |
lat_long_to_ups with default text | PASS | |
lat_long_to_ups with symbol text | PASS | |
lat_long_to_ups HTML | PASS | |
lat_long_to_ups true | PASS | |
lat_long_to_ups array output | PASS | |
lat_long_to_ups false | PASS | |
lat_long_to_ups defaults | PASS | |
lat_long_to_ups deny invalid coordinates | PASS | |
lat_long_to_ups deny invalid range | PASS | |
lat_long_to_ups precise | PASS | |
lat_long_to_ups precise array | PASS | |
dd_to_dms | ||
dd_to_dms basic DMS | PASS | |
dd_to_dms array input | PASS | |
dd_to_dms array extra | PASS | |
dd_to_dms DMS 59.9999999 rounding | PASS | |
dd_to_dms DMS 0,0 is northeast | PASS | |
dd_to_dms DMS southwest too small | PASS | |
dd_to_dms southeast | PASS | |
dd_to_dms beyond 180 longitude | PASS | |
dd_to_dms basic DM | PASS | |
dd_to_dms DM 59.999999999 rounding | PASS | |
dd_to_dms DM southeast | PASS | |
dd_to_dms DMS European text | PASS | |
dd_to_dms DMS Asian text | PASS | |
dd_to_dms DMS default text | PASS | |
dd_to_dms DMS symbol text | PASS | |
dd_to_dms DMS HTML | PASS | |
dd_to_dms DMS true | PASS | |
dd_to_dms DM European text | PASS | |
dd_to_dms DM Asian text | PASS | |
dd_to_dms DM default text | PASS | |
dd_to_dms DM symbol text | PASS | |
dd_to_dms DM HTML | PASS | |
dd_to_dms DM true | PASS | |
dd_to_dms DMS array | PASS | |
dd_to_dms DMS southeast array | PASS | |
dd_to_dms DMS false | PASS | |
dd_to_dms defaults | PASS | |
dd_to_dms DM array | PASS | |
dd_format | ||
dd_format units | PASS | |
dd_format array input | PASS | |
dd_format array extra | PASS | |
dd_format southeast units | PASS | |
dd_format units wraparound | PASS | |
dd_format units -179.99999999995 | PASS | |
dd_format no_units | PASS | |
dd_format southeast no_units | PASS | |
dd_format no_units wraparound | PASS | |
dd_format no_units -179.99999999995 | PASS | |
dd_format units European text | PASS | |
dd_format units Asian text | PASS | |
dd_format units default text | PASS | |
dd_format units symbol text | PASS | |
dd_format units HTML | PASS | |
dd_format units true | PASS | |
dd_format no_units European text | PASS | |
dd_format no_units Asian text | PASS | |
dd_format no_units default text | PASS | |
dd_format no_units symbol text | PASS | |
dd_format no_units HTML | PASS | |
dd_format units output array | PASS | |
dd_format southeast units output array | PASS | |
dd_format no_units output array | PASS | |
dd_format southeast no_units output array | PASS | |
dd_format false | PASS | |
dd_format defaults | PASS | |
dms_to_dd | ||
dms_to_dd with DMS | PASS | |
dms_to_dd with nonsense units | PASS | |
dms_to_dd with a$ll decimals | PASS | |
dms_to_dd with southeast DMS | PASS | |
dms_to_dd with negated DMS | PASS | |
dms_to_dd DMS without comma | PASS | |
dms_to_dd DMS no direction | PASS | |
dms_to_dd whitespace | PASS | |
dms_to_dd with DM | PASS | |
dms_to_dd with DD | PASS | |
dms_to_dd separator-less | PASS | |
dms_to_dd separator-less southeast | PASS | |
dms_to_dd separator-less negated | PASS | |
dms_to_dd separator-less without comma | PASS | |
dms_to_dd separator-less whitespace | PASS | |
dms_to_dd disallowed unitless | PASS | |
dms_to_dd invalid | PASS | |
dms_to_dd array input | PASS | |
dms_to_dd array extra | PASS | |
dms_to_dd southeast array input | PASS | |
dms_to_dd multibyte | PASS | |
dms_to_dd with European text | PASS | |
dms_to_dd with Asian text | PASS | |
dms_to_dd with default text | PASS | |
dms_to_dd with symbol text | PASS | |
dms_to_dd HTML | PASS | |
dms_to_dd true | PASS | |
dms_to_dd array output | PASS | |
dms_to_dd defaults | PASS | |
dms_to_dd denied unitless | PASS | |
dms_to_dd denied invalid | PASS | |
dms_to_dd allowed unitless | PASS | |
dms_to_dd allowed unitless whitespace | PASS | |
get_transformation | ||
get_transformation for existing WGS84_to_OSGB36 | PASS | |
get_transformation for existing OSGB36_to_WGS84 | PASS | |
get_transformation for existing WGS84_to_Ireland65 | PASS | |
get_transformation for existing Ireland65_to_WGS84 | PASS | |
get_transformation for non-existent values | PASS | |
create_transformation | ||
create_transformation with valid values | PASS | |
Helmert_transform | ||
Helmert_transform from WGS84 to Ireland65 | PASS | |
Helmert_transform from Ireland65 to WGS84 | PASS | |
Helmert_transform from WGS84 to OSGB36 | PASS | |
Helmert_transform from OSGB36 to WGS84 | PASS | |
Helmert_transform with custom transformation | PASS | |
Helmert_transform with latitude, longitude, height | PASS | |
Helmert_transform comparing default height | PASS | |
Helmert_transform with [ latitude, longitude ] | PASS | |
Helmert_transform with [ latitude, longitude ], height | PASS | |
Helmert_transform with [ latitude, longitude, height ] | PASS | |
Helmert_transform array extra | PASS | |
Helmert_transform wraparound | PASS | |
Helmert_transform missing from | PASS | |
Helmert_transform invalid from | PASS | |
Helmert_transform missing via | PASS | |
Helmert_transform invalid via | PASS | |
Helmert_transform missing to | PASS | |
Helmert_transform invalid to | PASS | |
Helmert_transform with European text | PASS | |
Helmert_transform with Asian text | PASS | |
Helmert_transform with default text | PASS | |
Helmert_transform with symbol text | PASS | |
Helmert_transform HTML | PASS | |
Helmert_transform true | PASS | |
Helmert_transform array output | PASS | |
Helmert_transform false | PASS | |
Helmert_transform defaults | PASS | |
Helmert_transform height array | PASS | |
get_polynomial_coefficients | ||
get_polynomial_coefficients for existing OSiLPS | PASS | |
create_polynomial_coefficients | ||
create_polynomial_coefficients with valid values | PASS | |
create_polynomial_coefficients with missing A | PASS | |
create_polynomial_coefficients with empty A | PASS | |
create_polynomial_coefficients with invalid A[0] | PASS | |
create_polynomial_coefficients with missing B | PASS | |
create_polynomial_coefficients with empty B | PASS | |
create_polynomial_coefficients with invalid B[0] | PASS | |
polynomial_transform | ||
polynomial_transform from WGS84 to Ireland65 | PASS | |
polynomial_transform with array input | PASS | |
polynomial_transform array extra | PASS | |
polynomial_transform with custom coefficients | PASS | |
polynomial_transform with negative coefficients | PASS | |
polynomial_transform with invalid coefficients | PASS | |
polynomial_transform with unsupported coefficients | PASS | |
polynomial_transform with European text | PASS | |
polynomial_transform with Asian text | PASS | |
polynomial_transform with default text | PASS | |
polynomial_transform with symbol text | PASS | |
polynomial_transform HTML | PASS | |
polynomial_transform true | PASS | |
polynomial_transform output array | PASS | |
polynomial_transform defaults | PASS | |
reverse_polynomial_transform | ||
reverse_polynomial_transform from Ireland65 to WGS84 | PASS | |
reverse_polynomial_transform with array input | PASS | |
reverse_polynomial_transform array extra | PASS | |
reverse_polynomial_transform with custom coefficients | PASS | |
reverse_polynomial_transform with negative coefficients | PASS | |
reverse_polynomial_transform with invalid coefficients | PASS | |
reverse_polynomial_transform with unsupported coefficients | PASS | |
reverse_polynomial_transform with European text | PASS | |
reverse_polynomial_transform with Asian text | PASS | |
reverse_polynomial_transform with default text | PASS | |
reverse_polynomial_transform with symbol text | PASS | |
reverse_polynomial_transform HTML | PASS | |
reverse_polynomial_transform true | PASS | |
reverse_polynomial_transform array output | PASS | |
reverse_polynomial_transform false | PASS | |
reverse_polynomial_transform defaults | PASS | |
get_geodesic_destination | ||
get_geodesic_destination separate | PASS | |
get_geodesic_destination lat,long array | PASS | |
get_geodesic_destination lat,long array extra | PASS | |
get_geodesic_destination distance,azimuth array | PASS | |
get_geodesic_destination distance,azimuth array extra | PASS | |
get_geodesic_destination input arrays | PASS | |
get_geodesic_destination north | PASS | |
get_geodesic_destination azimuth range | PASS | |
get_geodesic_destination huge | PASS | |
get_geodesic_destination tiny | PASS | |
get_geodesic_destination nearly 360 | PASS | |
get_geodesic_destination custom ellipsoid | PASS | |
get_geodesic_destination missing ellipsoid | PASS | |
get_geodesic_destination invalid ellipsoid | PASS | |
get_geodesic_destination with European text | PASS | |
get_geodesic_destination with Asian text | PASS | |
get_geodesic_destination with default text | PASS | |
get_geodesic_destination with symbol text | PASS | |
get_geodesic_destination HTML | PASS | |
get_geodesic_destination true | PASS | |
get_geodesic_destination array output | PASS | |
get_geodesic_destination false | PASS | |
get_geodesic_destination defaults | PASS | |
get_geodesic | ||
get_geodesic separate | PASS | |
get_geodesic array from | PASS | |
get_geodesic array from extra | PASS | |
get_geodesic array to | PASS | |
get_geodesic array to extra | PASS | |
get_geodesic input arrays | PASS | |
get_geodesic polar start | PASS | |
get_geodesic polar end | PASS | |
get_geodesic nearly north | PASS | |
get_geodesic southwest | PASS | |
get_geodesic with custom ellipsoid | PASS | |
get_geodesic with missing ellipsoid | PASS | |
get_geodesic with invalid ellipsoid | PASS | |
get_geodesic with European text | PASS | |
get_geodesic with Asian text | PASS | |
get_geodesic with default text | PASS | |
get_geodesic with symbol text | PASS | |
get_geodesic HTML | PASS | |
get_geodesic true | PASS | |
get_geodesic array output | PASS | |
get_geodesic false | PASS | |
get_geodesic defaults | PASS | |
get_geodesic antipodal text | PASS | |
get_geodesic identical text | PASS | |
get_geodesic antipodal polar | PASS | |
get_geodesic antipodal other | PASS | |
get_geodesic antipodal prolate | PASS | |
get_geodesic nearly antipodal prolate east | PASS | |
get_geodesic nearly antipodal prolate west | PASS | |
get_geodesic nearly antipodal northern | PASS | |
get_geodesic nearly antipodal southern | PASS | |
get_geodesic identical polar | PASS | |
get_geodesic identical south polar | PASS | |
get_geodesic identical other | PASS | |
get_geodesic nearly identical north | PASS | |
get_geodesic nearly identical northeast | PASS | |
get_geodesic nearly identical east | PASS | |
get_geodesic nearly identical southeast | PASS | |
get_geodesic nearly identical south | PASS | |
get_geodesic nearly identical southwest | PASS | |
get_geodesic nearly identical west | PASS | |
get_geodesic nearly identical northwest | PASS | |
get_geoid_grd | ||
get_geoid_grd for existing OSGM15_Belfast | PASS | |
get_geoid_$grd for existing OSGM15_Malin | PASS | |
get_geoid_$grd for existing EGM96_ww15mgh | PASS | |
get_geoid_$grd for non-existent values | PASS | |
create_geoid_grd | ||
create_geoid_$grd with valid values | PASS | |
create_geoid_$grd with invalid name | PASS | |
create_geoid_$grd with empty name | PASS | |
create_geoid_$grd with inverted latitude max-min | PASS | |
create_geoid_$grd with inverted longitude max-min | PASS | |
create_geoid_$grd with no latitude_spacing | PASS | |
create_geoid_$grd with negative latitude_spacing | PASS | |
create_geoid_$grd with no longitude_spacing | PASS | |
create_geoid_$grd with negative longitude_spacing | PASS | |
create_geoid_record | ||
create_geoid_recordwith valid values | PASS | |
cache_geoid_records | ||
cache_geoid_records with single item | PASS | |
cache_geoid_records with multiple items | PASS | |
cache_geoid_records without name | PASS | |
cache_geoid_records with no items | PASS | |
cache_geoid_records with empty array | PASS | |
cache_geoid_records with invalid name | PASS | |
cache_geoid_records with invalid record name | PASS | |
cache_geoid_records with invalid geoid_undulation | PASS | |
delete_geoid_cache | ||
delete_geoid_cache with name | PASS | |
delete_geoid_cache with non-existent name | PASS | |
delete_geoid_cache without name | PASS | |
apply_geoid | ||
apply_geoid with latitude, longitude, height | PASS | |
apply_geoid with [ latitude, longitude ], height | PASS | |
apply_geoid with [ latitude, longitude, height ] | PASS | |
apply_geoid array extra | PASS | |
apply_geoid with latitude on grid edge | PASS | |
apply_geoid with longitude on grid edge | PASS | |
apply_geoid with latitude,longitude on grid edge | PASS | |
apply_geoid with invalid latitude or longitude | PASS | |
apply_geoid with coordinates out of grid | PASS | |
apply_geoid direction | PASS | |
apply_geoid with missing geoid $grd specification | PASS | |
apply_geoid with inverted latitude max-min | PASS | |
apply_geoid with inverted longitude max-min | PASS | |
apply_geoid with invalid latspacing | PASS | |
apply_geoid with negative latspacing | PASS | |
apply_geoid with invalid longspacing | PASS | |
apply_geoid with negative longspacing | PASS | |
apply_geoid with custom geoid $grd specification | PASS | |
apply_geoid wraparound | PASS | |
apply_geoid decimals and range | PASS | |
apply_geoid proving cache works | PASS | |
apply_geoid proving geoid deletion works | PASS | |
apply_geoid proving deletion works | PASS | |
apply_geoid proving deletion limits | PASS | |
apply_geoid with invalid fetch_records | PASS | |
apply_geoid with anonymous fetch_records | PASS | |
apply_geoid with European text | PASS | |
apply_geoid with Asian text | PASS | |
apply_geoid with default text | PASS | |
apply_geoid with symbol text | PASS | |
apply_geoid HTML | PASS | |
apply_geoid true | PASS | |
apply_geoid data output | PASS | |
apply_geoid false | PASS | |
apply_geoid defaults | PASS | |
apply_geoid denied bad latitude,longitude | PASS | |
apply_geoid denied coordinates out of grid | PASS | |
xyz_to_lat_long | ||
xyz_to_lat_long with X, Y, Z | PASS | |
xyz_to_lat_long with array input | PASS | |
xyz_to_lat_long array extra | PASS | |
xyz_to_lat_long with custom ellipsoid | PASS | |
xyz_to_lat_long with missing ellipsoid | PASS | |
xyz_to_lat_long with invalid ellipsoid | PASS | |
xyz_to_lat_long with European text | PASS | |
xyz_to_lat_long with Asian text | PASS | |
xyz_to_lat_long with default text | PASS | |
xyz_to_lat_long with symbol text | PASS | |
xyz_to_lat_long HTML | PASS | |
xyz_to_lat_long true | PASS | |
xyz_to_lat_long array output | PASS | |
xyz_to_lat_long false | PASS | |
xyz_to_lat_long defaults | PASS | |
lat_long_to_xyz | ||
lat_long_to_xyz with latitude, longitude | PASS | |
lat_long_to_xyz with latitude, longitude, height | PASS | |
lat_long_to_xyz with comparing default height | PASS | |
lat_long_to_xyz with [ latitude, longitude ] | PASS | |
lat_long_to_xyz with [ latitude, longitude ], height | PASS | |
lat_long_to_xyz with [ latitude, longitude, height ] | PASS | |
lat_long_to_xyz array extra | PASS | |
lat_long_to_xyz with latitude, longitude | PASS | |
lat_long_to_xyz with missing ellipsoid | PASS | |
lat_long_to_xyz with invalid ellipsoid | PASS | |
lat_long_to_xyz with European text | PASS | |
lat_long_to_xyz with Asian text | PASS | |
lat_long_to_xyz with default text | PASS | |
lat_long_to_xyz with symbol text | PASS | |
lat_long_to_xyz HTML | PASS | |
lat_long_to_xyz true | PASS | |
lat_long_to_xyz array output | PASS | |
lat_long_to_xyz false | PASS | |
lat_long_to_xyz defaults | PASS |
PHP: 798 tests, 2 FAIL in 46 sections