[OSM-dev] Grid lines

Andy Allan gravitystorm at gmail.com
Mon Jan 17 14:46:13 GMT 2011


On Mon, Jan 17, 2011 at 11:42 AM, Steve Hill <steve at nexusuk.org> wrote:
>
> I've been Googling around for pointers on sensible ways to do grid line
> overlays for OSM in Mapnik and haven't really come up with anything useful.
>  I'm just wondering if anyone else has had a go at doing this, and if so
> what method they used.  I'm mostly interested in a lat/lon grid, OS grid and
> UTM at the moment.

My approach would be to generate a table with the gridlines in it, but
I haven't tried. It's worth noting that tilestache[1] has a UTM grid
provider available, you might find the code interesting.

Cheers,
Andy

[1] http://tilestache.org/doc/



More information about the dev mailing list