Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality. Learn more →
Top 4 JavaScript Geography Projects
-
Project mention: Am I thinking about geolocation/DB storage correctly? | /r/reactnative | 2023-06-19
Hey all, I'm currently using Expo's location plugin. This gives the user's latitude and longitude, which I'm storing in a Firebase Firestore document. I want to have a functionality where a user can select a distance radius (say, nearest kilometer, nearest 10 KM, and a global option which shows all) compared to the user's current location and show all available data within it. There's a library called geolib which can calculate the metered distance between two points. This is great, however I'm having trouble trying to think about how to query for these objects. I don't want to query ALL the documents and then filter down the documents based on their location on the FE, which means I'd probably need to query the backend for this specific data. This is where I'm running into some trouble. I'd basically have to have a firebase compound filter where I'm calculating the distance between the user's current location and +10 miles on the FE. Can somebody shed some light on this approach? I'm thinking: 1. Get users point 2. Calculate an arbitrary point that is essentially 10km away from users point (mathmatically?) 3. Query Firebase Firestore backend for results within that latitude/longitude. It just seems really complicated, and I'm wondering if I'm doing something wrong.
-
historical-basemaps
Collection of georeferenced boundaries of world countries and cultural regions for use in mapping historical data on global or continental scale
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
-
JavaScript Geography related posts
- Am I thinking about geolocation/DB storage correctly?
- Show HN: A simple world flags game, my first web dev project as a beginner
- bertin.js: A package to draw maps in javascript
- Where to find historical (country) data for Geolayers to draw maps?
- An App I made for Historic Borders throughout History (123,000 BC - 1994) - Updated Data [OC]
- My lockdown side project: An interactive vintage map builder
- I updated my app for visualizing country borders throughout history (2000 BC - 1994) with a globe view - historicborders.app/?view=globe
-
A note from our sponsor - InfluxDB
www.influxdata.com | 29 Mar 2024
Index
What are some of the best open-source Geography projects in JavaScript? This list will help you:
Project | Stars | |
---|---|---|
1 | geolib | 4,128 |
2 | historical-basemaps | 406 |
3 | bertin | 287 |
4 | world-geojson | 215 |