[josm-dev] Preset

2013-09-13 Thread Inger Holndonner
 Dear Developers,
i wanted to make a diving-preset for openseamap, but i had some problems in
developing, therefore I hope you experts could help me? First one is: I
changed all text to english, because at first the languages where mixed
although I always used the similar order ( text = “XXX” de.text = ” XXX”
…), furthermore the program translated some terms (for example 'river' to
german 'Fluss' in ScubaDiving/Divesites/Type of this divesite, same problem
with “Webseite”) although they weren’t mentioned in the preset?? Why and
how does this happen?
I hope one of you can help me. Thank you very much!
Inger Heartographix
___
josm-dev mailing list
josm-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] Preset

2013-09-13 Thread colliar
On 13.09.2013 16:57, Inger Holndonner wrote:

Hey Inger

 i wanted to make a diving-preset for openseamap, but i had some problems in
 developing, therefore I hope you experts could help me? First one is: I
 changed all text to english, because at first the languages where mixed
 although I always used the similar order ( text = “XXX” de.text = ” XXX”
 …), furthermore the program translated some terms (for example 'river' to
 german 'Fluss' in ScubaDiving/Divesites/Type of this divesite, same problem
 with “Webseite”) although they weren’t mentioned in the preset?? Why and
 how does this happen?

The defaultpreset.xml is translated together with other code through
Launchpad. If you use a text/name string which is also used within
defaultpreset you need no translation or you need to add *_context= to
define a different context/meaning.

 I hope one of you can help me. Thank you very much!

Please have a look at the top section of defaultpreset.xml for
up-to-date documentation.


Cheers

colliar



signature.asc
Description: OpenPGP digital signature
___
josm-dev mailing list
josm-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/josm-dev


Re: [josm-dev] preset syntax (problems)

2013-05-03 Thread Dirk Stöcker

On Thu, 2 May 2013, colliar wrote:


Finally I do not understand match:
Is it possible to have a entry only active for certain type of object
and/or certain other tag on the objects ?

E.g.:
* have combo tag=service values=... only active if
highway=service is already chosen/tagged.
* have text tag=width  only active for ways but not for closed ways.


Match is do determine if a certain object is affected by that preset or 
not. This is mainly for the display of the matching presets for any 
object. This is necessary as otherwise some important presets would never 
be displayed automatically.


Ciao
--
http://www.dstoecker.eu/ (PGP key available)


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


[josm-dev] preset syntax (problems)

2013-05-02 Thread colliar
Hi

I try to understand the preset syntax but I have problems. Think on
problem are defects.

I already reported one today about check.

Think length does neither work.

Finally I do not understand match:
Is it possible to have a entry only active for certain type of object
and/or certain other tag on the objects ?

E.g.:
* have combo tag=service values=... only active if
highway=service is already chosen/tagged.
* have text tag=width  only active for ways but not for closed ways.


Cheers
colliar



signature.asc
Description: OpenPGP digital signature
___
josm-dev mailing list
josm-dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/josm-dev


[josm-dev] Preset about roundabouts

2009-09-23 Thread Pieren
JOSM presets is adding a oneway=yes tag for roundabouts. Could you
remove this, please ? This is in contradiction with the wiki (linked
in the dialog itself) which says clearly that oneway is implied:

 http://wiki.openstreetmap.org/wiki/Tag:junction%3Droundabout

and something about common sens since it is said since years in OSM
that the direction of the way gives the oneway direction in
roundabouts. And if it is not oneway, it is simply not a roundabout
(excepted for the 3 or 4 magic roundabouts in the world). Otherwise we
start to see complains about roundabouts tagged with oneway=-1

 http://lists.openstreetmap.org/pipermail/newbies/2009-July/003279.html
 http://lists.openstreetmap.org/pipermail/josm-dev/2009-March/002731.html

We also see some validation tools that report this as an error (osmose)


Created as ticket for traceability : http://josm.openstreetmap.de/ticket/3578

Pieren

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


Re: [josm-dev] Preset link using JLinkLabel

