# Coordinate mapping

**URL:** https://discourse.nodered.org/t/coordinate-mapping/50080
**Category:** General
**Created:** [23 August 2021 18:27 UTC](https://discourse.nodered.org/t/coordinate-mapping/50080 "2021-08-23T18:27:47Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![John\_Barry](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/john_barry/32/28987_2.png) [@John\_Barry](https://discourse.nodered.org/u/John_Barry)
#### Post date: [23 August 2021 18:27 UTC](https://discourse.nodered.org/t/coordinate-mapping/50080/1 "2021-08-23T18:27:47Z")

</div>

Hi all,  
I've got a project on the go where i am trying to map agricultural fields.  
The farm has 5 blocks and i need to determine if a input location is within the specific field and return the name of that field.  
This would be really easy if the blocks were squares but they all polygon shapes.  
I haven't worked with coordinates before and this might be out of the scope of node red but any help would be appreciated.

 ![Untitled](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/5/45e2310eaa82d1be2a6bbe5504745de1fcdbebe5.jpeg)

---

<div class="post-metadata">

### Author: ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)
#### Post date: [23 August 2021 18:42 UTC](https://discourse.nodered.org/t/coordinate-mapping/50080/2 "2021-08-23T18:42:25Z")

</div>

What you are describing is geofence

There are contrib nodes that do this. Attach the flow library.

Example: [node-red-node-geofence (node) - Node-RED](https://flows.nodered.org/node/node-red-node-geofence)

---

<div class="post-metadata">

### Author: ![John\_Barry](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/john_barry/32/28987_2.png) [@John\_Barry](https://discourse.nodered.org/u/John_Barry)
#### Post date: [24 August 2021 10:21 UTC](https://discourse.nodered.org/t/coordinate-mapping/50080/3 "2021-08-24T10:21:52Z")

</div>

Exactly what I was looking for thanks

---

<div class="post-metadata">

### Author: ![John\_Barry](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/john_barry/32/28987_2.png) [@John\_Barry](https://discourse.nodered.org/u/John_Barry)
#### Post date: [25 August 2021 10:21 UTC](https://discourse.nodered.org/t/coordinate-mapping/50080/4 "2021-08-25T10:21:58Z")

</div>

This is a great node!  
Is there a way to view in satellite mode or enter coordinates for the shape?  
I can't see what I'm mapping in road map mode

---

<div class="post-metadata">

### Author: ![dceejay](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/dceejay/32/38_2.png) [@dceejay](https://discourse.nodered.org/u/dceejay)
#### Post date: [27 August 2021 16:01 UTC](https://discourse.nodered.org/t/coordinate-mapping/50080/5 "2021-08-27T16:01:58Z")

</div>

Have added a satellite layer for you in version 0.3.0 - hope that helps.

---

<div class="post-metadata">

### Author: ![John\_Barry](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/john_barry/32/28987_2.png) [@John\_Barry](https://discourse.nodered.org/u/John_Barry)
#### Post date: [30 August 2021 06:51 UTC](https://discourse.nodered.org/t/coordinate-mapping/50080/6 "2021-08-30T06:51:04Z")

</div>

Thank you so much! Truly appreciate what you guys are doing!

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)
#### Post date: [13 September 2021 06:51 UTC](https://discourse.nodered.org/t/coordinate-mapping/50080/7 "2021-09-13T06:51:49Z")

</div>

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