Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Script to convert .gdb to geoJSON #30

Closed
dhruv-1001 opened this issue Jan 27, 2024 · 7 comments · Fixed by #86
Closed

Add Script to convert .gdb to geoJSON #30

dhruv-1001 opened this issue Jan 27, 2024 · 7 comments · Fixed by #86
Assignees

Comments

@dhruv-1001
Copy link
Collaborator

Description

This issue tracks progress on adding script that converts .gdb files to .geoJSON

Implementation Details

1. Define the Script

  • Task: Design how the script will work.
  • Details: List out how the script will read - parse - convert the .gdb data to required geoJSON. Data to be parse is defined in this issue Village data collection #28.
  • Approval: This needs to be reviewed and approved before proceeding with implementation.

2. Add the script & Raise a PR

  • Task: Implementing the script
  • Details: The script should be able to perform all that is defined in step 1 of implementation details. And the output should be stored inside of <project_root>/geojson-data/
  • Dependence: This step is contingent upon the approval of the Script

Expected Outcomes

  • Have a script, that can fetch parse data from the data repository, and store it in a meaningful way that can be used by the server, inside of geojson-data folder. Rest of the file structure should be mimicked from the repository the data is fetched from.

Product Name

GeoIP

Project Name

GeoIP

Organization Name

SamagraX

Domain

NA

Tech Skills Needed

Node JS

Category

Feature

Mentor(s)

@ChakshuGautam

Complexity

Medium

@35C4n0r
Copy link
Collaborator

35C4n0r commented Feb 1, 2024

@dhruv-1001 I'll try and raise a PR for this, I'm hoping this would work https://github.com/calvinmetcalf/fileGDB.js

@dhruv-1001 dhruv-1001 pinned this issue Feb 1, 2024
@ChakshuGautam
Copy link
Owner

Hey @35C4n0r are you working on this?

@35C4n0r
Copy link
Collaborator

35C4n0r commented Feb 3, 2024

Yup, I'll start working on this by tomorrow.

@35C4n0r
Copy link
Collaborator

35C4n0r commented Feb 4, 2024

@ChakshuGautam https://github.com/calvinmetcalf/fileGDB.js works as expected.
Just one thing, all the GDB FIles will be in the structure of

server/geojson-data/indian_village_boundaries.zip
    uttar_pradesh
        AGRA.zip
        ALIGARH.zip
        PRAYAGRAJ.zip

After which we read and parse the files one by one -> convert it to geoJSON and store it like

server/geojson-data/indian_village_boundaries
    uttar_pradesh
        AGRA.goeJSON
        ALIGARH.geoJSON
        PRAYAGRAJ.geoJSON

Am I right, or do we want the output structure to be different?

@dhruv-1001
Copy link
Collaborator Author

Hey @35C4n0r, that's right. You can go on with this.

Copy link

Hi!
Important Details - These following details are helpful for contributors to effectively identify and contribute to tickets.

  • Sub-Category - Please mention the sub-category if any for the ticket

Please update the ticket

@Viswaraje
Copy link

@dhruv-1001 I am interested to contribute to the issues in the repository.Could you please assign issues to solve ?Thanks
I am a full stack enthusiast and would love to work on the issues in the repository.Please assign me the issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants