Reprojection problem

Doyon, Jean-Francois Jean-Francois.Doyon at CCRS.NRCAN.GC.CA
Mon Jan 23 12:03:07 EST 2006


Hello,

I recently upgraded from 3.6.6 to 4.6.1, and now I'm having problems with a
map that reprojects a single layer ...

I have a MAP level PROJECTION object, and one layer with a different
PROJECTION than the others ... (The map is in an LCC projection, and the
layer in geographic).

This used to work fine in 3.6.6, but now I get "msDrawMap(): Image handling
error. Failed to draw layer named 'featureannotate'." ... That layer being
the one in geographic that should be getting reprojected.

If I take out the PROJECTION parameter of the layer, no errors!  I tried
moving it's definition with the layer, which didn't change anything ... I
also tried using both epsg codes and in-line definitions, which also didn't
help :(

I was using PROJ 4.4.5 ... Upgraded to 4.4.9 ... That didn't help.  I
re-compiled MS just to be safe, the problem remains ...

I have a WMS server running off the same setup without complaints (including
reprojection).  The shapefile looks ok, shpdump/shptest and dbfdump didn't
produce anything out of the ordinary ...

Any ideas?

Thanks!

Jean-François Doyon
Internet Service Development and Systems Support / Spécialiste de
dèveloppements internet et soutien technique
Canada Centre for Remote Sensing/Centre Canadien de télédétection
Natural Resources Canada/Ressources Naturelles Canada
http://atlas.gc.ca
Tel./Tél.: (613) 992-4902
Fax: (613) 947-2410



More information about the mapserver-users mailing list