So, I've read some of the earlier responses to similar questions but I don't know that I gleaned a definitive answer for this.
The setup is in Oracle there are ArcGIS generated views of Versioned spatial data tables Eg. TableName_EVW and that View has SHAPE as an ST_Geometry (instead of Oracle's own SDO_Geometry).
Yes, I know I can read this with the SDE Reader, but I need to get around SDE at the moment as it is misbehaving in the Covid world of VPNs whereas direct connection via native Oracle works MUCH better.
So:
- All the FME Oracle Readers tried recognise the SHAPE field, but the Reader log tells me that it is skipping over the SHAPE field (presumably because it isn't SDO_Geometry data type)........despite that the log also tells me it recognises the Data Type as ST_Geometry. So the Readers by default return the non-spatial fields, and no geometries because it skips over the SHAPE field.
- SQLCreator/SQLExecutor methods don't work that well either. Same result even when use an explicit "SELECT SHAPE FROM TableName_EVW". It still won't recognise SHAPE as a geometry despite it being ST_Geometry.
The best method was something @david_r suggested to a post 4 years ago, and that was to Cast the geometry to WKB using sde.st_asbinary within the SELECT statement, and then cast that to FME Feature Geometry within FME using GeometryReplacer
However, the overhead this creates on the Oracle Server to Cast 1,000,000+ spatial records means that it loads the Server with heavy function calculation and vastly reduces the Read time meaning that it isn't as much as improvement over the SDE Reader as hoped.
So........I'm looking for what would be the recommended method in 2020?