import geo/p5-Geo-Coordinates-OSGB, ok benoit@

An implementation of co-ordinate conversion for England, Wales, and
Scotland based on formulae and data published by the Ordnance Survey of
Great Britain.

These modules convert accurately between coordinates given in latitude
and longitude and the OSGB national grid reference system (as used for
maps of England, Wales, and Scotland).

This code is fine tuned to the British national grid system. It is of
no use outside Britain. In fact it's only really useful in the areas
covered by the OS's main series of maps, which excludes the Channel
Islands and Northern Ireland.
This commit is contained in:
sthen 2017-03-27 09:45:38 +00:00
parent 8843ab3766
commit dbc62aa52e
4 changed files with 56 additions and 0 deletions

View File

@ -0,0 +1,20 @@
# $OpenBSD: Makefile,v 1.1.1.1 2017/03/27 09:45:38 sthen Exp $
COMMENT = convert Lat/Lon to/from GB Ordnance Survey grid reference
DISTNAME = Geo-Coordinates-OSGB-2.16
CATEGORIES = geo
# GPLv2+
PERMIT_PACKAGE_CDROM = Yes
MODULES = cpan
MODCPAN_EXAMPLES = Yes
PKG_ARCH = *
pre-install:
chmod +x ${WRKSRC}/examples/*.pl
.include <bsd.port.mk>

View File

@ -0,0 +1,2 @@
SHA256 (Geo-Coordinates-OSGB-2.16.tar.gz) = sHVj9YIwzALntxvN7u1+eO82GWi2kM9MqCKW6QAK7NI=
SIZE (Geo-Coordinates-OSGB-2.16.tar.gz) = 1905970

View File

@ -0,0 +1,12 @@
An implementation of co-ordinate conversion for England, Wales, and
Scotland based on formulae and data published by the Ordnance Survey of
Great Britain.
These modules convert accurately between coordinates given in latitude
and longitude and the OSGB national grid reference system (as used for
maps of England, Wales, and Scotland).
This code is fine tuned to the British national grid system. It is of
no use outside Britain. In fact it's only really useful in the areas
covered by the OS's main series of maps, which excludes the Channel
Islands and Northern Ireland.

View File

@ -0,0 +1,22 @@
@comment $OpenBSD: PLIST,v 1.1.1.1 2017/03/27 09:45:38 sthen Exp $
${P5SITE}/Geo/
${P5SITE}/Geo/Coordinates/
${P5SITE}/Geo/Coordinates/OSGB/
${P5SITE}/Geo/Coordinates/OSGB.pm
${P5SITE}/Geo/Coordinates/OSGB/Background.pod
${P5SITE}/Geo/Coordinates/OSGB/Grid.pm
${P5SITE}/Geo/Coordinates/OSGB/Maps.pm
@man man/man3p/Geo::Coordinates::OSGB.3p
@man man/man3p/Geo::Coordinates::OSGB::Background.3p
@man man/man3p/Geo::Coordinates::OSGB::Grid.3p
@man man/man3p/Geo::Coordinates::OSGB::Maps.3p
share/examples/p5-Geo-Coordinates-OSGB/
share/examples/p5-Geo-Coordinates-OSGB/National_grid.pdf
share/examples/p5-Geo-Coordinates-OSGB/bng_to_ll.pl
share/examples/p5-Geo-Coordinates-OSGB/gb-coastline.shapes
share/examples/p5-Geo-Coordinates-OSGB/gbguessr.pl
share/examples/p5-Geo-Coordinates-OSGB/ll_to_bng.pl
share/examples/p5-Geo-Coordinates-OSGB/ostn-boundary-polygons.wkt
share/examples/p5-Geo-Coordinates-OSGB/plot_maps.pl
share/examples/p5-Geo-Coordinates-OSGB/what_map.pl
share/examples/p5-Geo-Coordinates-OSGB/zero-points.pl