diff options
-rw-r--r-- | doc/import/README.md | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/doc/import/README.md b/doc/import/README.md index 92108a3..ba4c23e 100644 --- a/doc/import/README.md +++ b/doc/import/README.md @@ -5,20 +5,24 @@ SPDX-License-Identifier: CC-BY-SA-4.0 --> ## Parsing Resources - -The script `parser.rb` creates a file named `Locations.geojson`, which contains -all the points from the ConcertES and Dewey Maps databases. It parses the .csv -files from the Concertes folder and the .json files from the Dewey folder. To -run it: `ruby parser.rb` +The three scripts `ParserDewey.rb`, `ParserConcertes.rb` and `ParserPotagers.rb` parse .csv and .json files containing map data from Maps Dewey, ConcertES and the Ceinture Alimentaire de Bruxelles and transforms it inot a .geojson file. +To run it: + `ruby ParserDewey.rb` + `ruby ParserConcertes.rb` + `ruby ParserPotagers.rb` +Each parser creates a corresponding file: + `LocationsDewey.rb` + `LocationsConcertes.rb` + `LocationsPotagers.rb` The main files it uses are: + Concertes/20200312_EntreprisesSignaletique.csv which contains the name of the points from the Concertes data + Concertes/20200312_EntreprisesCoordonnees.csv which contains the coordinates of the points from the Concertes data +and + Dewey/dewey-maps-markers.json which contains the data of the points from the Dewey data +and + potagers_merged_spjoined_ar2_1.csv.diff -- `Concertes/20200312_EntreprisesSignaletique.csv` which contains the name of - the points from the Concertes data -- `Concertes/20200312_EntreprisesCoordonnees.csv` which contains the coordinates - of the points from the Concertes data and -- `Dewey/dewey-maps-markers.json` which contains the data of the points from the - Dewey data ## Importing to Database |