{"id":13557814,"url":"https://github.com/timwaters/cloud_mapping","last_synced_at":"2025-04-23T23:15:43.054Z","repository":{"id":28009281,"uuid":"31503840","full_name":"timwaters/cloud_mapping","owner":"timwaters","description":null,"archived":false,"fork":false,"pushed_at":"2015-08-13T13:21:24.000Z","size":31768,"stargazers_count":6,"open_issues_count":3,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-23T23:15:35.137Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/timwaters.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-03-01T17:20:51.000Z","updated_at":"2019-07-08T16:22:54.000Z","dependencies_parsed_at":"2022-09-02T11:11:50.376Z","dependency_job_id":null,"html_url":"https://github.com/timwaters/cloud_mapping","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timwaters%2Fcloud_mapping","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timwaters%2Fcloud_mapping/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timwaters%2Fcloud_mapping/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/timwaters%2Fcloud_mapping/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/timwaters","download_url":"https://codeload.github.com/timwaters/cloud_mapping/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250528900,"owners_count":21445519,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-01T12:04:33.788Z","updated_at":"2025-04-23T23:15:43.022Z","avatar_url":"https://github.com/timwaters.png","language":"Python","funding_links":[],"categories":["Python","others"],"sub_categories":[],"readme":"Cloud Mapping - New Cloud Atlas\n\nOSM tile rendering.\n\nChanging style in Kosmtik\n\nnode index.js serve ../cloud_mapping/osm-bright/osm-bright/project.mml\n\nExport as mapnik xml for use with the tilestashe\nand commit the xml file\n\nRunning tilestache locally\n\n./scripts/tilestache-server.py  -c tilestache.cfg`\n\nViewing it in a browser\n\nhttp://localhost:8080/cloud/#6/54.144/-4.373\n\nImport planet\n\nConvert an osm.pbf file to an o5m file\n\n./osmconvert  planet-latest.osm.pbf -o=planet.o5m\n\nfilter the o5m file to an .osm file\n\n./osmfilter planet.o5m --parameter-file=cloud_mapping/osmfilter_params.txt \u003e planet.filtered.osm\n\n\nimport the .osm file into the database using the custom osm2pgsql Style\n\n osm2pgsql --slim -d gis planet.filtered.osm -S cloud_mapping/default.style\n\n\n Replication then\n\n ensure planet is updated\n\n get changes from osmosis\n\n osmosis --read-replication-interval-init\n\n change url in configuration.txt \n get state.text and put it in the data dir\n \n vim state.txt\n \n osmosis --read-replication-interval  --simplify-change --write-xml-change changes.osc.gz\n\n import changes.osc.gz using osm2pgsql\n \n osm2pgsql -d gis -S default.style -s -C 800 -a changes.osc.gz -e10-19 -o expire_e10-19.list\n\n where e10-19 is the zoom levels\n \n Then process list to get ALL the tiles\n \n ruby expand_expire_list.rb expire_e10-19.list \u003e expanded_expire_list.list\n\n use tilestache clean script to delete the tiles\n\n tilestache-clean.py --config=tilestache.cfg --tile-list=expanded_expire_list.list --layer=ALL\n \n \n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimwaters%2Fcloud_mapping","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftimwaters%2Fcloud_mapping","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftimwaters%2Fcloud_mapping/lists"}