From 88d6de26a0e55430414b05e9d4d08a7a68102684 Mon Sep 17 00:00:00 2001 From: Nemael <100dragons@gmail.com> Date: Tue, 6 Oct 2020 16:14:19 +0200 Subject: Improved the parser file and added some more comments, created a readme.txt file to explain LocationsParser.rb --- doc/import/readme.txt | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 doc/import/readme.txt (limited to 'doc/import/readme.txt') diff --git a/doc/import/readme.txt b/doc/import/readme.txt new file mode 100644 index 0000000..b534433 --- /dev/null +++ b/doc/import/readme.txt @@ -0,0 +1,10 @@ +The script LocationsParser.rb creates a file named "Locations.json", which contains all the points from the Concertes and Dewey database. +It parses the .csv files from the Concertes folder and the .json files from the Dewey folder. +To run it: + ruby parser.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 -- cgit v1.2.3