Commit graph

827 commits

Author SHA1 Message Date
Nick Whitelegg
6a7ae38d80 began callback code for feature lookup 2008-01-07 20:45:56 +00:00
Nick Whitelegg
1c7998009f began callback code for feature lookup 2008-01-07 20:44:16 +00:00
Nick Whitelegg
4f24b6de17 checked in local db config unintentioally- reversed 2008-01-07 20:26:40 +00:00
Nick Whitelegg
2e03861300 Began code for feature lookup: implemented code to respond to mouse click and latlon to non spherical Mercator (for the postgis database) 2008-01-07 20:25:12 +00:00
Tom Hughes
f29300bf1a Stop trying to report on the number of ways with tags because (a) almost all
ways have tags so it isn't very interesting and (b) it locks up the API every
night as it involved a join to a MyISAM table.
2008-01-07 00:33:54 +00:00
Tom Hughes
38b7137fe3 Add migration to add an index on node_id to way_nodes. This index was added
to the live database a month or so back to support rollback in Potlatch.
2008-01-07 00:30:44 +00:00
Tom Hughes
425b3654d7 Mark mails as auto submitted. Closes #627. 2008-01-06 13:21:50 +00:00
Tom Hughes
01f525c924 Fix typo. Closes #628. 2008-01-06 13:14:44 +00:00
Tom Hughes
7fc2dbecd5 Migrate web site to use rails 2.0.1. 2008-01-06 12:17:58 +00:00
Tom Hughes
dffd645c50 Update GPX daemon control script to match current template from the
daemons plugin.
2008-01-05 16:16:36 +00:00
Tom Hughes
5bf4ce35c0 Fix picture generation to avoid truncating the sides of the image for
a trace that is wider than it is tall.
2008-01-05 15:23:04 +00:00
Richard Fairhurst
8074c3ba82 Potlatch 0.6a: small bugfixes, read GPX waypoints 2008-01-04 00:26:46 +00:00
Tom Hughes
26f28764dc Update the links when the active layers change.
Closes #622.
2008-01-02 09:54:19 +00:00
Tom Hughes
fb17928db1 Make the Maplint layer off by default. 2007-12-31 11:33:21 +00:00
Tom Hughes
3cd04f7db4 Don't set the layers argument if the caller didn't specify it. 2007-12-31 10:13:36 +00:00
Tom Hughes
be26b89c3f Add a maplint layer to the map. Note that the t@h server currently serves
solid grey tiles for tiles which are not in the database which limits the
utility of this.

Closes #484.
2007-12-31 09:08:30 +00:00
Tom Hughes
9f05234542 Add a Maplint layer (OpenLayers.Layer.OSM.Maplint) class. Note that the
t@h server currently serves solid grey tiles for tiles which are not in
the database which limits the utility of this.

Closes #612.
2007-12-31 09:06:22 +00:00
Tom Hughes
880997c7da Don't show the marker layer in the layer switcher. 2007-12-30 17:27:47 +00:00
Richard Fairhurst
64653788db zoom level for Yahoo 2007-12-24 21:32:55 +00:00
Richard Fairhurst
32c502cb27 don't ignore outdated baselayer values; fix maximum zoom 2007-12-24 21:18:59 +00:00
Richard Fairhurst
fbbb89ceed Potlatch 0.6: autocomplete keys/values 2007-12-23 13:41:26 +00:00
Richard Fairhurst
7acbc0c7c6 autocomplete (not compiled for now) and start of tile support 2007-12-23 12:59:59 +00:00
Tom Hughes
90fa3e650b Ban (for now at least) searching of nodes, and searching for a key
without giving a value as both of these will lock the server up for
a long time.
2007-12-22 11:55:15 +00:00
Tom Hughes
d6f6e4c7c1 Third time lucky - what it really wants is a hash of node IDs... 2007-12-20 10:33:25 +00:00
Tom Hughes
24ac6b49f7 The to_xml_node method for a way wants a list of node IDs, not a list
of nodes...
2007-12-20 10:23:46 +00:00
Tom Hughes
028f94fcca Pass the node list to to_xml_node when outputting a way so that it
lists the nodes in the way properly.
2007-12-20 10:21:22 +00:00
Tom Hughes
5400a938a8 Optimise tag searching of ways and relations a bit more... 2007-12-20 10:15:45 +00:00
Tom Hughes
a617159352 Optimise search queries for ways and relations to stand some chance
of being efficient.
2007-12-20 09:50:08 +00:00
Richard Fairhurst
3461b7a699 attempt fix for anon users 2007-12-12 20:17:12 +00:00
Richard Fairhurst
df3db35c96 enable revert 2007-12-09 15:20:47 +00:00
Richard Fairhurst
e6bded606a fix POI moving bug 2007-12-07 17:30:20 +00:00
Tom Hughes
1e9483fe72 Set extent information for the marker layer. 2007-12-07 00:15:21 +00:00
Tom Hughes
0c549650eb Change postcode searches to use z15 instead of z12. 2007-12-07 00:12:49 +00:00
Tom Hughes
8b7d73ebb6 Make sure we load OpenLayers resources from the right place. 2007-12-06 18:59:36 +00:00
Tom Hughes
15c492ebfe Try and make asset tagging actually work. 2007-12-06 18:42:45 +00:00
Tom Hughes
7ee377352e Move scale/resolution configuration to the base layers so that
people dragging in our customer layers don't need to worry about
setting the magic numbers.
2007-12-06 14:18:30 +00:00
Tom Hughes
3ed64ceb54 Set the number of zoom levels for the marker layer based on the
maximum number of zoom levels of any of the base layers.
2007-12-06 13:46:56 +00:00
Tom Hughes
c1299fbb35 Use the z13 key for z13 and over. 2007-12-05 12:15:41 +00:00
Tom Hughes
4c3b59fe25 Set number of zoom levels on a per layer basis. Closes #603. 2007-12-04 00:42:08 +00:00
Richard Fairhurst
ede76d8dc5 DROP TEMPORARY TABLE so Tom can turn the privs down 2007-12-03 17:15:07 +00:00
Richard Fairhurst
0ab2db3979 move preset tags and colours into config files 2007-12-01 10:32:35 +00:00
Tom Hughes
8225f0a6ea Reenable trace uploads. 2007-12-01 00:34:55 +00:00
Richard Fairhurst
5fd514fee3 further refinement to revert 2007-11-30 20:52:38 +00:00
Tom Hughes
52276be4a9 Disable GPX uploads. 2007-11-30 18:49:55 +00:00
Richard Fairhurst
e0c9a8c6d5 slight revert changes 2007-11-30 18:40:57 +00:00
Tom Hughes
b0ca73a7f9 Remove executable flag from Potlatch presets file. 2007-11-30 18:22:36 +00:00
Steve Chilton
994b9391cb new key for z13. revised keys to z8, z10, z11, z12 2007-11-30 13:00:31 +00:00
Tom Hughes
6d6c9ddc8c Specify display_name and tag explicitly when generating pagination links
as they don't always seem to be default correctly. Closes #561.
2007-11-30 01:27:14 +00:00
Tom Hughes
cb7436602d Hide the OpenLayers attribution control when printing - we print an
attribution under the map anyway. Also add a border round the map when
printing.
2007-11-28 23:59:39 +00:00
Richard Fairhurst
914cad0aa2 show nearest 10 users (request by Blackadder) 2007-11-28 22:07:24 +00:00