Organised Editing/Activities/City of Castle Pines, CO US

From OpenStreetMap Wiki
Jump to navigation Jump to search

City of Castle Pines CO US

The City of Castle Pines in the US state of Colorado wishes to help maintain data in OSM for its city using a combination of city staff and local OSM volunteers.

Rationale

As OSM is used in more and more apps, it is important to the city that information in OSM is up-to-date and reasonably complete so that citizens and visitors are well served. For example, having accurate addresses may aid in making deliveries to our residents, for example by Amazon.

Contact

You can contact OSM mapper System-users-3.svgtekim (on osm, edits, contrib, heatmap, chngset com.) if you have any questions.

Community Consultation

We will be contacting the community through the appropriate channel.

Hashtag

We've asked our contributors to use the hashtag #cityofcastlepines with their edits.

Timeframe

We're expecting activities to continue indefinitely. We want to keep the data for our city up to date in OSM.

Specific Projects

Address Update

Preparation

  • This section explains how we prepared the data for the 2024-02-21 update, and how we intend to prepare the data for future updates
  • Download the latest addresses from the State of Colorado from here in File Geodatabase Format, save as Master_Address_Public.zip
  • Unzip Master_Address_Public.zip to Master_Address_Public.gdb
  • The above data is licensed as Public Domain (on the above website, click "Show More" and scroll to the bottom of the page).
  • Use Overpass to download the current OpenStreetMap addresses for Castle Pines
    • Enter the following as the query at overpass-turbo.eu
      [out:xml][timeout:25];
      nwr["addr:city"="Castle Pines"];
      out meta;
      
    • Click "Export"
    • Click "download" next to "raw OSM data"
    • Save as "existing.osm" in your working directory
    • The above may contain addresses outside of the City of Castle Pines (at least the Castle Pines in which we are interested), and that is ok. It is only going to be used to exclude addresses that already exist, so if there are a few extra, that will not cause a problem.
  • Download co_addr_prep.py and addr_prep.conf from https://github.com/MikeTho16/OSM_addr
  • Execute command to convert to OSM schema and filter out existing addresses
    $ python co_addr_prep.py Master_Address_Public.gdb/Douglas CastlePines.osm --city "Castle Pines" --existing existing.osm
    
  • For review, the 2024-02-21 data can be found here
  • Download split_osm_addr_by_street.py from https://github.com/MikeTho16/OSM_addr
  • Execute command to split the address file so that each street has its own file
    $ python split_osm_addr_by_street.py CastlePines.osm out_directory
    
  • Create Maproulette Cooperative Challenge
    • Install the Maproutette command line utilities as explained here
    • Generate the JSON file for the cooperative challenge
      $ mr cooperative change --out mr_addrs.json --bijective ./out_directory/*.osm
      
    • For review, the output of the above command is here
    • Goto https://maproulette.org/ and log in.
    • Click your username in the upper right corner and click "Create & Manage"
    • Click on "Add Project" or click on an existing project
    • Click "Add Challenge"
    • Cick radio button for "I want to upload a GeoJSON file", drag-drop mr_addrs.json file to the indicated location.
    • Fill in the rest of the required information to create the challenge
    • Specify a hashtag of #cityofcastlepines

Adding Data

  • This section contains the instructions for actually adding the data to OSM
  • Make sure you have JOSM running (cooperative challenges only work with JOSM), have remote control enabled, and have the mapwithai plugin installed.
  • Goto the MR challenge
  • Click "Start"
  • Click "Edit"
  • Data will be loaded into JOSM
  • Verify each address against available imagery and local knowledge
  • Move the address node to the center of the main building for the address
  • If an address already exists in OSM, but has a slightly different tagging (e.g. existing address doesn't have an addr:unit=* tag), merge as long as there is no conflict in the tagging, otherwise create a fixme=* tag and research using other city records and on the ground survey.
  • If another mapper has previously tagged a building with an address, update as explained above if necessary, but otherwise leave it as is and do not add a node for that address
  • Run JOSM validator. With the mapwithai plugin installed, this will verify that the address matches a nearby street

Participants

Our core team consists of the following OSM users: