David Decotigny
0aabbb6656
for similar admin_level, sort according to the city area
2009-12-22 10:53:47 +01:00
Thomas Petazzoni
00583545f8
Add favicon
...
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-22 10:33:23 +01:00
David MENTRE
8092b0bcc4
Add support for all English-speaking countries
2009-12-22 00:37:29 +01:00
Thomas Petazzoni
32c6cb74e8
Revert to proper Javascript function call
...
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-22 00:26:53 +01:00
Pierre Mauduit
fea686c776
Restoring new translation from index.html form
2009-12-22 00:05:18 +01:00
Pierre Mauduit
4f03148bd6
Rsolving conflits (don't forget to work in new branch ...)
2009-12-21 23:53:48 +01:00
David Decotigny
8574e0ff59
order according to the admin levels as well
2009-12-21 23:14:42 +01:00
Thomas Petazzoni
0628cccaa3
Don't forget to display all languages in bbox mode
...
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-21 23:09:31 +01:00
Thomas Petazzoni
3e1a05924d
Merge branch 'bottom'
2009-12-21 23:07:40 +01:00
Thomas Petazzoni
60b67119fd
New fr translation
2009-12-21 23:05:46 +01:00
Thomas Petazzoni
74e1a07a26
Put the validation button to the bottom
2009-12-21 22:58:36 +01:00
Thomas Petazzoni
7080052550
Match language 'C' in all cases
...
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-21 22:54:25 +01:00
Thomas Petazzoni
9edfbb9b65
Move language 'C' at the end of the list
...
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-21 22:54:03 +01:00
David MENTRE
1922546293
Add "Unsupported" map index language
2009-12-21 22:45:38 +01:00
Pierre Mauduit
fc96bf605e
Yet another User-XP improvement
...
The form is now correctly reset while switching from a mode to
an other (search -> select a place -> switch to bounding box
-> switch back to nominatim mode)
2009-12-21 20:46:34 +01:00
Pierre Mauduit
49373036fe
Improving the "user XP" with the HTML form.
...
- Re-enable it when using "bounding box" mode
2009-12-21 20:46:32 +01:00
Thomas Petazzoni
7be6cfd20d
Show all languages after search
...
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-21 20:45:30 +01:00
David MENTRE
0ad217b6f8
Anoter explanation fix on main page. Update FR translation
2009-12-21 20:32:47 +01:00
David MENTRE
dfa4d699d5
Update needed translations. Update FR translations
2009-12-21 20:32:44 +01:00
Pierre Mauduit
a43aed4fa1
Taking into accout sam`'s remarks :
...
- give a title param to little yellow panes to mention
why the place is not available
- toggle disable / enable "generate" button : remove the
"link" mouse pointer when unavailable and give an
explanation on why the form could not be submitted
at the moment.
2009-12-21 20:32:41 +01:00
David MENTRE
fb8e76d758
Fix description of the 2 modes on main page
2009-12-21 20:32:37 +01:00
David Decotigny
e3c129790b
cosmetics: variable names
2009-12-21 20:32:22 +01:00
Thomas Petazzoni
a7a85f3130
Fix a minimal width for the language selector
...
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-21 20:32:11 +01:00
Thomas Petazzoni
4d6d014bca
Filter the list of languages depending on the country
...
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-21 20:31:49 +01:00
Pierre Mauduit
7f29422a55
Debugging JS code using intensively jquery / debugging submit of main form, and some cosmetic modifications.
2009-12-21 16:28:26 +01:00
Thomas Petazzoni
52abd0eb02
Make cell width more flexible to give width for search button
...
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-21 16:05:37 +01:00
Maxime Petazzoni
44fdc2b9d9
By boundingbox selection is hidden by default.
2009-12-21 15:36:27 +01:00
Maxime Petazzoni
73f491fc5b
HTML markup fixes.
2009-12-21 15:36:26 +01:00
Maxime Petazzoni
c57ed3ab77
Use late slippy map initialization
2009-12-21 15:36:24 +01:00
Maxime Petazzoni
e8153e1f0f
Fix comments in the map management JS file.
2009-12-21 15:36:22 +01:00
David Decotigny
6ad5b9c953
commit test for git
2009-12-21 15:12:18 +01:00
Thomas Petazzoni
9af8d35aa4
Rename examples to support
...
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-21 15:11:54 +01:00
David Decotigny
08543a6c23
FIXED incorrect non-ascii nominatim queries
2009-12-21 15:02:33 +01:00
Pierre Mauduit
dc4483f618
Modifying index.html HTML form / nominatim integration
...
- Adding new "disabled" icon form (gray arrow). Not yet
functionning
- Adding some JS code related to form validation, ...
2009-12-21 14:44:24 +01:00
David MENTRE
23069f074a
maposmatic: Use a list for MAP_LANGUAGES instead of a tuple
2009-12-21 14:44:21 +01:00
David MENTRE
9a79be598b
maposmatic: add support for all French-speaking countries
2009-12-21 14:41:37 +01:00
David Decotigny
6f86d30cf2
Query nominatim for more details + canonicalize the results
...
With the "addressdetail" querty param, Nominatim allows to retrieve
the coutry, world region, etc. as well as the language code. The
latter is needed for localization. This patch uses it and correctly
pareses the new format. The patch also transforms the results so that
dict, list, etc. do not only deal with strings: we try to cast the
strings to integers, float, etc. as far as possible.
2009-12-21 12:08:41 +01:00
David Decotigny
0a1ff08ff7
cosmetics and main() to test from the cmdline
2009-12-21 12:08:39 +01:00
David Decotigny
fd2ff96fc4
only try to lookup the negative osm_id, and only when nominatim determined it through a relation
2009-12-21 12:08:36 +01:00
Thomas Petazzoni
0c6c5fa7bf
OSM id based rendering support in maposmaticd
...
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2009-12-21 12:06:29 +01:00
Thomas Petazzoni
f29a97388a
Administrative OSM id field is not required
2009-12-21 11:30:32 +01:00
David Decotigny
72db2f045f
don't ever try to lookup non-admin boundaries in the DB
2009-12-21 01:06:59 +01:00
David Decotigny
974a4b99ef
filter out nominatim non-admin-boundary entries having same name as admin boundaries
2009-12-21 00:58:29 +01:00
David Decotigny
2fc56332d2
ignore all the nominatim entries except boundaries and places
2009-12-21 00:32:37 +01:00
Thomas Petazzoni
1c29baeea6
Merge commit 'fdl/installation'
2009-12-21 00:28:44 +01:00
Frederic Daniel Luc Lehobey
7fbe66e67b
Added JSON dependency.
2009-12-21 00:27:58 +01:00
Thomas Petazzoni
90eed6ef28
Merge commit 'fdl/installation'
2009-12-21 00:26:46 +01:00
Pierre Mauduit
ef199fb2c0
Resetting the osmid field while trying an other place lookup / nominatim lookup
2009-12-21 00:24:32 +01:00
David Decotigny
8550318c46
Sort the nominatim results so that admin boundaries appear first
2009-12-21 00:24:29 +01:00
Frederic Daniel Luc Lehobey
d6acc2d69c
Added example of init script.
2009-12-21 00:15:54 +01:00