Beats me why this would happen but looking at the code the decision to project is independent of the decision to transform. Perhaps they shouldn't be unless there is some funky pixel to pixel projection that is used. If you file a bug that would be cool if for no other reason to document not defining a projection with pixel coordinates.
Steve >>> "Lars Westerlind" <[email protected]> 08/17/09 12:46 AM >>> Thanks Steve, your questions solved the problem (but perhaps not the mystery). When I removed the project clause (which was unneeded of course), it works. It seems not to matter if it's first or last. If I get time I report this as a (insignificant) bug, I think. Or is there a good reason to have this behaviour you think? /Lars -----Ursprungligt meddelande----- Från: Steve Lime [mailto:[email protected]] Skickat: 15 August 2009 14:30 Till: Lars Westerlind; [email protected] Ämne: Re: [mapserver-users] Getting mad - copyright notice Wierd, what does the whole mapfile, or at least the other non-layer pieces look like? The TRANSFORM directive forces the layer to be handled in pixel coordinates and really shouldn't be affected by scale at all. Assuming this is drawn last there should be no issues with label collisions. Are you using label priority at all? Why the projection obj? Steve >>> "Lars Westerlind" <[email protected]> 08/14/09 1:26 AM >>> Hello, Was playing with the suggested copyright notice, and it worked very well - first mapfile. Afters extensive testing it appears that below a certain scale my layer doesn't show up. Or rather; when the BBOX parameter has for instance BBOX=11.0,56.0,12.0,57.0 it shows, but not with BBOX=12.00,57.64,12.09,57.68. Due to the logg (DEBUG level 5) the layer is not rendered at all. Can anyone give a clue? Should there be fiddling with MINDISTANCE and such? My Layer definition: LAYER NAME "Base" # we should always have one layer "base" METADATA "wms_title" "Base" END STATUS DEFAULT TYPE ANNOTATION PROJECTION "init=epsg:4326" ##recommended END TRANSFORM ll #set the image origin to be lower left FEATURE POINTS 70 -10 #set the offset from lower left position in pixels END TEXT " (c) 2009 Enera International and www.openstreetmap.org" #this is your displaying text END CLASS LABEL #defines the font, colors etc. of the text FONT "arial" TYPE TRUETYPE SIZE 8 BUFFER 1 COLOR 0 0 0 BACKGROUNDCOLOR 255 255 255 FORCE TRUE END END UNITS PIXELS #sets the units for the feature object END _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users _______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
