JavaScript Geography

Open-source JavaScript projects categorized as Geography

Top 4 JavaScript Geography Projects

  • geolib

    Zero dependency library to provide some basic geo functions

    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.

  • bertin

    A package to draw maps in javascript

  • world-geojson

    GeoJson for all the countries, areas (regions) and some states.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2023-06-19.

JavaScript Geography related posts

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
Power Real-Time Data Analytics at Scale
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.
www.influxdata.com