artemp/trac2github — Issue #647: Mapnik should throw an error if a projection is not found
Author: artemp
Created: 2011-10-09 20:45:19+00:00
State: open
Labels: Core_Library

hey springmeyer I figured out the problem of the blank maps and the remote postgis database. It was because I didn't have the 900913 in the proj epsg file when I compiled mapnik. I put it in there and then the maps were working again from the remote database. So it wasn't any problem with mapnik 0.7.2 dev

TJCRI: ah, interesting, good to hear, thanks for letting me know

that is though perhaps a problem with Mapnik, the fact that a "proj_init_error" does not throw

springmeyer: I enabled postgres debugging and mapnik was sending an initial db query (something about limit 0) but it wasn't sending the 2nd part which is what was retrieving the data so that kind of helped me narrow it down (a little bit) cause I as able to see what it did from the working mapnik server compared to the non-working one :)

yes, nice find
I bet if you had checked the apache logs you'd seen the error too?

yes it was in the apache logs