Re: [Potlatch-dev] P2, snapshot-server, imports, vector layers and more

2012-11-15 Thread Andy Allan
On 15 November 2012 05:44, Paul Norman wrote: > The > additional attribute prevents the files from working in JOSM Oh, really? That sucks. I went for the additional attribute because I expect XML parsers to ignore it if they didn't understand it. > but the bigger > issue is the use of positive

Re: [Potlatch-dev] P2, snapshot-server, imports, vector layers and more

2012-11-15 Thread Andy Allan
On 15 November 2012 08:37, Richard Fairhurst wrote: > For 1; we could continue with vectors.xml, and also provide a way to provide > a URL in the embedding page/query string (much as you can with background > imagery). Recently I've been looking at the tilejson spec, which the Mapbox guys develo

Re: [Potlatch-dev] [OSM-talk] Way with only one single node

2012-03-21 Thread Andy Allan
On 21 March 2012 16:34, Richard Fairhurst wrote: > I've corresponded with Thomas B and found some, ahem, fairly easy steps to > reproduce: > > 1. Click on map (_once_) to start new way > 2. With elastic band still engaged, click 'Save' > 3. Whatever the opposite of PROFIT is > > Will look at it t

Re: [Potlatch-dev] [OSM-talk] Way with only one single node

2012-03-21 Thread Andy Allan
On 21 March 2012 12:56, Steve Bennett wrote: > 1) We can fix this, but it's hard to prevent it coming back when new > features are built. I've probably written such bugs. Mumble grumble unit testing. > 3) I still think we should do this. We have a responsibility to not > mess up the database. S

Re: [Potlatch-dev] Flash Player minimum version

2012-03-21 Thread Andy Allan
On 21 March 2012 16:00, Tom Hughes wrote: > By earlier on do you mean earlier today? > > Only we started requiring 10.2 about 9am today and that was only reverted > back to 10.1 just before 11am when Richard's fixed version of Potlatch was > deployed. Yeah, I just read the commits. We were havin

Re: [Potlatch-dev] Flash Player minimum version

2012-03-21 Thread Andy Allan
On 21 March 2012 11:38, Richard Fairhurst wrote: > I've therefore added a version check to the custom cursor code. If the > user is still on 10.1, it just won't set the cursors. I've tested it with > both 10.1 and 10.3 players and it seems to work fine. Flex 4.5 nominally > requires 10.2 but, for

Re: [Potlatch-dev] Testing new versions

2012-03-08 Thread Andy Allan
On 7 March 2012 20:12, SomeoneElse wrote: > This may be a silly question - asking for something that exists already, but > just in case not: > > How hard would it be have a version of Potlatch2 available after merging for > "final testing" before becoming the default P2 version on the site?  To be

Re: [Potlatch-dev] State of play

2012-03-05 Thread Andy Allan
On 5 March 2012 04:01, Steve Bennett wrote: >> "undo on creating way" fix, > > Definitely worthy of review - it's totally possible that I broke > something else. Anyone else want to have a look at it? I guess we > don't have any tests? We don't have any tests that cover starting drawing a new wa

Re: [Potlatch-dev] More UX testing

2012-03-03 Thread Andy Allan
On 3 March 2012 04:04, Steve Bennett wrote: > Just to double check: they know it’s already there as an area, they > just want to see an icon on top of it as well? What kinds of areas? > Ones without (rendered) names? No, often they don't realise. For example, when there's a supermarket tagged as

[Potlatch-dev] Flex 4.6 - should we upgrade?

2012-02-21 Thread Andy Allan
Hi all, Flex 4.6 was released in November. Do we want to upgrade (from 4.5)? I'm not sure if there's anything in particular that we're after in 4.6, but some of the new controls look nice. Most of the work seems to be targeting mobile apps. http://www.adobe.com/devnet/flex/articles/introducing-f

Re: [Potlatch-dev] Github, and tram/road issues

2012-02-21 Thread Andy Allan
On 20 February 2012 21:21, Steve Bennett wrote: > Ok, fair enough. What's the difference between that command line and > just "git fetch systemed; git checkout systemed/master; git checkout > -b something-new"? Nothing substantial - personal preferences really. > Also, I imagine there must be a

Re: [Potlatch-dev] Github, and tram/road issues

