Skip to main content
Solved

Creating point from national grid code

  • May 30, 2018
  • 3 replies
  • 100 views

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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

3 replies

jkr_wrk
Influencer
Forum|alt.badge.img+36
  • 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

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
  • Author
  • Best Answer
  • May 30, 2018

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

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