@takashi Thanks again, this works with sqlite and also with postgis.
Now I am trying parametrize it to prepare running this workspace on FME Server, but I am failing again.In the end, the namespace and table as well as the csvt-filename should be created from the published parameter wktfile
I have added attribute creators, but I don't see the point where I can feed them into the process.
Here is the workspace:wkt-import2k-worker-01.fmw
Admittedly I am still lacking understanding for some mechanisms here, but I will recieve training only after the deadline of the current project :(
@takashi: Thanks heaps!I am almost there, just the FeatureMerger is not yet correct:
Here is the workspace:wkt-import2k-worker.fmw, maybe the error is already at an earlier stage.
This screenshot illustrates a BASIC way to create a schema definition (i.e.attribute{}.name, attribute{}.fme_data_type) from a CSV file and corresponding CSVT file.See here to learn more about schema definition (attribute{} list):Dynamic Workflows: Destination Schema is Derived from a Schema Feature
Note: this workflow doesn't contain a way to treat geometry fields (WKT, CoordX, CoordY etc.).Probably additional process to treat geometries would be necessary.
thanks for offering support on this issue.
According to https://giswiki.hsr.ch/GeoCSV, csvt knows those data types:
Notes:
Hi@dollargis, I don't think the SchemaSetter is helpful here.If you know the mapping rule between every possible CSVT type name (real, string, etc.) to corresponding FME generic data type fme_real64, fme_buffer, fme_int32, etc.), I think you can create schema definition based on the CSVT file and configure dynamic writer feature type.
Can you provide a comprehensive table of the CSVT types and their meanings?