Skip to main content

I have connected to an third party data source via an XML url and managed to export this to SHP file format.

 

The issue I am having is that the latitude and longitude are not being pulled through into the writer. Equally, the lat/long and name of the data source are showing as there own row in the attribute table not as a column. I have attached a snip for reference.

 

This is my first time using FME so have read a few articles and tried a few differerent transformers to try and get the output I am looking for but to no avail. Any help would be appreciated.

Hey @andyh​ sounds like you want to have some geometry generated for those rows that contain values for the lat/long fields? In FME, you'll need to create this geometry using the VertexCreator transformer. In there, you can set the X Value to your Longitude attribute, and the Y Value to your Latitude attribute. Afterwards, you can use a CoordinateSystemSetter to set the coordinate system before writing out your shapefile.

image 

Hope this helps! If you're still having issues, a small snippet of your source dataset may help us here.


Reply