If you put a constant in for the ANGLE it works? Does the rotation column contain numbers for all features?
Steve ________________________________ From: [email protected] [[email protected]] on behalf of Frost89 [[email protected]] Sent: Thursday, April 19, 2012 4:14 AM To: [email protected] Subject: [mapserver-users] RE: Possible bug: Cairo/PDF output labels I'll try to be a bit more specific :) Below I've posted my layers as they look in the mapfile. I'm drawing the PDF with C# MapScript in a webapplication. When debugging, I can see that it fails when calling draw() on my mapObj. It doesn't fail everytime, but most of the time. In my logfile it stop with this line: [Wed Apr 18 12:39:37 2012].327000 msDrawMap(): Drawing Label Cache, 0.000s My layers: LAYER # Streetnames CONNECTION "C:\proj\Grundkort\VEJMIDTE_syddjurs.tab" CONNECTIONTYPE ogr FILTER ("[vejnavn]" != "UDEN NAVN") GROUP "Oversigtskort" LABELITEM "vejnavn" MAXSCALEDENOM 60000 NAME "Vejnavne" STATUS on TYPE line METADATA "ows_group_title" "Oversigtskort" "ows_title" "Oversigtskort - Vejnavne" END CLASS LABEL ANGLE follow ALIGN center COLOR 0 0 0 FONT "Arial" MINDISTANCE 150 OUTLINECOLOR 255 255 255 OUTLINEWIDTH 1 POSITION cc SIZE 10 TYPE truetype END END END LAYER # Housenumbers CONNECTION "C:\proj\Grundkort\Husnr.tab" CONNECTIONTYPE ogr GROUP "Oversigtskort" LABELITEM "husnummer" MAXSCALEDENOM 2000 NAME "Husnumre" STATUS on TYPE annotation METADATA "ows_group_title" "Grundkort" "ows_title" "Grundkort - Husnumre" END CLASS LABEL ANGLE [rotation] ALIGN center COLOR 0 0 0 FONT "Arial" OUTLINECOLOR 255 255 255 OUTLINEWIDTH 1 POSITION cc SIZE 10 TYPE truetype END END END ________________________________ View this message in context: RE: Possible bug: Cairo/PDF output labels<http://osgeo-org.1560.n6.nabble.com/Possible-bug-Cairo-PDF-output-labels-tp4894039p4897513.html> Sent from the Mapserver - User mailing list archive<http://osgeo-org.1560.n6.nabble.com/Mapserver-User-f4226646.html> at Nabble.com.
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
