# OS Grid references

**URL:** <https://forum.inaturalist.org/t/os-grid-references/48676>\
**Category:** General\
**Created:** [February 1, 2024, 7:36pm UTC](https://forum.inaturalist.org/t/os-grid-references/48676 "2024-02-01T19:36:01Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![Major\_Bombylius](https://avatars.discourse-cdn.com/v4/letter/m/71c47a/32.png) [@Major\_Bombylius](https://forum.inaturalist.org/u/Major_Bombylius)\
**Post date:** [February 1, 2024, 7:36pm UTC](https://forum.inaturalist.org/t/os-grid-references/48676/1 "2024-02-01T19:36:01Z")

</div>

How do I download UK observations with OS grid references? I can only get lat long which is no use to me. I thought there would be an option for OS for inaturalist uk.

---

<div class="post-metadata">

**Author:** ![pisum](https://avatars.discourse-cdn.com/v4/letter/p/91b2a8/32.png) [@pisum](https://forum.inaturalist.org/u/pisum)\
**Post date:** [February 1, 2024, 7:59pm UTC](https://forum.inaturalist.org/t/os-grid-references/48676/2 "2024-02-01T19:59:06Z")

</div>

you can download the CSV and use some sort of conversion program or tool to make the conversion.

if you’re trying to get records into a format to import to iRecord, you might be able to adapt some Python code created by @sbushes here: [https://forum.inaturalist.org/t/tool-for-exporting-inaturalist-data-to-irecord-or-elsewhere/19160](https://forum.inaturalist.org/t/tool-for-exporting-inaturalist-data-to-irecord-or-elsewhere/19160).

this example uses the OSGridConverter module to make the conversion, i think, and you can also use that if you’re writing your own thing in Python to make the conversion.

if you need more help or examples, please describe why you need the OS grid references, and maybe you’ll get more help.

---

<div class="post-metadata">

**Author:** ![Major\_Bombylius](https://avatars.discourse-cdn.com/v4/letter/m/71c47a/32.png) [@Major\_Bombylius](https://forum.inaturalist.org/u/Major_Bombylius)\
**Post date:** [February 1, 2024, 8:01pm UTC](https://forum.inaturalist.org/t/os-grid-references/48676/3 "2024-02-01T20:01:38Z")

</div>

basically I need it to be able to send my inat records to various recording schemes and record centres that don’t routinely download inat data themselves.

---

<div class="post-metadata">

**Author:** ![pisum](https://avatars.discourse-cdn.com/v4/letter/p/91b2a8/32.png) [@pisum](https://forum.inaturalist.org/u/pisum)\
**Post date:** [February 1, 2024, 8:08pm UTC](https://forum.inaturalist.org/t/os-grid-references/48676/4 "2024-02-01T20:08:03Z")

</div>

did you look at sbushes’s script? i think that does what you’re trying to do.

---

<div class="post-metadata">

**Author:** ![Major\_Bombylius](https://avatars.discourse-cdn.com/v4/letter/m/71c47a/32.png) [@Major\_Bombylius](https://forum.inaturalist.org/u/Major_Bombylius)\
**Post date:** [February 1, 2024, 8:14pm UTC](https://forum.inaturalist.org/t/os-grid-references/48676/5 "2024-02-01T20:14:01Z")

</div>

I looked at it but it’s from 3 years ago so was hoping for something better/easier.

---

<div class="post-metadata">

**Author:** ![bouteloua](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/bouteloua/32/1180_2.png) [@bouteloua](https://forum.inaturalist.org/u/bouteloua)\
**Post date:** [February 1, 2024, 8:18pm UTC](https://forum.inaturalist.org/t/os-grid-references/48676/6 "2024-02-01T20:18:00Z")

</div>

There isn’t a one-click export from iNaturalist that includes OS grid references.

---

<div class="post-metadata">

**Author:** ![Major\_Bombylius](https://avatars.discourse-cdn.com/v4/letter/m/71c47a/32.png) [@Major\_Bombylius](https://forum.inaturalist.org/u/Major_Bombylius)\
**Post date:** [February 1, 2024, 8:41pm UTC](https://forum.inaturalist.org/t/os-grid-references/48676/7 "2024-02-01T20:41:46Z")

</div>

this will do a batch conversion but it’s not ideal [https://gridreferencefinder.com/batchConvert/batchConvert.php](https://gridreferencefinder.com/batchConvert/batchConvert.php)

---

<div class="post-metadata">

**Author:** ![bouteloua](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/bouteloua/32/1180_2.png) [@bouteloua](https://forum.inaturalist.org/u/bouteloua)\
**Post date:** [February 1, 2024, 8:45pm UTC](https://forum.inaturalist.org/t/os-grid-references/48676/8 "2024-02-01T20:45:37Z")

</div>

There isn’t a one-click export of observations\* from [iNaturalist.org](http://iNaturalist.org)\* that includes OS grid references.

---

<div class="post-metadata">

**Author:** ![pisum](https://avatars.discourse-cdn.com/v4/letter/p/91b2a8/32.png) [@pisum](https://forum.inaturalist.org/u/pisum)\
**Post date:** [February 1, 2024, 8:52pm UTC](https://forum.inaturalist.org/t/os-grid-references/48676/9 "2024-02-01T20:52:33Z")

</div>

> [@Major\_Bombylius](#):
>
> it’s from 3 years ago

hmmm… you’re not saying that it doesn’t work.

> [@Major\_Bombylius](#):
>
> this will do a batch conversion but it’s not ideal [https://gridreferencefinder.com/batchConvert/batchConvert.php](https://gridreferencefinder.com/batchConvert/batchConvert.php)

what’s wrong with that solution? seems like you have so many available solutions.

you should talk to your iNaturalistUK admins to see if they have any tools that might be even easier, if that’s what you’re looking for.

…

i was [working on some Python code](https://forum.inaturalist.org/t/whats-the-best-way-to-share-python-code-nowadays/48554) for working with iNaturalist data, and i was going to work on a script next that loads data from CSV files and does some processing on them, but i don’t know when i’ll get around to publishing a version of that. that future thing could be adapted fairly easily to get OS references.

but in the meantime, i think you could adapt my [already published notebook](https://jumear.github.io/stirpy/lab/index.html?path=iNatAPIv1_get_observations.ipynb) for getting observations observations from the API to get some OS Referenced observations. i don’t know that this would be better than sbushes script, though running code on my JupyterLite deployment should be a little faster than going through sbushes’s code in Binder.

the key changes needed to adapt my stuff would be:

1. add a line to import the needed conversion function:

2. after the line that begins with `obs =` (in the main execution section), add the following code (based on [https://pypi.org/project/OSGridConverter/](https://pypi.org/project/OSGridConverter/)):

3. change the line that sets `req_params_string =` to whatever you need your observation filter parameters to be.

4. on the `obs =` line, set `get_all_pages=True` so that you’ll get the maximum number of records available from the API.

---

<div class="post-metadata">

**Author:** ![Major\_Bombylius](https://avatars.discourse-cdn.com/v4/letter/m/71c47a/32.png) [@Major\_Bombylius](https://forum.inaturalist.org/u/Major_Bombylius)\
**Post date:** [February 1, 2024, 10:14pm UTC](https://forum.inaturalist.org/t/os-grid-references/48676/10 "2024-02-01T22:14:37Z")

</div>

that’s all just way too techy for me. I was assuming since inat data routinely migrates to irecord presumably with OS co-ordinates there would be a simple solution people are using. I have managed to do it using the grid ref converter but it has taken a couple of hours for 4000 records.

---

<div class="post-metadata">

**Author:** ![sbushes](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/sbushes/32/8217_2.png) [@sbushes](https://forum.inaturalist.org/u/sbushes)\
**Post date:** [February 2, 2024, 1:42am UTC](https://forum.inaturalist.org/t/os-grid-references/48676/11 "2024-02-02T01:42:42Z")

</div>

my script should still work - it might look intimidating, but it´s really not  
if you want help to do it, direct message me and I can help you get what you need

---

<div class="post-metadata">

**Author:** ![cthawley](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/cthawley/32/1445_2.png) [@cthawley](https://forum.inaturalist.org/u/cthawley)\
**Post date:** [February 2, 2024, 2:31am UTC](https://forum.inaturalist.org/t/os-grid-references/48676/12 "2024-02-02T02:31:30Z")

</div>

One other solution (which probably isn’t feasible, but is really ideal), is to convince these agencies/centers to use/accept decimal coordinates. OS grids are relics and should be consigned to the past for use in biodiversity studies/monitoring in my opinion.

I would guess that irecord converts the the decimal coordinates (which is the system that iNat and most entities use) to OS grid refs themselves. Why they make it harder for folks to give them data by requiring those people to find/convert the OS coords themselves, when presumably irecord (or any entity) could do it on their own in a standardized way, is unclear to me.

---

<div class="post-metadata">

**Author:** ![sbushes](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/sbushes/32/8217_2.png) [@sbushes](https://forum.inaturalist.org/u/sbushes)\
**Post date:** [February 2, 2024, 12:52pm UTC](https://forum.inaturalist.org/t/os-grid-references/48676/13 "2024-02-02T12:52:19Z")

</div>

The national UK recording schemes are all run by different people, almost entirely/entirely volunteers.  
In Diptera at least it’s mainly just a single expert for a single family. Wonderful to have that expertise to communicate with. But unfortunately they all have there own way of doing things. Some prefer csv files, some iRecord, a few iNaturalist. One of the oldest and most knowledgeable ones I communicate with seems to prefer just a direct email with photos attached.

iRecord was the effort many years ago to bring these schemes altogether and standardise the recording schemes better. Unfortunately not everyone found the system to their liking… there are just too many different people involved, each with their own preferences.

iRecord should definitely have an upload option for lat/long … but …iRecord should have many things!  
The whole system is incredibly clunky and needs loads of work imo.  
Presumably just a lack of funding… or I don’t know… they just need better devs/designers.  
The horrors of the user interface are why I gave up using it.

But to some extent this doesn’t matter now there is a data bridge reinstalled.  
The iNaturalist records are automatically sent over and converted on import by iRecord.  
From iRecord they are accessible by any records centre or recording scheme in the format they need.

Curious which recording schemes you are doing this for @Major_Bombylius ?  
I thought most of the larger ones just take from iRecord, and the records centres too.

---

<div class="post-metadata">

**Author:** ![Major\_Bombylius](https://avatars.discourse-cdn.com/v4/letter/m/71c47a/32.png) [@Major\_Bombylius](https://forum.inaturalist.org/u/Major_Bombylius)\
**Post date:** [February 2, 2024, 4:41pm UTC](https://forum.inaturalist.org/t/os-grid-references/48676/14 "2024-02-02T16:41:42Z")

</div>

it’s OK thanks (for now) as I managed to convert them all on my spreadsheet (with some difficulty!)

---

<div class="post-metadata">

**Author:** ![Major\_Bombylius](https://avatars.discourse-cdn.com/v4/letter/m/71c47a/32.png) [@Major\_Bombylius](https://forum.inaturalist.org/u/Major_Bombylius)\
**Post date:** [February 2, 2024, 4:45pm UTC](https://forum.inaturalist.org/t/os-grid-references/48676/15 "2024-02-02T16:45:12Z")

</div>

Some smaller LERCS (and bigger ones) don’t touch inaturalist or irecord. Also only research grade reach irecord. Also there is a problem at the moment with even research grade not reaching irecord. It’s an irecord bug they haven’t fixed yet.

---

<div class="post-metadata">

**Author:** ![pisum](https://avatars.discourse-cdn.com/v4/letter/p/91b2a8/32.png) [@pisum](https://forum.inaturalist.org/u/pisum)\
**Post date:** [February 2, 2024, 7:31pm UTC](https://forum.inaturalist.org/t/os-grid-references/48676/16 "2024-02-02T19:31:29Z")

</div>

> [@Major\_Bombylius](#):
>
> I managed to convert them all on my spreadsheet (with some difficulty!)

> [@Major\_Bombylius](#):
>
> I have managed to do it using the grid ref converter but it has taken a couple of hours for 4000 records.

are you saying it took you a couple of hours just to do the OS Grid conversion?

the tool you referenced should be able to convert multiple records at once, and if you use a spreadsheet program like Excel, you should be able to paste in tons of records and copy out the results, too. if it’s just the OS Grid conversion that took you that long, i think you could could probably improve your workflow to speed things up greatly. (i’m thinking the conversion shouldn’t take more than a few seconds.)

---

<div class="post-metadata">

**Author:** ![sbushes](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.inaturalist.org/sbushes/32/8217_2.png) [@sbushes](https://forum.inaturalist.org/u/sbushes)\
**Post date:** [February 3, 2024, 12:38am UTC](https://forum.inaturalist.org/t/os-grid-references/48676/17 "2024-02-03T00:38:54Z")

</div>

> [@Major\_Bombylius](#):
>
> it’s OK thanks (for now) as I managed to convert them all on my spreadsheet (with some difficulty!)

Ok, well… feel free to drop me a line if you need help with it next year :)

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/inaturalist/original/2X/7/7831452cf7f0d653ff1ffd34176334b7ef1b6a17.png) [@system](https://forum.inaturalist.org/u/system)\
**Post date:** [April 3, 2024, 12:39am UTC](https://forum.inaturalist.org/t/os-grid-references/48676/18 "2024-04-03T00:39:53Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
