Simple implementation of GeoJSON object model in Pharo.
Metacellonewbaseline:'GeoJSON';
repository:'github://zweidenker/GeoJSON';
load.Select and inspect the following expression:
| urlfile |
url :='https://github.com/mgaitan/departamentos_argentina/raw/master/departamentos-argentina.json'.
ZnClientnew
systemPolicy;
url: url;
numberOfRetries:2;
maximumEntitySize:1024*1024*1024;
signalProgress:true;
contentReader: [ : entity |GeoJSONReaderfromString: entity contents ];
get