2012-02-20 Thread Andy Allan
On 19 February 2012 02:36, Steve Bennett wrote: > Ok, it looks like I'm still doing something wrong: > > https://github.com/systemed/potlatch2/pull/25 > > I only wanted to include one commit in the pull request, not 9. Is the > idea that I keep rewinding my local repository back to the current > m

Re: [Potlatch-dev] "Designation" tag on most map features

2012-02-20 Thread Andy Allan
On 19 February 2012 07:16, Steve Bennett wrote: > Obviously 2) is easy to fix. But what about 1? Is it time we > implemented locale-specific map_features? I refer to them as region-specific map_features, not locale-specific map features - locale and language are too easily confused! This has be

Re: [Potlatch-dev] Github, and tram/road issues

2012-02-16 Thread Andy Allan
> On 16 February 2012 06:03, Steve Bennett wrote: > Hi all, >  I just did a pull request to the Github repository (which is fairly You just made a pull request to a read-only mirror. > up to date) but it looks like no one is watching. Is there somewhere > else these pull requests should go? It's

Re: [Potlatch-dev] Potlatch doesn't work after recompile

2012-01-03 Thread Andy Allan
On 30 December 2011 20:09, Eric Wolf wrote: > I had to stick this in my blog because the listserv choked on the original > email - I was being too detailed. > > In a nutshell, if I make a trivial code change and recompile Potlatch with > ant, the resulting code doesn't work. The problem is explain

Re: [Potlatch-dev] Potlatch 2.3

2011-12-03 Thread Andy Allan
On 3 December 2011 08:50, NopMap wrote: > Small update: After moving from the test installation to the live instance, > the locale does work. That's awesome news! > Though I have no idea why as nothing has changed in > the embedding. Maybe some flash caching issue? Flash caching is the bane of

Re: [Potlatch-dev] Potlatch 2.3

2011-11-30 Thread Andy Allan
On 26 November 2011 12:32, NopMap wrote: > I played at migrating to P2.3 again and ran into a few problems. Hi Nop, First off, two apologies. P2.3 was released with a major upgrade to the flex libraries that pretty much broke i18n completely, although due to the seemingly never-ending saga of m

Re: [Potlatch-dev] Internationalisation

2011-11-30 Thread Andy Allan
On 28 November 2011 22:59, Richard Fairhurst wrote: > So... hopefully you won't be getting [Object object] any more. If you do: > speak out! Any feedback from anyone? I'd love to hear from people who a) i18n was working 2 months ago and is working now b) i18n was working 2 months ago and isn't w

Re: [Potlatch-dev] Alternate look and feel

2011-11-28 Thread Andy Allan
On 26 November 2011 23:48, Richard Fairhurst wrote: > I'd like to offer two bundled stylesheets for the app: one that works with > the osm.org site design, and another, more generic one suitable for > third-party deployments. (You'll also be able to supply your own stylesheet > if you compile jus

Re: [Potlatch-dev] [Talk-us] Address improvement through imports?

