Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zweidenker/geojson
Simple implementation of GeoJSON object model in pharo
https://github.com/zweidenker/geojson
Last synced: about 10 hours ago
JSON representation
Simple implementation of GeoJSON object model in pharo
- Host: GitHub
- URL: https://github.com/zweidenker/geojson
- Owner: zweidenker
- License: mit
- Created: 2017-01-19T10:57:23.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-10-27T12:31:09.000Z (about 3 years ago)
- Last Synced: 2024-04-24T07:14:47.168Z (7 months ago)
- Language: Smalltalk
- Size: 2.86 MB
- Stars: 5
- Watchers: 5
- Forks: 4
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```