MassGis Layer Openspace

From OpenStreetMap Wiki
Jump to: navigation, search

MassGIS

Contents

Open and Recreational Space

This about the OPENSPACE layer of the MassGIS datasets.

The definitive MassGIS Open and Recreational Space page has a pointer to the files one can download, and a table of the layer-specific fields.

Things which it would be useful to add in here:

Mapping

There is a lot of metadata in this layer which does not obviously map onto the OSM key/value pairs.

Mappings into Map_Features or Tagwatch/Descriptions.

Code

http://svn.openstreetmap.org/applications/utils/import/shp2osm/polyshp2osm.py

Usage: python polyshp2osm.py -s 10 -o 40000 -l osm/open open_4326.shp

Generated 43 files; manually de-duped using JOSM.

Uploading files using a wrapper around bulk_import: http://svn.openstreetmap.org/applications/utils/import/bulk_import/

 #!/bin/sh
 for i in $1/*.osm; do
 
   J=0;
   while [[ $J < '5' ]]; do
     J=$((J+1))
     echo "$J: $i"
     perl bulk_upload.pl -u crschmidt@crschmidt.net -p password -a http://www.openstreetmap.org/api/0.5/ -i $i
   done
 done

Checked out bulk_import directory, checked out http://svn.openstreetmap.org/applications/utils/perl_lib/ inside of it, and edited the path in bulk_impot 'use lib' line.

Todo

Typo in conversion code resulted in 'conservation_rganization', which will need to be fixed once the data is all uploaded.

Typo in conversion code resulted in 'landuse=resevoir'.

The following ways still contain the "resevoir" typo but are too large to edit without splitting first:

More short names fixed, at r13107

Names to fix:

People

Similar projects

OSM Environmental#Green space

Personal tools
Namespaces
Variants
Actions
site
Toolbox