Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/robrwo/imager-bing-maplayer
Perl module fo creating Bing Map's map layers
https://github.com/robrwo/imager-bing-maplayer
Last synced: 11 days ago
JSON representation
Perl module fo creating Bing Map's map layers
- Host: GitHub
- URL: https://github.com/robrwo/imager-bing-maplayer
- Owner: robrwo
- Created: 2014-03-05T20:46:55.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2019-06-03T16:58:47.000Z (over 5 years ago)
- Last Synced: 2024-10-11T21:56:34.856Z (about 1 month ago)
- Language: Perl
- Size: 101 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 6
-
Metadata Files:
- Readme: README
- Changelog: Changes
Awesome Lists containing this project
README
NAME
Imager::Bing::MapLayer - create a map layer for Bing MapsSYNOPSIS
my $layer = Imager::Bing::MapLayer->new(
base_dir => $dir, # base directory (default '.')
overwrite => 1, # overwrite existing (default)
autosave => 1, # save on exit (default)
in_memory => 0, # keep tiles in memory (default false)
min_level => 1, # min zoom level (default)
max_level => 19, # max zoom level (default)
combine => 'darken', # tile composition method (default)
);# Plot polygons (e.g. geographic boundaries)
$layer->polygon(
points => $points, # listref to [ lat, lon ] points
fill => Imager::Fill->new( ... ), #
);# Plot greyscale gradient circles for heatmaps
$layer->radial_circle(
r => 100, # radius in meters
-min_r => 1, # minimum pixel radius for any zoom level
x => $longitude, # longitude (x = east-west)
y => $latitude, # latitude (y = north-south)
);# Blur filter
$layer->filter( type => 'gaussian', stddev => 1 );
# Colourise greyscale heatmaps
$layer->colourise();
DESCRIPTION
This module is a wrapper around the Imager::Draw module, which allows
you to create Bing map layers using longitude and latitude coordinates.The module will automatically map them to the appropriate points on tile
files.SEE ALSO
* Bing Maps Tile Systemhttp://msdn.microsoft.com/en-us/library/bb259689.aspx
AUTHOR
Robert Rothenberg, `'BUGS
Please report any bugs or feature requests to the author, or through the
web interface at https://github.com/robrwo/Imager-Bing-MapLayer/issues.SUPPORT
You can find documentation for this module with the perldoc command.perldoc Imager::Bing::MapLayer
You can also look for information at:
* GitHub
https://github.com/robrwo/Imager-Bing-MapLayerACKNOWLEDGEMENTS
* Foxtons, Ltd.LICENSE AND COPYRIGHT
Copyright 2013-2014 Robert Rothenberg.This program is released under the following license: atistic2