'\" -*- coding: us-ascii -*- .if \n(.g .ds T< \\FC .if \n(.g .ds T> \\F[\n[.fam]] .de URL \\$2 \(la\\$1\(ra\\$3 .. .if \n(.g .mso www.tmac .TH spatialite_osm_overpass 1 "05 March 2018" "" "" .SH NAME spatialite_osm_overpass \- download OSM XML via the Overpass API into a SpatiaLite DB .SH SYNOPSIS 'nh .fi .ad l \fBspatialite_osm_overpass\fR \kx .if (\nx>(\n(.l/2)) .nr x (\n(.l/5) 'in \n(.iu+\nxu [\fB-h\fR] [\fB-d\fR \fIpathname\fR] [\fB-minx\fR \fIcoord\fR] [\fB-maxx\fR \fIcoord\fR] [\fB-miny\fR \fIcoord\fR] [\fB-maxy\fR \fIcoord\fR] [\fB-o\fR \fIURL\fR] [\fB-mode\fR \fImode\fR] [\fB-cs\fR \fInum\fR] [\fB-m\fR] [\fB-jo\fR] [\fB-p\fR] 'in \n(.iu-\nxu .ad b 'hy .SH DESCRIPTION \fBspatialite_osm_overpass\fR is a tool for downloading OSM datasets via the Overpass API into a SpatiaLite DB. .SH OPTIONS .TP \*(T<\fB\-h\fR\*(T>, \*(T<\fB\-\-help\fR\*(T> show help message .TP \*(T<\fB\-d\fR\*(T> \fIpathname\fR, \*(T<\fB\-\-db\-path\fR\*(T> \fIpathname\fR the SpatiaLite DB path .TP \*(T<\fB\-minx\fR\*(T> \fIcoord\fR, \*(T<\fB\-\-bbox\-minx\fR\*(T> \fIcoord\fR BoundingBox - west longitude .TP \*(T<\fB\-miny\fR\*(T> \fIcoord\fR, \*(T<\fB\-\-bbox\-miny\fR\*(T> \fIcoord\fR BoundingBox - east longitude .TP \*(T<\fB\-maxx\fR\*(T> \fIcoord\fR, \*(T<\fB\-\-bbox\-maxx\fR\*(T> \fIcoord\fR BoundingBox - south longitude .TP \*(T<\fB\-maxy\fR\*(T> \fIcoord\fR, \*(T<\fB\-\-bbox\-maxy\fR\*(T> \fIcoord\fR BoundingBox - north longitude .PP you can specify the following options as well .TP \*(T<\fB\-o\fR\*(T> \fIURL\fR, \*(T<\fB\-\-osm\-service\fR\*(T> \fIURL\fR URL of OSM Overpass service: http://overpass-api.de/api (default) http://overpass.osm.rambler.ru/cgi http://api.openstreetmap.fr/oapi .TP \*(T<\fB\-mode\fR\*(T> \fImode\fR, \*(T<\fB\-\-mode\fR\*(T> \fImode\fR one of: RAW / MAP (default) / ROAD / RAIL .TP \*(T<\fB\-cs\fR\*(T> \fInum\fR, \*(T<\fB\-\-cache\-size\fR\*(T> \fInum\fR DB cache size (how many pages) .TP \*(T<\fB\-m\fR\*(T>, \*(T<\fB\-\-in\-memory\fR\*(T> using IN-MEMORY database .TP \*(T<\fB\-jo\fR\*(T>, \*(T<\fB\-\-journal\-off\fR\*(T> unsafe (but faster) mode .TP \*(T<\fB\-p\fR\*(T>, \*(T<\fB\-\-preserve\fR\*(T> skipping final cleanup (preserving OSM tables)