Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Accept multi-line SQL queries in table parameter #173
[springmeyer] Hmm, mike even with crazy multiline queries like in this test mapfile: http://mapnik-utils.googlecode.com/svn/sandbox/multiline_tests/ the mapnik postgis plugin seems to render fine.
Any chance you could post a query gone wrong?
Also, would be great if you could rebuild mapnik with DEBUG=True and then check out the query that mapnik outputs...
ie, based on that example above this is one query that mapnik prints in debug output and it works for me:
where the_geom && setSRID('BOX3D(-180 -90,180 83.62359619140619)'::box3d,4326)