~qeef/damn-project

6 2

Square? numbering

Details
Message ID
<cdf9b5d7813e47cc07aec8a61cee0536@gusl.org>
DKIM signature
missing
Download raw message
Hi,

      Actually DAMN[1] definition is about "squares", but maybe we can 
talk about any geometric figure? :-) ... I know every "square" have a 
number, any chance to have this number available on the map? So i can 
tell anyone to lock specific one ( this apply for josm plugin too ) ... 
With this we can monitor specific area for live notes and don't have 
random square every time.

[1] Divide and map. Now. -- the damn project -- helps mappers by 
dividing a big area into smaller squares that people can map together.

Thanks!
Details
Message ID
<ZHzuOIdL9Ah/genZ@gmail.com>
In-Reply-To
<cdf9b5d7813e47cc07aec8a61cee0536@gusl.org> (view parent)
DKIM signature
missing
Download raw message
Hi risturiz,

> Actually DAMN[1] definition is about "squares", but maybe we can talk
> about any geometric figure? :-)

I would say the other way... The DAMN is about any geometric figure, but
we can talk about them as about a "square" :) Please, note that I just
didn't find a better name than square [1].

> ... I know every "square" have a number, any chance to have this
> number available on the map?

In the mappy client [2], you can hover over the square to show the
number and the current state.

> So i can tell anyone to lock specific one ( this apply for josm plugin
> too )

I think I got it. This should be easy to implement, I will let you know
when it's done.

To reformulate the request as I understand it -- implement "manual
square lock" [3] into the JOSM damn plugin. Square is identified by the
number (known as sid in the damn server internals).


[1]: https://lists.sr.ht/~qeef/damn-project/%3C09F3A99D-9F23-4FCB-9F64-1ADA73B8582A%40yahoo.com%3E
[2]: https://qa.damn-project.org/mappy/
[3]: https://damn-project.org/#squares-state-transitions
Details
Message ID
<047314da45eaf5db61f172c4431d4d16@gusl.org>
In-Reply-To
<ZHzuOIdL9Ah/genZ@gmail.com> (view parent)
DKIM signature
missing
Download raw message
On 04/06/2023 15:04, Jiri Vlasak wrote:
> Hi risturiz,
> 
>> Actually DAMN[1] definition is about "squares", but maybe we can talk
>> about any geometric figure? :-)
> 
> I would say the other way... The DAMN is about any geometric figure, 
> but
> we can talk about them as about a "square" :) Please, note that I just
> didn't find a better name than square [1].

      You are right... Only that "square" refer to specific figure.

      (Geometry comes from two Greek words, “ge” meaning “earth” and 
“metria” meaning “measuring.”)

      Divide and map. Now. -- the damn project -- helps mappers by 
dividing a big area into smaller "gemetria" that people can map 
together.

      Only a crazy idea :-)

>> ... I know every "square" have a number, any chance to have this
>> number available on the map?
> 
> In the mappy client [2], you can hover over the square to show the
> number and the current state.

      Ok, didn't know that ( maybe for big areas like 80 "squares" or 
more, should be easy to see all numbers on each one )... You can have 
the "big" picture without go one by one to see what number is.

>> So i can tell anyone to lock specific one ( this apply for josm plugin
>> too )
> 
> I think I got it. This should be easy to implement, I will let you know
> when it's done.
> 
> To reformulate the request as I understand it -- implement "manual
> square lock" [3] into the JOSM damn plugin. Square is identified by the
> number (known as sid in the damn server internals).

     Yes, manual square lock... So we can have two options ( random and 
manual ). I can open mappy client and tell people working on Josm what 
square to solve first ( this is intended for humanitarian live mapping 
)... We today used DAMN to simulate this[1]

[1] https://i.imgur.com/SJ9ulne.png

