Skip to main content
Solved

Creating point from national grid code


Forum|alt.badge.img

Hi

I have a set of CSV files from http://nrfa.ceh.ac.uk which specify a national grid reference for the location of gauging stations - e.g. TQ0993167056 for "Thames at Walton" (station ID 39121).

I'm trying to read in the text files and create points from the grid references so that I can do spatial transformations, but can't seem to get FME to create geometry objects from the codes. If I had lat and long I would use the vertexcreator but can't seem to find an equivalent that works with BNG

Any help would be much appreciated

Thanks

Adam

Best answer by adamsjhoskins

I've found the answer - I used the following transformer

https://hub.safe.com/transformers/ngrtoxyconverter

View original
Did this help you find an answer to your question?

3 replies

jkr_wrk
Influencer
Forum|alt.badge.img+28
  • May 30, 2018

What geometry do you have? What does it look like? Because there is no way FME can convert TQ0993167056 to a square on a specific location. You need to describe how this grid is specified.


Forum|alt.badge.img
jkr_da wrote:

What geometry do you have? What does it look like? Because there is no way FME can convert TQ0993167056 to a square on a specific location. You need to describe how this grid is specified.

There's no geometry already set on the data as it comes from csv files. I'm not entirely sure what the grid is - the source data simply says it is a "grid reference". I know if I enter it as a grid reference into the search function at https://gridreferencefinder.com/ then it seems to locate the right place. I am looking to do a similar thing - i.e. make a point in that same location

 

 

Thanks

 

 

Adam

 

 


Forum|alt.badge.img

I've found the answer - I used the following transformer

https://hub.safe.com/transformers/ngrtoxyconverter


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings