Re: [josm-dev] Bing imagery now available in JOSM

2010-12-01 Thread Viesturs Zariņš

What about offset correction?
This is pretty important in some areas.

Viesturs

On 2010.12.01. 13:26, Sebastian Klein wrote:

Hi,

thanks to fast development by Ian Dees, Bing imagery can now be used 
in JOSM.


You'll need the latest version of josm (3688)
 ( http://josm.openstreetmap.de/download/josm-snapshot-3688.jar )

and an updated version of the slippy map plugin. Then go to 
Preferences (F12)  Slippy map and choose Bing Aerial Maps as Tile 
Source.


Have fun!


Sebastian


PS: In case you don't know, it's up and running in Potlatch 2 for some 
time already.


___
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


Re: [josm-dev] Improved multipolygon plugin

2010-11-26 Thread Viesturs Zariņš

Hi,

On 2010.11.25. 22:45, Sebastian Klein wrote:

Viesturs Zarins wrote:

Hi All,

Just commited improvements to the multipolygon plugin.
Changes:
- Can now handle polygons consisting of several unclosed ways.
- Supports multiple outer ways and deeper nesting.
- Detects crossings.
- Opens relation editor.


It does not open the relation editor for me.

Somebody made shoing the editor optional, disabled by default.
You have to add custom value to advanced preferences 
multipoly.show-relation-editor = true





I have not yet commited a new version to the dist folder.

Could someone please try it out?
And what is the policy of pushing new versions? Can I just commit a new
version into the dist folder, or is there some review?


I'm in the mood of adding plugins to JOSM core... :)
Are you planning more improvements or is it ready so far?

It is generally finished and ready to go. Just remember to discard the 
GeometryFunctions.java and use code from tools/Geometry.java
Also take a look at the commented out block in 
MultipolygonAction.java#ActionPerformed. Maybe you can make it work.


I would also like to add some detection for existing multipolygons, so 
that it prompts if you like to create new multipolygon or add ways to 
existing multipolygon.
But currently I'm working on improving Join areas to work with really 
big and dirty datasets. I have several triangulated areas to import. And 
that will take me another week or so.




Sebastian

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



Viesturs

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


Re: [josm-dev] Microsoft gains access to aerial imagery

2010-11-24 Thread Viesturs Zariņš

+1 from me.

I would say we need to set up such a system as fast as possible and 
integrate with JOSM and Portlatch.

Otherwise we will end up with lots of data traced with incorrect offsets.

I would opt for submitting bug reports with points and offsets, so that 
there is some review before the adjustments are implemented.


Cheers,
Viesturs


On 2010.11.24. 17:32, Lennard wrote:

2010/11/24 Frederik Rammfrede...@remote.org:
in case of a constant offset at given locations (and not some warping
problem), it would be cool to store (and possibly collect in an OSM /
JOSM-database) those locations with their offsets for corrections, so
that a user wouldn't have to adjust it manually everytime.

Such a system would also be extremely helpful for other image providers. I
keep moving yahoo to its right position whenever I edit something in my
local area. Having JOSM store that offset locally or even remotely so
others can benefit would be something to consider.




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


Re: [josm-dev] Expanded functionality of Join Areas action

2010-10-12 Thread Viesturs Zariņš

 Hi!

On 2010.10.09. 19:03, M∡rtin Koppenhoefer wrote:

2010/10/7 Viesturs Zariņšviest...@gmail.com:

I propose two new use cases:
- select outer and inner way that have no intersections. Joining them makes
a multipolygon, transfers all relevant tags from outer way to the
multipolygon.


the transfer all relevant tags should be interactive: how could the
program know which tags belong to the outer way and which to the
relation?


Point taken.

Ultimately I see the Join areas as a tool to Make an area out of the
selected ways, no matter what it takes and the tool will do all that is
necessary to do so.


I don't see this as join area, there is already a different
multipolygon-plugin. (Unfortunately it destroys current shortcuts (m
for merge points), at least it did this when I installed it some time
ago).


It is bound to ctrl+shift+m for some time now.
I will work on the plugin, make it better.


cheers,
Martin

Cheers,
Viesturs

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


[josm-dev] Expanded functionality of Join Areas action

2010-10-07 Thread Viesturs Zariņš

 Hi,

I am new to this list, but not new to JOSM.
I would like to propose expanded functionality of Join Areas command and 
would like to hear your comments.

Let's make it into a multipolygon making tool.

I propose two new use cases:
- select outer and inner way that have no intersections. Joining them 
makes a multipolygon, transfers all relevant tags from outer way to the 
multipolygon.
- select several unclosed ways that together form a closed way. Joining 
them makes a new multipolygon.


Ultimately I see the Join areas as a tool to Make an area out of the 
selected ways, no matter what it takes and the tool will do all that is 
necessary to do so.


I am willing to implement the change, and have sufficient experience on 
improving existing current implementation of Join Areas ( see bug #5179).


Cheers,
Viesturs

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


Re: [josm-dev] Expanded functionality of Join Areas action

2010-10-07 Thread Viesturs Zariņš

 Hi,

On 2010.10.07. 14:29, Sebastian Klein wrote:

Hi,

I wonder if the user would expect all these features from a Join 
Areas command. How would you call it then, Swiss Army Knife for Areas?


Why not have one tool for joining areas and another tool for creating 
them?

I see your point.


(Just in case you don't know already: There are Multipolygon creation 
plugins (with very limited functionality) and a class 
data.osm.visitor.paint.relations.Multipolygon to detect inner and 
outer rings.)

I am aware of this plugin and it's limited functionality.


The multipoly plugin will be included in JOSM core as soon as it has 
all features that you would expect from such a tool. (E.g. create 
multipolygon from several unclosed ways that together form a closed 
way.) So you can either get svn access (if you don't have already) 
and hack on the multipoly plugin or simply post the patch for josm 
core at the bug tracker.
I will take a look at the multipoly plugin. I expect to reuse much of 
code written for Join Areas and would not like to copy it around. That 
was the technical reason behind making a Swiss army knife.


I don't have svn access, can you give me one to split the shared code 
out into a separate tools class ( GeometryAlgorithms )?





Sebastian


Viesturs Zariņš wrote:

 Hi,

I am new to this list, but not new to JOSM.
I would like to propose expanded functionality of Join Areas command 
and would like to hear your comments.

Let's make it into a multipolygon making tool.

I propose two new use cases:
- select outer and inner way that have no intersections. Joining them 
makes a multipolygon, transfers all relevant tags from outer way to 
the multipolygon.
- select several unclosed ways that together form a closed way. 
Joining them makes a new multipolygon.


Ultimately I see the Join areas as a tool to Make an area out of the 
selected ways, no matter what it takes and the tool will do all that 
is necessary to do so.


I am willing to implement the change, and have sufficient experience 
on improving existing current implementation of Join Areas ( see bug 
#5179).


Cheers,
Viesturs


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

Viesturs

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