Skip to content

RABA-KGZ split scripts for OpenStreetMap import

Notifications You must be signed in to change notification settings

openstreetmap-si/RabaSplitForOSM

 
 

Repository files navigation

Raba split for OpenStreetMap import

These scripts prepare the RABA-KGZ source shapefile into form suitable for import into OpenStreetMap, by performing these actions:

  • Re-project source from Gauss-Krueger/D48 into EPSG:4326 (aka ETRS89, WGS84) using GeoCoordinateConverter
  • Split the reprojected shapefile into smaller 2x3 km sections as defined in split grid, manage-able for import
  • Dissolve (join) neighboring polygons of same type into one
  • Tag the splits with OpenStreetMap tags directly as defined in mapping table.
  • Hack the produced shapefile to include 11-character fieldname and special character (namely "source:date" and "raba:id" OSM tags)
  • Zip all the parts of shapefile for import using JOSM with opengeodata plugin
  • Optional: use JOSM remote control via dedicated raba.openstreetmap.si website (source in git) to perform import

Requirements

Usage

  1. Run the main script:

    ./prepareSource.sh
  2. Wait an hour for the script to finish - for best results just put it in cron and enjoy .

More info

Credits

About

RABA-KGZ split scripts for OpenStreetMap import

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%