Thanks!
Details
Message ID
<ZH5czrdaXalr/gH7@gmail.com>
In-Reply-To
<047314da45eaf5db61f172c4431d4d16@gusl.org> (view parent)
DKIM signature
missing
Download raw message
> > > Actually DAMN[1] definition is about "squares", but maybe we can talk
> > > about any geometric figure? :-)
> > 
> > I would say the other way... The DAMN is about any geometric figure, but
> > we can talk about them as about a "square" :) Please, note that I just
> > didn't find a better name than square [1].
> 
>      You are right... Only that "square" refer to specific figure.
> 
>      (Geometry comes from two Greek words, “ge” meaning “earth” and “metria”
> meaning “measuring.”)
> 
>      Divide and map. Now. -- the damn project -- helps mappers by dividing a
> big area into smaller "gemetria" that people can map together.
> 
>      Only a crazy idea :-)

That's true and I like your idea, but I am still hesitating. When saying
"area is divided into the squares", it is not precise but it is clear
what people imagine. On the other hand, I am not sure what would mappers
understand when saying "area is divided into the gemetrias".

> > > ... I know every "square" have a number, any chance to have this
> > > number available on the map?
> > 
> > In the mappy client [2], you can hover over the square to show the
> > number and the current state.
> 
>      Ok, didn't know that ( maybe for big areas like 80 "squares" or more,
> should be easy to see all numbers on each one )... You can have the "big"
> picture without go one by one to see what number is.

This is reasonable. I have updated the related todo [2] to get it
implemented when the time comes.

> > > So i can tell anyone to lock specific one ( this apply for josm plugin
> > > too )
> > 
> > I think I got it. This should be easy to implement, I will let you know
> > when it's done.
> > 
> > To reformulate the request as I understand it -- implement "manual
> > square lock" [3] into the JOSM damn plugin. Square is identified by the
> > number (known as sid in the damn server internals).
> 
>     Yes, manual square lock... So we can have two options ( random and
> manual ). I can open mappy client and tell people working on Josm what
> square to solve first ( this is intended for humanitarian live mapping )...

Feel free to upgrade to the JOSM damn plugin version 0.11.1. There is a
new "Lock" button along with "Map" and "Review" ones when working on the
area. Clicking the "Lock" button opens the dialog where the "Square
number (sid)" should be put.

The following is undocumented feature, because it goes against "mappers
contribute" philosophy (area managers shouldn't decide the work for
particular mappers), therefore I am whispering now: You may put
_mapper's name into the area instructions with the value of sid that
will be put into the dialog after "Lock" is clicked, e.g. put "_qeef"
with the value of "791" into the instructions; when "qeef" clicks
"Lock", he sees Lock square "791" instead of Lock square "Square number
(sid)".

> We today used DAMN to simulate this[1]
> 
> [1] https://i.imgur.com/SJ9ulne.png

Nice :)


[2]: https://todo.sr.ht/~qeef/damn-project/13
Details
Message ID
<816a916fd72163fd189ce238217a9810@gusl.org>
In-Reply-To
<ZH5czrdaXalr/gH7@gmail.com> (view parent)
DKIM signature
missing
Download raw message
On 05/06/2023 17:08, Jiri Vlasak wrote:
>> > > Actually DAMN[1] definition is about "squares", but maybe we can talk
>> > > about any geometric figure? :-)
>> >
>> > I would say the other way... The DAMN is about any geometric figure, but
>> > we can talk about them as about a "square" :) Please, note that I just
>> > didn't find a better name than square [1].
>> 
>>      You are right... Only that "square" refer to specific figure.
>> 
>>      (Geometry comes from two Greek words, “ge” meaning “earth” and 
>> “metria”
>> meaning “measuring.”)
>> 
>>      Divide and map. Now. -- the damn project -- helps mappers by 
>> dividing a
>> big area into smaller "gemetria" that people can map together.
>> 
>>      Only a crazy idea :-)
> 
> That's true and I like your idea, but I am still hesitating. When 
> saying
> "area is divided into the squares", it is not precise but it is clear
> what people imagine. On the other hand, I am not sure what would 
> mappers
> understand when saying "area is divided into the gemetrias".

      You can put some side link? "area is divided into the squares[*]" 
and explain at bottom or other page the concept of "any geometric 
figure"... This could help to solve the problem and keep "square" by 
definition :-)

