On Fri, 2008-10-24 at 11:53 -0700, Dane Springmeyer wrote:
> On Oct 24, 2008, at 11:39 AM, Jon Burgess wrote:
>
> > On Thu, 2008-10-23 at 16:38 -0700, Dane Springmeyer wrote:
> >> Jon,
> >>
> >> Okay, thanks for looking into it!
> >>
> >> To run the tests as-is you should download nik2img. From inside the
> >> unzipped test directory do:
> >>
> >> wget
> >> http://mapnik-utils.googlecode.com/svn/trunk/desktop/nik2img/nik2img.py
> >> export PATH=`pwd`:$PATH
> >> chmod +x nik2img.py
> >>
> >> ... then
> >> ./run_tests.sh
> >>
> >> Dane
> >
> > I guessed that bit OK, but the problem occurred because I had no epsg
> > definitions for proj.
>
> Oh, very good to know. Nik2img surely uses the mapnik.Projection class
> quite a bit to do handling of debug output based on the mapfile's
> projection.
>
> I'm curious, what was the exact error you received from mapnik?
The proj_init_error below...
STEP: 4 // --> XML mapfile loaded successfully
Total time: 0.0488538742065 seconds | Last step: 1.90734863281e-06
seconds
proj_init_error:failed to initialize projection with:+init=epsg:4326
STEP: 5 // --> BBOX (max extent of all layers) is:
Envelope(-1.0,-1.0,0.0,0.0)
Total time: 0.0491278171539 seconds | Last step: 1.19209289551e-06
seconds
STEP: 6 | --> WARNING: Map layer 'states' does not intersect with Map
envelope, skipping details
The end result was a blank image.
Jon
_______________________________________________
Mapnik-users mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/mapnik-users