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
- Host: GitHub
- URL: https://github.com/timwaters/plaintiles
- Owner: timwaters
- License: mit
- Created: 2012-06-23T10:29:05.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2012-06-23T20:05:27.000Z (about 14 years ago)
- Last Synced: 2025-03-30T05:03:48.441Z (about 1 year ago)
- Language: Ruby
- Size: 97.7 KB
- Stars: 6
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
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