Name : perl-Geo-SweGrid
| |
Version : 1.0
| Vendor : obs://build_opensuse_org/devel:languages:perl
|
Release : 6.28
| Date : 2019-11-19 17:33:14
|
Group : Development/Libraries/Perl
| Source RPM : perl-Geo-SweGrid-1.0-6.28.src.rpm
|
Size : 0.01 MB
| |
Packager : (none)
| |
Summary : Convert coordinates between geodetic WGS84 and Swedish grid RT90 and SWE[cut]
|
Description :
Convert coordinates between geodetic WGS84 and Swedish grid RT90 and SWEREF99 systems.
Implementation of \"Gauss Conformal Projection (Transverse Mercator), Kr�gers Formulas\".
Parameters for SWEREF99 lat-long to/from RT90 and SWEREF99 coordinates (RT90 and SWEREF99 are used in Swedish maps).
* $grid = Geo::SweGrid->new($projection)
Constructor for Geo::SweGrid
Creates an instance and sets up parameters for the given RT90 or SWEREF99TM projection. Note: Parameters for RT90 are choosen to eliminate the differences between Bessel and GRS80-ellipsoides. Bessel-variants should only be used if lat/long are given as RT90-lat/long based on the Bessel ellipsoide (from old maps).
Parameters:
$projection (string). Must match a recognized projection.
List of supported projections:
rt90_0.0_gon_v rt90_2.5_gon_o rt90_2.5_gon_v rt90_5.0_gon_o rt90_5.0_gon_v rt90_7.5_gon_v bessel_rt90_0.0_gon_v bessel_rt90_2.5_gon_o bessel_rt90_2.5_gon_v bessel_rt90_5.0_gon_o bessel_rt90_5.0_gon_v bessel_rt90_7.5_gon_v sweref_99_1200 sweref_99_1330 sweref_99_1415 sweref_99_1500 sweref_99_1545 sweref_99_1630 sweref_99_1715 sweref_99_1800 sweref_99_1845 sweref_99_2015 sweref_99_2145 sweref_99_2315 sweref_99_tm
Example:
my $grid = Geo::SweGrid->new(\"rt90_2.5_gon_v\") or die \"No grid, projection not recognized\";
Returns:
the created instance;
* ($x, $y) = $grid->geodetic_to_grid($lat, $lon)
Conversion from geodetic coordinates to grid coordinates.
Parameters:
$latitude (number) $longitude (number)
Example:
my ($x, $y) = $grid->geodetic_to_grid(63.1530261140462, 11.8353976399345);
Returns:
the x and y grid coordinates;
* ($lat, $lon) = $grid->grid_to_geodetic($x, $y)
Conversion from grid coordinates to geodetic coordinates.
Parameters:
$x (number) $y (number)
Example:
my ($lat, $lon) = $grid->grid_to_geodetic(7011002, 1299996);
Returns:
the latitude and longitude geodetic coordinates;
|
RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-G/openSUSE_Tumbleweed/noarch |