csv-to-geojson icon indicating copy to clipboard operation
csv-to-geojson copied to clipboard

Prevent quotes around certain properties

Open kpennell opened this issue 9 years ago • 2 comments

I have a unix time stamp as a date property in my geojson. With the quote around the timestamp, it can't read it right (fairly obvious). Same with currency. Is there a way to keep certain properties from having quotes around them?

Thanks, btw, for this.

kpennell avatar Mar 22 '15 21:03 kpennell

Hi @kpennell, can you please post a snippet of the geojson in question?

Thanks, Gavin

gavinr avatar Mar 22 '15 23:03 gavinr

Thanks, Gavin. Awesome tool.

sample:

There was no quotes around the date timestap or price. Any ideas how to change this so integers don't get quotes?

{ "type":"Feature", "geometry":{ "type":"Point", "coordinates":[ -122.4103922, 37.78252331 ] }, "properties":{ "venue":"venue", "venue_url":"www.website.com", "id":"show30", "date":"1429498800000", "artist":"artist", "artist_url":"http://www.sts.com", "price":"52", "ticket_url":"www.test.com", "tags":"Alternative Rock", "stream_url":"stream.url", "artwork_url":""http://test.com"" } },

On Sun, Mar 22, 2015 at 5:30 PM, Gavin Rehkemper [email protected] wrote:

Hi @kpennell https://github.com/kpennell, can you please post a snippet of the geojson in question?

Thanks, Gavin

— Reply to this email directly or view it on GitHub https://github.com/gavinr/csv-to-geojson/issues/5#issuecomment-84732705.

kpennell avatar Mar 25 '15 02:03 kpennell