POST
|
The dataset the feature class is in does have archiving enabled. I've been requested to also capture these features as they are deleted, in a separate feature class. I have observed that the process I have developed works where the oracle database version is 11.2.0.1, but does not work where the oracle database version is 11.2.0.4. I'm going to focus on this to see what I can learn.
... View more
11-26-2015
05:09 AM
|
0
|
0
|
353
|
POST
|
Hi My environment started out using version 10.0 but is now using 10.3. I've written an oracle PL/SQL package that interrogates the SDE schema to create a trigger that will determine when a feature in a versioned/or non versioned feature class is being deleted, and copy it to an other feature class. This way, we can see current, and deleted features. In my instance I am working with a versioned feature class, and so the trigger sits on the Dnnn table and determine if the Dnnn record being added means the feature is being deleted (it could be being superceded by a Annn row(. Due the the implementation we have I need to copy records in Annn, Fmmm and Smmm and place them in FC_DELETED, Fppp and Sppp. Everything looks ok, but, when I use arcMap features created this way are not displayed; only when I select them does their position get revealed. As far as I can tell the spatial index is fine. I think the problem I have is that there is a table in the SDE schema that I have not appended a record to to indicate that my newly created FC_DELETED feature exists in the current timeline (not the right word but the right concept). I have found that directly creating features in FC_DELETED via ArcMap does work. For now, I am going to try and perform regular feature creations andd see where records in SDE appear, and try and deduce the issue from there. Any help really appreciated
... View more
11-26-2015
02:06 AM
|
0
|
2
|
3142
|
POST
|
Hi Andrzej, Thanks for the advice, I really thought I was on to a winner, BUT, in my 10.0 SDE schema I do not have a gdb_featureclasses or a gdb_objectclasses table. Are you using an earlier version perhaps? I have looked for columns with ALIAS in their name, but only have SDE.SDE_XML_INDEX_TAGS.TAG_ALIAS. SDE.GDB* tables I have are GDB_ITEMS, GDB_ITEMRELATIONSHIPTYPES, GDB_ITEMRELATIONSHIPS, GDB_ITEMTYPES, GDB_REPLICALOG, GDB_TABLES_LAST_MODIFIED. thanks Mike
... View more
06-26-2012
02:06 AM
|
0
|
0
|
356
|
POST
|
For what its worth this is what I have learnt so far. In the sde schema table sde_xml_doc1 the column xml_doc_val CLOB contains xml which is interesting. Where my featureclass (PRUG_WKG) was loaded via xml workspace document import you would see: typens:Names ; PRUG_WKG ; false ; typens:PropertySet Where my featureclass was created via a python script you would see: typens:Names ; false ; typens:PropertySet So, I would imagine that is I could successfully edit this column, and probably regenrate the content of the XML_DOC BLOB column, I might get the effect I am looking for. Anyone from ESRI wish to suggest how I do this without damaging my database ? cheers Mike
... View more
04-20-2012
03:25 AM
|
0
|
0
|
356
|
POST
|
I have a funny - if I create a feature class via import XML workspace document the alias is just the feature class name eg COUNTY, but if I create it using arcpy.CreateFeatureclass_management the alias is schema name '.' feature class name eg GISLOADER.COUNTY. I have not found a means to set the alias when the feature class is created, and as much as I read that 10.1 will have arcpy.AlterAliasName I'm at 10.0. Any pointers in sorting this out, using ArcCatalog or arcpy ? cheers Mike
... View more
04-12-2012
03:02 AM
|
0
|
4
|
2587
|