Permalink
Browse files

Update paths with new app-specific locations.

  • Loading branch information...
dracos committed Dec 5, 2014
1 parent fee95c6 commit c49c9a4332f5f305f247328ad4b343721d93ab70
Showing with 6 additions and 6 deletions.
  1. +3 −3 import/norway.md
  2. +3 −3 import/uk.md
View
@@ -22,7 +22,7 @@ Here are the basic instructions to install data from OSM:
./manage.py mapit_NO_import_osm \
--commit ../../data/cache/*.kml
./manage.py mapit_import_area_unions \
- --commit data/norway/regions.csv
+ --commit mapit_no/data/regions.csv
./manage.py mapit_generation_activate --commit
Please see below for information on where osm_to_kml gets its OSM data from.
@@ -55,7 +55,7 @@ Alternatively, here are the basic instructions to install the N5000 data:
# --region-id-field 1 --region-name-field 2 --country O \
# --commit ../data/norway/kommune2fylke.csv
./manage.py mapit_import_area_unions \
- --commit data/norway/regions.csv
+ --commit mapit_no/data/regions.csv
./manage.py mapit_generation_activate --commit
You should now be able to go to /point/4326/10.756389,59.949444 and have Oslo
@@ -79,5 +79,5 @@ in the mapit web pages and JSON data, while the other names are stored in the
database.
The kommune and fylke number (ID) is fetched from a the tag 'ref' in OSM, and
-if it is missing a static list of such IDs in mapit/data/norway/ids.csv is
+if it is missing a static list of such IDs in mapit_no/data/ids.csv is
consulted using the name (for fylke) or name+fylke (for kommune) as the key.
View
@@ -28,7 +28,7 @@ Here are the basic instructions to install OS OpenData and ONSPD:
./manage.py mapit_generation_create --commit --desc "Initial import."
./manage.py loaddata uk
./manage.py mapit_UK_import_boundary_line \
- --control=mapit.controls.first-gss --commit \
+ --control=mapit_gb.controls.first-gss --commit \
`\ls ../data/Boundary-Line/Data/*.shp|\grep -v high_water`
# (You can run without --commit to do a dry run.)
# first-gss in the above assumes the Boundary Line you're importing
@@ -85,7 +85,7 @@ You probably don't need any of that for your own install.
{% highlight bash %}
# Create inactive generation.
./manage.py mapit_UK_import_boundary_line \
- --control=mapit.controls.2009-10 \
+ --control=mapit_gb.controls.2009-10 \
`\ls ../../data/Boundary-Line/2009-10/*.shp|\grep -v high_water`
./manage.py mapit_UK_import_codepoint \
../../data/Code-Point-Open-2010-05/*.csv
@@ -94,7 +94,7 @@ You probably don't need any of that for your own install.
./manage.py mapit_UK_scilly ../../data/Code-Point-Open-2010-05/tr.csv
# Make generation active, add another inactive generation
./manage.py mapit_UK_import_boundary_line \
- --control=mapit.controls.2010-05 \
+ --control=mapit_gb.controls.2010-05 \
`\ls ../../data/Boundary-Line/2010-05/*.shp|\grep -v high_water`
# mapit_UK_import_codepoint not needed as it's the same
# and there's no P-in-P tests!

0 comments on commit c49c9a4

Please sign in to comment.