mapnik/mapnik — Issue #1029: Is layer_by_sql in ogr plugin working?
Author: goododd
Created: 2012-01-14 19:56:19+00:00
State: open

Sorry for double posting to the Google group. I had a very small amount of data in ms sql server and was able to render image if I do planet_osm_line

I'd like to create a layer based on a sql query as follows,

ogr
select * from planet_osm_line
some connection string to mssql server

I tried the same sql using ogrinfo and it works. However, mapnik didn't complain anything but the image is empty. I tried to make a invalid select above to show that the ogr plugin is actually called (with some errors).

Any hints? Thanks.