Re: [josm-dev] Cache folder settings don't work anymore ?

2015-02-15 Thread hbogner

Thank you for the explanation.

I went with -Djosm.cache=/path/ in startup option and it works.

Regards from a happy JOSM mapper :D
Hrvoje


On 02/15/2015 08:44 PM, Paul Hartmann wrote:

On 15.02.2015 19:18, hbogner wrote:

Some time ago I set this up

for my cache folder, and it worked ok.

Don't know when, but now I see it doesn’t work anymore.

JOSM is run in with
"java -jar -Xmx2g -Djosm.home=/home/hbogner/Dropbox/josm -jar
/home/hbogner/Dropbox/josm/josm-tested.jar"
option because I use same preferences on multiple machines.

I have an old "/home/hbogner/.josm-cache/"
but now after testing it's not being used anymore.

Now all the cache ends up in  "/home/hbogner/Dropbox/josm/cache"
and I don't want my cache in the Dropbox.

How to choose where to place cache folder again?


Start josm with --help to see the new options (r7841):


options provided as Java system properties:
 -Djosm.pref=/PATH/TO/JOSM/PREFSet the preferences directory

 -Djosm.userdata=/PATH/TO/JOSM/USERDATASet the user data directory

 -Djosm.cache=/PATH/TO/JOSM/CACHE   Set the cache directory

 -Djosm.home=/PATH/TO/JOSM/HOMEDIR Relocate all 3 directories to
homedir. Cache directory will be in homedir/cache


So to locate the cache directory, JOSM takes the first path it finds
from the following list

1. system property 'josm.cache'
2. subdirectory 'cache' of path given by system property 'josm.home'
3. josm advanced preference value 'cache.folder'
4. default path depending on OS:
  a) Linux: ~/.josm/cache
  b) Win: %LOCALAPPDATA%\JOSM\cache
  c) Mac: ~/Library/Caches/JOSM

It can be discussed if it would be better to switch 2. and 3., but in
general, command line settings should have higher precedence than saved
settings.

Paul

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




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


[josm-dev] Cache folder settings don't work anymore ?

2015-02-15 Thread hbogner

Some time ago I set this up

for my cache folder, and it worked ok.

Don't know when, but now I see it doesn’t work anymore.

JOSM is run in with
"java -jar -Xmx2g -Djosm.home=/home/hbogner/Dropbox/josm -jar 
/home/hbogner/Dropbox/josm/josm-tested.jar"

option because I use same preferences on multiple machines.

I have an old "/home/hbogner/.josm-cache/"
but now after testing it's not being used anymore.

Now all the cache ends up in  "/home/hbogner/Dropbox/josm/cache"
and I don't want my cache in the Dropbox.

How to choose where to place cache folder again?

Regards
Hrvoje


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


Re: [josm-dev] JMapViewerTiles location?

2012-08-24 Thread hbogner

On 08/24/2012 02:35 PM, Paul Hartmann wrote:

A property is only displayed, if JOSM has retrieved it in the current
session (or it has been changed before). So basically you have to open a
TMS layer first, then open the preferences.

You can also add the property manually, of course.


After I did it the other way, the string is now there in 
preferences.xml, I was going to try manually adding it if the other 
option didn't work.


It works now.

Thx


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


Re: [josm-dev] JMapViewerTiles location?

2012-08-24 Thread hbogner

Yes, edit the property imagery.tms.tilecache_path in the advanced
preferences. (F12, make sure expert mode is enabled at bottom left, then
select last tab)


Couldnt fint that string.


Should also work changing the path under:
Preferences -> Imagery preferences -> Settings (2nd Tab) -> last line
(TMS-Settings)


This one worked.

Thanks for the fast response.



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


[josm-dev] JMapViewerTiles location?

2012-08-24 Thread hbogner
Is there a way to change the place where tiles are cached from 
/tmp/JMapViewerTiles_user/ to folder of own choosing?



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


Re: [josm-dev] validator question, multipolygons

2011-03-05 Thread hbogner

PS.

I personaly use validator when fixing errors found with other tools, but 
i know how to use it :D



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


Re: [josm-dev] validator question, multipolygons

2011-03-05 Thread hbogner

On 03/05/2011 09:27 PM, Dirk Stöcker wrote:

The time for basic mapping is over (at least in Germany and central
europe) and tools like the validator are more and more important to get
a useable database.


Germany is NOT the rest of the world, we still have a lot of basic 
maping to do.


Primary roads are almost finished mapping, secondary are at 95% but 
tertiary are at 35%, and there are other roads, and extra tags for every 
road, max speed, width, lanes, surface... :D
Basic mapping will continue for years, Bing is not present evereywhere, 
gpx logs do not cover everything, there are empty places 10's of 
kilometers accros, populated places have only a few main roads, ...


We (group of long time users) need the beginners to map their locations 
as best as they know, adn fill those empty places. Even if it's not 
valid 100%. We have our own scripts that find errors, and there is 
openstreetbugs, keepright, and other tools. We teach new users on the way.


Validator is nice tool, but we have new users who know only basics of 
JOSM. One of them is 60 yeared monutain biker, 56 yeard mountain 
climber, ... :D
I spend hours and hours explaining it to them that roads don't have to 
have a name if they don tknow it and that they can ignore that warning ...



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


Re: [josm-dev] validator question, multipolygons

2011-03-05 Thread hbogner

On 03/04/2011 10:57 PM, Frederik Ramm wrote:

To understand the severity of this, take this example: You are new to
JOSM. You map a road and tag it highway=road. You hit upload. You get
(emphasis by me):

Data WITH ERRORS. Upload anyway?
+ Warnings
   + ILLEGAL tag/value combinations - temporary highway type

So, highway=road is an error, and an illegal combination of a tag and
value? Thankfully it doesn't complain when I write highway=raod. Maybe I
should use highway=raod instead of highway=road as the latter is clearly
illegal and an error.

I think the main problem is that the validator is now by default enabled
before download - something you can switch off, of course, but to the
new mapper the "Your data has errors" message conveys: We don't want
your data, please stop what you're doing!


I agree with this, validator should NOT start automaticaly with JOSM.
It shoud have a option to start it when you want.
We lost some new OSM mappers because of this.
Validator was making them angry with its constant warnings, street 
without names, ... and so on, and they stopped mapping.
So please tune(tune, not turn) the validator down, or write extensive 
manual about all the possible error combinations it reports, and what to 
do...

We who use it for years know what to do, but new useras are confused.


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