Monday, May 16, 2022

Geo Sentences

My life is about to get a lot easier.

I waste many, many hours every week editing geographical data in geojson.io. This process often involves having to painstakingly delete individual polygons and lines on an interactive map in order to create a smaller GeoJSON file containing only the geographic features that I actually require. Another time intensive activity I often struggle with is trying to merge two different GeoJSON files into one.

Both of these tasks I can now complete using Hans Hack's new Geo Sentences tool. Hopefully saving me many hours of my working week. Essentially Geo Sentences can take separate GeoJSON files and remove, share dissolve or repair information from the separate geographical data files. 

In the screenshot at the top of this post you can see the GeoJSON file I created by asking Geo Sentences to "Remove the UK from Europe". I created this map of Europe without the UK by uploading two GeoJSON files to Geo Sentences. One file had the geographic border of the UK. The other file contained the borders of all European countries (including the UK). By asking Geo Sentences to "Remove the UK from Europe" I was able to simply and quickly create a brand new GeoJSON file of all European countries except the UK.

Geo Sentences comes with a number of demo GeoJSON files already included. It also provides a number of example sentences which you can use to manipulate your geographical data using these demo GeoJSON files. You can therefore get a very quick understanding about each of the features provided by Geo Sentences by just testing each of the suggested examples sentences with the demo data.

No comments: