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
832547f192
tabs-to-spaces
2016-09-04 03:19:48 +02:00
Sarah Hoffmann
7a50d2f996
factor out link formatting function and osm type translation
2016-06-12 12:39:09 +02:00
Markus Gail
7879ad44cd
Remove interpolation lines from placex and save them in an extra table.
2016-04-25 09:44:01 +02:00
Markus Gail
f6127df15d
add osm_type='tiger' to json, jsonv2 and xml output
2016-03-21 14:14:01 +01:00
Marc Tobias Metten
71b3aa9cca
Reverse geocode include geometry - added bounding box tests
2016-03-09 19:43:03 +01:00
Marc Tobias Metten
991bd0004a
Reverse geocode include geometry
2016-03-04 20:29:09 +01:00
Marc Tobias Metten
78a29b5a87
spaces-to-tabs for all *.php files
2016-02-27 00:02:20 +01:00
Sarah Hoffmann
a1f3bfb35a
implement namedetails and extratags parameter for search
2015-08-10 21:42:40 +02:00
Brian Quinion
fb76671ab9
expose 'importance' value of place in xml/json/jsonv2 output
2013-01-30 13:40:04 +00:00
Brian Quinion
ae7f676b73
wrong variable name in json output
2012-12-20 01:28:10 +00:00
Brian Quinion
0dd10c3fff
Change access control to implement more of CORS. Change so OPTIONS requests don't do an actual search/reverse request
2012-12-17 00:25:06 +00:00
Brian Quinion
753d2ac79f
Add options to output polygon in various formats: polygon_geojson=1&polygon_svg=1&polygon_kml=1&polygon_text=1 They can be all used at the same time if prefered. Where format and polygon type are compatible output is as native type e.g. format=json&polygon_geojson=1
2012-11-06 00:08:01 +00:00
Brian Quinion
f87ea067ca
fix some php warnings for cleaner output
2012-11-02 17:42:05 +00:00
Sarah Hoffmann
6b65b9086b
switch attributions to ODbL
2012-09-12 19:14:28 +02:00
Sarah Hoffmann
1cb55c6e31
more generalized javascript_renderData
...
- handles json/jsonp transparently (avoiding code duplication in templates)
- use php's internal json_encode functions (with JSON_UNESCAPED_UNICODE
for backward compatibility)
- be more liberal with what is allowed as a callback identifier
- return a 400 for illegal callbacks
- return application/javascript type when jsonp is requested
fixes #16 , fixes #17
2012-07-01 15:55:26 +02:00
Sarah Hoffmann
c3233cb951
convert CRLF to make git happy
2012-03-04 16:41:43 +01:00
Brian Quinion
75ec3326e1
output templates
2010-11-01 15:21:15 +00:00