You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -51,8 +51,8 @@ The behaviour of gnaf-loader can be controlled by specifying various command lin
51
51
52
52
#### Optional Arguments
53
53
*`--srid` Sets the coordinate system of the input data. Valid values are `4283` (the default: GDA94 lat/long) and `7844` (GDA2020 lat/long).
54
-
*`--geoscape-version` Geoscape version number in YYYYMM format. Defaults to current year and last release month. e.g. `202405`.
55
-
*`--previous-geoscape-version` Previous Geoscape release version number as YYYYMM; used for QA comparison. e.g. `202402`.
54
+
*`--geoscape-version` Geoscape version number in YYYYMM format. Defaults to current year and last release month. e.g. `202408`.
55
+
*`--previous-geoscape-version` Previous Geoscape release version number as YYYYMM; used for QA comparison. e.g. `202405`.
56
56
*`--raw-gnaf-schema` schema name to store raw GNAF tables in. Defaults to `raw_gnaf_<geoscape_version>`.
57
57
*`--raw-admin-schema` schema name to store raw admin boundary tables in. Defaults to `raw_admin_bdys_<geoscape_version>`.
58
58
*`--gnaf-schema` destination schema name to store final GNAF tables in. Defaults to `gnaf_<geoscape_version>`.
@@ -69,7 +69,7 @@ The behaviour of gnaf-loader can be controlled by specifying various command lin
69
69
*`--no-boundary-tag` DO NOT tag all addresses with some of the key admin boundary IDs for creating aggregates and choropleth maps.
70
70
71
71
### Example Command Line Arguments
72
-
* Local Postgres server: `python load-gnaf.py --gnaf-tables-path="C:\temp\geoscape_202405\G-NAF" --admin-bdys-path="C:\temp\geoscape_202405\Administrative Boundaries"` Loads the GNAF tables to a Postgres server running locally. GNAF archives have been extracted to the folder `C:\temp\geoscape_202405\G-NAF`, and admin boundaries have been extracted to the `C:\temp\geoscape_202405\Administrative Boundaries` folder.
72
+
* Local Postgres server: `python load-gnaf.py --gnaf-tables-path="C:\temp\geoscape_202408\G-NAF" --admin-bdys-path="C:\temp\geoscape_202408\Administrative Boundaries"` Loads the GNAF tables to a Postgres server running locally. GNAF archives have been extracted to the folder `C:\temp\geoscape_202408\G-NAF`, and admin boundaries have been extracted to the `C:\temp\geoscape_202408\Administrative Boundaries` folder.
73
73
* Remote Postgres server: `python load-gnaf.py --gnaf-tables-path="\\svr\shared\gnaf" --local-server-dir="f:\shared\gnaf" --admin-bdys-path="c:\temp\unzipped\AdminBounds_ESRI"` Loads the GNAF tables which have been extracted to the shared folder `\\svr\shared\gnaf`. This shared folder corresponds to the local `f:\shared\gnaf` folder on the Postgres server. Admin boundaries have been extracted to the `c:\temp\unzipped\AdminBounds_ESRI` folder.
74
74
* Loading only selected states: `python load-gnaf.py --states VIC TAS NT ...` Loads only the data for Victoria, Tasmania and Northern Territory
75
75
@@ -117,8 +117,8 @@ Should take 15-60 minutes.
117
117
- A knowledge of [Postgres pg_restore parameters](https://www.postgresql.org/docs/14/app-pgrestore.html)
118
118
119
119
### Process
120
-
1. Download the [GNAF dump file](https://minus34.com/opendata/geoscape-202405/gnaf-202405.dmp) or [GNAF GDA2020 dump file](https://minus34.com/opendata/geoscape-202405-gda2020/gnaf-202405.dmp) (~2.0Gb)
121
-
2. Download the [Admin Bdys dump file](https://minus34.com/opendata/geoscape-202405/admin-bdys-202405.dmp) or [Admin Bdys GDA2020 dump file](https://minus34.com/opendata/geoscape-202405-gda2020/admin-bdys-202405.dmp) (~2.8Gb)
120
+
1. Download the [GNAF dump file](https://minus34.com/opendata/geoscape-202408/gnaf-202408.dmp) or [GNAF GDA2020 dump file](https://minus34.com/opendata/geoscape-202408-gda2020/gnaf-202408.dmp) (~2.0Gb)
121
+
2. Download the [Admin Bdys dump file](https://minus34.com/opendata/geoscape-202408/admin-bdys-202408.dmp) or [Admin Bdys GDA2020 dump file](https://minus34.com/opendata/geoscape-202408-gda2020/admin-bdys-202408.dmp) (~2.8Gb)
122
122
3. Edit the _restore-gnaf-admin-bdys.bat_ or _.sh_ script in the supporting-files folder for your dump file names, database parameters and for the location of pg_restore
123
123
5. Run the script, come back in 15-60 minutes and enjoy!
124
124
@@ -127,11 +127,11 @@ Geoparquet versions of the spatial tables, as well as parquet versions of the no
127
127
128
128
Geometries have WGS84 lat/long coordinates (SRID/EPSG:4326). A sample query for analysing the data using [Apache Sedona](https://sedona.apache.org/), the spatial extension to [Apache Spark](https://spark.apache.org/) is in the `spark` folder.
129
129
130
-
The files are here: `s3://minus34.com/opendata/geoscape-202405/geoparquet/`
130
+
The files are here: `s3://minus34.com/opendata/geoscape-202408/geoparquet/`
131
131
132
132
### AWS CLI Examples:
133
-
- List all datasets: `aws s3 ls s3://minus34.com/opendata/geoscape-202405/geoparquet/`
134
-
- Copy all datasets: `aws s3 sync s3://minus34.com/opendata/geoscape-202405/geoparquet/ <my-local-folder>`
133
+
- List all datasets: `aws s3 ls s3://minus34.com/opendata/geoscape-202408/geoparquet/`
134
+
- Copy all datasets: `aws s3 sync s3://minus34.com/opendata/geoscape-202408/geoparquet/ <my-local-folder>`
0 commit comments