<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[how to add longditude&#x2F;langditude to DB - float?]]></title><description><![CDATA[<p dir="auto">Hey there folks hope all is well? <img src="https://community.appdrag.com/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=lfk1vimvd74" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" title=":)" alt="🙂" /> does anyone here know how to add geolocation info to the database - is it float? or is there a better/optimized way?<br />
thanks in advance<br />
Linda</p>
<p dir="auto">thanks in advance<br />
Linda</p>
]]></description><link>https://community.appdrag.com/topic/270/how-to-add-longditude-langditude-to-db-float</link><generator>RSS for Node</generator><lastBuildDate>Sat, 18 Apr 2026 22:56:30 GMT</lastBuildDate><atom:link href="https://community.appdrag.com/topic/270.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 30 Jul 2020 17:15:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to how to add longditude&#x2F;langditude to DB - float? on Mon, 03 Aug 2020 17:32:32 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.appdrag.com/uid/16">@Joseph-Benguira</a> yup atlas is cool, was just wondering if you where considering getting it into the appdrag ecosystem <img src="https://community.appdrag.com/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=lfk1vimvd74" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" title=":)" alt="🙂" /></p>
]]></description><link>https://community.appdrag.com/post/1009</link><guid isPermaLink="true">https://community.appdrag.com/post/1009</guid><dc:creator><![CDATA[Linda MacDonald]]></dc:creator><pubDate>Mon, 03 Aug 2020 17:32:32 GMT</pubDate></item><item><title><![CDATA[Reply to how to add longditude&#x2F;langditude to DB - float? on Mon, 03 Aug 2020 09:56:22 GMT]]></title><description><![CDATA[<p dir="auto">Hey Linda,</p>
<p dir="auto">maybe yes, we are thinking about it (also for Redis, MongoDB, PostgreSQL)</p>
<p dir="auto">But in the meantime you can use external mongodb providers like MongoDB Atlas:<br />
<a href="https://www.mongodb.com/cloud/atlas" rel="nofollow ugc">https://www.mongodb.com/cloud/atlas</a><br />
<a href="https://www.mongodb.com/pricing" rel="nofollow ugc">https://www.mongodb.com/pricing</a></p>
<p dir="auto">They even provide a free tier for small databases <img src="https://community.appdrag.com/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=lfk1vimvd74" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" title=":)" alt="🙂" /></p>
<p dir="auto">you can they use it from your cloud functions with the NPM package: <a href="https://www.npmjs.com/package/mongodb" rel="nofollow ugc">https://www.npmjs.com/package/mongodb</a></p>
<pre><code>
const MongoClient = require('mongodb').MongoClient;
const uri = "mongodb+srv://root:&lt;password&gt;@XXXXXXXXX.mongodb.net/&lt;dbname&gt;?retryWrites=true&amp;w=majority";
const client = new MongoClient(uri, { useNewUrlParser: true });
client.connect(err =&gt; {
  const collection = client.db("test").collection("devices");
  // perform actions on the collection object
  client.close();
});