>> > > ... I know every "square" have a number, any chance to have this
>> > > number available on the map?
>> >
>> > In the mappy client [2], you can hover over the square to show the
>> > number and the current state.
>> 
>>      Ok, didn't know that ( maybe for big areas like 80 "squares" or 
>> more,
>> should be easy to see all numbers on each one )... You can have the 
>> "big"
>> picture without go one by one to see what number is.
> 
> This is reasonable. I have updated the related todo [2] to get it
> implemented when the time comes.

Nice!

>> > > So i can tell anyone to lock specific one ( this apply for josm plugin
>> > > too )
>> >
>> > I think I got it. This should be easy to implement, I will let you know
>> > when it's done.
>> >
>> > To reformulate the request as I understand it -- implement "manual
>> > square lock" [3] into the JOSM damn plugin. Square is identified by the
>> > number (known as sid in the damn server internals).
>> 
>>     Yes, manual square lock... So we can have two options ( random and
>> manual ). I can open mappy client and tell people working on Josm what
>> square to solve first ( this is intended for humanitarian live mapping 
>> )...
> 
> Feel free to upgrade to the JOSM damn plugin version 0.11.1. There is a
> new "Lock" button along with "Map" and "Review" ones when working on 
> the
> area. Clicking the "Lock" button opens the dialog where the "Square
> number (sid)" should be put.

Done!... By definition when i want to lock specific square, the plugin 
download all Notes? ( not only Notes inside specific square ).

> The following is undocumented feature, because it goes against "mappers
> contribute" philosophy (area managers shouldn't decide the work for
> particular mappers), therefore I am whispering now: You may put
> _mapper's name into the area instructions with the value of sid that
> will be put into the dialog after "Lock" is clicked, e.g. put "_qeef"
> with the value of "791" into the instructions; when "qeef" clicks
> "Lock", he sees Lock square "791" instead of Lock square "Square number
> (sid)".

Not decide but more for coordination, if people join live 
Notathon/Mapathon and ask where they can help... I know is different 
when you have an area project not intended to map on emergency, having 
other people reporting changes on site. For the mapper name you say when 
someone lock square the osm login appear on map?... I mostly use Josm 
plugin, so i don't get that part.

Thanks!
Details
Message ID
<ZITcCIvj5ksT3jX2@gmail.com>
In-Reply-To
<816a916fd72163fd189ce238217a9810@gusl.org> (view parent)
DKIM signature
missing
Download raw message
> > > > > Actually DAMN[1] definition is about "squares", but maybe we
> > > > > can talk about any geometric figure? :-)
> > > >
> > > > I would say the other way... The DAMN is about any geometric
> > > > figure, but we can talk about them as about a "square" :)
> > > > Please, note that I just didn't find a better name than square
> > > > [1].
> > > 
> > >      You are right... Only that "square" refer to specific figure.
> > > 
> > >      (Geometry comes from two Greek words, “ge” meaning “earth”
> > >      and “metria” meaning “measuring.”)
> > > 
> > >      Divide and map. Now. -- the damn project -- helps mappers by
> > >      dividing a big area into smaller "gemetria" that people can
> > >      map together.
> > > 
> > >      Only a crazy idea :-)
> > 
> > That's true and I like your idea, but I am still hesitating. When
> > saying "area is divided into the squares", it is not precise but it
> > is clear what people imagine. On the other hand, I am not sure what
> > would mappers understand when saying "area is divided into the
> > gemetrias".
> 
>      You can put some side link? "area is divided into the squares[*]"
>      and explain at bottom or other page the concept of "any geometric
>      figure"...  This could help to solve the problem and keep
>      "square" by definition :-)

That's good idea. I have slightly updated the web [1] and the wiki [2].
I am happy to improve it further.

> > Feel free to upgrade to the JOSM damn plugin version 0.11.1. There
> > is a new "Lock" button along with "Map" and "Review" ones when
> > working on the area. Clicking the "Lock" button opens the dialog
> > where the "Square number (sid)" should be put.
> 
> Done!... By definition when i want to lock specific square, the plugin
> download all Notes? ( not only Notes inside specific square ).

