Re: [josm-dev] JOSM Server

2013-03-20 Thread Dirk Stöcker

On Tue, 19 Mar 2013, Vincent Privat wrote:


Do you think a split per country would be enough ?


I think about a system similar to Presets and Styles. Simply a subpage 
containing whatever part we think useful. Though there must be code to 
join that stuff later again. :-)


Give me some time for that...

Ciao
--
http://www.dstoecker.eu/ (PGP key available)


___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] JOSM Server

2013-03-20 Thread Dirk Stöcker

On Tue, 19 Mar 2013, Paul Norman wrote:


It's also hard to edit a wiki page that long. I've been copying the page out
to a text editor, editing it, the pasting it back in. With the size the page
is I think it should either be split into multiple sub-pages (global,
Americas, Europe, etc) or managed with source code version control. The Wiki
was not designed for a massive XML page.


Originally the page was not designed that large. The border outlines 
weren't expected in design stage :-)


Ciao
--
http://www.dstoecker.eu/ (PGP key available)


___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


[josm-dev] validator / power=line no power=pole|tower

2013-03-20 Thread Florian Lohoff

Hi,

i have a power minor_line which ends in a brick tower like sub_station.
Thus i made a building=yes way for the substation and let the
power=minor_line end on a node on the outer way for the building which
is the obvious thing as just the isolators are mounted to the wall.

Now the josm validator shows me a warning that the minor_lines node does
not contain a power pole or tower which in this case is correct.

I think this is a false warning.

Flo
-- 
Florian Lohoff f...@zz.de


signature.asc
Description: Digital signature
___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


[josm-dev] undelete plugin?

2013-03-20 Thread Martin Koppenhoefer
I tried to install the undelete plugin today but got this problem:
Could not load plugin undelete because the plugin main class
'org.openstreetmap.josm.plugins.undelete.Undelete' was not found.
Delete from preferences?

Is this a bug or intentional? Is there an alternative solution to
undelete nodes within JOSM?

When I try to download the deleted node via the API I get the message
that the node is deleted (yes, true), maybe there could be an option
to get the previous version of this object? (OK, this would probably
create a conflict on upload, so it would be a feature for advanced
users who don't need the GUI anyway).

Cheers,
Martin

___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] undelete plugin?

2013-03-20 Thread Toby Murray
On Wed, Mar 20, 2013 at 6:50 AM, Martin Koppenhoefer
dieterdre...@gmail.com wrote:
 I tried to install the undelete plugin today but got this problem:
 Could not load plugin undelete because the plugin main class
 'org.openstreetmap.josm.plugins.undelete.Undelete' was not found.
 Delete from preferences?

 Is this a bug or intentional? Is there an alternative solution to
 undelete nodes within JOSM?

Worked for me although the plugin doesn't seem to handle things when
the object has been changed by the redaction bot so some of the
historic versions are hidden.

 When I try to download the deleted node via the API I get the message
 that the node is deleted (yes, true), maybe there could be an option
 to get the previous version of this object? (OK, this would probably
 create a conflict on upload, so it would be a feature for advanced
 users who don't need the GUI anyway).

You can get previous versions of an object from the API. This is how
this plugin and the reverter plugin both work. See here:
http://wiki.openstreetmap.org/wiki/Api06#History:_GET_.2Fapi.2F0.6.2F.5Bnode.7Cway.7Crelation.5D.2F.23id.2Fhistory

Basically, you just add a version number to the end of the URL. Or
/history for the complete history. Version 10 of node 2:
http://api.openstreetmap.org/api/0.6/node/2/10

Of course the redaction bot makes things interesting again. If you
request a version of an object that was redacted, you will get a 403
response back. Change that 10 in the above URL to an 11 to see that in
action.

Toby

___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] undelete plugin?

2013-03-20 Thread Martin Koppenhoefer
2013/3/20 Pieren pier...@gmail.com:
 On Wed, Mar 20, 2013 at 12:50 PM, Martin Koppenhoefer
 dieterdre...@gmail.com wrote:
 I tried to install the undelete plugin today but got this problem:
 Could not load plugin undelete because the plugin main class
 'org.openstreetmap.josm.plugins.undelete.Undelete' was not found.
 Delete from preferences?

 This seems to be a plugin management problem, not a problem with
 undeleting a redacted element.


maybe it is OS-related? I'm on a Mac currently. Anyway, I just
restarted JOSM and it worked (installed the plugin). Strange (before I
did also restart, but using the restart JOSM-Option, maybe that was
the reason?).


@Toby: thank you for your help, I know this mechanism and had already
undeleted the node via the API and JOSM (save osm-file from Api to
disk, removed the last version in text editor, load into JOSM, added
another tag, updated data in JOSM, resolved conflict), my concern was
whether the plugin was generally broken.

cheers,
Martin

___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev