Sarah Hoffmann
19edbd3581
send address interpolation import to correct postgres conn
2017-04-18 22:11:58 +02:00
Sarah Hoffmann
166737fb76
also use address column for word count computation
2017-04-18 22:11:09 +02:00
Christian von Roques
b6be33cded
explicitly name columns at INSERT
2017-04-18 13:36:02 +02:00
Christian von Roques
c80637b05c
deduplicate words: do not look for duplicates in empty partitions
2017-04-15 19:12:25 +02:00
Christian von Roques
3ec67b9193
update: getPostgresVersion requires a database connection
2017-04-15 19:12:25 +02:00
Christian von Roques
40debbc7b5
with PHP7 the result of new() can no longer be assigned by reference
2017-04-15 19:12:25 +02:00
Christian von Roques
ccecabfbf4
correct warm.php --search-only help text
2017-04-15 19:12:25 +02:00
Sarah Hoffmann
1e30e578e0
Merge pull request #700 from lonvia/structured-address-info
...
Move address information into hstore column
2017-04-13 22:12:19 +02:00
Sarah Hoffmann
29e9683293
update osm2pgsql (structured addresses and new libosmium)
2017-04-11 21:29:10 +02:00
Sarah Hoffmann
8138729aea
use centroid for near feature search on rank 30
...
Rank 30 has some very large geometries (peninsulas, time zones,
etc.) for which a near feature search for the full geometry is
too expensive, so do the search on the centroid only.
2017-04-09 23:12:35 +02:00
Sarah Hoffmann
9bb81731f8
fix operator precedence for hstore
2017-04-09 10:06:31 +02:00
Sarah Hoffmann
050b0a2ced
remove street and addr_place columns in placex
...
The information is onyl needed for parenting,
so no need to store it permanently.
2017-04-08 19:58:10 +02:00
Sarah Hoffmann
3bb903cf92
Remove street and addr_place from location_property_osmline
...
Derived columns are not needed because parent information is
always computed from scratch. So the columns are just duplicate
information.
Also get address information on nodes from address columns. The
other columns are not necessarily reliable when the node have not
been indexed yet.
2017-04-08 19:58:10 +02:00
Sarah Hoffmann
41afcaddd5
adapt more BDD tests to hstore
2017-04-08 19:58:09 +02:00
Sarah Hoffmann
8c7fa0213f
fix DB bd tests for address hstore
2017-04-08 19:57:36 +02:00
Sarah Hoffmann
49b5e4dbad
adapt osm2pgsql tests for new address column
2017-04-08 18:58:26 +02:00
Sarah Hoffmann
c8e79397f5
introduce address column for place tables
...
The column is a hstore containing the full OSM tag with key and
value.
2017-04-08 18:58:26 +02:00
Sarah Hoffmann
43eedfd253
abort osmline update correctly when way nodes are missing
...
Fixes #695 .
2017-03-30 22:14:47 +02:00
Sarah Hoffmann
ee1b25820e
Merge pull request #690 from ImreSamu/fix_install_sql_warnings
...
fix table/sequence ... does not exist
2017-03-27 22:41:52 +02:00
ImreSamu
193cf66328
fix sql warnings
...
* ERROR: sequence "seq_postcodes" does not exist
* ERROR: table "import_polygon_error" does not exist
* ERROR: table "import_polygon_delete" does not exist
* ERROR: sequence "file" does not exist
2017-03-27 01:02:29 +02:00
Sarah Hoffmann
77e55fade2
Merge pull request #683 from lonvia/more-url-function
...
Factor out moreurl computation
2017-03-23 18:25:09 +01:00
Sarah Hoffmann
09f1661638
move moreURL computation into Geocode and include all params
...
Fixes #678 .
2017-03-23 00:16:58 +01:00
Sarah Hoffmann
e841422b1f
remove unused code
2017-03-22 23:02:19 +01:00
Sarah Hoffmann
97ade7dd7e
Merge pull request #682 from mtmail/update-docs
...
update docs/*.md based on vagrant/*.sh
2017-03-21 20:54:52 +01:00
marc tobias
e24f53cb34
update docs/*.md based on vagrant/*.sh
2017-03-21 13:16:29 +01:00
Sarah Hoffmann
62b7b76662
Merge pull request #680 from mtmail/git-submodule-hint
...
Update CMakeLists.txt
2017-03-21 12:44:10 +01:00
mtmail
c7434264ae
Update CMakeLists.txt
...
Ran into the issue this morning.
`git submodules` => `git submodule`
2017-03-21 12:34:24 +01:00
Sarah Hoffmann
026081e131
Merge pull request #676 from mtmail/html-map-position-box-disappeared
...
On /search.php the map-position box disappeared behind the map tiles
2017-03-20 20:19:41 +01:00
Sarah Hoffmann
47586fd861
Merge pull request #674 from mtmail/leaflet-image-path-changed
...
leaflet 1.0 changed the path of the marker icon
2017-03-20 20:18:29 +01:00
marc tobias
8e79ece203
On /search.php the map-position box disappeared behind the map tiles
2017-03-20 15:38:12 +01:00
marc tobias
a23bd80a31
leaflet 1.0 changed the path of the marker icon
2017-03-20 12:27:48 +01:00
Sarah Hoffmann
f4a86ff4c4
Merge pull request #671 from mtmail/html-view-use-geojson-geometries
...
Html view use geojson geometries
2017-03-19 22:53:22 +01:00
Marc Tobias Metten
73c151b3ac
update leaflet CSS file as well. Fixes delayed layer animation
2017-03-19 22:38:23 +01:00
Sarah Hoffmann
0a10be6586
Merge pull request #669 from lonvia/address-part-on-intersect
...
Add all intersecting boundaries to address list for roads
2017-03-19 21:50:45 +01:00
Marc Tobias Metten
1e3bf9729e
for search,details in format=HTML return geometry in geojson, not wkt. No longer need leaflet-omnivore plugin
2017-03-19 17:31:00 +01:00
Marc Tobias Metten
924d3a8d6e
update leaflet.js 0.7.7 => 1.0.3
2017-03-19 15:53:52 +01:00
Marc Tobias Metten
2a07bb8a7f
remove obsolete openlayers theme files
2017-03-19 15:50:00 +01:00
Sarah Hoffmann
b3186d07f5
for roads add all intersecting boundaries to address list
...
When roads cross boundaries, both administrative entities should
be added to the address list, so that both entities can be used
for searching. Also allows in a second step to better sort out
addresses of POIs on such roads.
Fixes #121 .
2017-03-18 12:17:48 +01:00
Sarah Hoffmann
ecee3828b3
Merge pull request #667 from lonvia/refactor-nearpoint
...
Factor out near point into class
2017-03-18 09:25:07 +01:00
Sarah Hoffmann
a64f992092
Merge pull request #668 from lonvia/warn-on-missing-osm2pgsql
...
cmake: add a more explicit hint when osm2pgsql is missing
2017-03-18 09:24:47 +01:00
Sarah Hoffmann
5682d1688d
cmake: add a more explicit hint when osm2pgsql is missing
...
Fixes #642 .
2017-03-17 23:05:06 +01:00
Sarah Hoffmann
57b35654e7
fix style
2017-03-17 22:36:22 +01:00
Sarah Hoffmann
a67edd328e
Merge pull request #665 from openstreetmap/lonvia-patch-1
...
add unzip tool to requirements for Tiger imports
2017-03-17 22:08:01 +01:00
Sarah Hoffmann
20a4cab57e
add tests for nearpoint sql functions
2017-03-16 22:12:20 +01:00
Sarah Hoffmann
ab3b556144
use NearPoint class in Search array
2017-03-16 22:04:30 +01:00
Sarah Hoffmann
1649191ffd
adapt unit tests for new NearPoint type
2017-03-15 23:58:51 +01:00
Sarah Hoffmann
41fce277cd
make NearPoint its own class
2017-03-15 23:47:35 +01:00
Sarah Hoffmann
39c4c7fce8
add unzip tool to requirements for Tiger imports
...
Fixes #663
2017-03-15 20:44:06 +01:00
Sarah Hoffmann
3a696e1895
Merge pull request #661 from mtmail/travis-ci-badge
...
add travis-ci badge ("build passing") to README file
2017-03-12 14:00:11 +01:00
Sarah Hoffmann
a793f698f3
Merge pull request #660 from mtmail/new-github-URL
...
github.com/twain47 => github.com/openstreetmap
2017-03-12 13:59:11 +01:00