Skip to content

Next tests on TileStache

3. May 2013

This time I will collect some additional functionalities of TileStache, that I have tested today.

The file I am working on is: gridding_test.cfg started by ~/Software/TileStache/scripts/ -~/Software/TileStache/gridding_tests.cfg

The preview:

Was completely new to me…see TileStache-Documentation: Projections–>preview

This is a very good option to get an immediate preview of the data & styling that you are working on:

 "provider": {"name": "mapnik", "mapfile": "examples/gridding_style.xml"},
 "projection": "spherical mercator",
 "lat": 51.993,
 "lon": 10.744,
 "zoom": 7,
 "ext": "png"

In my example…I call the preview via: http://localhost:8080/visualise-vector/preview.html


Very simple…detailled descriptions can be found in the TileStache-Documentation: Layers–>Vector

I want to test the tile supply of tiled data in GeoJSON-format…so my code looks like this:


To test the code…I call: http://localhost:8080/vector-test/5/17/11.geojson


Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: