Skip to main content
Question

Is there a way to distinguish feature types whether they are real tables or views?


Forum|alt.badge.img

Hi,

I need to reproject feature coordinates (with ReframeReprojector) coming from an Oracle Spatial Object reader and therefore want to exclude feature types that are views from being reprojected.

Manuel

2 replies

erik_jan
Contributor
Forum|alt.badge.img+17
  • Contributor
  • December 21, 2016

You can use the SQLExecutor transformer to get information from the TAB table in the Oracle database (Select tabtype from TAB where TNAME = '@Value(fme_feature_type)'). This will show if the fetaure type is a VIEW or TABLE.


itay
Supporter
Forum|alt.badge.img+16
  • Supporter
  • December 22, 2016

Optionally you can just filter out the views if the information can be found in feature type (e.i using V or VW for view in the feature type name) eventually try avoiding reading the views if the naming is consistent by using the Feature Type To Read parameter.

Hope this helps.


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings