csv2geojson icon indicating copy to clipboard operation
csv2geojson copied to clipboard

option to include a geojson field

Open opensas opened this issue 12 years ago • 3 comments

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?

opensas avatar Aug 22 '13 13:08 opensas

Hmm, where do these datasets come from? While it's great for csv2geojson to handle 90% of the ways you can do 'geospatial data in a columnar file' this might be tending towards the infinitely-many remainder of 10% cases.

tmcw avatar Aug 22 '13 13:08 tmcw

thanks for your prompt reply. It's the data portal of the city of buenos aires.

I think ckan preview (recline) supports it out of the box (you can give it a try here, just click on map)

I find it simply and clear, but like you said I don't find mush support for it.

Any simple and standard format to represent geospatial data in csv you can recommend me?

(just asked about it at schoolofdata: http://ask.schoolofdata.org/question/173/most-simple-way-to-publish-geo-data-information-in-a-dataset/)

I think geojson in a text column is simple and pretty readable, but I don't find many tools supporting it.

If you think it's worth the effort, I might give this feature a try.

opensas avatar Aug 22 '13 14:08 opensas

Similarly I have come across some CSV files that have Well Known Text as a column. Not sure if it makes sense to support these directly, but perhaps exposing a custom parsing function for a column might be an option to consider.

rbrundritt avatar Jan 14 '19 23:01 rbrundritt