[josm-dev] Simply convert a area into a multypolygon

2010-03-10 Thread Stéphane Brunner
Hello,

I have create a plugin to simply convert a area into a multipolygon.

The plugin
http://www.stephane-brunner.ch/multipoly-convert.jar

The sources
http://www.stephane-brunner.ch/multipoly-convert-src.tar.gz

A screencast
http://www.stephane-brunner.ch/convert-to-multipoly-screencast.mpeg

The actual plugin homepage
http://www.stephane-brunner.ch/mediawiki/index.php/Plugins


Is it possible to add it in the josm svn and in the plugin list.

All comment are welcome.

CU
Stéphane


-- 
Stéphane Brunner
Messagerie instantanée (Jabber - XMPP) : stephane.brun...@jabber.fr
--
Si un jour on te reproche que ton travail n'est pas un travail de
professionnel, dis toi que : Des amateurs ont construit l'arche de Noé,
et des professionnels le Titanic.
attachment: courriel.vcf

smime.p7s
Description: S/MIME Cryptographic Signature
___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] Simply convert a area into a multypolygon

2010-03-10 Thread Stéphane Brunner
Hello,

Thanks I send a message to TomH to have it :-)

CU
Stéphane


Dirk Stöcker a écrit :
 On Wed, 10 Mar 2010, Stéphane Brunner wrote:
 
 I have create a plugin to simply convert a area into a multipolygon.
 [...]
 
 Is it possible to add it in the josm svn and in the plugin list.
 
 Second is easy:
 
 Add your link here:
 http://josm.openstreetmap.de/wiki/Plugins
 
 For the first you need to get an OSM SVN account. There are hints in web
 how to get one.
 
 Ciao
 
 
 
 
 ___
 josm-dev mailing list
 josm-dev@openstreetmap.org
 http://lists.openstreetmap.org/listinfo/josm-dev

-- 
Stéphane Brunner
Messagerie instantanée (Jabber - XMPP) : stephane.brun...@jabber.fr
--
Si un jour on te reproche que ton travail n'est pas un travail de
professionnel, dis toi que : Des amateurs ont construit l'arche de Noé,
et des professionnels le Titanic.
attachment: courriel.vcf

smime.p7s
Description: S/MIME Cryptographic Signature
___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] Simply convert a area into a multypolygon

2010-03-10 Thread Sebastian Klein
Hi Stéphane!

 I have create a plugin to simply convert a area into a multipolygon.

Have you considered adding it to the original multipolygon plugin?

I noticed that it shows on error if you try to execute it on a selection 
like the one you have described.

It would be nice if it would not show an error message but instead run 
the code that you wrote especially for this case!

PS: Thanks for the work.

__

Sebastian

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


Re: [josm-dev] Simply convert a area into a multypolygon

2010-03-10 Thread MP
 Hi Stéphane!
   I have create a plugin to simply convert a area into a multipolygon.
 Have you considered adding it to the original multipolygon plugin?

For my original multipolygon plugin I plan to add some of the advanced
multipolygon features (like correctly handling outer way not being a
single way, but string of ways forming a loop - to bypass the 2000
nodes/way limit)

I think if that would be added, then these cases could be then solved too.

First, it would try to group all unclosed ways into closed loops, then
do the same as previously, just internally working with bunches of
ways instead of single ways when determining what is outer way and
what inner.

Questing is how to handle tags in this case - current code does not
care about them, but it could be useful to move the tags from ways to
relation (but what if tags differ?)

Martin


  I noticed that it shows on error if you try to execute it on a selection
  like the one you have described.

  It would be nice if it would not show an error message but instead run
  the code that you wrote especially for this case!

  PS: Thanks for the work.

  __


  Sebastian


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


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