msOGRFileNextShape(): OGR error. ReadBytes(): Attempt to read
 past end of data block.
    Tamas Szekeres 
    szekerest at GMAIL.COM
       
    Sat Jul  7 17:34:27 EDT 2007
    
    
  
Hi All,
Upon testing my favourite mapfiles with the recent SVN I'm getting a
bunch of the odd issues.
Here's an OGR related error:
msOGRFileNextShape(): OGR error. ReadBytes(): Attempt to read past end
of data block.
msDrawMap(): Image handling error. Failed to draw layer named 'Foutnev'.
The corresponding layer definition:
LAYER	
		PROJECTION
  			"AUTO"
		END
		NAME "Foutnev"
		STATUS default
		TYPE ANNOTATION
		SYMBOLSCALE 80000
		MAXSCALE 15000
		LABELITEM "OGR:LabelText"
		FILTER "WHERE OGR_GEOMETRY='POINT'"
		CONNECTIONTYPE OGR
            	CONNECTION "Foutnev.TAB"
		CLASS
			LABEL
				TYPE TRUETYPE
				FONT "default"
				POSITION ur
				FORCE true
				MINSIZE 2
				SIZE 1
				#OUTLINECOLOR 255 255 255
				COLOR 0 0 0
				ENCODING ISO-8859-2
				ANGLE [OGR:LabelAngle]
			END
		END
	END
At this point I cannot decide whether the problem might be dedicated
to a change in the OGR or the mapserver project (I'm using the recent
version of both).
Best regards,
Tamas
    
    
More information about the mapserver-dev
mailing list