mapbox / mapbox/csv2geojson

option to include a geojson field

Open
#14 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
373
Forks
80
PR merge metrics
No merged PRs in 30d

Description

I have several datasets that include a column with a geojson field, like this dataset

https://recursos-data.buenosaires.gob.ar/ckan2/barrios/barrios.csv

In this case it's not a point, but a Multipolygon

it could be great if you could add and option to import that column, too

BTW, is there some other way to save shapes in a csv file?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by importing the linked Buenos Aires barrios.csv dataset and inspect how csv2geojson currently handles columns containing GeoJSON. Determine the existing conversion entry point and whether a GeoJSON Multipolygon column can be preserved; done means the option is documented and the resulting output retains the shapes. No test file or source path is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.