2009-01-27 Thread Claudius Henrichs
Am 23.01.2009 08:47, Dirk Stöcker:
 On Thu, 22 Jan 2009, Claudius Henrichs wrote:
 please replace the OpenBrowser with a nice In-Java
 display like for the help pages. This OpenBrowser call is a crude
 workaround.
 I prefer opening the system browser because the user has the possibility
 to bookmark map feature pages he finds useful. What don't you like about
 OpenBrowser?

 The media break. My father used the help feature and clicked and clicked
 and said to himself Oh, doesn't work. Later he wondered, why his firefox
 had dozens of sites opened.

 About the bookmark issue: When we use the HelpDialog, then there is a
 button Open in browser. But I had not yet a look at the code.

Been playing around with using the HelpAction which surfaced a usability 
issue: the TaggingPreset-dialog currently is a modal dialog which means 
as long as you have it open you cannot focus the JOSM Online Help 
window. I'd rather not make it non-modal (as it could lead to unwanted 
tagging state) and don't want to close it when opening the help page 
either. Seems we have to stick with opening the external browser.

Regards,
Claudius


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


Re: [josm-dev] Preset link usability

2009-01-25 Thread Igor Shubovych
I agree. It is faster to find.

Igor Shubovych

2009/1/23 Claudius Henrichs claudiu...@gmx.de

 Am 22.01.2009 14:40, Claudius Henrichs:
  I would like to beautify the recently introduced link to the map
  features page in the tagging presets by using a clickable link text. I
  would need to add some code for some kind of JLinkLabel, a linkable
  JLabel. Would you consider this over the top for some beautification?

 I played around with the more info button/link placement. I think the
 top position is really bad usability-wise. The best I could come up with
 so far is placing it on the bottom. Another possibility would be using a
 (i)-button on the top right.
 Check Presets - Streets - Motorway here:
 http://osmc.broadbox.de/josm-preset_link_guitest.jar

 Regards,
 Claudius


 ___
 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] Preset link using JLinkLabel

2009-01-25 Thread Igor Shubovych
Not really,

When I pressed Open in browser in my Ubuntu, it showed me Firefox. And it
is become active application.

Igor Shubovych

2009/1/23 Shaun McDonald o...@shaunmcdonald.me.uk


 On 23 Jan 2009, at 07:47, Dirk Stöcker wrote:

  On Thu, 22 Jan 2009, Claudius Henrichs wrote:
 
  please replace the OpenBrowser with a nice In-Java
  display like for the help pages. This OpenBrowser call is a crude
  workaround.
 
  I prefer opening the system browser because the user has the
  possibility
  to bookmark map feature pages he finds useful. What don't you like
  about
  OpenBrowser?
 
  The media break. My father used the help feature and clicked and
  clicked
  and said to himself Oh, doesn't work. Later he wondered, why his
  firefox
  had dozens of sites opened.

 I have noticed that on Ubuntu there is a problem with opening urls, in
 that the browser doesn't become the active application. On Mac OS X I
 don't see this problem.

 Shaun


 ___
 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] Preset link using JLinkLabel

2009-01-23 Thread Shaun McDonald

On 23 Jan 2009, at 07:47, Dirk Stöcker wrote:

 On Thu, 22 Jan 2009, Claudius Henrichs wrote:

 please replace the OpenBrowser with a nice In-Java
 display like for the help pages. This OpenBrowser call is a crude
 workaround.

 I prefer opening the system browser because the user has the  
 possibility
 to bookmark map feature pages he finds useful. What don't you like  
 about
 OpenBrowser?

 The media break. My father used the help feature and clicked and  
 clicked
 and said to himself Oh, doesn't work. Later he wondered, why his  
 firefox
 had dozens of sites opened.

I have noticed that on Ubuntu there is a problem with opening urls, in  
that the browser doesn't become the active application. On Mac OS X I  
don't see this problem.

Shaun


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


Re: [josm-dev] Preset link using JLinkLabel

2009-01-22 Thread Dirk Stöcker
On Thu, 22 Jan 2009, Claudius Henrichs wrote:

 I would like to beautify the recently introduced link to the map
 features page in the tagging presets by using a clickable link text. I
 would need to add some code for some kind of JLinkLabel, a linkable
 JLabel. Would you consider this over the top for some beautification?

And when on it, please replace the OpenBrowser with a nice In-Java 
display like for the help pages. This OpenBrowser call is a crude 
workaround.

Ciao
-- 
http://www.dstoecker.eu/ (PGP key available)

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


