marc tobias
626e3238f2
details page: differentiate between spheric distance and distance in meters
2019-12-11 00:49:32 +01:00
Sarah Hoffmann
a4e514033d
Merge branch 'housenumber-zero' of https://github.com/mtmail/Nominatim into mtmail-housenumber-zero
2019-12-01 20:17:27 +01:00
Sarah Hoffmann
000fe3ddff
remove reference to nominatim.xml OpenSearch description
...
The file was meant for the openstreetmap instance only.
Fixes #1554 .
2019-11-20 11:53:04 +01:00
marc tobias
36e99c43ce
HTML page with search form when /details.php called without params
2019-10-31 17:13:43 +01:00
marc tobias
eeb26aaa6f
Addresses with housenumber 0 are found
2019-10-31 13:52:10 +01:00
Sarah Hoffmann
87c0049e75
isaddress field may be missing in details view
2019-04-14 12:03:37 +02:00
marc tobias
2ab836c11c
PDO library returns proper boolean. We dont need string comparison
2019-04-02 16:52:37 +02:00
Sarah Hoffmann
b6b1c23575
fix phpcs offences
2018-11-20 23:05:56 +01:00
Sarah Hoffmann
7f0a0ce5e5
make HTML error message less technical
2018-11-15 21:19:31 +01:00
marc tobias
e4a51e460e
set exception handler by request format, not always HTML
2018-10-03 22:58:20 +02:00
Sarah Hoffmann
84cfe5db53
fix warning in keyword output of details
2018-08-22 22:35:46 +02:00
Sarah Hoffmann
26bd8304c6
fix formatting
2018-08-22 22:25:55 +02:00
marc tobias
e47646ddba
in /details JSON output add check if place (type) has an icon set
2018-08-22 13:34:34 +02:00
marc tobias
0981a6403d
PHP code style: use long array syntax
2018-07-23 17:24:31 +02:00
Sarah Hoffmann
be58b929f2
add tests for geocodejson and fix syntax errors
2018-07-12 22:00:18 +02:00
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
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
Marc Tobias Metten
5a17bfc9c9
display viewbox on map
2018-06-14 02:19:19 +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
marc tobias
7a1ee99345
return centroid on geojson format
2018-04-12 22:02:24 +02:00
marc tobias
7a31a3d106
remove rank_search_label field
2018-04-12 22:02:24 +02:00
marc tobias
fe3dba3fd7
use RFC3339 for human readable date
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
45aef06d00
localname field is required by nominatim-ui
2018-04-12 22:01:10 +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 Metten
1e28f2478c
details support json output
2018-04-12 22:01:10 +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
27bc8d4f7b
replace PHP sizeof() with either count() or empty()
2018-03-22 12:36:24 +01:00
Marc Tobias Metten
88beeb7916
merge json and jsonv2 templates, they were very similar
2018-03-13 23:49:04 +01:00
Marc Tobias Metten
8a615ad969
phpcs fixes. Mostly spacing and single quotes
2018-02-23 01:16:01 +01:00
Sarah Hoffmann
13469e1576
convert remaining http links and shorten copyright URL
2018-01-11 23:05:28 +01:00
Matej Krajčovič
fcba2eabc4
Fix typos in introduction.php
2017-10-30 12:36:20 +01: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
df463f4ea6
Show address rank in details and hide unset admin_level
...
Address rank explains better why the address parts are where
they are.
Fixes #766 .
2017-10-11 22:17:59 +02:00
Sarah Hoffmann
16053e81bf
show address tags and postcode in details
2017-08-19 19:37:05 +02:00
Sarah Hoffmann
09f1661638
move moreURL computation into Geocode and include all params
...
Fixes #678 .
2017-03-23 00:16:58 +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
a52455f160
github.com/twain47 => github.com/openstreetmap
2017-03-12 13:06:25 +01:00
Ludovic Delauné
2c3317f582
extra headers for compatibility on IE7
2017-02-28 17:08:34 +01:00
marc tobias
b27926fd4d
fix PHP warnings when reverse search was called without parameters
...
... or empty results
2016-11-17 22:55:05 +01:00
marc tobias
8312e8f539
UI: keep map position when switch to reverse. Easy switching of lat,lon to lon,lat
2016-10-30 17:45:45 +01:00
Marc Tobias Metten
775fdeb8e4
UI: viewbox parameter was set in wrong parameter order
2016-09-13 14:41:56 +02:00
Marc Tobias Metten
832547f192
tabs-to-spaces
2016-09-04 03:19:48 +02:00
Marc Tobias Metten
87b6810eba
HTML map: new button -show map bounds- in top right corner
2016-08-24 04:21:28 +02:00