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

https://github.com/timwaters/plaintiles

plain tile generation for mapping applications
https://github.com/timwaters/plaintiles

Last synced: 9 months ago
JSON representation

plain tile generation for mapping applications

Awesome Lists containing this project

README

          

This is a simple sinatra app for making plain one colour tiles for mapping applications

It generates plain colour 256x256 tiles in response to a resquest like http://example.com/red/1/3/4.png

It used imagemagick to generate the colours and so all valid colour names (675 possible colours) from http://www.imagemagick.org/script/color.php#color_names are valid. For example:

wheat,
snow4,
red,
HotPink1

etc

It was developed in response to a GeoCommons user wanting a plain tile backgroud to show their data upon, and as an exercise for me getting to know the Heroku platform - for which this application should work.

There is a deployed version of this application at: http://plaintiles.herokuapp.com

And so a valid tile URL would be http://plaintiles.herokuapp.com/HotPink1/1/1/1.png

Here's the tiles being used in GeoCommons: http://geocommons.com/maps/180483

Code:
https://github.com/timwaters/plaintiles

Enjoy!

@tim_waters