3 ms·
Excellent video! Learnt a few new tricks that I'll use in future. I find just by trying something I discover a new use. A good example the other day was I nee
by dwd 3y ago
Excellent video! Learnt a few new tricks that I'll use in future.
I find just by trying something I discover a new use.
A good example the other day was I needed to convert a spreadsheet of addresses into GeoJSON to use as a map layer. Being in a particularly lazy mood I decided to see how well ChatGPT would handle it.
As a first step I gave it one pair of lat/long and asked it to convert the deg/min to decimal. No problem, showed all the workings.
I then gave it all the whole lat/long column and said not to show workings and it output that fine.
I then created a sample JSON structure with placeholders and said I will provide a data set to populate the structure and to use the column names for replacing the placeholders.
Dropped in the data and it generates the JSON perfectly.
What was interesting is that it redid the lat/long conversion and also incremented an id property I didn't mention without prompting. Was quite impressed with that.