diff --git a/docs/intro.md b/docs/intro.md index 06f2b3f9..9e95c07a 100644 --- a/docs/intro.md +++ b/docs/intro.md @@ -62,9 +62,9 @@ On this project, we like our data in GeoJSON form. However, sometimes it isn't p Currently we use ogr2ogr, which comes as a package of tools designed to manipulate geographical data. Installing these tools can be annoying, so I use QGIS to install it for me. This is a graphical GIS manipulation that installs ogr2ogr along with a lot of other stuff. This is an example of the command you're working towards getting to run. We're running it in the directory with the files in that we want to transform. -`ogr2ogr -f GeoJSON -skipfailures scotland_and_wales.geojson scotland_and_wales_region.shp -t_srs "EPSG:4269"` +`ogr2ogr -f GeoJSON -skipfailures scotland_and_wales.geojson scotland_and_wales_region.shp -t_srs "EPSG:4326"` -`scotland_and_wales.geojson` is the output file. `scotland_and_wales_region.sh`p is the input file and `"EPSG:4269"` is the projection that mapbox uses, also known as web-mercator. +`scotland_and_wales.geojson` is the output file. `scotland_and_wales_region.sh`p is the input file and `EPSG:4326` is one of the most common projections in latitude-longitude format, also used for GPS, based on the WGS84 standard. Note that Mapbox uses a different projection, "Web Mercator" or `EPSG:3857`, so this may lead to slight innaccuracies in the shapes of lines between coordinates when visualised on the map. There isn't really an easy way to solve this, since we are trying to visualise the surface of a 3D ellipsoid on a 2D surface. ## Land Explorer Database @@ -78,4 +78,4 @@ Mapbox Studio contains custom tilesets that we use to host most of the common La ## Property Boundaries Database -The property boundaries database is a separate MySQL instance, used to store property boundary information originally from the Land Registry. The database is separate from the main LX database because of its size. \ No newline at end of file +The property boundaries database is a separate MySQL instance, used to store property boundary information originally from the Land Registry. The database is separate from the main LX database because of its size. diff --git a/scripts/deploy.sh b/scripts/deploy.sh index 6c9b087b..2497953e 100644 --- a/scripts/deploy.sh +++ b/scripts/deploy.sh @@ -14,7 +14,7 @@ git pull # Install dependencies # TODO: move to yarn v2 and zero-installs https://yarnpkg.com/features/zero-installs -yarn install +yarn install --frozen-lockfile # Bundle js, this takes 1-2 minutes yarn build