Quick workflow to setup and cut an osm file with a polygon file
##install osmconvert
wget -O - http://m.m.i24.cc/osmconvert.c | cc -x c - -lz -O3 -o osmconvert
##move it to bin folder
cp osmconvert /usr/local/bin/osmconvert
Quick workflow to setup and cut an osm file with a polygon file
##install osmconvert
wget -O - http://m.m.i24.cc/osmconvert.c | cc -x c - -lz -O3 -o osmconvert
##move it to bin folder
cp osmconvert /usr/local/bin/osmconvert
# | |
Simply modify the three following strings for node, ways and relations | |
newer than="2013-05-28T00:00:00Z | |
This script is for statistics. For example, it does not extract all nodes from a way if only one node is modified, since the way object and other nodes are not affected. | |
If you want only the nodes, you only keep the first section of the script where the nodes are extracted. | |
The polygon-query bounds is to clip the CAP103 area, extracting info only for this area. |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
This page describes how to install, setup and configure all the necessary software to operate your own tile server. The step-by-step instructions are written for Ubuntu Linux 12.04 LTS (Precise Pangolin), however they should transfer fairly straightforwardly to other versions of Ubuntu or Linux distributions.
##Software installation The OSM tile server stack is a collection of programs and libraries that work together to create a tile server. As so often with OpenStreetMap, there are many ways to achieve this goal and nearly all of the components have alternatives that have various specific advantages and disadvantages. This tutorial describes the most standard version that is also used on the main OpenStreetMap.org tile server.
This guide covers installation of osm2pgsql, loading a PostgreSQL/PostGIS database, and rendering tiles for an online webmap.The database can also be used to [develop stylesheets], or render data with other software.
Before starting you want t
A curated list of awesome PHP frameworks, libraries and software. | |
* [laravel/laravel](https://github.com/laravel/laravel) - A PHP Framework For Web Artisans | |
* [symfony/symfony](https://github.com/symfony/symfony) - The Symfony PHP framework | |
* [bcit-ci/CodeIgniter](https://github.com/bcit-ci/CodeIgniter) - Open Source PHP Framework (originally from EllisLab) | |
* [domnikl/DesignPatternsPHP](https://github.com/domnikl/DesignPatternsPHP) - sample code for several design patterns in PHP | |
* [fzaninotto/Faker](https://github.com/fzaninotto/Faker) - Faker is a PHP library that generates fake data for you | |
* [yiisoft/yii2](https://github.com/yiisoft/yii2) - Yii 2: The Fast, Secure and Professional PHP Framework | |
* [composer/composer](https://github.com/composer/composer) - Dependency Manager for PHP |
#!/bin/bash | |
## Install vim | |
apt-get update | |
apt-get upgrade | |
apt-get install vim | |
# Read from ext repository | |
echo 'deb http://packages.dotdeb.org jessie all' >> /etc/apt/sources.list | |
echo 'deb-src http://packages.dotdeb.org jessie all' >> /etc/apt/sources.list |
<?php | |
/** | |
* Gather all data from Caldera Forms submission as PHP array | |
*/ | |
add_action( 'caldera_forms_submit_complete', 'slug_process_form', 55 ); | |
function slug_process_form( $form ) { | |
//put form field data into an array $data | |
$data= array(); | |
foreach( $form[ 'fields' ] as $field_id => $field){ |
{"lastUpload":"2020-12-04T18:15:47.938Z","extensionVersion":"v3.4.3"} |
license: mit |