Giter VIP home page Giter VIP logo

Comments (9)

silva96 avatar silva96 commented on August 18, 2024

There are communes that are just one polygon and there are others (mainly the ones that involve little islands) that are multipolygons. Overall, they are pretty well shaped.

This is an example

{
  "type": "Feature",
  "geometry": {
    "type": "Polygon",
    "coordinates": [
      [
        [-70.57270999876738, -33.45890000173364],
        [-70.57286000118808, -33.45922000210135],
        [-70.57309000010338, -33.45971000221476],
        [-70.57331000035617, -33.460190000967714],
        [-70.57358999977862, -33.4607700007349],
        [-70.5739799988778, -33.461590000777846],
        [-70.57428000012186, -33.462240001974465],
        ... many other coordinates.
      ]
    ]
  },
  "properties": {
    "OBJECTID": 276,
    "CUT_REG": "13",
    "CUT_PROV": "131",
    "CUT_COM": "13120",
    "PROVINCIA": "Santiago",
    "COMUNA": "Ñuñoa",
    "REGION": "Metropolitana de Santiago"
  }
}

image

Number in CUT_PROV (province internal id) is composed of the CUT_REG id plus an autonumeric number that represents that Province inside that Region.

Same in Communes id (CUT_COM is CUT_PROV concatenated with an autonumeric id for that commune inside that province.

so Ñuñoa is the twentieth commune inside the first provinces of the thirteenth region of Chile

This would let us calculate boundaries as "Region boundaries (sum of province outer boundaries inside each region)" or "Province boundaries (sum of commune outer boundaries inside each province)" or just commune boundaries.

from ems-file-service.

nickpeihl avatar nickpeihl commented on August 18, 2024

Thank you for your interest @silva96.

We will release vector layers for each administrative level (region, province, commune). At the region administrative level we would include the ISO 3166-2 code and the CUT code as fields. At the province and commune levels we would include the CUT code as fields (there is no ISO code at this level). The province and commune boundaries are extremely detailed and will need to be simplified for display in Kibana.

I expect to release these layers in multiple phases.

Phase 1

  • Region layer

Phase 2

  • Province layer
  • Commune layer

from ems-file-service.

silva96 avatar silva96 commented on August 18, 2024

@nickpeihl

Great to hear that!, please let me know if you need anything from me.

from ems-file-service.

nickpeihl avatar nickpeihl commented on August 18, 2024

@silva96 Phase 1 is complete and Chile regions are now available from Elastic Maps Service.

from ems-file-service.

silva96 avatar silva96 commented on August 18, 2024

@nickpeihl, amazing. How do I access to them? Update kibana to latest?

from ems-file-service.

nickpeihl avatar nickpeihl commented on August 18, 2024

@silva96 They should already be available in all versions of Kibana. You can also see them at https://maps.elastic.co/#file/chile_regions.

from ems-file-service.

mnavarrocarter avatar mnavarrocarter commented on August 18, 2024

@nickpeihl Thanks a lot this awesome feature. I have one question: is there an api on Elastic's map service that I could use to consume that data?

from ems-file-service.

nickpeihl avatar nickpeihl commented on August 18, 2024

@mnavarrocarter The API is strictly governed by the Terms of Service limiting its use to only Elastic products.

However, the vector data itself is licensed as Open Data subject to the requirements of the OpenStreetMap OdBL license. You can download and re-use our vector data from https://maps.elastic.co. There is a "Download GeoJSON" button for each layer on that page.

from ems-file-service.

mnavarrocarter avatar mnavarrocarter commented on August 18, 2024

Ah great! I think the GeoJSON button will do! Thanks a lot!

from ems-file-service.

Related Issues (20)

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.