2011-11-09 Thread Andy Allan
On 5 November 2011 18:11, Michal Migurski wrote: >> You probably don't even need to fork it. I suspect you could get most of the >> way there with a custom P2 style, a custom map_features.xml, and Andy's >> awesome new snapshot stuff (which is expressly designed for manually >> bringing in data f

Re: [Potlatch-dev] Potlatch 2.3

2011-10-21 Thread Andy Allan
On Thu, Oct 20, 2011 at 11:07 PM, NopMap wrote: > Unfortunately, this did not work. There is no counterpart of activity viewer > for firefox. Firebug's "Net" console gives you the equivalent, if I understand Richard correctly. > Trying to execute the above line with git produced the error messa

Re: [Potlatch-dev] Potlatch 2.3

2011-09-30 Thread Andy Allan
On Fri, Sep 30, 2011 at 6:29 PM, Richard Fairhurst wrote: > Thanks to Andy for huge amounts of work on this. You're welcome - it's great to see it all finally coming together! Preparations for this release started way back in May with the fp10 branch. There's a lot of work to be done to take ad

Re: [Potlatch-dev] [Talk-GB] 'Can't load map'

2011-09-29 Thread Andy Allan
> So now if you get a simple "Couldn't load the map" it means a 500 server > error genuinely came back from the API. This is the sort of thing that > basically shouldn't happen, but it can occur, AIUI, if the daemon restarts > halfway through the response; I've had that very occasionally. Taking t

Re: [Potlatch-dev] Git starter?

2011-08-31 Thread Andy Allan
On Wed, Aug 31, 2011 at 4:13 PM, Steve Bennett wrote: >>Yes, but this was causing lots of issues, as I'm sure you remember. > > Actually not - apart from my commiting changes in insufficient > granularity. Happy to take your word for it, though. A few other things spring instantly to mind - an i

Re: [Potlatch-dev] Git starter?

2011-08-31 Thread Andy Allan
On Wed, Aug 31, 2011 at 10:46 AM, Steve Bennett wrote: > On Wed, Aug 31, 2011 at 5:01 AM, Andy Allan wrote: >>If there's any gotchas let me know. > Ok, since you asked: > > "First you need to get a copy of the potlatch2 repository from > somewhere. It doesn'

Re: [Potlatch-dev] [Fwd: Potlatch2: internationalization of languages]

2011-07-04 Thread Andy Allan
On Mon, Jul 4, 2011 at 2:10 PM, Richard Fairhurst wrote: > At first how do you make the internationalization of languages? only > with the class LocalizationMap.as? That's correct > --It is possible to translate also the words located in the map_features.xml? Not yet. See also http://lists.op

Re: [Potlatch-dev] Upgrade to fp10 + flex4

2011-06-30 Thread Andy Allan
On Thu, Jun 30, 2011 at 7:06 AM, Frederik Ramm wrote: > Hi, > > On 06/30/11 01:39, Greg Troxel wrote: >> >> Does this work with gnash?  I have gnash 0.8.9 installed, and I've been >> able to use potlatch1 but not potlatch2. > > As far as I understand, your ability to use gnash is unaffected by thi

[Potlatch-dev] Upgrade to fp10 + flex4

2011-06-29 Thread Andy Allan
Hi All, It's been looming for a while now that we want make a few major upgrades. I've started work on these and the code is available on branches on my github account. https://github.com/gravitystorm/Potlatch2 A) Targetting flash player 10 We want to target flash player 10, so that we can use

[Potlatch-dev] UX scribbles

2011-06-29 Thread Andy Allan
Hi all, I had the pleasure (and horror) of seeing some videos recently showing newbies using Potlatch2. I had no idea things were so difficult to figure out! :-) While I was getting sneak previews of the results, I was frantically scribbling things down. I've transferred my notes to the wiki at h

Re: [Potlatch-dev] [OpenStreetMap] #3855: PL2: remember custom imagery between sessions

2011-06-22 Thread Andy Allan
On Wed, Jun 22, 2011 at 3:23 PM, OpenStreetMap wrote: > #3855: PL2: remember custom imagery between sessions > -+-- >  Reporter:  sdoerr       |       Owner:  potlatch-dev@… >     Type:  enhancement  |      Status:  new >  Pri

Re: [Potlatch-dev] [OpenStreetMap] #3836: potlatch2.2 locks up, unable to save edited data