</code></pre>
]]></description><link>https://community.appdrag.com/post/1005</link><guid isPermaLink="true">https://community.appdrag.com/post/1005</guid><dc:creator><![CDATA[Joseph Benguira]]></dc:creator><pubDate>Mon, 03 Aug 2020 09:56:22 GMT</pubDate></item><item><title><![CDATA[Reply to how to add longditude&#x2F;langditude to DB - float? on Sun, 02 Aug 2020 14:49:41 GMT]]></title><description><![CDATA[<p dir="auto">Any chance that you Guys are considering integration options with mongodb? <img src="https://community.appdrag.com/plugins/nodebb-plugin-emoji/emoji/android/1f60a.png?v=lfk1vimvd74" class="not-responsive emoji emoji-android emoji--blush" title=":blush:" alt="😊" /></p>
]]></description><link>https://community.appdrag.com/post/1002</link><guid isPermaLink="true">https://community.appdrag.com/post/1002</guid><dc:creator><![CDATA[Linda MacDonald]]></dc:creator><pubDate>Sun, 02 Aug 2020 14:49:41 GMT</pubDate></item><item><title><![CDATA[Reply to how to add longditude&#x2F;langditude to DB - float? on Fri, 31 Jul 2020 12:03:18 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.appdrag.com/uid/16">@Joseph-Benguira</a> hey there Joseph <img src="https://community.appdrag.com/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=lfk1vimvd74" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" title=":)" alt="🙂" /> thank you so much for the info, would be excellent if you guys add the PT type <img src="https://community.appdrag.com/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=lfk1vimvd74" class="not-responsive emoji emoji-android emoji--wink" title=";)" alt="😉" /> will be looking forward</p>
]]></description><link>https://community.appdrag.com/post/996</link><guid isPermaLink="true">https://community.appdrag.com/post/996</guid><dc:creator><![CDATA[Linda MacDonald]]></dc:creator><pubDate>Fri, 31 Jul 2020 12:03:18 GMT</pubDate></item><item><title><![CDATA[Reply to how to add longditude&#x2F;langditude to DB - float? on Fri, 31 Jul 2020 12:00:48 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="https://community.appdrag.com/uid/149">@Pierre-SULPICE</a> super duper cool thanks a mil Pierre <img src="https://community.appdrag.com/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=lfk1vimvd74" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" title=":)" alt="🙂" /> <img src="https://community.appdrag.com/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=lfk1vimvd74" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" title=":)" alt="🙂" /></p>
]]></description><link>https://community.appdrag.com/post/995</link><guid isPermaLink="true">https://community.appdrag.com/post/995</guid><dc:creator><![CDATA[Linda MacDonald]]></dc:creator><pubDate>Fri, 31 Jul 2020 12:00:48 GMT</pubDate></item><item><title><![CDATA[Reply to how to add longditude&#x2F;langditude to DB - float? on Fri, 31 Jul 2020 10:11:24 GMT]]></title><description><![CDATA[<p dir="auto">Thanks Pierre, indeed Float &amp; Doubles are good choices,<br />
Point is to be used in Spatial mode</p>
<p dir="auto">Indeed we don't expose Point (PT) type for now, this may be added later <img src="https://community.appdrag.com/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=lfk1vimvd74" class="not-responsive emoji emoji-android emoji--wink" title=";)" alt="😉" /></p>
<p dir="auto">In the meantime you can use "New Query" in the left menu to add your column with SQL:<br />
<a href="https://dev.mysql.com/doc/refman/8.0/en/creating-spatial-columns.html" rel="nofollow ugc">https://dev.mysql.com/doc/refman/8.0/en/creating-spatial-columns.html</a></p>
]]></description><link>https://community.appdrag.com/post/993</link><guid isPermaLink="true">https://community.appdrag.com/post/993</guid><dc:creator><![CDATA[Joseph Benguira]]></dc:creator><pubDate>Fri, 31 Jul 2020 10:11:24 GMT</pubDate></item><item><title><![CDATA[Reply to how to add longditude&#x2F;langditude to DB - float? on Fri, 31 Jul 2020 06:34:00 GMT]]></title><description><![CDATA[<p dir="auto">Hello Linda,</p>
<p dir="auto">Here is a nice representation of the precision you'll have depending your choice : <a href="http://mysql.rjweb.org/doc.php/latlng" rel="nofollow ugc">http://mysql.rjweb.org/doc.php/latlng</a><br />
float would be 1.7m, so it all depends what you want to do with it.</p>
<p dir="auto">Ideally you should the POINT from this : <a href="https://dev.mysql.com/doc/refman/8.0/en/spatial-types.html" rel="nofollow ugc">https://dev.mysql.com/doc/refman/8.0/en/spatial-types.html</a><br />
But I don't think it's available on AppDrag ? I'll let them answer on that one ^^"</p>
<p dir="auto">Good day</p>
]]></description><link>https://community.appdrag.com/post/989</link><guid isPermaLink="true">https://community.appdrag.com/post/989</guid><dc:creator><![CDATA[Pierre SULPICE]]></dc:creator><pubDate>Fri, 31 Jul 2020 06:34:00 GMT</pubDate></item></channel></rss>