Tilestache: Not able to render data from postGIS SQL

24 views
Skip to first unread message

Amit Kulkarni

unread,
Aug 3, 2017, 8:08:23 AM8/3/17
to Tilestache
my tilestache.cfg is as below

{
  "cache": {
        "name": "Disk",
        "path": "mnt/tile-cache/"
    }
    ,    
  "layers":
  {  
     "countries":
    {
      "provider": {
            "name": "vector", 
            "driver": "PostgreSQL",
            "parameters": 
             {
            "dbname": "test1",
            "host" : "localhost",
            "port" : "5432",
            "user": "postgres",
                        "password":"postgres",
                        "table": "ne_110m_admin_0_countries",
                         "query":"SELECT admin, ST_Y(ST_Centroid(wkb_geometry)) as lattitude FROM ne_110m_admin_0_countries;"

             }}}}}
______________
I am getting error as
 File "/usr/local/lib/python2.7/dist-packages/TileStache-1.51.6-py2.7.egg/TileStache/__init__.py", line 303, in requestHandler2
    print >> out, 'Known unknown!'

I am using below URL

I am using URL as localhost:8080/countries/1/1/1.json
Can anyone help me rendering data ?






gf...@uncc.edu

unread,
Nov 20, 2017, 7:55:29 AM11/20/17
to Tilestache
Did you ever get a response or help? I'm thinking this google group is not active.
Reply all
Reply to author
Forward
0 new messages