An open API service indexing awesome lists of open source software.

https://github.com/pseudogene/irishgrid

Irish Grid Mapping System
https://github.com/pseudogene/irishgrid

converter gps grid-system perl-script svg

Last synced: 7 months ago
JSON representation

Irish Grid Mapping System

Awesome Lists containing this project

README

          

Irishgrid v0.3 - Irish Grid Mapping System

October 2009

#IrishGrid

##Description

Perl module for creating geographic 10km-square maps using either SVG or PNG (with GD library) output format.

Originally design to map the location of objects in a 10 km map IrishGrid includes:

* native support of the Irish Grid System (see [http://www.osi.ie/](http://www.osi.ie/))
* optimise for speed (there's as less as possible data to conversion)
* customised color functions

As input file, IrishGrid uses a text comma separated format (CSV). Each line represents a record (in chronological order). The first field defined the colour (red, green, blue, black, grey, white), the second the position (using the Irish Grid System).

```
example.csv

blue, O008741
red, C948454
...
```

##Examples

```
# SVG file
./irishgrid.pl --in=example.csv --svg > mymap.svg

# PNG file with 10 pixels squares
./irishgrid.pl --in=example.csv --size=10 > mymap.png
```

![Example](example.png "Example")