2011-06-22 Thread Andy Allan
On Wed, Jun 22, 2011 at 5:33 AM, Steve Bennett wrote: > On Tue, Jun 21, 2011 at 7:46 PM, Richard Fairhurst > wrote: >> Very much intentional behaviour and what you should do! > > Fwiw, I found this quite unintuitive and only realised how it worked > after some months of use. It would be good (su

Re: [Potlatch-dev] Translation?

2011-06-08 Thread Andy Allan
On Tue, Jun 7, 2011 at 8:49 PM, Jeff Haack wrote: > How to do a translation of Potlatch 2? Thanks for your interest - you should have a read of the following message to see the current state of the translation work. http://lists.openstreetmap.org/pipermail/potlatch-dev/2011-April/000856.html Ch

Re: [Potlatch-dev] Am I just stupid or is this a bug?

2011-06-07 Thread Andy Allan
On Mon, Jun 6, 2011 at 9:48 PM, Eric Wolf wrote: > I've been trying to make some changes to the Potlatch2 code but when I build > the SWF, it won't let me actually create a node by dragging and dropping > icons. > If I drop in the latest SWF from random.dev.openstreetmap.org, it works > perfectly.

Re: [Potlatch-dev] [OpenStreetMap] #3671: Tag auto-completion is a bit random

2011-05-27 Thread Andy Allan
On Fri, May 27, 2011 at 11:27 AM, Richard Fairhurst wrote: > a) Andy pushes the patch to his repository on github > b) I pull it into mine and review it (which takes 0.0005ms to check that > it's a good patch, and about 30 minutes to remember how to do this in git) > c) I push it to my potlatch2

[Potlatch-dev] i18n update

2011-04-15 Thread Andy Allan
Hi All, Apologies for not having emailed about this earlier - it was something I intended at the Hack Weekend but I didn't do so then. The i18n framework (babelFx, previously known as l10n_injection) was included in pre-2.0 builds, and some more work from the i18n branch was merged in for the 2.0

Re: [Potlatch-dev] [OpenStreetMap] #3652: i18n not working?

2011-04-15 Thread Andy Allan
On Thu, Apr 14, 2011 at 11:25 AM, NopMap wrote: > > OpenStreetMap-3 wrote: >> >> #3652: i18n not working? >> >>  In any case, the web site is now fixed to pass in a locale derived from >>  your user settings. >> > > Is there any information available what changes are required to support I18N > pro

Re: [Potlatch-dev] [Talk-GB] OS 1:25k Layer in Potlatch 2

2011-04-12 Thread Andy Allan
On Tue, Apr 12, 2011 at 2:32 PM, Ed Loach wrote: > Steve wrote: > >> Is this working? I just noticed that, for Meopham in Kent, I can > view >> the 1:25k OS map as a background in Potlatch 1, but nothing > displays >> in >> Potlatch 2. > > It looks like Potlatch 1 is loading .jpg and Potlatch 2 is

Re: [Potlatch-dev] no trace() output

2011-04-04 Thread Andy Allan
On Sun, Apr 3, 2011 at 8:52 PM, Richard Fairhurst wrote: > Frederik Ramm wrote: >> trying to do something with Potlatch under Linux (Ubuntu Maverick). >> Got everything up and running, can run the .swf in a standalone >> debug player, but I can't get *any* trace() output to work - stdout >> is com

Re: [Potlatch-dev] Crash with custom vector.xml

2011-03-28 Thread Andy Allan
On Fri, Mar 25, 2011 at 8:28 AM, NopMap wrote: > If I move my main (custom) stylesheet rwk.css into the folder it is no > longer recognized. Changing the entry in stylesheet.xml to > "stylesheet/rwk.css" makes no difference, it is still not recognized. After > moving it back to the main folder, i

Re: [Potlatch-dev] [OpenStreetMap] #3587: Tag keys/values should be restricted to 255 characters

2011-03-22 Thread Andy Allan
On Thu, Mar 17, 2011 at 4:30 PM, OpenStreetMap wrote: >  Unfortunately, these critical errors seem to be a result of multiple >  conditions. [...] >  * 5. If the ADVANCED tab remains EMPTY or keeps the properties of the >  PREVIOUS edit though you have added a pylon (with R), you have reached t

Re: [Potlatch-dev] New docs

2011-03-17 Thread Andy Allan
On Thu, Mar 17, 2011 at 10:54 AM, Richard Fairhurst wrote: >> 2. TAGS: If we already have a feature in Default Presets using a specific >> tag like School, is it possible to create a new feature with duplicating >> this tag reference without any confict with the existing feature? > > There isn't

Re: [Potlatch-dev] HOT Potlatch2 presets

2011-03-15 Thread Andy Allan
On Tue, Mar 15, 2011 at 2:53 AM, Pierre (PierZen) wrote: > When selecting a node or a way, and selecting a HOT Menu item on the left, > the dialog box and name of the category listed always correspond to IDP > Camp. There aren't any elements defined in your files, so nothing will work properly.

Re: [Potlatch-dev] Ooops

2011-03-11 Thread Andy Allan
On Fri, Mar 11, 2011 at 9:01 AM, Andy Allan wrote: > On Fri, Mar 11, 2011 at 8:44 AM, Ed Loach wrote: >> I created this way yesterday by mistake: >> http://www.openstreetmap.org/browse/way/103531496/history >> Is this a known issue, or should I report it in trac? > &g

Re: [Potlatch-dev] MapCSS clarificiation

2011-03-11 Thread Andy Allan
On Fri, Mar 11, 2011 at 12:41 PM, Serge Wroclawski wrote: > I have a question about MapCSS. > > This may end up being moot, because the implementation may drive the > standard, There's multiple implementations, and some of them are much more advanced than Halcyon is. > way[highway=primary]

Re: [Potlatch-dev] Ooops

2011-03-11 Thread Andy Allan
On Fri, Mar 11, 2011 at 8:44 AM, Ed Loach wrote: > I created this way yesterday by mistake: > http://www.openstreetmap.org/browse/way/103531496/history > Is this a known issue, or should I report it in trac? It should be reported to trac, but it's best if you get some steps to reproduce. But I'v

Re: [Potlatch-dev] Bug: Selection broken after save

2011-03-09 Thread Andy Allan
On Tue, Mar 8, 2011 at 8:09 PM, NopMap wrote: > > I think I know what's happening. > > To reproduce the error: Enter a checkin comment with an uneven number of > spaces in the text. > > P2 reacts to the spaces as if no dialog was open and goes into background > offset mode. With another press of s

Re: [Potlatch-dev] Codebase and git

2011-03-08 Thread Andy Allan
On Tue, Mar 8, 2011 at 8:12 PM, Serge Wroclawski wrote: > For potatch2, especially, I foresee developers customising it for > various use cases (like I'm doing), and git is very useful here > because it allows someone to customize their instance while keeping up > to date with the core. This is

Re: [Potlatch-dev] Codebase and git

2011-03-08 Thread Andy Allan
On Mon, Feb 28, 2011 at 9:31 AM, Richard Fairhurst wrote: > In conjunction with this, we will be moving from svn to git (as used for the > core Rails port). This will allow people to hack on their own improvements > in parallel until they're ready for integration into the main codebase. Andy > wi

Re: [Potlatch-dev] [OpenStreetMap] #3360: Switching backgrounds doesn't respect Dim setting

2011-03-07 Thread Andy Allan
On Sun, Mar 6, 2011 at 1:38 AM, Eugene Alvin Villar wrote: > On Sun, Mar 6, 2011 at 9:30 AM, OpenStreetMap >  (Aside: who even uses > the dim setting? I'm more likely to want the >>  background at full brightness and the overlaid map dimmed...) > > It depends on the quality of the imagery. Some im

Re: [Potlatch-dev] What to code next?

2011-03-03 Thread Andy Allan
On Thu, Mar 3, 2011 at 1:07 PM, Richard Fairhurst wrote: > Steve Bennett wrote: > >>  Just wondering if anyone has any cool ideas for features or whatnot, >> that they haven't got around to entering as bugs in Trac. > > Like I said the other day, stability is definitely the watchword right now, >

Re: [Potlatch-dev] Introducing Magic Roundabout tool

2011-02-25 Thread Andy Allan
On Fri, Feb 25, 2011 at 1:17 PM, Steve Bennett wrote: > I > actually needed the split to have taken place so I could identify > which half of the split was the one that I wanted to delete. Without fully understanding things - do you? Instead of splitting the way and deleting one half[1] are you

Re: [Potlatch-dev] Introducing Magic Roundabout tool

2011-02-25 Thread Andy Allan
On Fri, Feb 25, 2011 at 1:17 PM, Steve Bennett wrote: > Does this absolutely have to be the case? I can't quite understand, > from a theoretical point of view, why this principle is necessary. Why > not add the action to a stack, and also carry it out now? What's the > benefit of maintaining the

Re: [Potlatch-dev] Introducing Magic Roundabout tool

2011-02-25 Thread Andy Allan
On Thu, Feb 24, 2011 at 10:47 PM, Steve Bennett wrote: > Whoops, sorry about that. All fixed now. Cheers. > I've discovered some slight flakiness, in that occasionally it > produces a bad result, and if you try to undo, you get an exception. > I'll need to understand a bit more how to use the u

Re: [Potlatch-dev] Introducing Magic Roundabout tool

2011-02-24 Thread Andy Allan
Hi Steve, Unfortunately it doesn't compile - I think you added a length() function to Elastic.as but haven't added it in! Also, DrawWay.as#328 needs fixing since that doesn't compile either. Could you have a look as soon as you get the chance - I'll hold off from uploading my commits for the momen

Re: [Potlatch-dev] i18n using babelFx

2011-02-21 Thread Andy Allan
On Mon, Feb 21, 2011 at 12:30 PM, NopMap wrote: > > Hi! > > It's great to hear that there is an internationalization module being done, > even if it is still a little fragile. > > Doing the application is rather straightforward work, I guess, but what > about the map features? It'll probably be a

[Potlatch-dev] i18n using babelFx

2011-02-18 Thread Andy Allan
Following on from a discussion last year[1] I've started work on internationalisation of p2 using the babelFx[2] i18n framework. This lets use keep the internationalisation separate from the rest of the development, rather than covering the code in standard flex resourceManager calls. It's the same

Re: [Potlatch-dev] Suggestion for "lifecycle" tag - comments?

2011-02-16 Thread Andy Allan
On Wed, Feb 16, 2011 at 2:16 AM, Steve Bennett wrote: > On Wed, Feb 16, 2011 at 9:41 AM, Andy Allan wrote: >> My first thought is to just have another couple of highway types ( a >> proposed highway and a highway under construction ) with a list of >> classifications in a ch

Re: [Potlatch-dev] Suggestion for "lifecycle" tag - comments?

2011-02-15 Thread Andy Allan
On Tue, Feb 15, 2011 at 10:31 PM, Steve Bennett wrote: > Hi all, >  Thought I'd solicit comments before implementing the following: > >     >     > ... > > > >   >     >     >     description="Road is under construction."/> > ... >   > > > > >  proposed >  construction >  abandoned > ... > >

Re: [Potlatch-dev] How about another build?

2011-02-15 Thread Andy Allan
On Tue, Dec 28, 2010 at 1:30 PM, Steve Bennett wrote: > Just checking before I implement this* and then find out there was > another reason that I missed. Ah, I've just done this a different way, and then read your email. Ho-hum! > Also, what is the thinking around the text part of the element

Re: [Potlatch-dev] What do the new cycleway values mean?

2011-02-03 Thread Andy Allan
On Thu, Feb 3, 2011 at 12:27 PM, Steve Bennett wrote: > Also, are we perhaps reaching the point where not all node features > should be dnd's? For example, I don't think dnd highway=turning_circle > is particularly useful... Absolutely - there are also things that I'd like potlatch2 to recognise

Re: [Potlatch-dev] What do the new cycleway values mean?

2011-02-03 Thread Andy Allan
On Thu, Feb 3, 2011 at 12:35 PM, Tom Hughes wrote: > On 03/02/11 12:27, Steve Bennett wrote: > >> Do tell? I'm probably guilty of whatever the crime is. Do you mean >> that the icons just look bad together (all different colours) or that >> they're badly drawn...or what? > > Well the Florist icon

Re: [Potlatch-dev] What do the new cycleway values mean?

2011-02-03 Thread Andy Allan
On Thu, Feb 3, 2011 at 11:59 AM, Steve Bennett wrote: > On Thu, Feb 3, 2011 at 9:31 PM, Dave Stubbs wrote: >> Segregated cycle path: A path where cyclists and pedestrians are >> separated by a painted line or kerb. > > Sounds an awful lot like cycleway=track to me. > >> Shared cycle path: A path

Re: [Potlatch-dev] What do the new cycleway values mean?

2011-02-03 Thread Andy Allan
On Thu, Feb 3, 2011 at 9:58 AM, Richard Fairhurst wrote: > Potlatch is a conscious (collective) act of authorship, not really a > democracy. You can't design coherent beginner-friendly software, or > documentation, democratically - as the wiki sadly proves. I think it's worth being cautious on a

Re: [Potlatch-dev] Proposed filtered way-drawing mode - thoughts?

2011-01-27 Thread Andy Allan
On Thu, Jan 27, 2011 at 1:13 PM, Steve Bennett wrote: > Indeed. :) Would it be worth considering a way to indicate "draw this, > but make it non-interactive"? I think that would be useful, but I'll leave the syntax to others. I lean strongly towards always showing data in Potlatch, since every o

Re: [Potlatch-dev] CSS @import

2011-01-24 Thread Andy Allan
On Mon, Jan 24, 2011 at 9:01 AM, Richard Fairhurst wrote: > Hi all, > > I've added support for CSS @import rules in stylesheets, so you can share > common features between them (even nesting them if you like): > > @import "pois.css"; > @import "interactive.css"; This is great. I maintain a number

Re: [Potlatch-dev] Potlatch2 against "forked" OSM

2011-01-13 Thread Andy Allan
On Thu, Jan 13, 2011 at 6:49 PM, Tom Hughes wrote: > On 13/01/11 18:44, Eric Wolf wrote: Is there another config file I'm missing? >>> >>> No, that's it. But when you registered the application to get that key >>> you >>> had to enter a URL and I believe that has to match the URL of the

Re: [Potlatch-dev] POI features vs area features

2011-01-10 Thread Andy Allan
On Sun, Jan 9, 2011 at 9:34 PM, Steve Bennett wrote: > Ah, I didn't mean that. I meant "in reworking the map_features.xml, > should I treat add to all poi's, or should I be more > selective?" Be more selective, I think. Even if there are some postboxes mapped as areas (e.g., in Germany...) I wo

Re: [Potlatch-dev] Setting up Adobe Flex project

2010-12-13 Thread Andy Allan
On Mon, Dec 13, 2010 at 11:33 AM, Steve Bennett wrote: > Whoops. Would you believe I only just figured out how to change the > tab settings in my editor? :-) I struggle to remember which conventions are in use on any particular project, so I keep messing up when switching back and forward. > *

Re: [Potlatch-dev] Setting up Adobe Flex project

2010-12-13 Thread Andy Allan
On Mon, Dec 13, 2010 at 10:16 AM, Richard Fairhurst wrote: > Steve Bennett wrote: >> >> Oh. So what do people use to debug with? > > I use Flex Open Source SDK 3.5, the Flash Debug Player, and the TextMate > text editor for OS X (http://macromates.com/). I'll have the debug player's > error log co

Re: [Potlatch-dev] Setting up Adobe Flex project

2010-12-13 Thread Andy Allan
On Sun, Dec 12, 2010 at 12:55 AM, Steve Bennett wrote: > Hi all, >  I've never used Flex (or done Flash development for that matter) > before, so please bear with me. I've been happily compiling P2 from > the command line with the SDK, but thought I'd give the IDE a burl. > There don't seem to be

Re: [Potlatch-dev] On GPX tracks in P2

2010-12-06 Thread Andy Allan
On Mon, Dec 6, 2010 at 7:42 PM, NopMap wrote: > > Hi! > > > Andy Allan wrote: >> >> The vectors.xml, imagery.xml and stylesheets.xml files are all >> requested at initialisation, so you could (if you had a need) provide >> custom per-user versions of any of

Re: [Potlatch-dev] On GPX tracks in P2

2010-12-06 Thread Andy Allan
On Mon, Dec 6, 2010 at 5:48 PM, NopMap wrote: > > > Andy Allan wrote: >> >> >> I think you're missing what we're trying to explain. I'm assuming your >> website supports sessions via cookies, or HTTP Basic auth, or some >> other way - tha

Re: [Potlatch-dev] On GPX tracks in P2

2010-12-06 Thread Andy Allan
On Sat, Dec 4, 2010 at 12:32 PM, NopMap wrote: You can set 1 or more GPX files to be loaded at startup using the vectors.xml config file, if that's what you're meaning: >>> Not really. That file obviously is global for all users. >> >> In theory you could create it dynamically - in

Re: [Potlatch-dev] "Source" key and map_features.xml

2010-12-06 Thread Andy Allan
On Sun, Dec 5, 2010 at 12:17 PM, Richard Fairhurst wrote: >> So I don't see the source key as crucial. What might be an idea, if >> it isn't already done, is record what background is in use when the >> changes are saved by using a tag on the changeset rather than every >> object - this won't say

Re: [Potlatch-dev] On GPX tracks in P2

2010-12-03 Thread Andy Allan
On Fri, Dec 3, 2010 at 1:36 PM, NopMap wrote: > As some time has passed, I wondered whether it is yet possible to set a > background track URL for P2 programmatically. Uploading to the server in a > separate step and entering the URL manually works, but is rather cumbersome. You can set 1 or mor

Re: [Potlatch-dev] Internationalisation

2010-12-03 Thread Andy Allan
On Fri, Dec 3, 2010 at 8:54 AM, NopMap wrote: > I noted that some parts are > currently not easily translated as texts are both used as keys for > references and shown to the user directly. Are they? I thought all internal references to Category elements were shown using the Category "name" rathe

[Potlatch-dev] P2 Bug reporting via trac

2010-12-01 Thread Andy Allan
Hi all, I'm sure you've seen the trac reports starting to come in. Now that we're running on the main pages of osm.org we're using the OSM trac for logging Blockers and Bugs. Please, for now, stick with the wiki for enhancement requests since there's a metric truckload of them there already. I al

Re: [Potlatch-dev] Congratulations on PL2

2010-12-01 Thread Andy Allan
On Tue, Nov 30, 2010 at 11:07 PM, Michal Migurski wrote: > If I have bug reports, is this the right place to send them? I've got some > feedback on the tag-editing interface. Until now we've been collecting issues on the wiki, but we're moving to Trac for bugs (and keeping suggested enhancement

Re: [Potlatch-dev] API documentation

2010-11-30 Thread Andy Allan
On Sat, Nov 27, 2010 at 6:29 AM, Steve Bennett wrote: > On Thu, Nov 25, 2010 at 10:21 PM, Andy Allan wrote: >> or you can read the ones that Dave automatically generates at >> >> http://random.dev.openstreetmap.org/potlatch2/docs/ > > Yay. I find even automatically gen

[Potlatch-dev] Vector layers from config file

2010-11-26 Thread Andy Allan
Hi Devs, I've started work on specifying vector background layers from config files - only BugLoader and BikeShopLoader are supported at the moment, but it'll be easy to expand it to cover the other loaders like tomH's new KML loader. I'd like to populate the VectorBackground dialog with things t

[Potlatch-dev] API documentation

2010-11-25 Thread Andy Allan
Hi devs, Two weeks ago I added asdoc support to Halcyon / Potlatch2. You can generate API documentation using ant ant docs or you can read the ones that Dave automatically generates at http://random.dev.openstreetmap.org/potlatch2/docs/ There's scant documentation available, but we're slowly

Re: [Potlatch-dev] Using tags of gpx tracks

2010-11-25 Thread Andy Allan
On Thu, Nov 25, 2010 at 8:26 AM, Martin Garbe wrote: > Hello, > > when uploading gpx tracks to osm you can also tag your track. > Some time ago I read that there is a plan to use these tags in potlatch to > color the gpx tracks differently. Was this only an idea or is this features > already imple

Re: [Potlatch-dev] Joining ways in P2

2010-11-17 Thread Andy Allan
On Wed, Nov 17, 2010 at 3:29 PM, Stellan Lagerstrom wrote: > I suspect that what he is missing is the J(oin) function of P1, where you > have an existing node that is already in the correct position, and on top of > what it needs to be joined with. Ah, gotcha. That is, quite literally, at the to

Re: [Potlatch-dev] Joining ways in P2

2010-11-17 Thread Andy Allan
On Wed, Nov 17, 2010 at 11:00 AM, NopMap wrote: > > > The new joining function in P2 works nicely. I think you are much less > likely now to inadvertantly join ways and mess up tags and relations. > > But I still haven't figured out how to join two ways in a T-shape, that are > supposed to be conn

[Potlatch-dev] Build numbers

2010-11-05 Thread Andy Allan
Howdy, I think it's worth pointing out that potlatch2 now has a build system (based on Ant, if you're interested). The best bit about this - and in fact the whole reason behind it - is that it incorporates build numbers. If you click on the "Help" button you can see both the version number (curre

Re: [Potlatch-dev] Weird update problem

2010-11-03 Thread Andy Allan
On Wed, Nov 3, 2010 at 12:35 PM, NopMap wrote: > > > After one day's wait, the new features are showing. But I still have no idea > where P2 was getting the old settings from. I was already thinking about > restarting Apache... :-) No, me either. There's no caching like that built into p2 itself,

Re: [Potlatch-dev] Drag and drop with missing icons

2010-10-29 Thread Andy Allan
On Sat, Oct 9, 2010 at 1:30 AM, Steve Bennett wrote: > On Fri, Oct 8, 2010 at 9:17 PM, Andy Allan wrote: >> . Until that's fixed in the code it's best to put even just a blank >> square icon into mapfeatures.xml, that way we keep the current HEAD >> version in a wo