[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:


Class Name Size Limit


Data Store Name Size Limit


Description Size Limit


Property Name Size Limit


Schema Name Size Limit


Reserved Characters

Dot, Colon

Supports Default


Supported Identity Property Types


Maximum BLOB/CLOB Length


Maximum String Length


Maximum Decimal Scale and Precision


Maximum Decimal Scale


Maximum Decimal Precision


Hope it helps!


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.





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.






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





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




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,


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

More information about the Fdo-internals mailing list