Coder Social home page Coder Social logo

faeldon / philippines-json-maps Goto Github PK

View Code? Open in Web Editor NEW
87.0 87.0 64.0 615.67 MB

Philippine administrative boundaries in geojson and topojson format at various resolution.

Home Page: https://james.faeldon.com/json-maps-of-philippine-administrative-boundaries

License: MIT License

Shell 100.00%

philippines-json-maps's Issues

Reading the Shapefiles with geopandas getting a driver error

First of all, thanks for providing this repository. I've been looking for something like this. However, I am having problems reading the shapefile with geopandas.

Description

geopandas readfile not recognizing a legit shape file

Steps to reproduce

  1. Attempt to read with geopandas.read_file() command:
    gpd.read_file('https://github.com/altcoder/philippines-psgc-shapefiles/blob/master/source/2015/Municities.zip')
  2. I get a driver error:
    DriverError: '/vsimem/dff0663a4e584987848e40266f6b73e8' not recognized as a supported file format.
  3. Searching google and stack overflow unfortunately did not produce useful clues.

Expected behavior
A GeoDataFrame object.

Missing `GeoJSON` prov files for `NCR`

Description

I trying to create an interactive map based from leaflet and I'm testing out this project of yours and I encounter a missing GeoJSON files particularly only for NCR region.

Steps to reproduce

  1. Click Region:
    image
  2. Click a province
    image
  3. Click a municities (on the picture below, I'm clicking NCR, Second District (Not a Province))
    image
  4. Checking console (checking console reveals that the geometry has 0 length array)
    image

Expected behavior
The expected output should show places/municities under the NCR region.

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.