Re: [OSM-dev] Is YOUR code 64 bit proof?

2012-12-27 Thread Michael Bemmerl
Frederik Ramm schrieb:
another 62 million nodes and we'll have IDs of more than 2^31-1 which
 means than software using a simple, 32-bit, signed integer will not be
 able to process the data any longer.

This will be around the beginning of February 2013, so we'll have one
more month to fix the code.

 I've commited to SVN a couple of files with large node IDs so that you
 can quickly check your own programs or those you're using:

I've added a sample output of Srtm2Osm with 64 bit ID's. This can be
used to test contours renderers.

Regards,
Michael



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


Re: [OSM-dev] Switch osm2pgsql to 64 bit mode

2012-09-15 Thread Michael Bemmerl
Kai Krueger schrieb:

 The current highest node ID is 1.9 billion. As signed 32 bit ints can
 only hold ~2.1 billion IDs, it is likely that the (signed) 32bit ID
 space will run out in a couple of months.

I did some calculations on this topic:

Based on the highest node ID of the last 30 days and a prediction using
a linear regression model, the node with the magic ID 2^31 will be
created on February 6, 2013.
Last 90 days as data set: March 5, 2013.
Beginning of redaction period (April 2012) as data set: March 24, 2013.

But don't worry, we'll have plenty of time until the relation ID will
require 64 bit signed integers. R calculated this to be in the year
5233. ;-)

Regards,
Michael



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


Re: [OSM-dev] CORS headers on OSM tiles (for WebGL use)

2011-09-18 Thread Michael Bemmerl
Steve Coast schrieb:
 What are the other headers? I thought it was just the one mentioned.
 
 Steve

There are several other headers:

http://www.w3.org/TR/cors/#syntax

Regards,
Michael



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


Re: [OSM-dev] problem with slippy map wiki extension

2011-08-03 Thread Michael Bemmerl
M∡rtin Koppenhoefer schrieb:
 the slippy map media wiki extension currently doesn't work:
 
 http://wiki.openstreetmap.org/wiki/Slippy_Map_MediaWiki_Extension

This is caused by the missing function addOnloadHook(). This function
was previously used to load the required JavaScript code, but was
replaced by the new ResourceLoader in MediaWiki 1.17.0.

Here are some details:

http://old.nabble.com/JavaScript-in-SMW%3A-addOnloadHook-removed-td29957456.html

Regards,
Michael



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


Re: [OSM-dev] Priority signes

2010-10-26 Thread Michael Bemmerl
Anton Popov schrieb:
 Are there any tags to map priorities on the OSM roads?
 
 P.S. Priority signs are http://en.wikipedia.org/wiki/Priority_to_the_right

Check out this wiki page about the right_of_way relation:
http://wiki.openstreetmap.org/wiki/Relations/Proposed/Right_of_way

Regards,
Michael



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


Re: [josm-dev] Trac update

2010-09-30 Thread Michael Bemmerl
Hello Dirk,

Dirk Stöcker schrieb:
 the JOSM pages updated from Trac 0.11.x to 0.12. Please report
 incompatibilities and problems.

I've got now Last modified 19 months ago on the startup view of JOSM.

Regards,
Michael






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


Re: [josm-dev] Mailing list configuration - reply address

2010-08-19 Thread Michael Bemmerl
Sebastian Klein schrieb:
 Bodo Meissner wrote:
 Thunderbird has a Reply to list button. This is active when it finds
 some mailing list headers.
 A Reply-To: header makes it difficult to reply to the author.

 Especially the subscribers of a developers' mailing list should know
 how to use (and configure) their MUA.
 
 Mine hasn't. Maybe I should update...

There's an extension for TB 2 which adds a toolbar button for replying
to the mailing list. You can get it here:

http://www.juergen-ernst.de/addons/replytolist.html

Greets,
Michael



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


Re: [josm-dev] Where are the slippy map chooser tiles cached?

2010-04-08 Thread Michael Bemmerl
Rolf Bode-Meyer schrieb:
 So I guess the tiles are cached somewhere but I cannot find where.
 
 Please give someone give me a pointer where it resides (at least on Win XP).

AFAIK, the tiles are cached in the directory plugins\wmsplugin\cache
below your JOSM home directory. Your home directory should be in Windows
XP at C:\Documents and Settings\Username\Application Data\JOSM, as
long as you did not specify a different home directory as command line
argument.

Regards,
Michi



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


Re: [josm-dev] Where are the slippy map chooser tiles cached?

2010-04-08 Thread Michael Bemmerl
MP schrieb:
 AFAIK, the tiles are cached in the directory plugins\wmsplugin\cache
  below your JOSM home directory. Your home directory should be in Windows
 
 No. This is where WMS tiles are cached. Slippy map chooser caches it
 in temporary directory (/tmp on unixes, %TEMP% on Windows machines,
 which is usually C:\Documents and Settings\Username\Temp) and it
 creates
 JMapViewerTiles_Username directory there in which it stores the
 cached tiles.

Yep, you're right. I should have read the question instead of just scan
and skim it... ;-)

Michi



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


Re: [OSM-dev] GPX pollution (spam?)

2009-12-28 Thread Michael Bemmerl
Hi,

Frederik Ramm schrieb:
   Hi,
  
   Ciprian Talaba wrote:
   I have a couple of questions:
   1. Did anybody saw something similar until now?
  
   I think that there was a discussion about some kind of
malfunction in a
   GPX converting software, that would automatically create pseudo-GPX
like
   the stuff you are seeing for waypoints. It is possible that the
person
   who uploaded this track has used a similar software, and what you are
   seeing are indeed their waypoints!

