[fdo-dev] sdf provider
Haris Kurtagic
haris at sl-king.com
Wed Nov 1 12:05:10 EST 2006
Hi Robert,
You are bringing all the good news.
Haris
________________________________
From: Robert Fortin [mailto:robert.fortin at autodesk.com]
Sent: Wednesday, November 01, 2006 3:22 PM
To: dev at fdo.osgeo.org
Subject: RE: [fdo-dev] sdf provider
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_dev/attachments/20061101/ed0661e8/attachment.html
More information about the Fdo_dev
mailing list