aboutsummaryrefslogtreecommitdiff
path: root/mock_data/README.md
diff options
context:
space:
mode:
authorKumar Damani <damani.kumar@gmail.com>2019-03-08 21:49:14 +0000
committerGitHub <noreply@github.com>2019-03-08 21:49:14 +0000
commitb254c15754fbcf00457167e6c51dc0e3bfcc083f (patch)
tree0551307e42ddb0bc25003092ef3c19c6615c2fe8 /mock_data/README.md
parent97ae21bf83fb04526269442e2fa3954d99d18665 (diff)
parent7586a38438925f89b2979e724e73d4fabeb76111 (diff)
Merge pull request #15 from csc301-winter-2019/mockdata
generated some mockdata
Diffstat (limited to 'mock_data/README.md')
-rw-r--r--mock_data/README.md14
1 files changed, 14 insertions, 0 deletions
diff --git a/mock_data/README.md b/mock_data/README.md
new file mode 100644
index 0000000..edd5445
--- /dev/null
+++ b/mock_data/README.md
@@ -0,0 +1,14 @@
+# This file contains information about how we populated the database with existing points for development and testing purposes.
+
+CSV file generated using https://www.mapdevelopers.com/geocode_tool.php and manually clicking various parts of the city to give us coordinates of those points.
+
+Then the python script `gen_geojson.py` created json objects and pushed it up to the database to populate the `dumbpointscollection`.
+
+Then the scripts also reads this from the database and dumps into a .json file. Cuz why not?
+
+> DO NOT RUN THIS FILE ON ACTUAL DATABASE WITHOUT CREATING A BACKUP FIRST. You can change the db used by un/commenting out the line where the uri is passed into the `MongoClient` on line 6 and 7.
+
+# Requirements to run the python script
+
+1. pymongo
+2. dnspython