geolib
historical-basemaps
geolib | historical-basemaps | |
---|---|---|
3 | 31 | |
4,150 | 415 | |
- | - | |
5.7 | 5.2 | |
6 days ago | 4 months ago | |
JavaScript | JavaScript | |
MIT License | GNU General Public License v3.0 only |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
geolib
-
Am I thinking about geolocation/DB storage correctly?
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.
-
Show HN: America – Road Trip Simulator
Thanks for trying it out!
The frontend is built with Svelte. This was my first time using the framework and I found their website super helpful: https://svelte.dev/docs
Used Mapbox API and geolib (https://github.com/manuelbieh/geolib/) for building routes and for other geospatial tasks.
"Talkie" was built with simple-peer (https://github.com/feross/simple-peer) and WebRTC. Great tutorial can be found on MDN: https://developer.mozilla.org/en-US/docs/Web/Guide/API/WebRT...
On the backend I use Vercel's serverless functions which are mostly acting as trivial proxies for various open API's.
Feel free to email me if you need more info.
-
Recommendation for geo TS library for FE for geo calculation like calculating distance between two latitude/longitude in meters/km for frontend etc?
Is it https://github.com/manuelbieh/geolib? Asking just so that I don't endup in wrong place? Also how does it compare with https://github.com/Turfjs/turf (incase you know) as turf.js has more stars, has more recent commits compared to geolib? Let me know what do you think
historical-basemaps
-
Where to find historical (country) data for Geolayers to draw maps?
I found this one but it seems to have only a few (very selected) years of data - https://github.com/aourednik/historical-basemaps
-
An App I made for Historic Borders throughout History (123,000 BC - 1994) - Updated Data [OC]
Please go help out at his repo https://github.com/aourednik/historical-basemaps
-
My lockdown side project: An interactive vintage map builder
Thanks for the compliments! The territory data is coming from https://github.com/aourednik/historical-basemaps, I use this data to render an SVG map with D3.js. This is pretty powerful since you can control every part of the rendering mechanism. With D3-geo you can easily do the projections and graticule.
-
I updated my app for visualizing country borders throughout history (2000 BC - 1994) with a globe view - historicborders.app/?view=globe
I found this repo with geojson data of historic country bounds and thought it would be cool to visualize it. The data is not mine.
-
Interactive map!
Please help me make these maps better! The data is at https://github.com/aourednik/historical-basemaps
-
An app I made for visualizing country borders throughout history (2000 BC - 1994) [OC]
The data is not mine. It is from here. I'm working on an editor for historians and who ever to work on visually updating this data right from in the app! so stay turned and hopefully all the data will be perfect in the future.
-
I made an interactive map of country borders through out history. historicborders.vercel.app
Kinda. I'm using mapbox to overlay geojson from a source
What are some alternatives?
turf - A modular geospatial engine written in JavaScript and TypeScript
world-geojson - GeoJson for all the countries, areas (regions) and some states.
historic-country-borders-app - Visualize country borders from different times in history (2000 BC-1994)
osm-static-maps - Openstreetmap static maps is a nodejs lib, CLI and server open source inspired on google static map service
open-source-exandria - A repository for fans of Critical Role to contribute to the data behind the interactive fantasy map for the show or copy it and make your own maps!