You are not logged in.

Announcement

*** NOTICE: forum.openstreetmap.org is being retired. Please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators.
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***

#1 2014-02-21 19:45:15

LordOfMaps
Member
Registered: 2013-08-25
Posts: 87

JOSM: Plugin for easy circle-drawing

I'm looking for a JOSM plugin for easy circle-drawing. Like the plugin building_tools it should be able to draw a circle with just 3 clicks (on the circle-outline).
For the circle I would propose the rules:
- a minimum of 12 nodes per circle
- and a minimum of 1 node per meter

Who can help me? Thanks.

Offline

#2 2014-02-21 20:21:36

n76
Member
Registered: 2013-05-22
Posts: 313

Re: JOSM: Plugin for easy circle-drawing

Not sure if it was added to my tools list by an extension or not, but there is a "Create Circle" under the tool menu that takes three selected nodes and generates a circle. I don't see a way of telling it how many nodes to add though.

Offline

#3 2014-02-21 22:57:04

rayquaza
Member
From: DE-BW
Registered: 2012-11-18
Posts: 2,007

Re: JOSM: Plugin for easy circle-drawing

But that tool only moves already drawn Nodes towards a circle. Afaik there is no such tool (yet) and none planned ("OSM is not CAD"). I usually draw circles by drawing a lot of nodes approximately in a circle and press [O] several times, but wished to have such a tool as well.

Btw: You should rather set maximum-rules wink And how many nodes are needed would better be set by setting an acceptable angle, because count and distance clearly depend on the circle's radius.

Offline

#4 2014-02-21 23:35:53

n76
Member
Registered: 2013-05-22
Posts: 313

Re: JOSM: Plugin for easy circle-drawing

There are two circle tools, one moves existing nodes into a circle, the other takes three nodes, determines a circle from them and adds nodes to that circle.

Offline

#5 2014-02-22 09:37:29

LordOfMaps
Member
Registered: 2013-08-25
Posts: 87

Re: JOSM: Plugin for easy circle-drawing

rayquaza wrote:

How many nodes are needed would better be set by setting an acceptable angle, because count and distance clearly depend on the circle's radius.

That's a nice idea!


n76 wrote:

There are two circle tools [...] the other takes three nodes, determines a circle from them and adds nodes to that circle.

Where? I can't find such a tool.

Offline

#6 2014-02-22 17:44:03

n76
Member
Registered: 2013-05-22
Posts: 313

Re: JOSM: Plugin for easy circle-drawing

JOSM_create_circle.jpg

Offline

#7 2014-02-22 17:56:14

LordOfMaps
Member
Registered: 2013-08-25
Posts: 87

Re: JOSM: Plugin for easy circle-drawing

Thanks! smile

With createcircle.nodecount is is possible to increase the node number.

Suggestions for that static createcircle.nodecount - feature? 100?

Offline

#8 2014-02-22 19:12:08

rayquaza
Member
From: DE-BW
Registered: 2012-11-18
Posts: 2,007

Re: JOSM: Plugin for easy circle-drawing

LordOfMaps wrote:

Thanks! smile

From me too!

LordOfMaps wrote:

Suggestions for that static createcircle.nodecount - feature? 100?

I think I'll keep it at 8, because I'm adding more octagons than exact circles at the latter are easier with other tools than the former wink
But to "answer" your question: I just noticed I would even choose different values for the inside (i.e. 40) of a roudabout than for it's outside (i.e. 64)…
Btw: 100 is the maximum. (which is imho too few for some real circles, though enough for the most common ones)

Offline

#9 2014-02-26 12:01:34

avatar6
Member
From: Avdiyivka-Donetsk
Registered: 2013-12-12
Posts: 257

Re: JOSM: Plugin for easy circle-drawing

http://wiki.openstreetmap.org/wiki/JOSM … d_commands

JOSM/Plugins/CommandLine wrote:

Circle      Creates a regular polygon with a given radius of the circumscribed circle and the number of sides.

Last edited by avatar6 (2014-02-26 12:02:15)

Offline

Board footer

Powered by FluxBB