[fdo-dev] shp

Robert Fortin robert.fortin at autodesk.com
Wed Nov 1 09:15:48 EST 2006


In FDO 3.2 there was new capabilities added which provides info on
schema, class, properties limits.
 
Most of this info can be retrieved from FdoISchemaCapabilities interface
returned by the FdoIConnection::GetSchemaCapabilities() method.
 
The limit on the property is derived by the dbf limit. 
 
For SHP it will return the following information:
 
Capability

Value

Class Name Size Limit

255

Data Store Name Size Limit

255

Description Size Limit

0

Property Name Size Limit

11

Schema Name Size Limit

7

Reserved Characters

Dot, Colon

Supports Default

False

Supported Identity Property Types

FdoDataType_Int32

Maximum BLOB/CLOB Length

Unlimited

Maximum String Length

255

Maximum Decimal Scale and Precision

255

Maximum Decimal Scale

255

Maximum Decimal Precision

255

 
Hope it helps!
 
RF

  _____  

From: Romica Dascalescu 
Sent: Tuesday, October 31, 2006 6:07 PM
To: dev at fdo.osgeo.org
Cc: Haris Kurtagic
Subject: RE: [fdo-dev] shp



 

This limitation in SHP files is coming from dbf file format limitation.

 

Romica.

 

  _____  

From: Haris Kurtagic [mailto:haris at sl-king.com] 
Sent: Tuesday, October 31, 2006 6:04 PM
To: dev at fdo.osgeo.org
Subject: RE: [fdo-dev] shp

 

I have tried to ask something else, in SHP provider there is limitation
of 255 when you want to create a new schema a new property.

 

I am not asking about already created classes and their properties, but
about detailed information about data types suported by provider.

 

Haris

 

 

  _____  

From: Greg Boone [mailto:greg.boone at autodesk.com] 
Sent: Wednesday, November 01, 2006 12:00 AM
To: dev at fdo.osgeo.org
Subject: RE: [fdo-dev] shp

This kind of information is too specific to be supplied in the
capability information supplied by the provider. This information is
datastore/schema dependant. To get this information, you would need to
access the schema returned by the Provider through a DescribeSchema
command.  Only the returned schema from the provider connection can
accurately provide this information

 

See the following class in the FDO API for one interface that supplies
the information you request.

 

class FdoDataPropertyDefinition : public FdoPropertyDefinition

 

Greg

 

  _____  

From: Haris Kurtagic [mailto:haris at sl-king.com] 
Sent: Tuesday, October 31, 2006 5:44 PM
To: dev at fdo.osgeo.org
Subject: [fdo-dev] shp

 

Hi,

 

Is a column wide for shp/dbf limited to 255 (as I think is written in
provider) ?

 

I think we need also beside provider describing data types which it
supports, also interface for describing supported widths,scales, etc..
for those data types (if it is  not somewhere already).

 

Thank you,

Haris

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/fdo_dev/attachments/20061101/82ca8031/attachment.html


More information about the Fdo_dev mailing list