# Removing negative latitude and longitude coordinates

**URL:** <https://discourse.nodered.org/t/removing-negative-latitude-and-longitude-coordinates/34665>\
**Category:** General\
**Created:** [22 October 2020 08:45 UTC](https://discourse.nodered.org/t/removing-negative-latitude-and-longitude-coordinates/34665 "2020-10-22T08:45:36Z")\
**Posts on this page:** 9\
**Page:** 3

<div class="post-metadata">

**Author:** ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)\
**Post date:** [2 November 2020 11:22 UTC](https://discourse.nodered.org/t/removing-negative-latitude-and-longitude-coordinates/34665/41 "2020-11-02T11:22:31Z")

</div>

Be sure that base64 node is configured like this  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/5/b/5ba05b14de5188d8a850362b376bc5e0facc042d.png)

---

<div class="post-metadata">

**Author:** ![bachloo.rahul](https://avatars.discourse-cdn.com/v4/letter/b/779978/32.png) [@bachloo.rahul](https://discourse.nodered.org/u/bachloo.rahul)\
**Post date:** [2 November 2020 11:29 UTC](https://discourse.nodered.org/t/removing-negative-latitude-and-longitude-coordinates/34665/42 "2020-11-02T11:29:03Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/6/86e9d1d654b841d05c8d60175f0b85ce2139df3a.png) this is the output

---

<div class="post-metadata">

**Author:** ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)\
**Post date:** [2 November 2020 11:29 UTC](https://discourse.nodered.org/t/removing-negative-latitude-and-longitude-coordinates/34665/43 "2020-11-02T11:29:54Z")

</div>

So it's working now.

---

<div class="post-metadata">

**Author:** ![bachloo.rahul](https://avatars.discourse-cdn.com/v4/letter/b/779978/32.png) [@bachloo.rahul](https://discourse.nodered.org/u/bachloo.rahul)\
**Post date:** [2 November 2020 11:32 UTC](https://discourse.nodered.org/t/removing-negative-latitude-and-longitude-coordinates/34665/44 "2020-11-02T11:32:30Z")

</div>

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/4/8/485d1bfc8262a470d1a9637dfbc93a1e414709f6.png)  
Thanks @hotnipi yes its working

---

<div class="post-metadata">

**Author:** ![bachloo.rahul](https://avatars.discourse-cdn.com/v4/letter/b/779978/32.png) [@bachloo.rahul](https://discourse.nodered.org/u/bachloo.rahul)\
**Post date:** [2 November 2020 11:41 UTC](https://discourse.nodered.org/t/removing-negative-latitude-and-longitude-coordinates/34665/45 "2020-11-02T11:41:45Z")

</div>

i want to see battery x-axis ,y-axis,battery and speed on a gauge or dashboard.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/8/0/802a323082f3f902569097530b675c6dba0df8d5.png)

---

<div class="post-metadata">

**Author:** ![bachloo.rahul](https://avatars.discourse-cdn.com/v4/letter/b/779978/32.png) [@bachloo.rahul](https://discourse.nodered.org/u/bachloo.rahul)\
**Post date:** [2 November 2020 11:51 UTC](https://discourse.nodered.org/t/removing-negative-latitude-and-longitude-coordinates/34665/46 "2020-11-02T11:51:09Z")

</div>

now i want to show these values such as speed,battery,x-axis and y-axis on node-red dashboard.

 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/9/d9a65d965dd45d460ee9dd0c2ae9cdc05bfb89c2.png)

---

<div class="post-metadata">

**Author:** ![hotNipi](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/hotnipi/32/383_2.png) [@hotNipi](https://discourse.nodered.org/u/hotNipi)\
**Post date:** [2 November 2020 11:57 UTC](https://discourse.nodered.org/t/removing-negative-latitude-and-longitude-coordinates/34665/47 "2020-11-02T11:57:12Z")

</div>

I'm not going to do it for you. This is basics of [https://nodered.org/docs/user-guide/messages](https://nodered.org/docs/user-guide/messages)[https://cookbook.nodered.org/#flow-control](https://cookbook.nodered.org/#flow-control)  
You should read the documents and try to do it first.

---

<div class="post-metadata">

**Author:** ![bachloo.rahul](https://avatars.discourse-cdn.com/v4/letter/b/779978/32.png) [@bachloo.rahul](https://discourse.nodered.org/u/bachloo.rahul)\
**Post date:** [2 November 2020 11:59 UTC](https://discourse.nodered.org/t/removing-negative-latitude-and-longitude-coordinates/34665/48 "2020-11-02T11:59:15Z")

</div>

Yes don't worry i will try function node for this and extract various fields such as battery,speed etc.Thank you @hotnipi ,sure this one i will definately manage on my own. 😊

---

<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:** [16 November 2020 11:59 UTC](https://discourse.nodered.org/t/removing-negative-latitude-and-longitude-coordinates/34665/49 "2020-11-16T11:59:18Z")

</div>

Closed on 16 November 2020 11:59 UTC

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

[Previous page](https://discourse.nodered.org/t/removing-negative-latitude-and-longitude-coordinates/34665.md?page=2)
