Skip to content

add psma download script #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

add psma download script #5

wants to merge 1 commit into from

Conversation

missinglink
Copy link
Contributor

@missinglink missinglink commented Aug 21, 2020

I added a script to download PSMA but I'm not fully understanding what's contained in it:

2011 ABS Mesh Blocks FEBRUARY 2013
2011 Indigenous Areas MAY 2012
2011 Indigenous Locations MAY 2012
2011 Indigenous Regions MAY 2012
2011 Remoteness Area MAY 2013
2011 SEIFA MAY 2013
2011 Significant Urban Area FEBRUARY 2013
2011 Urban Centre and Locality - Section of State FEBRUARY 2013
2016 ABS Indigenous Regions, Areas and Locations FEBRUARY 2017
2016 ABS Mesh Blocks and Statistical Areas NOVEMBER 2017
2016 Remoteness Area MAY 2018
2016 SEIFA MAY 2018
2016 Urban Centre and Locality - Section of State - Significant Urban Area MAY 2018
Commonwealth Electoral Boundaries AUGUST 2020
Documents
Local Government Areas AUGUST 2020
State Boundaries AUGUST 2020
State Electoral Boundaries AUGUST 2020
Suburbs - Localities AUGUST 2020
Town Points AUGUST 2013
Wards AUGUST 2020

I can't seem to find any names contained in the files, am missing something?

ogr2ogr \
  -f 'GeoJSON' \
  -t_srs 'crs:84' \
  /vsistdout/ \
  downloads/psma/PSMA\ Admin\ Boundaries\ -\ ESRI\ Shapefile/Administrative\ Boundaries/Local\ Government\ Areas\ AUGUST\ 2020/Standard/NSW_LGA_POLYGON_shp.shp \
    | jq '.features[] | .properties'

...

{
  "LG_PLY_PID": "3276",
  "DT_CREATE": "2019/08/29",
  "LGA_PID": "NSW329"
}
{
  "LG_PLY_PID": "3265",
  "DT_CREATE": "2019/08/29",
  "LGA_PID": "NSW331"
}
{
  "LG_PLY_PID": "3281",
  "DT_CREATE": "2019/08/29",
  "LGA_PID": "NSW268"
}

@missinglink
Copy link
Contributor Author

cc/ @NickStallman

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant