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-08-08 21:17:15

pwoelfel
Member
Registered: 2014-08-08
Posts: 14

JOSM: New plugin to ease mapping objects from background

Hi All!

Thomas and I have created a plugin for JOSM called AreaSelector, which allows you to create objects from background imagery. It was build to help mapping buildings based on imagery from basemap.at, but it could also be used for other imagery.

The plugin creates an image from all background layer and creates a polygon around the point you clicked. The analysis is based on the color at the click point. It may not create the perfect shape, but I think it's a good base for mapping buildings.

A building tag dialog will automatically appear with the last values remembered. That makes it easier if you map multiple buildings in one street, so you don't have to enter street, city aso. every time.

Example1.png

I would be happy to get some feedback what you think about the plugin!

Offline

#2 2014-08-10 15:29:54

toc-rox
Member
From: Münster
Registered: 2011-07-20
Posts: 2,357
Website

Re: JOSM: New plugin to ease mapping objects from background

It seems that AreaSelector isn't compatible with Tracer2. If both are activated, Tracer2 crashes after selecting an area (reverse procedure not tested).

Greetings Klaus

Offline

#3 2014-08-10 21:05:33

pwoelfel
Member
Registered: 2014-08-08
Posts: 14

Re: JOSM: New plugin to ease mapping objects from background

Hi Klaus,

I wanted to include some functionality from Tracer2 and copied some classes. I did not use that function, so I remove that classes.

Version 1.2.2 is now available: https://github.com/JOSM/JOSM-areaselect … tag/v1.2.2

Please let me know if that fixes the issue.

Offline

#4 2014-08-11 05:41:17

kucai
Moderator
Registered: 2011-11-08
Posts: 354

Re: JOSM: New plugin to ease mapping objects from background

slightly a different topic (since you're into image processing) big_smile

Can you make a plugin to zoom mapbox images (which has max zoom = 17) to interpolate to higher resolutions in a much prettier way like in ID editor? Currently, those mapbox images look very blocky in JOSM when interpolated at higher zoom range.

Thanks.

Offline

#5 2014-08-11 06:35:22

pwoelfel
Member
Registered: 2014-08-08
Posts: 14

Re: JOSM: New plugin to ease mapping objects from background

Hi kucai!

There is already an issue for that on github:
https://github.com/JOSM/JOSM-areaselector/issues/8

Unfortunatetly the min or max zoom level does not always work. For basemap i.e. you get 0 as max zoom which is already overzoomed and you get jpeg artifacts.

Thomas is already on it and I hope we can implement that soon.

If anybody has a piece of code how to find out the best zoom factor that works good please let me know.

Offline

Board footer

Powered by FluxBB