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. Learn more →
Latlon2country Alternatives
Similar projects and alternatives to latlon2country
-
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.
-
natural-earth-vector
A global, public domain map dataset available at three scales and featuring tightly integrated vector and raster data.
-
ODM
A command line toolkit to generate maps, point clouds, 3D models and DEMs from drone, balloon or kite images. 📷
-
InfluxDB
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.
latlon2country reviews and mentions
-
Organizing OpenStreetMap Mapping Parties
Yeah, the country location is a requirement to show the opening hours. The library (https://github.com/opening-hours/opening_hours.js) is aware of holidays in many countries, but for that it needs to know what country a POI is in.
The country awareness source code is here: https://github.com/pietervdvn/latlon2country
The idea: I've taken all the country boundaries from OSM (via nominatim); I slice them in four parts. If the resulting geojson is too big, I slice this again until I have small geojsons, suitable to download. If you know the zoomlevel and location, one can use the standard slippy-tile-index to fetch the correct tile. (Alternatively, if the entire tile is within a country, it'll just return the country code)
However, the client also needs to know what zoomlevel there is. For that, I built a search tree.
It's been a while though, so I've forgotten some of the details ;)
-
Where to find a merged updated OSM worldmap.
Probably not useful for you, but https://github.com/pietervdvn/latlon2country/ has a 'tiles.zip', where all the boundaries are tiled into small pieces.
-
How do I download OSM national boundaries?
I also have them available in cut-up geojson-fragments - I use them to quickly determine in which country a point lies in a frontend app. See https://github.com/pietervdvn/latlon2country
-
A note from our sponsor - SurveyJS
surveyjs.io | 3 May 2024
Stats
pietervdvn/latlon2country is an open source project licensed under GNU General Public License v3.0 only which is an OSI approved license.
The primary programming language of latlon2country is TypeScript.
Popular Comparisons
Sponsored