Re: [josm-dev] Preset link usability

2009-01-22 Thread Claudius Henrichs
Am 22.01.2009 14:40, Claudius Henrichs:
 I would like to beautify the recently introduced link to the map
 features page in the tagging presets by using a clickable link text. I
 would need to add some code for some kind of JLinkLabel, a linkable
 JLabel. Would you consider this over the top for some beautification?

I played around with the more info button/link placement. I think the 
top position is really bad usability-wise. The best I could come up with 
so far is placing it on the bottom. Another possibility would be using a 
(i)-button on the top right.
Check Presets - Streets - Motorway here: 
http://osmc.broadbox.de/josm-preset_link_guitest.jar

Regards,
Claudius


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


Re: [josm-dev] Preset link using JLinkLabel

2009-01-22 Thread Dirk Stöcker
On Thu, 22 Jan 2009, Claudius Henrichs wrote:

 please replace the OpenBrowser with a nice In-Java
 display like for the help pages. This OpenBrowser call is a crude
 workaround.

 I prefer opening the system browser because the user has the possibility
 to bookmark map feature pages he finds useful. What don't you like about
 OpenBrowser?

The media break. My father used the help feature and clicked and clicked 
and said to himself Oh, doesn't work. Later he wondered, why his firefox 
had dozens of sites opened.

About the bookmark issue: When we use the HelpDialog, then there is a 
button Open in browser. But I had not yet a look at the code.

 We need some scheme for the presets.xml first. What about an optional
 href (=hypertext reference) parameter for key, text, combo and check
 tags? I would put an (i)-button right-aligned next to the features with
 that link. What do you think?

Yes, had the same idea. Would be nice, when you do it that way, but exept 
for examples we will not add the links to presets until we/I found a way 
to implement definition blocks (i.e. define a block and reference it 
later multiple times) to reduce the replication of data.

Ciao
-- 
http://www.dstoecker.eu/ (PGP key available)

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


Re: [josm-dev] Preset Icon Backgrounds - SCNR :)

2008-10-02 Thread Brian Quinion
Hi,

I'm glad you found the icons helpful.  Just to say that the last
version is now in svn
(http://svn.openstreetmap.org/applications/share/map-icons/svg-twotone/)
and the version on the sjjb.co.uk website is out of date.  The version
in svn contains quite a lot more icons and various improved scripts
for generating png icons - generatemapniksymbols.sh and
generatecategoryicons.sh most likely already do what you need.

--
 Brian

On Thu, Oct 2, 2008 at 12:11 AM, Christoph Eckert [EMAIL PROTECTED] wrote:
 Hi,

 more or less by accident, I tried to give some of the preset icons a
 transparent background. To achieve this, I copied over some icons from
 mappaint first, as mappaint icons often need a background color due to the
 [default] black background in JOSM.

 I converted many icons to BW, as black is beautyful - just kidding. I got
 some momochrome icons I found much more readable at 16x16 than the previous
 ones. I might be wrong, though. I used some PD icons as found on
 commons.wikipedia.org, and some from
 http://www.sjjb.co.uk/mapicons/

 The latter source contains a converter script
 http://www.sjjb.co.uk/mapicons/SJJBMapIconsv0.01/generateicons.sh
 which simply uses sed to derive various color schemes from the svg files. I
 wonder if we could use a similar script to derive the preset and mappaint
 icons from the same source automatically instead of doing it manually.

 Needs some consideration about the file naming and folder structure. I'm for a
 completely flat structure in various folders for various styles. The script
 then could derive subfolders for the different styles (White on
 white, Blue on blue, Black on black and so on).

 Just my two cents,

 ce


 ___
 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] Preset Icon Backgrounds - SCNR :)

2008-10-02 Thread Christoph Eckert
Hi,

 gr8 work! I really love your icons.

I only grab SVGs of other people and export it to PNG. All credits to the 
original designers :) .

BTW: Especially the BW ones are very pixellated. That's what I get from 
Inkscape. I should postprocess them to get smoother edges, but creating the 
pixellated ones already is a lot of work.

 I will add some of my symbols to your collection the next days!

Cool. The icon organisation in the osm svn is not optimal. If you add yours, 
great. But one day we should improve the file system structure, too.

Best regards,

ce

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