Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/zweidenker/geojson

Simple implementation of GeoJSON object model in pharo
https://github.com/zweidenker/geojson

Last synced: about 2 months ago
JSON representation

Simple implementation of GeoJSON object model in pharo

Awesome Lists containing this project

README

        

# Description

Simple implementation of GeoJSON object model in Pharo.

# Installation

```smalltalk
Metacello new
baseline: 'GeoJSON';
repository: 'github://zweidenker/GeoJSON';
load.
```

# Usage

Select and inspect the following expression:

```smalltalk
| url file |
url := 'https://github.com/mgaitan/departamentos_argentina/raw/master/departamentos-argentina.json'.
ZnClient new
systemPolicy;
url: url;
numberOfRetries: 2;
maximumEntitySize: 1024 * 1024 * 1024;
signalProgress: true;
contentReader: [ : entity | GeoJSONReader fromString: entity contents ];
get
```