On Tue, 2010-02-16 at 14:24 -0500, Rob Tozier wrote:
>
> I am working on building a webpage that uses maptiler to build a
> mapimage/webpage and wanted to add your code to it, which allows a
> clickable hotlink layer. The goal I am trying to achieve is a webpage
> that has a boundary map on it.
Hi,
I would like to share with the list the following piece of code,
Together with gdal2tiles it allows generating a geojson layers from an
html client-side image map, for browsing with openlayers.
Usage:
gdal2tiles.py test.png test/
map2geojson.py 220.0 520.0 1.0 < test.map > test/polygon.json