onaio / gisida

JavaScript library that converts MapSpec layers to beautiful, interactive maps using Mapbox GL
http://gisida.onalabs.org/
Apache License 2.0
11 stars 3 forks source link

Create a GISIDA site for UNICEF Pacific for SPA for Kiribati #371

Closed msschroeder closed 4 years ago

msschroeder commented 4 years ago

Requestor: Megan - UNICEF Pacific - SPA

Description We need to set up a new GISIDA site for a client.

Create the following layers:

NOTE: Eventually, we may want to add a Canopy Dashboard to the GISIDA site (not sure if that is helpful information)

Shapefiles: https://drive.google.com/file/d/1qG6cx0f2RsRe4xnJEVU8uFiJS2RS277C/view?usp=sharing NOTE: I am not sure these are what you need. If they do not work, please let me know. I looked at the files and don't look completely correct?

Dependencies No dependencies

Priority 7-8

Timeline Feb 1st - There is not a huge rush. But it would be nice to get going

kahummer commented 4 years ago

@msschroeder @cKellyDesign The provided geodata isn't in the format we can work with. We have sourced geometries from hdx but we still have an issue when generating centroids fro this geometries. can we get shapefiles from the clients. This are the errors we get


Feature (6) has invalid geometry and has been skipped. Please fix the geometry or change the Processing setting to the "Ignore invalid input features" option.
Feature (7) has invalid geometry and has been skipped. Please fix the geometry or change the Processing setting to the "Ignore invalid input features" option.
Feature (15) has invalid geometry and has been skipped. Please fix the geometry or change the Processing setting to the "Ignore invalid input features" option.
Feature (16) has invalid geometry and has been skipped. Please fix the geometry or change the Processing setting to the "Ignore invalid input features" option.
Feature (18) has invalid geometry and has been skipped. Please fix the geometry or change the Processing setting to the "Ignore invalid input features" option.
Feature (21) has invalid geometry and has been skipped. Please fix the geometry or change the Processing setting to the "Ignore invalid input features" option.
Feature (27) has invalid geometry and has been skipped. Please fix the geometry or change the Processing setting to the "Ignore invalid input features" option.
Feature (30) has invalid geometry and has been skipped. Please fix the geometry or change the Processing setting to the "Ignore invalid input features" option.
Feature (32) has invalid geometry and has been skipped. Please fix the geometry or change the Processing setting to the "Ignore invalid input features" option.
Feature (33) has invalid geometry and has been skipped. Please fix the geometry or change the Processing setting to the "Ignore invalid input features" option.``` when generating the centroids
kelvin-muchiri commented 4 years ago

Experiencing problems currently with the shapefiles. Geometries seem to be invalid.

msschroeder commented 4 years ago

The first set of shapefiles was from the client. Is there a specific shape file we need from the client - what part?

On Thu, Jan 23, 2020 at 4:52 PM Kelvin Muchiri notifications@github.com wrote:

Experiencing problems currently with the shapefiles. Geometries seem to be invalid.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/onaio/gisida/issues/371?email_source=notifications&email_token=AE6QXSGUODNA2RXIXURGQKDQ7GOIZA5CNFSM4KEEFU42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJXNVMQ#issuecomment-577690290, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE6QXSFPMBAV5G4A7N7JB4TQ7GOIZANCNFSM4KEEFU4Q .

--

Megan Schroeder

Senior Manager - Support and M&E

http://bit.ly/2aeOueY

http://bit.ly/2ckhfuf http://bit.ly/2csSdWW http://bit.ly/2bYdtWl Get your free Ona account http://bit.ly/2buoC12

kelvin-muchiri commented 4 years ago

@msschroeder A shapefile is of a specific format and must have a couple of mandatory files (https://desktop.arcgis.com/en/arcmap/10.3/manage-data/shapefiles/what-is-a-shapefile.htm). Technically among the files, the one we are interested in has a .shp extension for each administrative boundary.

Unless there is a conversion that we can do to achieve that which I am not aware of that would help us work with the files shared.

mberg commented 4 years ago

Please search humdata.org to see if we can find boundaries for Kiribati

On Fri, Jan 24, 2020 at 5:58 PM Kelvin Muchiri notifications@github.com wrote:

@msschroeder https://github.com/msschroeder A shapefile is of a specific format and must have a couple of mandatory files ( https://desktop.arcgis.com/en/arcmap/10.3/manage-data/shapefiles/what-is-a-shapefile.htm). Technically among the files, the one we are interested in has a .shp extension.

Unless there is a conversion that we can do to achieve that I am not aware of.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/onaio/gisida/issues/371?email_source=notifications&email_token=AAAOEQJBMA5TE3UJCWKXFF3Q7L6Y7A5CNFSM4KEEFU42YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEJ3BQIA#issuecomment-578164768, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAOEQLTKLMLJW7TFKSO6BDQ7L6Y7ANCNFSM4KEEFU4Q .

kelvin-muchiri commented 4 years ago

We checked the shapefiles at hdx https://data.humdata.org/dataset/kiribati-administrative-level-0-2-boundaries though there seems to be a problem with the geometries. The data also seems to be quite fresh, (Uploaded 9 days ago) which I presume might be unstable and could be the cause.

kelvin-muchiri commented 4 years ago

I have found a tool that tries to fix the geometries. Let me check if it helps

kelvin-muchiri commented 4 years ago

@msschroeder So Kiribati is extremely very small and the islands are very sparse. The whole country cannot be presented in one view. We had a discussion and a proposal is to have a user select a region like how lotfa works; but then the regions for Kiribati, in this case, will have to be the islands (32 islands). Would you please advise?

kelvin-muchiri commented 4 years ago

This is the whole country https://spa-kiribati.onalabs.org/ Screenshot from 2020-01-24 20-02-15

kelvin-muchiri commented 4 years ago

This is a single island zoomed in at 3 km Screenshot from 2020-01-24 20-27-12

kelvin-muchiri commented 4 years ago

@msschroeder Done: https://spa-kiribati.onalabs.org/