Kelvin Wong
e0e812d09b
Reverted change on FIPS 35013 to remain ASCII
2016-01-04 23:10:01 +08:00
Kelvin Wong
7e8e952b66
Additional changes to FIPS code
...
See http://www2.census.gov/geo/docs/reference/codes/files/national_county.txt
2016-01-04 16:18:33 +08:00
Kelvin Wong
32c8dabefe
Updated FIPS map in utils/tigerAddressImport.py
...
See https://www.census.gov/geo/reference/county-changes.html
2016-01-04 15:34:00 +08:00
calimeroteknik
fb7d65b8c3
utils/update.php: use fail() whenever possible for errors
2015-12-07 14:08:02 +01:00
calimeroteknik
dbb1f5c0e2
utils/update.php: make the process exit with an non-zero error code if the update fails
2015-12-07 13:54:05 +01:00
Brian Quinion
347f8e57c7
Allow for postgis being in the default template - not an error if it already is installed
2015-10-07 14:44:59 +01:00
Sarah Hoffmann
f24b904f9a
don't use isset for bool options in setup.php
2015-09-27 11:09:55 +02:00
Sarah Hoffmann
0df8a4e24f
add more tables and an experimental warning to new --drop function
2015-09-27 11:00:45 +02:00
Frederik Ramm
b5c9845448
Add --drop option to setup.php
2015-09-26 01:41:19 +02:00
Sarah Hoffmann
fe3eb40e3a
disable multithreading in osm2pgsql
...
not really useful for gazetteer plugin and producing too much overhead
2015-08-29 13:14:11 +02:00
Sarah Hoffmann
5581bb67f8
respect --osm2pgsql-cache setting
...
fixes #260
2015-08-08 18:15:14 +02:00
Marc Tobias Metten
7c8c206818
new method /lookup.php - Reverse search by multiple osm ids
2015-06-16 21:11:21 +02:00
Sarah Hoffmann
bf77c72195
amke Tiger import script work with python3
2015-05-08 20:04:22 +02:00
Sarah Hoffmann
3257c04d94
make Tiger data path configurable
2015-05-08 19:48:27 +02:00
Marc Tobias Metten
3b809c40f1
update Tiger import script to use 2014 data
2015-05-04 01:13:20 +02:00
Marc Tobias Metten
3134fb8b40
update Tiger import script to use 2014 data
2015-05-04 01:07:54 +02:00
Sarah Hoffmann
48e0b318f2
remove create-road function, no longer used
...
The road tables are filled during indexing. Fixes #21 .
2015-05-03 19:56:08 +02:00
Sarah Hoffmann
0930f6e728
state setup: get latest node from place, planet_osm_nodes may be empty
2015-03-09 21:33:02 +01:00
Sarah Hoffmann
9e3e7bf791
switch remaining GRANTs to configurable web user
...
fixes #252
2015-03-05 21:55:20 +01:00
Sarah Hoffmann
f156da6b63
support tablespaces and www user config in tiger import
2015-01-11 13:44:39 +01:00
Sarah Hoffmann
3db64e7913
support tablespaces for special phrase table
2014-12-28 23:10:10 +01:00
Sarah Hoffmann
c391479c58
reorganise table creation
...
- remove unused tables
- make apache user configurable
- introduce configurable tablespaces
2014-12-02 00:05:21 +01:00
Sarah Hoffmann
04a20a2a0a
remove debug output
2014-11-28 22:16:56 +01:00
Sarah Hoffmann
6382b1c111
more tolerant regexp for parsing replication state directories
...
Apache 2.4 has changed the date format, so that the current regexp
doesn't match anymore, so be more tolerant with the date format.
Also force less fancy output formatting without tables.
2014-11-27 22:23:04 +01:00
Sarah Hoffmann
8f09b9378f
only check for postgres major and minor version
...
fixes #192
2014-10-29 21:04:28 +01:00
Sarah Hoffmann
2d6f00945a
rewrite address interpolation so that planet_osm_node is not needed
...
This allows address interpolations to work correctly when flatnode storage
is used for node coordinates.
To fix interpolations in an existing database, follow these steps:
* invalidate all interpolations (in psql):
`UPDATE placex SET indexed_status=2 WHERE rank_search = 28`
* disable updates:
./utils/setup.php --create-functions --create-partition-functions
* reindex the whole lot:
./utils/update.php --index --index-instances <number of your cpus>
* enable updates again:
./utils/setup.php --create-functions --enable-diff-updates --create-partition-functions
2014-10-05 22:16:02 +02:00
Sarah Hoffmann
a1a136778d
add finished message to setup.php
2014-09-29 19:31:37 +02:00
Brian Quinion
1d248ac86d
Make deduplicate work again. Only currently support 9.3 due to new postgresql functions added.
2014-06-30 17:49:24 +01:00
Sarah Hoffmann
6a5b5b3c36
revert error checking on pgsql restore
...
wikipedia dumps create expected errors on restore, fixes #142
2014-06-05 22:31:59 +02:00
Sarah Hoffmann
71883fc341
add setup option to ignore SQL errors
...
needed when restoring partial backups
2014-05-13 23:23:31 +02:00
Sarah Hoffmann
08b6fffc36
break out of write loop when psql fails
...
fixes hanging in --create-functions
2014-05-13 23:17:05 +02:00
Sarah Hoffmann
090e9e7fb6
make errors from psql in setup fatal
2014-04-13 16:09:27 +02:00
Sarah Hoffmann
e42ff1935f
forgot the actual query script
2014-03-03 21:48:17 +01:00
Sarah Hoffmann
cf35f19318
split gb_postcode in table creation and data loading
...
Data for gb_postcode now needs to be downloaded first.
Also fixes table creation for postgis 2.0.
2014-02-21 23:07:41 +01:00
Sarah Hoffmann
98b93df83d
recreate place objects when admin_level changes
...
Also added a sanity check to ensure that accidental removal of admin_level
tags on large areas doesn't cause huge reindexing load. That can be disabled
by setting CONST_Limit_Reindexing to false.
2014-02-07 23:37:54 +01:00
Sarah Hoffmann
e0b1e3b66d
replace ST_Line_Interpolate_Point with ST_LineInterpolatePoint (DB adaption needed)
...
Name of function was changed in postgis 2.1 and now prints ugly
deprecation warnings. For older versions of postgis, function
will be renamed to the new name during the setup of the DB.
To update existing databases with postgis < 2.1 run:
ALTER FUNCTION st_line_interpolate_point(geometry, double precision) RENAME TO ST_LineInterpolatePoint
and then reinstall the SQL functions:
./utils/setup.php --create-functions --enable-diff-updates --create-partition-functions
2014-02-07 20:10:14 +01:00
Brian Quinion
edc5733715
Script to automatically warm the postgresql query before sending traffic
2014-02-06 16:50:41 +00:00
Kurt Roeckx
45c1e7582f
Connect to the correct postgresql port from the settings.
2013-11-13 22:24:10 +01:00
Sarah Hoffmann
8675a2607a
use postgis as an extension for versions >= 2.0
2013-10-10 23:13:58 +02:00
IrlJidel
dbd7f8fdae
dont include polling time for batch duration for non-minutely updates, log name of each update step
2013-10-02 10:53:21 +01:00
IrlJidel
1c86275bad
output date of steps during import-osmosis
2013-09-30 13:44:50 +01:00
IrlJidel
84d1e521aa
show import_osmosis_log insert statements, print completed log after import_status inserts
2013-09-30 13:25:30 +01:00
IrlJidel
7471b09ed3
set start time for indexing step
2013-09-30 13:20:24 +01:00
Philippe
1c7afef1f2
added FIPS codes for 60xxx, 66xxx, 69xxx, 72xxx and 78xxx
2013-09-27 17:59:42 -04:00
Sarah Hoffmann
bf182ba2dc
make import-osmosis(-all) fail with error code!=0
2013-09-25 23:05:47 +02:00
Sarah Hoffmann
8332fedfd6
make sleep interval dependent on date of last batch
2013-09-19 22:56:55 +02:00
Brian Quinion
65ea0efe68
Remove stray exit from debug
2013-09-19 15:19:31 +01:00
Brian Quinion
120d866e3e
Sanity check on download.geofabrik.de update interval
2013-09-19 12:22:36 +01:00
Sarah Hoffmann
77b9edd1e9
allow osm2pgsql cache memory to be set for updates
2013-09-15 23:10:26 +02:00
Sarah Hoffmann
80b4121aca
allow setup without partitions
2013-09-15 22:45:47 +02:00