GithubHelp home page GithubHelp logo

georgique / world-geojson Goto Github PK

View Code? Open in Web Editor NEW
232.0 232.0 61.0 30.44 MB

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

License: GNU General Public License v3.0

JavaScript 51.89% TypeScript 48.11%
area-boundaries boundaries countries countries-boundaries geography geojson region-boundaries world-boundaries

world-geojson's People

Contributors

alexgouget avatar b-jazz avatar bnf avatar georgique avatar njrbailey avatar tvedeane avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

world-geojson's Issues

What is the coordinate system ?

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.

Data Source and License

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:

  1. What's the license? Is it MIT?
  2. Can you reveal the original data source?
  3. How did you produce the split regions? (If there are any missing then I would want to use a similar technique/tools and contribute them back to the repository).

Thanks in advance :)

Coordinates for some countries are incorrect

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

JavaScript import into JS file

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:

  1. Is it intentional that these are .geojson files?
  2. Are you planning on making the other .json files into .geojson?
  3. Do you like the idea of allowing the files to be imported in this way?
  4. If you would rather not have this feature in this project, would you be happy for me to make a separate package which allows this feature somehow?

Thank you very much for your time!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.