[Talk-ca] BC2020 Calgary Challenges and Best Practices

Tim Elrick osm at elrick.de
Sat Mar 24 19:02:15 UTC 2018


Hi Steve,

Thanks for the detailed JOSM install manual on Mac! This is very helpful
to the participants of our next mapping events. Personally, I do not use
a Mac - just wanted to raise a point, why it might be difficult to use
JOSM in mapathons.

Thanks anyways,
Tim

On 2018-03-24 00:09, OSM Volunteer stevea wrote:

Tim, I offer you relatively simple steps which work on macOS High Sierra.  You might email me off list (if you get stuck), or I'll be brief here.

Install Java Runtime Environment or JDK.  Current is Version 8 Update 161.  This is figure-out-able:  not hard, though it has steps and takes reasonable, but some time.
Download JOSM, the josm-tested.jar version.  Move this (jarfile) into Applications folder.
Open Applications/Utilities/Terminal, get a shell.  To start/launch JOSM with 1 gigabyte of heap space (substitute 2048 for 2 GB...), try:

java -Dsun.java2d.opengl=true -Xmx1024m -jar /Applications/josm-tested.jar

You can put an alias into your .tcshrc file (if you are using out-of-the-box tcsh, and on macOS 10.13.3, that's what you get) like this:
alias jt 'java -Dsun.java2d.opengl=true -Xmx2048m -jar /Applications/josm-tested.jar

so that every time you log in with that user account, launching JOSM is as simple as Open Terminal, type jt return.

Use Safari (current is 11.0.3) on macOS High Sierra as an OSM map browser, along with a credentialed OSM account, it smoothly does iD (too).  Though, I recommend one or the other and not at the same time, as JOSM together WITH iD editing the same geographic area on the same Mac(nine) at the same time can be confusing.

If you have older machines, I think I could recommend creaky, hoary old JOSM jarfiles all the way back to Snow Leopard 10.6.8, but I truly do not recommend this.  Use a machine that will run what the latest JOSM needs (always), especially and including the version of Java that JOSM wants/needs.  Older than that and you invite OSM data incompatibilities.

SteveA

> On Mar 23, 2018, at 10:58 AM, Tim Elrick <tim at elrick.de> wrote:
> We experienced the ‘no bbox issue’ using the latest version of Firefox (however, it doesn’t work on Chrome either). The bbox in iD is present when using Firefox ESR version though. 
> Maybe we really should only use JOSM even for mapathons. The installation is a bit more challenging (esp. apparently on a Mac) and, of course, there are far more options to choose from (and mess up ;-) ). But using the building tool plugin only combined with shortcuts A B S and X is IMHO not more complicated than iD. 
>
> Tim
>
> Am 23.03.2018 um 11:12 schrieb James <james2432 at gmail.com>:
>
>> depends if you are using chrome or not, seems like a mixed content error(tm is http and osm is https) chrome now blocks mixed content. 
>>
>> Last time I tried to enable HTTPS on TM2 it broke syncing with JOSM as it would try to open up a self signed cert(not accepted by default) on port 8112 with no errors or feedback. So I either brake ID boundaries or JOSM(unless a user knows how to accept cert)

<remainder redacted for brevity>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-ca/attachments/20180324/27ff64e7/attachment.html>


More information about the Talk-ca mailing list