https://github.com/astro/democropticon
My Open Data Playground
https://github.com/astro/democropticon
Last synced: 9 months ago
JSON representation
My Open Data Playground
- Host: GitHub
- URL: https://github.com/astro/democropticon
- Owner: astro
- Created: 2013-07-24T21:40:02.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2016-02-25T23:14:42.000Z (over 10 years ago)
- Last Synced: 2025-05-14T18:11:22.377Z (about 1 year ago)
- Language: JavaScript
- Size: 3.45 MB
- Stars: 2
- Watchers: 3
- Forks: 0
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Setup instructions
## Get data
Run [Mic's Scraper](https://github.com/Mic92/ratsinfo-scraper) and make data available:
```sh
ln -s .../ratsinfo-scraper/data .
```
Next, convert PDFs to Text:
```sh
./pdftotext.sh
```
Extract addresses with **osm-addrs** or alternatively get [the Dresden dataset](http://astro.github.io/democropticon/dresden.json).
Finally, use **locate-documents** to create `locations.json` files.
## Setup Elasticsearch
Go figure.
## es-upload
### Install script dependencies
```sh
npm i
```
### Upload data into elasticsearch
```sh
node upload.js data
```
## ratskarte2 server
### Install script dependencies
```sh
npm i
```
### Run webserver
```sh
node server.js
```