MassGIS Import Tag Cleanup 2013

From OpenStreetMap Wiki
Jump to navigation Jump to search

This is the top level page for several small projects that will cleanup many tagging issues from the numerous 2009/2010 MassGIS imports.

Step 1 - Completed September 2013

In 2009 user crschmidt imported 290,000 buildings around Boston. An example changeset. Three tags were used.

The area tag is not needed for building and the source tag's URL is broken.

The proposal is to run an automated edit to remove the area=yes tag and source tag. The source tag will be replaced with a source tag on the changeset.

The changeset tags

  • comment = Remove redundant area tag and fix broken URL in source tag on imported buildings from 2009/2010, see MassGIS Import Tag Cleanup 2013 wiki page.
  • source = MassGIS Data - Building Footprints (2-D, from 2002 LiDAR data)
  • bot=yes

Buildings that have the area tag but not the source tag will be in a separate changeset, uploaded in josm.

The changeset tags

  • comment = Remove redundant area tag on buildings, see MassGIS Import Tag Cleanup 2013 wiki page.
  • bot=yes

The idea of starting with this change is to focus on the software review, and avoid any potential difficult tagging discussions.

The email thread discussing phase 1 is here.

The jremillard-massgis import account will be used for uploaded the osc files.

Files

Step 2 - Completed October 2013

This proposal will do the following edits to all natural=water ways in MA OSM.

  • Remove all of the massgis:*** tags.
  • Remove the area tag.
  • Move the source tag to the changeset, and remove the broken URL.
  • If possible, insert a name= tag, from the massgis:PALIS_ID

The goal is to bring all of the lakes, and ponds in MA to a consistent tagging scheme (tagging done by normal mapping).

In 2010 all of the lakes, ponds, and wetlands around Boston and Cape Cod were imported from two different sources.

The first source, the MassGIS wetland layer was imported as follows.

  • area= yes
  • massgis:IT_VALC= OW
  • massgis:IT_VALDESC= OPEN WATER
  • massgis:OBJECTID= 59466
  • massgis:PALIS_ID= 96165
  • massgis:POLY_CODE= 6
  • massgis:SOURCE= DEP-WCP
  • massgis:SOURCE_SCA= 12000
  • massgis:WETCODE= 9
  • natural: water
  • source: DEP Wetlands (1:12,000) - April 2007 (http://www.mass.gov/mgis/wetdep.htm)

Would turn into

  • natural: water
  • name: Lawrence Pond

and on the changeset.

  • source: MassGIS - DEP Wetlands (1:12,000) - April 2007

The second water import was from the MassGIS open space layer, mostly of reservoirs. It was imported as follows.

  • access = restricted
  • area = yes
  • landuse = reservoir
  • massgis:ARTICLE97 = 1
  • massgis:ASSESS_ACR = 0.00000000
  • massgis:ASSESS_LOT = D1
  • massgis:ASSESS_MAP = 13
  • massgis:ATT_DATE = 1995/08/03
  • massgis:COMMENTS = FROM MDC QUABBIN COVERAGES
  • massgis:DCAM_ID = 0
  • massgis:DEED_ACRES = 0.00000000
  • massgis:EOEAINVOLV = 1
  • massgis:FEESYM = DCRW
  • massgis:FEE_OWNER = DCR - Division of Water Supply Protection
  • massgis:FY_FUNDING = 0
  • massgis:LEV_PROT = P
  • massgis:OS_DEED_BO = 0
  • massgis:OS_DEED_PA = 0
  • massgis:OS_ID = 257-2159
  • massgis:OWNER_ABRV = DCRW
  • massgis:OWNER_TYPE = S
  • massgis:POLY_ID = 2159
  • massgis:PRIM_PURP = W
  • massgis:PUB_ACCESS = L
  • massgis:TOWN_ID = 257
  • source=MassGIS OpenSpace (http://www.mass.gov/mgis/osp.htm)
  • natural = water
  • owner = Dcr - Division Of Water Supply Protection
  • ownership = state
  • protected = perpetuity
  • water = reservoir

Would look like this after the edit.

  • owner = Dcr - Division Of Water Supply Protection
  • water=reservoir
  • access=restricted
  • landuse=reservoir
  • natural=water
  • ownership=state
  • protected=perpetuity

on the changeset

  • source = MassGIS - Protected and Recreational OpenSpace - 2010

The PALIS_ID table is http://www.mass.gov/anf/research-and-tech/it-serv-and-support/application-serv/office-of-geographic-information-massgis/datalayers/wbs2010.html MassGIS Data - MassDEP 2010 Integrated List of Waters (305(b)/303(d)) documented]. It is a hard decision on what to do with the PALIS_ID. However, the consensus in the OSM MA mapping is not to maintain the PALIS_ID in OSM.

The change comment will be

  • comment=Look up name from PALIS_ID, remove unneeded area tag, remove massgis tags, and move broken source tag to the changeset. See "MassGIS Import Tag Cleanup 2013" wiki page for details.

The code for this step is here.

Step 3,4,5, etc

  • Open space import tag cleanup. Too many massgis::* tags.
  • Land use import tag cleanup. Too many massgis::* tags.
  • Road import. Using import=* tag and source=* tags on every road node. The width tag was imported in feet, not meters.