I needed to check it. The OpenStreetMap API allows downloading the data
or notes based on the bounding box (min lat, min lon, max lat, max lon),
not inside an arbitrary geometry. It means that in the damn plugin, all
data/notes from the area that is not hatched are downloaded.

So the correct answer is that the JOSM damn plugin downloads data/notes
inside the bounding box of the square's border geometry. This is painful
for areas like the area 2484. (However, that's the limitation of the OSM
API as well as the JOSM API. Please, note that "Download notes in
current view" button of the "Notes" window downloads all the notes in
the whole area that can be seen in the JOSM.)

I would propose to slightly change the workflow. Do not divide the area
in advance, but provide "name" to avoid the damn project to divide the
area. Then, in the refactored mappy [3], you can lock the single square
of the area and split it while specifying the number of columns and rows
of the split. Feel free to split and merge however you want, until you
are happy.

Split always generates rectangular shapes. (This is a deliberate
decision. It would be trivial to allow all the shapes available during
the initial dividing, but I am afraid of the consequences.) Therefore,
the bounding box and the border of a splitted square are the same (with
the possible exceptions for the squares on the area boundary). The same
can't be said about the merge, so be aware of the bounding box
limitation when merging.

> > The following is undocumented feature, because it goes against
> > "mappers contribute" philosophy (area managers shouldn't decide the
> > work for particular mappers), therefore I am whispering now: You may
> > put _mapper's name into the area instructions with the value of sid
> > that will be put into the dialog after "Lock" is clicked, e.g. put
> > "_qeef" with the value of "791" into the instructions; when "qeef"
> > clicks "Lock", he sees Lock square "791" instead of Lock square
> > "Square number (sid)".
> 
> Not decide but more for coordination, if people join live
> Notathon/Mapathon and ask where they can help... I know is different
> when you have an area project not intended to map on emergency, having
> other people reporting changes on site. For the mapper name you say
> when someone lock square the osm login appear on map?... I mostly use
> Josm plugin, so i don't get that part.

I am sorry for the inconsistent text. I understand the need but I would
like to avoid this feature to be the norm, so it is not documented.

In the manager [4], you may "add instruction" with the _mapper's name
(like _qeef) into the "what to map" field and number (like 791) into the
"link to wiki" field. The result is that when the mapper clicks "Lock"
in the JOSM damn plugin, the number (like 791) appears instead of the
default text. You need to add that particular instruction with the
_mapper's name and the corresponding number, and "update area ...."
*before* the mapper clicks and downloads the area in the JOSM damn
plugin. (If not, the mapper needs to "Get Areas" and click the
appropriate area again.)

Feel free to see an example and to test on the area 7112 [5].

[1]: https://damn-project.org/
[2]: https://wiki.openstreetmap.org/wiki/Divide_and_map._Now.
[3]: https://qa.damn-project.org/mappy/
[4]: https://manager.damn-project.org/
[5]: https://manager.damn-project.org/#area=7112
Details
Message ID
<ZIpeaKPELA30i4YD@gmail.com>
In-Reply-To
<ZITcCIvj5ksT3jX2@gmail.com> (view parent)
DKIM signature
missing
Download raw message
> I would propose to slightly change the workflow. Do not divide the area
> in advance, but provide "name" to avoid the damn project to divide the
> area. Then, in the refactored mappy [3], you can lock the single square
> of the area and split it while specifying the number of columns and rows
> of the split. Feel free to split and merge however you want, until you
> are happy.

When you have no "name" in the GeoJSON file, you may use "custom squares
count" in the manager [1] now, instead of lock & split in the mappy.

> > > The following is undocumented feature

I have updated the web page [2] so the "undocumented" is not true
anymore.

> [3]: https://qa.damn-project.org/mappy/
[1]: https://manager.damn-project.org/#area=new
[2]: https://damn-project.org/#download-notes-periodically
Reply to thread Export thread (mbox)