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

Worldmap: Format/Add/Test Curated Target Layers #3477

Closed
22 tasks done
raprasad opened this issue Nov 17, 2016 · 9 comments
Closed
22 tasks done

Worldmap: Format/Add/Test Curated Target Layers #3477

raprasad opened this issue Nov 17, 2016 · 9 comments

Comments

@raprasad
Copy link
Contributor

raprasad commented Nov 17, 2016

Curated target layers to add for BARI

Steps for each layer:

  1. Add to WorldMap
  2. Specify as JoinTarget
  3. Test via GeoConnect interface
  4. correct column format, incorrect column format
    1. int -> char; char -> int; double -> int; int -> double
    1. update code as needed

Layer list

Full checklist at: google doc

For administrative layers:

Boston for now, but we want Massachusetts (or National) data

Boston specific data

  • BRA Neighborhood Statistical Areas 2015, Boston
  • BRA Planning Districts 2015, Boston
  • City Council Districts 2014, Boston
  • Election Precincts 2015, Boston
  • Election Wards 2015, Boston
  • Fire Districts 2015, Boston
    • Layer loaded as target
    • CHECK: Number are discontinuous: 1, 3, 4, 6, 7, 8, 9, 11, 12. Correct?
      • ok, same as dataverse archived file
  • ISD Neighborhoods 2015, Boston
  • Police Districts 2015, Boston
  • PWD Districts 2015, Boston
  • Addresses 2015, Boston
  • Parcels 2015, Boston moved to Worldmap: Add Boston Parcels Target Layer #3493
    • 11/22 - keeps hanging on upload
  • Roads 2015, Boston
  • Intersections 2015, Boston
    • City intersections
    • Census intersections
@raprasad
Copy link
Contributor Author

raprasad commented Nov 17, 2016

Election Precincts note:

  • In original format, precinct id is a "double" in WorldMap, not an "int"--although looks like an int with .00000 added
    • Currently double and int not joining.
    • Options:
      • [ ] Try reformat of orig. file? (Yes, easy 1st option)
      • [ ] Detect WorldMap "double" and do pandas convert (If same issue in other files)
    • Worked OK. Option
    • When target layer selected in Geoconnect, show user message about expected type. Expected type (numeric or character) already in geoconnect data from WM.

@raprasad
Copy link
Contributor Author

raprasad commented Nov 17, 2016

bug on dev side (leave for now):

@raprasad
Copy link
Contributor Author

For fire districts (and possibly BPA planning districts + election wards) there is truncated data. e.g. when downloading the .xls:

check with Ben re: DATA TRUNCATED MULTIPOLYGON

  • May be just message for Excel download. All data seems to be in postgis
DATA TRUNCATED MULTIPOLYGON (((746870.6151123643 2935873.384744346, 746973.7536856085 2935786.328816101, 747212.6042577773 2935584.6510698497, 747286.2008953542 29355
(etc, etc. for many, many lines)

@raprasad
Copy link
Contributor Author

raprasad commented Nov 22, 2016

Note: updating 3 layers to use versions in Dataverse 2015 BARI Regional Geographies: https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/PJ3JK2

@raprasad raprasad added ready and removed ready labels Nov 22, 2016
@raprasad
Copy link
Contributor Author

census layout (e.g. GEOID10): https://www.census.gov/geo/maps-data/data/tract_rel_layout.html

@raprasad
Copy link
Contributor Author

block groups (bg_id_10 in BARI file) are 12-digits FIPS codes that may have leading zeros:

fipscode_part4

(image source: https://www.policymap.com/blog/2012/08/tips-on-fips-a-quick-guide-to-geographic-place-codes-part-iii/)

raprasad added a commit to IQSS/geoconnect that referenced this issue Nov 28, 2016
@raprasad
Copy link
Contributor Author

raprasad commented Nov 28, 2016

Boston zip codes in. Correct mapping--including error. (Typo in error message covered in another ticket)

geoconnect__map_data

raprasad added a commit to IQSS/geoconnect that referenced this issue Nov 28, 2016
@djbrooke djbrooke added this to the 4.6.3 - Tabular Mapping milestone Dec 20, 2016
@raprasad raprasad removed their assignment Feb 1, 2017
@raprasad
Copy link
Contributor Author

raprasad commented Feb 1, 2017

  • No actual code to review. Discussed with @kcondon and moving to QA

  • NOTE: QA Dependent on configuration/installation of Dev Server which has a target date of 2/9

@kcondon
Copy link
Contributor

kcondon commented Feb 22, 2017

OK tested various available layers and they worked. Closing.

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