georgique / world-geojson Goto Github PK
View Code? Open in Web Editor NEWGeoJson for all the countries, areas (regions) and some states.
License: GNU General Public License v3.0
GeoJson for all the countries, areas (regions) and some states.
License: GNU General Public License v3.0
Hello, thanks so much for your hard work on this project, it's really useful! ๐
I am trying to use the package from NPM in a Node.js project I am working on, but currently the package is not set up to allow it to be imported into a .js
file. It would not be difficult to allow this for both Node.js and browser usage, as JS can parse .json
files into JavaScript objects using the require
keyword. This code can be seen at #13
However, the only barrier to this is that the Canadian states use the .geojson
file extension, which JS does not recognise and cannot import. This makes it more difficult to import.
I have some questions:
.geojson
files?.json
files into .geojson
?Thank you very much for your time!
Hey! Fantastic job on this project!
I am building a project where I need specific regions (mainland Spain excluding The Canary Islands for example) and this looks like it might be exactly what I'm after. I just have a few questions:
Thanks in advance :)
Some countries, like Portugal, Ukraine, Lithuania have correct coordinates, that are inside bounds longitude +/-180, latitude +/-90.
On another side countries like Germany, France, Italy, Georgia etc have coordinates starting from 700... For example this is header of Italy
$ cat ./italy.json | head -n 30
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {},
"geometry": {
"type": "Polygon",
"coordinates": [
[
[
727.5311279296875,
43.77902662160831
],
[
727.5627136230469,
43.77456454892858
],
[
727.5702667236327,
43.78497553389676
],
[
727.5984191894531,
43.781009658142914
],
[
727.6581573486328,
43.77109381775651
],
ER: all coordinates are in longitude +/-180, latitude +/-90 bounds
Hi,
Noticed greece.json is missing Kastellorizo (Nisos Megisti) and a few other islands around it.
Would you be able to add them?
Data available here: https://geodata.gov.gr/en/organization/ypes
Hello,
What is the coordinate system you use ? It doesn't look like WGS84โฆ
For example France is supposed to be around lat 45 / lon 3, but the france.json
file has coordinates around 700 / 50 !?
Thanks for this very useful data.
I am getting countries by name in the countries folder. I think I can get the mainland for each country by getting the first polygon in the feature collection. This is, however, sketchy. An attribute tag like "mainland" would help to differentiate France's mainland from French Guiana for example. Also having labels for these would be great so I could filter to just show French Guiana instead of having to find it in some sketchy way. It would also be nice for labelling these polygons.
The UK is the sovereign country which includes these 4 countries. For my use case this doesn't matter. I simply need to show England on its own. Would you consider splitting these countries? You could even keep the file structure the same, but split the UK polygon into separate polygons because right now Scotland, Wales, and England are one polygon that can't be visualized separately.
Hey, I think I found a possible good source for this project https://gadm.org/data.html
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.