[fdo-dev] sdf provider

Robert Fortin robert.fortin at autodesk.com
Wed Nov 1 09:22:18 EST 2006


Haris,
 
The capability to update SDF schema when there is already an existing
schema has been added to 3.2.x.  There is some currently some
restriction with what can be modified once it is created but you should
be able to add new class or property (if there is no data for a given
class).  The generated SDF format is forward compatible with previous
version of SDF provider.  So you can create SDF file with 3.2 and can
still read them in 3.1 provider.  The limit of a single schema per SDF
still exist.  This is to ensure forward compatibility with 3.1.
 
RF

  _____  

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


Thanks, now I got it.
 
Haris

  _____  

From: Traian Stanev [mailto:traian.stanev at autodesk.com] 
Sent: Wednesday, November 01, 2006 12:13 AM
To: dev at fdo.osgeo.org
Subject: RE: [fdo-dev] sdf provider 


In the past, the SDF provider did not require a non-null value for the
spatial context association of the geometry property. This is because
there is one spatial context, so it is clear which one to use and there
was no need to link the geometry property to the spatial context.
Therefore there are existing files with null association.
 
Traian

  _____  

From: Greg Boone 
Sent: Tuesday, October 31, 2006 5:51 PM
To: dev at fdo.osgeo.org
Subject: RE: [fdo-dev] sdf provider 



See inline...

 

  _____  

From: Haris Kurtagic [mailto:haris at sl-king.com] 
Sent: Tuesday, October 31, 2006 4:36 PM
To: dev at fdo.osgeo.org
Subject: [fdo-dev] sdf provider 

 

1. When I execute command apply schema on sdf which already has schema
applied in it, sdf provider returns error that schema already exists.

What is a way to add new class into existing sdf ?

[GB] No. You can only ApplySchema once for an SDF file

 

2. In some SDF's sdf provider is returning null for
GetSpatialContextAssociation
<https://fdo.osgeo.org/nonav/docs/FDO_API/df/d40/class_fdo_geometric_pro
perty_definition_ec20045b117ee761d323102dac225e68.html#ec20045b117ee761d
323102dac225e68>  

    Is this in line whith fdo interface ?

[GB] I believe when you create the SDF file, you have to specify the
Spatial Context as part of the creation parameters.

 

 

Haris

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


More information about the Fdo-internals mailing list