From e4f629711ee44c5c05bcdcd5062036d82bb73596 Mon Sep 17 00:00:00 2001 From: Bibiko Date: Fri, 8 Oct 2010 09:28:43 +0000 Subject: =?UTF-8?q?=E2=80=A2=20finished=20spatial=20field=20support=20-=20?= =?UTF-8?q?added=20missing=20MULTIPOLYGON=20and=20GEOMETRYCOLLECTION=20sup?= =?UTF-8?q?port?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Frameworks/MCPKit/MCPFoundationKit/MCPGeometryData.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'Frameworks/MCPKit/MCPFoundationKit/MCPGeometryData.h') diff --git a/Frameworks/MCPKit/MCPFoundationKit/MCPGeometryData.h b/Frameworks/MCPKit/MCPFoundationKit/MCPGeometryData.h index c37e286d..7d141991 100644 --- a/Frameworks/MCPKit/MCPFoundationKit/MCPGeometryData.h +++ b/Frameworks/MCPKit/MCPFoundationKit/MCPGeometryData.h @@ -44,8 +44,12 @@ typedef struct st_point_2d_ @interface MCPGeometryData : NSObject { + // Holds the WKB bytes coming from SQL server Byte *geoBuffer; + + // Holds the buffer length NSUInteger bufferLength; + } - (id)initWithBytes:(Byte*)geoData length:(NSUInteger)length; @@ -54,5 +58,7 @@ typedef struct st_point_2d_ - (NSUInteger)length; - (NSData*)data; - (NSString*)wktString; +- (NSInteger)wkbType; +- (NSString*)wktType; @end -- cgit v1.2.3