Skip to main content

I have a csv file where the geometry is in LL-WGS84, but displayed into a single field like this: (lat, lon).

 

I am very new to FME, but I think I have managed to first use a attribute trimmer to get the parentheses out.

 

I then do a Attribute splitter, which sends the data into a _list. I send list{0} and _list{1} into a newly made latitude and longitude field for the geodb writer, but I get a lot of warnings saying

 

"FileGDB Writer: The `Longitude' attribute could not be written. The containing feature has been dropped

"

So latitude gets written, but not longitude, and I dont know whyUntitledAnyone know what I am doin wrong?

Is your goal to write the coordinates as attributes? Or do you want to create points? If you want to write attributes, you are on the right track. If you want to create points, you can use a VertexCreator.

 

I'm not sure what is going wrong, I would use an AttributeCreator to create attributes Longitude and Latitude from _list{0} and _list{1}. You can then set the attributes and attributetypes for Longitude and Latitude in the FeatureWriter.


First I'd make sure that the Longitude field has the same data type as the Latitude field in the database.


Reply