[fdo-dev] FDOIApplySchema

Haris Kurtagic haris at sl-king.com
Sun Oct 22 10:16:17 EDT 2006


Hi,
 
1. I suppose I wasn't thinking enough on first question bellow.     
I suspect that, it is supposed that client would first call
FDOICreateSpatialContext for all spatial context's prior to calling
aplyschema ?
 
Note:
I think, this can be a problem if provider is not keeping metadata
table's for spatial context.
For that case it would be fine to get spatial context's as parameter in
apply schema command.
 
Haris

________________________________

From: Haris Kurtagic [mailto:haris at sl-king.com] 
Sent: Sunday, October 22, 2006 2:10 AM
To: dev at fdo.osgeo.org
Subject: [fdo-dev] FDOIApplySchema


Hi,
I have couple of question:
 
1. I am trying to implement ApplySchema command in King.Oracle provider.
I have problem because I need to have Spatial context of geometries when
creating new schema and classes.
FDOIApplySchema interface is designed with FeatureSchema as only
parameter, no spatial context.
Geometry properties have Spatial Context name property but no spatial
context to read from in apply schema command.
There is command to create spatial context but it is another command so
it doesn't help me.
 
Am I missing something here ? I would appreciate if someone can comment
on this.
 
Note: I am trying to recreate Oracle tables from fdo classes and I am
not using fdo metadata tables.
 
 
2. How can I create clone of FdoFeatureClass ? 
 
    I see that FDOFetaureSchemaCollection has a way to ser/deser  from
XML, but I would like to do it just for one class.
    I am testing with Set (FdoClassDefinition *pClass,
FdoSchemaXmlContext *pContext) , but I have filing that is not right way
?
 
 
Thank you,
Haris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/fdo-internals/attachments/20061022/003bb236/attachment.html


More information about the Fdo-internals mailing list