Re: [OSM-dev] High performance server [JOSM issues]

2008-05-28 Thread Martijn van Oosterhout
On Wed, May 28, 2008 at 2:33 AM, Stefan de Konink [EMAIL PROTECTED] wrote: After changing the api address, JOSM downloads but pops up with: Error while parsing: The processing instruction target matching [xX][mM][lL] is not allowed. What output are you sending and how does it compare to what

Re: [OSM-dev] C++ implementation of the API

2008-05-28 Thread Frederik Ramm
Hi, The problem here is the remedial action taken by the user/editor: they're going to try to work out the conflicts by downloading the latest version of the region. If this comes off a replication server that's a couple of minutes behind, You could make it so that the intial map query is

Re: [OSM-dev] High performance server [JOSM issues]

2008-05-28 Thread Mario Ferraro
Stefan de Konink ha scritto: But still no can do. Java error: org.xml.sax.SAXParseException: The processing instruction target matching [xX][mM][lL] is not allowed. Hi Stefan, look for any trailing space before the XML declaration, or (better) try the generated XML file against an XML

Re: [OSM-dev] High performance server [JOSM issues]

2008-05-28 Thread Stefan de Konink
On Wed, 28 May 2008, Stefan de Konink wrote: On Wed, 28 May 2008, Jon Burgess wrote: How does the content-type for the HTTP download compare to the real API? (try wget -S http://... and compare all the headers) [EMAIL PROTECTED] ~ $ wget -S

Re: [OSM-dev] High performance server [JOSM issues]

2008-05-28 Thread Stefan de Konink
On Wed, 28 May 2008, Mario Ferraro wrote: Hi Stefan, look for any trailing space before the XML declaration, or (better) try the generated XML file against an XML validation tool. It passes validator.w3.org :( With the only warning that the file has no doctype. Stefan

Re: [OSM-dev] High performance server [JOSM issues]

2008-05-28 Thread Tom Hughes
In message [EMAIL PROTECTED] Stefan de Konink [EMAIL PROTECTED] wrote: I found this too. Looking at the document that wget writes it is the first line. Next to this the file opens normally when it is saved to disk first. The demo with only nodes is now online, please use the following

[josm-dev] LiveGPS

2008-05-28 Thread Mark Williams
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I seem to have developed a problem; I used livegps some while ago, and all was fine. Other than routine Ubuntu josm updates, it's the same system. Now, I start gpsd, check it's up running with xgps, then start josm viola - nothing happens! Livegps

Re: [OSM-dev] High performance server [JOSM issues]

2008-05-28 Thread Mario Ferraro
Hi Stefan, don't know if you've already fixed it, but I'm now trying to download the file from that URL in JOSM (after changing Base Server URL to http://thuis.kinkrsoftware.nl:8000/about) and it seems to work smoothly. I'm using JOSM version 639 with Java 1.6 in a Kubuntu 8.04 box. Mario

Re: [OSM-dev] High performance server [JOSM issues]

2008-05-28 Thread Stefan Agner
Quoting Stefan de Konink [EMAIL PROTECTED]: On Wed, 28 May 2008, Mario Ferraro wrote: I looked in wireshark to notice any differences, but if someone wants to take a peek... be my guest. Can it be that Linebreak is a problem? In your file I can find a 0x0d, 0x0a, compared to the

Re: [OSM-dev] High performance server [JOSM issues]

2008-05-28 Thread Stefan de Konink
On Wed, 28 May 2008, Mario Ferraro wrote: Hi Stefan, don't know if you've already fixed it, but I'm now trying to download the file from that URL in JOSM (after changing Base Server URL to http://thuis.kinkrsoftware.nl:8000/about) and it seems to work smoothly. I'm using JOSM version 639

[OSM-dev] The evolution of the osm2pgsql style file

2008-05-28 Thread Martijn van Oosterhout
There's a still a lot of hardcoded knowledge built into osm2pgsql and it is in some respects rather inflexible. To that end I would like to extend osm2pgsql at least in the following ways: - The output tables specified by the style file also, so that it would be easy to, for example, create a

Re: [OSM-dev] High performance server [JOSM issues]

2008-05-28 Thread Stefan de Konink
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Stefan Agner schreef: Quoting Stefan de Konink [EMAIL PROTECTED]: On Wed, 28 May 2008, Mario Ferraro wrote: I looked in wireshark to notice any differences, but if someone wants to take a peek... be my guest. Can it be that Linebreak

Re: [OSM-dev] C++ implementation of the API

2008-05-28 Thread Dave Stubbs
On Wed, May 28, 2008 at 10:07 AM, Frederik Ramm [EMAIL PROTECTED] wrote: Hi, The problem here is the remedial action taken by the user/editor: they're going to try to work out the conflicts by downloading the latest version of the region. If this comes off a replication server that's a

Re: [OSM-dev] High performance server [JOSM issues]

2008-05-28 Thread Mario Ferraro
Stefan de Konink ha scritto: I'm at 645, 2008-05-21 10:28. Java 1.6.0_06. Maybe stable versions of applications are things a guy should use. Tested in build 645, it works for me java -version output: java version 1.6.0 OpenJDK Runtime Environment (build 1.6.0-b09) OpenJDK 64-Bit Server VM

Re: [OSM-dev] High performance server [JOSM issues]

2008-05-28 Thread Stefan de Konink
Francisco R. Santos schreef: On Wed, May 28, 2008 at 1:50 PM, Stefan de Konink [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: On Wed, 28 May 2008, Mario Ferraro wrote: Hi Stefan, don't know if you've already fixed it, but I'm now trying to download the file

Re: [OSM-dev] High performance server [JOSM issues]

2008-05-28 Thread Stefan de Konink
Mario Ferraro schreef: Have you tried to output the raw osm file (taken from openstreetmap) from your server? This could avoid you from suspecting at least headers and try to hack the file only (or otherwise, stop to hack the file and look for headers). It is total voodoo. [EMAIL

Re: [OSM-dev] High performance server [JOSM issues]

2008-05-28 Thread Mario Ferraro
Stefan de Konink ha scritto: Stefan de Konink schreef: Mario Ferraro schreef: Have you tried to output the raw osm file (taken from openstreetmap) from your server? This could avoid you from suspecting at least headers and try to hack the file only (or otherwise, stop to hack the file

Re: [OSM-dev] High performance server [JOSM issues]

2008-05-28 Thread Martin Koppenhoefer
Looking for an exorcist telephone number :) Mario 999 666 999 - 23 ___ dev mailing list dev@openstreetmap.org http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev

Re: [OSM-dev] High performance server [JOSM issues]

2008-05-28 Thread Stefan de Konink
Mario Ferraro schreef: That's great, let us know when you'll find it, just curious :) If it helps, here the HTTP headers I was trying to read to find out something. They're equal, but I think they were already. There *must* be a bug somewhere. --- osm-goed2008-05-28 17:58:43.828003816

Re: [OSM-dev] High performance server [JOSM issues]

2008-05-28 Thread Stefan de Konink
I have created a packetcapture in wireshark and it is clear that the connection is dropped. Who is responsible, I have no clue yet. http://xen.bot.nu/josm-request.pcap Stefan ___ dev mailing list dev@openstreetmap.org

Re: [OSM-dev] High performance server [JOSM issues]

2008-05-28 Thread Jon Burgess
On Wed, 2008-05-28 at 18:53 +0200, Stefan de Konink wrote: I have created a packetcapture in wireshark and it is clear that the connection is dropped. Who is responsible, I have no clue yet. http://xen.bot.nu/josm-request.pcap Your content length is looking suspect: Content-Length:

[josm-dev] Presets cannot be added to the toolbar

2008-05-28 Thread Christoph Eckert
Hi, for some time now, it is not possible to add presets to the toolbar. Though they appear in the configuration dialog properly and can be added, they will not be available in the toolbar, even after a restart. Anyone here who has interest to check this issue? Best regards, ce

Re: [OSM-dev] High performance server [JOSM issues]

2008-05-28 Thread Jon Burgess
On Wed, 2008-05-28 at 19:09 +0100, Jon Burgess wrote: On Wed, 2008-05-28 at 18:53 +0200, Stefan de Konink wrote: I have created a packetcapture in wireshark and it is clear that the connection is dropped. Who is responsible, I have no clue yet. http://xen.bot.nu/josm-request.pcap

[OSM-dev] Question about ShieldSymbolizer in template file

2008-05-28 Thread Brian Peschel
I was looking at the template file osm-template.xml. In there I see a definition for a ShieldSymbolizer. Style name=roads-text Rule Filter[highway] = 'motorway' and [length] = 1/Filter MaxScaleDenominator50/MaxScaleDenominator

Re: [OSM-dev] High performance server [JOSM issues]

2008-05-28 Thread Stefan de Konink
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Jon Burgess schreef: On Wed, 2008-05-28 at 18:53 +0200, Stefan de Konink wrote: I have created a packetcapture in wireshark and it is clear that the connection is dropped. Who is responsible, I have no clue yet.

[OSM-dev] Algorithm help

2008-05-28 Thread Richard Fairhurst
Can anybody point me in the direction of an algorithm that will determine whether a closed way (polyline) is clockwise or anti- clockwise? cheers Richard ___ dev mailing list dev@openstreetmap.org

Re: [OSM-dev] Algorithm help

2008-05-28 Thread Richard Duivenvoorde
Richard Fairhurst wrote: Can anybody point me in the direction of an algorithm that will determine whether a closed way (polyline) is clockwise or anti- clockwise? cheers Richard ___ dev mailing list dev@openstreetmap.org

Re: [OSM-dev] High performance server [JOSM issues]

2008-05-28 Thread Tom Hughes
Stefan de Konink wrote: Jon Burgess schreef: On Wed, 2008-05-28 at 18:53 +0200, Stefan de Konink wrote: I have created a packetcapture in wireshark and it is clear that the connection is dropped. Who is responsible, I have no clue yet. http://xen.bot.nu/josm-request.pcap Your content

Re: [OSM-dev] High performance server [JOSM issues]

2008-05-28 Thread Jon Burgess
On Wed, 2008-05-28 at 22:22 +0200, Stefan de Konink wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Jon Burgess schreef: On Wed, 2008-05-28 at 18:53 +0200, Stefan de Konink wrote: I have created a packetcapture in wireshark and it is clear that the connection is dropped. Who is

Re: [OSM-dev] High performance server [JOSM issues]

2008-05-28 Thread Stefan de Konink
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 Jon Burgess schreef: On Wed, 2008-05-28 at 19:11 +0100, Jon Burgess wrote: On Wed, 2008-05-28 at 19:09 +0100, Jon Burgess wrote: On Wed, 2008-05-28 at 18:53 +0200, Stefan de Konink wrote: I have created a packetcapture in wireshark and it is

Re: [OSM-dev] Algorithm help

2008-05-28 Thread Nathan Vander Wilt
On May 28, 2008, at 1:35 PM, Richard Duivenvoorde wrote: Richard Fairhurst wrote: Can anybody point me in the direction of an algorithm that will determine whether a closed way (polyline) is clockwise or anti- clockwise? Richard, there is a good set of (explanations of) algorithms here:

Re: [OSM-dev] Algorithm help

2008-05-28 Thread Dirk-Lüder Kreie
Nathan Vander Wilt schrieb: On May 28, 2008, at 1:35 PM, Richard Duivenvoorde wrote: Richard Fairhurst wrote: Can anybody point me in the direction of an algorithm that will determine whether a closed way (polyline) is clockwise or anti- clockwise? Richard, there is a good set of

Re: [OSM-dev] High performance server [JOSM issues]

2008-05-28 Thread Dirk-Lüder Kreie
Stefan de Konink schrieb: On Wed, 2008-05-28 at 19:11 +0100, Jon Burgess wrote: $ grep 45136089 /tmp/foo2.xml node id=45136089 lat=52.0758997 lon=4.37710004 visible=true user=not_implemented timestamp=2007-09-07T16:39:10+01:00 node id=45136089 lat=52.0758997

Re: [OSM-dev] High performance server [JOSM issues]

2008-05-28 Thread Stefan de Konink
Dirk-Lüder Kreie schreef: Three times seems to point to one full map return copy each for nodes/ways/relations. The author of Cherokee pointed me to the _step code in the module. I'm hacking on that, now. Stefan ___ dev mailing list

Re: [OSM-dev] Algorithm help

2008-05-28 Thread Richard Fairhurst
Thanks Richard and Nathan for the pointers - really appreciated. I think I've got it now. Nathan Vander Wilt wrote: [...] That said, I'm guessing there are other assumptions being made within OSM that break down under spherical geometry. If your polygon doesn't contain pole(s) or cross