Sarah Hoffmann
25baaf530d
unify address details lookup
...
Introduces new AddressDetails class which is responsible
for address lookups. Saves always the complete result
and then allows filtering throught the different access
function. Remove special handling in Geocode() and use
there the lookup throught PlaceLookup() as well.
2018-07-10 23:54:35 +02:00
Sarah Hoffmann
320d488627
move ClassTypes into own namespace
...
Also adds some convenience functions for lookups.
2018-07-09 23:20:46 +02:00
Sarah Hoffmann
80a6751c51
make phpcs happy
2018-07-06 22:06:05 +02:00
Sarah Hoffmann
01d5ecb86b
use already existing address field in geocodejson
2018-07-06 21:58:41 +02:00
Sarah Hoffmann
f50f46c1ce
Merge branch 'geojson-output' of https://github.com/mtmail/Nominatim into mtmail-geojson-output
2018-07-06 20:26:33 +02:00
Sarah Hoffmann
ac29f8bc91
Merge branch 'better-reverse' of https://github.com/gemo1011/Nominatim into gemo1011-better-reverse
2018-07-02 21:33:27 +02:00
gemo1011
43ee4a8faf
changed parameters for lookup function in the reverse.php
2018-06-27 14:55:05 +02:00
gemo1011
ab5bcd6d2f
rebase
2018-06-27 14:55:05 +02:00
gemo1011
6b8c99a275
rebase
2018-06-27 14:55:03 +02:00
Marc Tobias Metten
5a17bfc9c9
display viewbox on map
2018-06-14 02:19:19 +02:00
Marc Tobias Metten
1d981b3171
update leaflet.js 1.0 => 1.3
2018-06-14 02:18:00 +02:00
Marc Tobias Metten
7a964efb3a
search/reverse/lookup with geojson,geocodejson output
2018-05-29 17:20:34 +02:00
Marc Tobias Metten
8841a328c8
add PHPCS Squiz.Arrays.ArrayDeclaration.KeyNotAligned rule
2018-05-08 00:37:41 +02:00
mtmail
7075a5828e
add JSON format to /status endpoint ( #1013 )
...
add JSON format to /status endpoint
2018-05-04 23:37:48 +02:00
mtmail
3087ac1145
PHP code style: enforce long array initialisation ( #1015 )
2018-04-13 13:18:29 +02:00
marc tobias
7a31a3d106
remove rank_search_label field
2018-04-12 22:02:24 +02:00
marc tobias
31c7f25541
rename parentof to hierarchy and other lonvia Mar/29 PR feedback
2018-04-12 22:02:24 +02:00
Marc Tobias Metten
0eb71cdce8
only return polygon if &polygon_geojson=1 is set
2018-04-12 22:01:10 +02:00
marc tobias
45bc511955
variable naming after lonvia PR feedback
2018-04-12 22:01:10 +02:00
marc tobias
dedf56b5f8
spacing changes after lonvia PR feedback
2018-04-12 22:01:10 +02:00
Marc Tobias Metten
1e28f2478c
details support json output
2018-04-12 22:01:10 +02:00
Sarah Hoffmann
984e91e519
Merge pull request #1003 from mtmail/details-permalink
...
details page: add a perma-link
2018-04-06 21:15:48 +02:00
marc tobias
4791fc341e
details page: move permalink next to page title
2018-04-06 17:45:25 +02:00
marc tobias
4743a5e166
details page: add a perma-link
2018-04-06 16:11:54 +02:00
marc tobias
908c66ca84
when looking for keywords on detail page a SQL bracket error was possible
2018-04-06 15:22:29 +02:00
marc tobias
27bc8d4f7b
replace PHP sizeof() with either count() or empty()
2018-03-22 12:36:24 +01:00
marc tobias
d23fa84471
remove the 2-minute offset hack from data date in HTML output
2018-03-14 16:42:41 +01:00
Marc Tobias Metten
88beeb7916
merge json and jsonv2 templates, they were very similar
2018-03-13 23:49:04 +01:00
Sarah Hoffmann
9712decefe
update URLs in code and documentation
...
Use https for all openstreetmap addresses, remove defunct
mapquest link and redirect documentation links to
nominatim.org.
2018-01-05 22:38:51 +01:00
Sarah Hoffmann
3d51c2a4e7
show by default all entries from the broken polygon list
...
Fixes #854 .
2017-12-17 17:29:08 +01:00
Marc Tobias Metten
c4e72e6ca9
UI: minimap causes main map not to initialize
2017-10-27 22:15:22 +02:00
Marc Tobias Metten
9f6f3dd75d
UI: minimap causes main map not to initialize
2017-10-27 22:13:47 +02:00
Marc Tobias Metten
6b994cb5ff
UI: minimap causes main map not to initialize
2017-10-27 22:06:48 +02:00
Sarah Hoffmann
6c1977b448
replace double-quoting with single quotes where applicable
2017-10-26 21:40:33 +02:00
Sarah Hoffmann
282c6777ee
use PlaceLookup::loadParamArray in search and lookup
2017-10-23 23:30:53 +02:00
Sarah Hoffmann
9981d74ee1
add loadParamArray function to PlaceLookup and use for reverse
2017-10-23 23:30:53 +02:00
Sarah Hoffmann
914caab43d
make PlaceLookup::lookup() accept multiple results
2017-10-23 23:30:53 +02:00
Sarah Hoffmann
1424e8e29b
use Result class in reverse geocoding
...
Also simplifies the reverse algorithm slightly by no longer
having an additional distance lookup.
2017-10-23 23:30:53 +02:00
marc tobias
2361ca2c71
UI: allow copy&pasting lat,lon into the lat search field
2017-10-21 14:28:28 +02:00
marc tobias
3cee2d185d
UI: allow copy&pasting lat,lon into the lat search field
2017-10-21 14:11:46 +02:00
marc tobias
da4a2b7b6e
UI: scrollwheel, minimap
2017-10-21 13:24:02 +02:00
Sarah Hoffmann
f4a00eba26
enable details view for artificial postcodes
2017-08-19 19:37:06 +02:00
Sarah Hoffmann
16053e81bf
show address tags and postcode in details
2017-08-19 19:37:05 +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
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
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
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
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