Skip to main content

Hello

I have four records in a workbench file with two column containing coordinates. They are of the type:

(column 1): 56° 05.702

(column 2): 012° 28.757

When I try to use a VertexCreator (add point) on them they are rejected. How can I convert them to something usefull and/or how can I derive coordinates/points from them

Thanks

The VertexCreator is expecting the lat/long coordinates to be in decimal degrees not degrees decimal minutes. You can use an attributeSplitter °{space} to separate the degrees from the decimal minutes and then use a DecimalDegreesCalculator. You may need to use an AttributeTrimmer to strip the leading zeros.


You'll need to use a DecimalDegreesCalculator to turn them in to decimal degrees before using the VertexCreator.

And in order to use the DecimalDegreesCalculcator you'll need to split them in separate degree and minute attributes and calculate the decimal minutes to seconds.

Turned out to be a bit more complex than I thought (and this probably needs some tweaking if you have negative coordinate values)

none2none.fmw

 


Reply