I noticed the same sort of phenomenon some months ago [1]. I could
identify the corresponding track [2], but I'm not sure that this is an
issue of an end user software, because those numbers are only in the
trackpoints retrieved from the API. If you download the GPX file [3],
you will notice that the numbers are not in the track segment. They are
also not on the rendered image on the trace page. But at least those
numbers correspond to the waypoints in the GPX file [3] (e.g. see
waypoint 035).

Since the GPX file does not have the numbers as track points, I think
some sort of software on the OSM server is (or was) modifying the track
points to include the waypoint names in the trackpoints. I'm also not
aware of this feature in MapSource.   ;-)

Regards,
Michi

[1] http://osm.michis-pla.net/temp/tracks.gif
[2] http://www.openstreetmap.org/user/little%20star/traces/412751
[3] http://www.openstreetmap.org/user/little%20star/traces/412751/data





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


Re: [josm-dev] Misc dialogs: position of abort button wrong?

2009-11-25 Thread Michael Bemmerl
Andre Hinrichs schrieb:
 I just discovered that on some dialogs the abort button is right of the
 doit-Button (save,overwrite,...). AFAIK for GUIs it is standard to put
 the abort button left. Is there a reason why this is done this way?

I think this depends on the GUI. On Windows, the cancel button is always
on the right [1], while on GNOME the cancel button is on the left [3].
But on KDE the cancel button is also on the right [2].  openSuse has an
article about the button order [4].

I personally prefer the Windows / KDE button logic (Well, see my
User-Agent ;-)

Regards,
Michi

[1] http://blog.m-ri.de/wp-content/uploads/2008/08/messagebox1.jpg
[2] http://en.opensuse.org/Image:Kde-ok-cancel.png
[3] http://files.opensuse.org/opensuse/en/c/cc/Gnome-ok-cancel.png
[4 http://en.opensuse.org/YaST/Development/Misc/Button_Order



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


Re: [josm-dev] JOSM always on top

2009-07-29 Thread Michael Bemmerl
Tobias Wendorff schrieb:
  Hi there,
 
  my v1869 is always on top ... is this a bug or feature?
  If it's a feature, how could I turn it off?

Sounds like a bug to me. My JOSM is always top-most after uploading some
changes. See this ticket:
https://josm.openstreetmap.de/ticket/3128

Greetings,
Michi




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


Re: [josm-dev] JOSM always on top

2009-07-29 Thread Michael Bemmerl
Karl Guggisberg schrieb:
 Are both you working with XP too?
 
 -- Karl

At least I'm working with XP SP3, JOSM 1857  Java 1.6.0_14.



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


Re: [josm-dev] *.openstreetmap.de down

2009-07-26 Thread Michael Bemmerl
Dirk Stöcker schrieb:
 On Sun, 26 Jul 2009, Andreas Jacob wrote:
 
 Since a few hours the web-server does not fulfill any http request. Is 
 anybody
 with root access working on it?
 
 I tried, but ssh is down as well.

The server seems to be working again.



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


Re: [OSM-dev] API 0.6 returns 403 forbidden

2009-05-13 Thread Michael Bemmerl
Jeffrey Warren schrieb:
  This is only true from my server, correction... typo on the other
  machine. Late night. But my server definitely gets 403 for any
  openstreetmap.org http://openstreetmap.org resource...

Getting HTTP/1.1 200 OK here, must be something local.

Bye,
Michi




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


Re: [josm-dev] R: R: R: R: FW: [OSM-newbies] JOSM problems - is it just me?

2009-05-09 Thread Michael Bemmerl
Thanks Fabrizio, that did the trick!

Fabrizio Carrai schrieb:
  It looks like I found the solution!!!
  It seems to happen with machines with low video ram. I've an NVidia
  Geoforce 6150 (shared memory 512MB): no idea if it falls in such
category,
  but now it works!

I have a GeForce 7300 GT with 256 MB on board.

 
  As in [1] the solution is to start JOSM including the Java option
  sun.java2d.d3d=false:
 
  C:\WINDOWS\system32\javaw.exe  -Dsun.java2d.d3d=false  -Xmx800M -jar
  C:\Programmi\Josm\josm-latest.jar
 
  I'm now working since several hours with JOSM doing several changes and
  uploads: no crashes till now! Before it was happening after very short
  editing sessions.

Me too.

  Continuing testing!
 
  Ciao!
  Fabrizio
 
  [1] http://stackoverflow.com/questions/379574/possible-java-jna-issue

Bye,
Michi




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


Re: [josm-dev] R: R: R: FW: [OSM-newbies] JOSM problems - is it just me?

2009-05-06 Thread Michael Bemmerl
Fabrizio Carrai schrieb:
  It has been closed. The problem has been considered to belong to
Java and
  not to JOSM (no fix).
  I'll keep continue to update the Java VM...  :-(

I have the same problem and I think Java 1.6.0_09 or so introduced this
issue. I have other Java apps running (e.g. TV-Browser), which don't
crash. JOSM is the only java app that crashes so constantly and
frequently (after six seconds of usage, as stated in the hs_err_pid-file).

I tried different -Xmx values (I normally use 1024M), but that didn't
helped. I don't think that the maximum memory usage is a problem here,
because JOSM already crashes with about 40 MB of memory used (as seen in
the status report).

But I found a solution to work around this Java bug:
As I looked in the task manager, I noticed that Thunderbird and other
non-java apps consumed about 1 gig of memory. After I closed every non
vital app, JOSM never crashed again.

Well, my workaround it's not nice, but it works (at least for me).

Bye,
Michi




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