Last active
August 24, 2016 10:22
-
-
Save rbanick/28182ac65e9cf36e0abcbb69898a5cfb to your computer and use it in GitHub Desktop.
extracting data manually from OMK server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# easy way | |
https://github.com/AmericanRedCross/OpenMapKitServer/blob/master/docs/api.md | |
and then | |
http://everygoodusernameistaken.tumblr.com/post/52805666711/exporting-openstreetmap-roads-to-shapefile | |
# longer way | |
## tar the folder | |
tar -cvf osm_may24.tar * | |
## scp it down | |
scp [email protected]:/opt/omk/OpenMapKitServer/data/submissions/osm_may24.tar . | |
## older methods | |
## find and move all .osm files to the main submissions folder | |
## run this in the ao_data_assessment folder | |
sudo find ./ -name '*.osm' -exec cp {} . \; | |
## copy them to a new osm_may24 folder | |
## have to put things in a -c ' ' b/c the sudo blocsk the do | |
sudo sh -c 'for f in *.osm; do mv "$f" ./osm_may24; done' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment