Skip to content
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

Update SF Neighbourhood Records #316

Closed
stepps00 opened this issue Jun 3, 2016 · 12 comments
Closed

Update SF Neighbourhood Records #316

stepps00 opened this issue Jun 3, 2016 · 12 comments

Comments

@stepps00
Copy link
Contributor

stepps00 commented Jun 3, 2016

(See: this comment for most recent files)

Starting where #125 left off.

The current neighbourhood records in San Francisco need to be updated to reflect neighbourhood boundaries provided by the City of San Francisco. This, in turn, will require udates at the macrohood, neighbourhood, and microhood levels.

To do for each wof:placetype:

1. Macrohoods

A .geojson file with three macrohoods (Sunset, Richmond, and Downtown) was created with IDs (the IDs correspond to current neighbourhood records that should be promoted to macrohood records). This .geojson will be imported and the following will need to occur:

  • Find all "contained by" records and rebuild the hierarchy (in order of placetype).
  • Reindex the PIP server (PIP to PostGIS)

2. Updated Neighbourhoods

A .geojson file (with an ID field) was created for neighbourhood records that have new geometries. This .geojson will be imported and the following will need to occur:

  • Find all "contained by" records and rebuild the hierarchy (in order of placetype).
  • Reindex the PIP server (PIP to PostGIS)

3. New Neighbourhoods

A .geojson file (without an ID field) was created for new neighbourhood records that have not been assigned a current WOF ID. This .geojson will be imported and the following will need to occur:

  • Find all "contained by" records and rebuild the hierarchy (in order of placetype).
  • Reindex the PIP server (PIP to PostGIS)

4. Microhoods

A .geojson file (with an ID field) was created for current neighbourhood records that will be "demoted" to microhoods. The .geojson will be imported and the following will need to occur:

  • Find all "contained by" records and rebuild the hierarchy (in order of placetype).
  • Simple supersedes and supersedes_by updates
  • Reindex the PIP server (PIP to PostGIS)

These four .geojson files will be placed in the S3 WOF/misc bucket.

Additional one-offs (deprecating two records and updating parenting of two records that fall outside of San Francisco (Westlake and Fort Winfield Scott)) will occur in separate PR(s).

@stepps00
Copy link
Contributor Author

stepps00 commented Jun 3, 2016

Note: Consider adding a macrohood record for The Mission that parents the neighbourhood record of The Mission and other adjacent neighbourhoods of interest.

@stepps00
Copy link
Contributor Author

stepps00 commented Jun 3, 2016

(See: this comment for most recent files)

Macrohood, updated neighbourhood, new neighbourhood, and microhood geojson files are ready for import and are now in the S3 Dropbox

@nvkelso
Copy link
Contributor

nvkelso commented Jun 6, 2016

I'm fine with creating a new macrohood record for the Mission, let's make sure it's min_zoom shows up early.

@stepps00
Copy link
Contributor Author

stepps00 commented Jun 6, 2016

(See: this comment for most recent files)

New macrohood record for the Mission District was placed in the S3 Dropbox. This macrohood contains the neighbourhoods of the Mission District and Mission Dolores.

This new macrohood is different from the other macrohood records because it will need a new Brooklyn Integer; this record is not a current neighbourhood record that will be promoted to a macrohood.

Continuing the list above:

5. New macrohood

A .geojson file (without an ID field) was created for new a macrohood record that has not been assigned a current WOF ID. This .geojson will be imported and the following will need to occur:

  • Find all "contained by" records and rebuild the hierarchy (in order of placetype).
  • Reindex the PIP server (PIP to PostGIS)

@stepps00
Copy link
Contributor Author

stepps00 commented Jun 23, 2016

(See: this comment for most recent files)

Added in a sixth geojson file to the S3 Dropbox. The file contains four new microhood records with a wof:name field and parented_by id (when available).

@stepps00
Copy link
Contributor Author

New files are now in the S3 misc/Issue 316 folder; the comments above are no longer relevant.

All files will have the following attributes:

wof:id
wof:placetype
wof:name
wof:country
wof:parent_id

Notes about specific files in the S3 misc folder:

SF_Bad_Neighbourhood_Points.geojson

  • Contains neighbourhood points that are no longer current.
  • Includes edtf:cessation, wof:superseded_by and mz:is_current fields.

SF_Bad_Neighbourhood_Polygons.geojson

  • Contains neighbourhood polygons that are no longer current.
  • Includes edtf:cessation, wof:superseded_by and mz:is_current fields.

SF_Macrohoods.geojson

  • Contains new macrohood records for San Francisco.
  • min_zoom and max_zoom fields included for import.
  • This file was given lbl coordinates (from Mapshaper) for import.
  • Includes features with newly-minted Brooklyn Integers and features that already exist in WoF (but have had their placetypes changed from neighbourhood to macrohood).

SF_Microhoods.geojson

  • Contains new microhood records for San Francisco.
  • min_zoom and max_zoom fields included for import.
  • This file was given lbl coordinates (from Mapshaper) for import.
  • Includes features with newly-minted Brooklyn Integers and features that already exist in WoF (but have had their placetypes changed from neighbourhood to microhood).

SF_New_Neighbourhoods.geojson

  • Contains new neighbourhood records for San Francisco.
  • min_zoom and max_zoom fields included for import.
  • This file was given lbl coordinates (from Mapshaper) for import.
  • Includes features with newly-minted Brooklyn Integers.

SF_Updated_Neighbourhoods.geojson

  • Contains updated neighbourhood records for San Francisco.
  • Includes features that already have an existing wof:id.

The parent_id field is present in these geojson files, as are the wof:supersedes and wof:superseded_by fields. Descendant ids are not included.

@stepps00
Copy link
Contributor Author

Per #187:

GeoJSON files in this issue need to be updated to include neighbourhood and microhood work in SOMA. The following microhoods should fall within the "South of Market" neighbourhood record:

  • East SoMa
  • West SoMa
  • Financial District South
  • Rincon Hill
  • Showplace Square

Links:

@stepps00
Copy link
Contributor Author

stepps00 commented Mar 7, 2017

Reassigning myself for updates to SF records.

@stepps00
Copy link
Contributor Author

stepps00 commented Mar 9, 2017

Note to self: Import the new clipped locality shape as a new alt_geometry. Do not include it in the S3 files.

@nvkelso
Copy link
Contributor

nvkelso commented Mar 22, 2017

Please toss the new shapes into S3.

@stepps00
Copy link
Contributor Author

SF neighbourhood files are in the S3 misc/Issue 316 folder.

@stepps00
Copy link
Contributor Author

stepps00 commented Apr 4, 2017

Neighbourhood (and associated) features have been updated in SF, closing issue.

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

No branches or pull requests

3 participants