I have an SQL reader the loads json and a geometry from a postgis table
SELECT $SQL$@Value(schema)$SQL$ AS schema,
attributes,
wkb_geometry
FROM @Value(schema).features_addresses
I have to do this as the database connection is dynamic as is the schema and cannot be fixed in a Reader.
My question is how do I extract the geometry as an FME geometry so it can be passed to a FeatureWriter?
I tried using a GeometryReplacer and WKB format but FME rejects the WKB even though it is valid?