Re: [OSM-dev] Paging the tile server admins

2011-05-05 Thread Till Harbaum / Lists
Hi,

Am Donnerstag 05 Mai 2011 schrieb Ian Dees:
> It doesn't matter how you design it technically. Your app is displaying
> CC-BY-SA content that has an attribution requirement. if the app doesn't
> support the attribution then I would say it's violating the license.
Then firefox is violating the license as well since i can enter a tile url and 
firefox will display
it without the license.

Till

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


Re: [OSM-dev] "Expect error 417" is back

2009-04-24 Thread Till Harbaum / Lists
Hi,

Am Freitag 24 April 2009 schrieb Thomas Wood:
> Any responses from me will be related to the testing APIs on dev,
> which do run under Apache.
Ah ... so the API testing takes place in a different setup than the 
real life operation? Why? Is this really clever? Isn't the purpose
of a test setup be as close to the real thing as possible?

Till


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


Re: [OSM-dev] "Expect error 417" is back

2009-04-24 Thread Till Harbaum / Lists
Hi,

Am Donnerstag 23 April 2009 schrieb Tom Hughes:
> about the api then no, it isn't running apache. It's running lighttpd as 
> it has done for the last couple of years.
Some of the emails of Thomas Wood indicated that there was an apache 
involved:

> I've done a quick search through the server's log, and can find 401
> and 500 responses both logged in the apache log. The rails log only
> shows 401 responses and not the 500s, so there's something odd
> happening between apache and rails.

So what is it? Apache or lighthttp?

Till

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


Re: [OSM-dev] "Expect error 417" is back

2009-04-24 Thread Till Harbaum / Lists
Hi,

Am Donnerstag 23 April 2009 schrieb Tom Hughes:
> Well nothing has changed in terms of what web server we are running, so 
> it's not clear to me why this would have "come back".
For a few days libcurl didn't need this workaround. Now it does again.

I'll upload a version that has this workaournd again.

Till


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


[OSM-dev] "Expect error 417" is back

2009-04-22 Thread Till Harbaum / Lists
Hi,

osm2go stopped working with "error 417" in all transactions. This likely
means that curl is having the problem with http expect again.

Did you switch back from apache to that old broken server?

Till

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


Re: [OSM-dev] Server 0.6 doesn't answer ...

2009-04-11 Thread Till Harbaum / Lists
Hi,

and another question: Is there any documentation of the width of the
basic types? I e.g. expect the changeset numbers to increase pretty fast.
Currently we are still quite far from busting the 32 (31) bit space with
the node ids (we are imho somewhere close to 400 million nodes and 31 bits 
is sufficient for 2 billion nodes). 

But the changeset ids may grow much faster and 2 billion updates may be
reached pretty soon. Should we be using 64 bit integers for ids already?

Till

Am Freitag 10 April 2009 schrieb Thomas Wood:
> 2009/4/10 Till Harbaum / Lists :
> > Hi Thomas,
> >
> > osm2go now seems to work fine with the test server. I have not tested this
> > very much and will do so the next days. But so far libcurl and your
> > server seem to cooperate nicely.
> 
> Fantastic, I did have some worries a while ago whether the requests
> were getting through to the code properly. The upstream mod_rails
> upgrade seems to have fixed this nicely.
> 
> > Are the error messages documented somewhere? I had the problem with
> > the 0.5 server that some error messages were plain ascii text while some
> > were html. Do you return all error messages in some standard format?
> 
> Errors are either caught and handled by the OSM software, or not at
> all and thus caught by Ruby and handled by Rails.
> When handled by us, I believe we try and return a plain text error
> message and appropriate status code.
> When it's a Ruby/Rails exception, it's probably going to return a
> stack trace in html (focused towards browser use), and the 500
> internal server error status code.
> 
> 
> > Thanks,
> >  Till
> >
> > Am Freitag 10 April 2009 schrieb Thomas Wood:
> >> Thanks for bringing this up, for future reference, the exact error was:
> >> [2009-04-09 20:39:38.334164 #1380] ArgumentError (Must specify a
> >> string with one or more characters):
> >>     
> >> /usr/lib/ruby/gems/1.8/gems/libxml-ruby-1.1.3/lib/libxml/parser.rb:82:in
> >> `string'
> >>     
> >> /usr/lib/ruby/gems/1.8/gems/libxml-ruby-1.1.3/lib/libxml/parser.rb:82:in
> >> `string'
> >>     /app/models/node.rb:67:in `from_xml'
> >>     /app/controllers/node_controller.rb:72:in `delete'
> >>     
> >> /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/base.rb:1166:in
> >> `send'
> >> ... more traceback ...
> >>
> >> This is related to the change in libxml version, meaning that anything
> >> we try and parse must not have zero length. A similar issue was fixed
> >> in r14241.
> >>
> >> I'll get to fixing this case also, and seeing if I can find others.
> >>
> >> 2009/4/9 Till Harbaum / Lists :
> >> > Hi,
> >> >
> >> > you should check your server log again. I just tried to delete a node 
> >> > without
> >> > specifying a changeset. The result was a frightening lengthy mixture of 
> >> > ruby
> >> > error messages, html error messages etc etc ...
> >> >
> >> > Till
> >> >
> >> > Am Donnerstag 09 April 2009 schrieb Thomas Wood:
> >> >> Thanks for the sample request, I've updated the rails module in
> >> >> apache, and the request seems to be functioning fine for me now, do
> >> >> you want to try again?
> >> >>
> >> >> Looking into this error also allowed me to find a bug with the
> >> >> changeset browing on the website section of the code, too!
> >> >>
> >> >> 2009/4/9 Till Harbaum / Lists :
> >> >> > Hi,
> >> >> >
> >> >> > i get the same results using the command line curl. I do this:
> >> >> >
> >> >> > curl -u mylogin:mypassword -H "Expect:" -i -o result.txt 
> >> >> > -Tchangeset.xml  
> >> >> > http://api06.dev.openstreetmap.org/api/0.6/changeset/create
> >> >> >
> >> >> > And the changeset.xml is attached.
> >> >> >
> >> >> > I sometimes get server errors 500 with this and sometimes just an 
> >> >> > empty
> >> >> > reply. This should be giving me a changeset id in return, shouldn't 
> >> >> > it?
> >> >> >
> >> >> > What's wrong with this request?
> >> >> >
> >> >> > Till
> >> >> >
> >> >> > Am Donnerstag 09 April 2009 schrieb Thomas Wood:
> >&

Re: [OSM-dev] Server 0.6 doesn't answer ...

2009-04-10 Thread Till Harbaum / Lists
Hi Thomas,

another small thing: I don't get any result code or the like when closing the
changeset. Shouldn't i get some kind of status or so? I only get a single
whitespace (0x20).

Till

Am Freitag 10 April 2009 schrieb Thomas Wood:
> 2009/4/10 Till Harbaum / Lists :
> > Hi Thomas,
> >
> > osm2go now seems to work fine with the test server. I have not tested this
> > very much and will do so the next days. But so far libcurl and your
> > server seem to cooperate nicely.
> 
> Fantastic, I did have some worries a while ago whether the requests
> were getting through to the code properly. The upstream mod_rails
> upgrade seems to have fixed this nicely.
> 
> > Are the error messages documented somewhere? I had the problem with
> > the 0.5 server that some error messages were plain ascii text while some
> > were html. Do you return all error messages in some standard format?
> 
> Errors are either caught and handled by the OSM software, or not at
> all and thus caught by Ruby and handled by Rails.
> When handled by us, I believe we try and return a plain text error
> message and appropriate status code.
> When it's a Ruby/Rails exception, it's probably going to return a
> stack trace in html (focused towards browser use), and the 500
> internal server error status code.
> 
> 
> > Thanks,
> >  Till
> >
> > Am Freitag 10 April 2009 schrieb Thomas Wood:
> >> Thanks for bringing this up, for future reference, the exact error was:
> >> [2009-04-09 20:39:38.334164 #1380] ArgumentError (Must specify a
> >> string with one or more characters):
> >>     
> >> /usr/lib/ruby/gems/1.8/gems/libxml-ruby-1.1.3/lib/libxml/parser.rb:82:in
> >> `string'
> >>     
> >> /usr/lib/ruby/gems/1.8/gems/libxml-ruby-1.1.3/lib/libxml/parser.rb:82:in
> >> `string'
> >>     /app/models/node.rb:67:in `from_xml'
> >>     /app/controllers/node_controller.rb:72:in `delete'
> >>     
> >> /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/base.rb:1166:in
> >> `send'
> >> ... more traceback ...
> >>
> >> This is related to the change in libxml version, meaning that anything
> >> we try and parse must not have zero length. A similar issue was fixed
> >> in r14241.
> >>
> >> I'll get to fixing this case also, and seeing if I can find others.
> >>
> >> 2009/4/9 Till Harbaum / Lists :
> >> > Hi,
> >> >
> >> > you should check your server log again. I just tried to delete a node 
> >> > without
> >> > specifying a changeset. The result was a frightening lengthy mixture of 
> >> > ruby
> >> > error messages, html error messages etc etc ...
> >> >
> >> > Till
> >> >
> >> > Am Donnerstag 09 April 2009 schrieb Thomas Wood:
> >> >> Thanks for the sample request, I've updated the rails module in
> >> >> apache, and the request seems to be functioning fine for me now, do
> >> >> you want to try again?
> >> >>
> >> >> Looking into this error also allowed me to find a bug with the
> >> >> changeset browing on the website section of the code, too!
> >> >>
> >> >> 2009/4/9 Till Harbaum / Lists :
> >> >> > Hi,
> >> >> >
> >> >> > i get the same results using the command line curl. I do this:
> >> >> >
> >> >> > curl -u mylogin:mypassword -H "Expect:" -i -o result.txt 
> >> >> > -Tchangeset.xml  
> >> >> > http://api06.dev.openstreetmap.org/api/0.6/changeset/create
> >> >> >
> >> >> > And the changeset.xml is attached.
> >> >> >
> >> >> > I sometimes get server errors 500 with this and sometimes just an 
> >> >> > empty
> >> >> > reply. This should be giving me a changeset id in return, shouldn't 
> >> >> > it?
> >> >> >
> >> >> > What's wrong with this request?
> >> >> >
> >> >> > Till
> >> >> >
> >> >> > Am Donnerstag 09 April 2009 schrieb Thomas Wood:
> >> >> >> I've done a quick search through the server's log, and can find 401
> >> >> >> and 500 responses both logged in the apache log. The rails log only
> >> >> >> shows 401 responses and not the 500s, so there'

Re: [OSM-dev] Server 0.6 doesn't answer ...

2009-04-10 Thread Till Harbaum / Lists
Hi,

there are still hickups. I just got this in my log:

Create changeset creating changeset 
http://api06.dev.openstreetmap.org/api/0.6/changeset/create from address 
0x84e6d40
reply is "Application errorRails application failed to start properly"
failed, code: 500 Internal Server Error

Till

Am Freitag 10 April 2009 schrieb Thomas Wood:
> 2009/4/10 Till Harbaum / Lists :
> > Hi Thomas,
> >
> > osm2go now seems to work fine with the test server. I have not tested this
> > very much and will do so the next days. But so far libcurl and your
> > server seem to cooperate nicely.
> 
> Fantastic, I did have some worries a while ago whether the requests
> were getting through to the code properly. The upstream mod_rails
> upgrade seems to have fixed this nicely.
> 
> > Are the error messages documented somewhere? I had the problem with
> > the 0.5 server that some error messages were plain ascii text while some
> > were html. Do you return all error messages in some standard format?
> 
> Errors are either caught and handled by the OSM software, or not at
> all and thus caught by Ruby and handled by Rails.
> When handled by us, I believe we try and return a plain text error
> message and appropriate status code.
> When it's a Ruby/Rails exception, it's probably going to return a
> stack trace in html (focused towards browser use), and the 500
> internal server error status code.
> 
> 
> > Thanks,
> >  Till
> >
> > Am Freitag 10 April 2009 schrieb Thomas Wood:
> >> Thanks for bringing this up, for future reference, the exact error was:
> >> [2009-04-09 20:39:38.334164 #1380] ArgumentError (Must specify a
> >> string with one or more characters):
> >>     
> >> /usr/lib/ruby/gems/1.8/gems/libxml-ruby-1.1.3/lib/libxml/parser.rb:82:in
> >> `string'
> >>     
> >> /usr/lib/ruby/gems/1.8/gems/libxml-ruby-1.1.3/lib/libxml/parser.rb:82:in
> >> `string'
> >>     /app/models/node.rb:67:in `from_xml'
> >>     /app/controllers/node_controller.rb:72:in `delete'
> >>     
> >> /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/base.rb:1166:in
> >> `send'
> >> ... more traceback ...
> >>
> >> This is related to the change in libxml version, meaning that anything
> >> we try and parse must not have zero length. A similar issue was fixed
> >> in r14241.
> >>
> >> I'll get to fixing this case also, and seeing if I can find others.
> >>
> >> 2009/4/9 Till Harbaum / Lists :
> >> > Hi,
> >> >
> >> > you should check your server log again. I just tried to delete a node 
> >> > without
> >> > specifying a changeset. The result was a frightening lengthy mixture of 
> >> > ruby
> >> > error messages, html error messages etc etc ...
> >> >
> >> > Till
> >> >
> >> > Am Donnerstag 09 April 2009 schrieb Thomas Wood:
> >> >> Thanks for the sample request, I've updated the rails module in
> >> >> apache, and the request seems to be functioning fine for me now, do
> >> >> you want to try again?
> >> >>
> >> >> Looking into this error also allowed me to find a bug with the
> >> >> changeset browing on the website section of the code, too!
> >> >>
> >> >> 2009/4/9 Till Harbaum / Lists :
> >> >> > Hi,
> >> >> >
> >> >> > i get the same results using the command line curl. I do this:
> >> >> >
> >> >> > curl -u mylogin:mypassword -H "Expect:" -i -o result.txt 
> >> >> > -Tchangeset.xml  
> >> >> > http://api06.dev.openstreetmap.org/api/0.6/changeset/create
> >> >> >
> >> >> > And the changeset.xml is attached.
> >> >> >
> >> >> > I sometimes get server errors 500 with this and sometimes just an 
> >> >> > empty
> >> >> > reply. This should be giving me a changeset id in return, shouldn't 
> >> >> > it?
> >> >> >
> >> >> > What's wrong with this request?
> >> >> >
> >> >> > Till
> >> >> >
> >> >> > Am Donnerstag 09 April 2009 schrieb Thomas Wood:
> >> >> >> I've done a quick search through the server's log, and can find 401
> >> >> >

Re: [OSM-dev] Server 0.6 doesn't answer ...

2009-04-10 Thread Till Harbaum / Lists
Hi,

since my main concerns are error messages like 401 ("login failed") and
409 ("conflict", e.g. due to version number mismatchs), i'll try to 
output any such error message.

On the other hand writing the ruby stack trace into the log window on
a tiny portable device doesn't seem to make much sense. So i'd rather
not output the reply sent with a 500 error.

Does this make sense to you?

Till

Am Freitag 10 April 2009 schrieb Thomas Wood:
> 2009/4/10 Till Harbaum / Lists :
> > Hi Thomas,
> >
> > osm2go now seems to work fine with the test server. I have not tested this
> > very much and will do so the next days. But so far libcurl and your
> > server seem to cooperate nicely.
> 
> Fantastic, I did have some worries a while ago whether the requests
> were getting through to the code properly. The upstream mod_rails
> upgrade seems to have fixed this nicely.
> 
> > Are the error messages documented somewhere? I had the problem with
> > the 0.5 server that some error messages were plain ascii text while some
> > were html. Do you return all error messages in some standard format?
> 
> Errors are either caught and handled by the OSM software, or not at
> all and thus caught by Ruby and handled by Rails.
> When handled by us, I believe we try and return a plain text error
> message and appropriate status code.
> When it's a Ruby/Rails exception, it's probably going to return a
> stack trace in html (focused towards browser use), and the 500
> internal server error status code.
> 
> 
> > Thanks,
> >  Till
> >
> > Am Freitag 10 April 2009 schrieb Thomas Wood:
> >> Thanks for bringing this up, for future reference, the exact error was:
> >> [2009-04-09 20:39:38.334164 #1380] ArgumentError (Must specify a
> >> string with one or more characters):
> >>     
> >> /usr/lib/ruby/gems/1.8/gems/libxml-ruby-1.1.3/lib/libxml/parser.rb:82:in
> >> `string'
> >>     
> >> /usr/lib/ruby/gems/1.8/gems/libxml-ruby-1.1.3/lib/libxml/parser.rb:82:in
> >> `string'
> >>     /app/models/node.rb:67:in `from_xml'
> >>     /app/controllers/node_controller.rb:72:in `delete'
> >>     
> >> /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/base.rb:1166:in
> >> `send'
> >> ... more traceback ...
> >>
> >> This is related to the change in libxml version, meaning that anything
> >> we try and parse must not have zero length. A similar issue was fixed
> >> in r14241.
> >>
> >> I'll get to fixing this case also, and seeing if I can find others.
> >>
> >> 2009/4/9 Till Harbaum / Lists :
> >> > Hi,
> >> >
> >> > you should check your server log again. I just tried to delete a node 
> >> > without
> >> > specifying a changeset. The result was a frightening lengthy mixture of 
> >> > ruby
> >> > error messages, html error messages etc etc ...
> >> >
> >> > Till
> >> >
> >> > Am Donnerstag 09 April 2009 schrieb Thomas Wood:
> >> >> Thanks for the sample request, I've updated the rails module in
> >> >> apache, and the request seems to be functioning fine for me now, do
> >> >> you want to try again?
> >> >>
> >> >> Looking into this error also allowed me to find a bug with the
> >> >> changeset browing on the website section of the code, too!
> >> >>
> >> >> 2009/4/9 Till Harbaum / Lists :
> >> >> > Hi,
> >> >> >
> >> >> > i get the same results using the command line curl. I do this:
> >> >> >
> >> >> > curl -u mylogin:mypassword -H "Expect:" -i -o result.txt 
> >> >> > -Tchangeset.xml  
> >> >> > http://api06.dev.openstreetmap.org/api/0.6/changeset/create
> >> >> >
> >> >> > And the changeset.xml is attached.
> >> >> >
> >> >> > I sometimes get server errors 500 with this and sometimes just an 
> >> >> > empty
> >> >> > reply. This should be giving me a changeset id in return, shouldn't 
> >> >> > it?
> >> >> >
> >> >> > What's wrong with this request?
> >> >> >
> >> >> > Till
> >> >> >
> >> >> > Am Donnerstag 09 April 2009 schrieb Thomas Wood:
> >> >> >> I've done a quick search thro

Re: [OSM-dev] Server 0.6 doesn't answer ...

2009-04-10 Thread Till Harbaum / Lists
Hi Thomas,

osm2go now seems to work fine with the test server. I have not tested this
very much and will do so the next days. But so far libcurl and your
server seem to cooperate nicely.

Are the error messages documented somewhere? I had the problem with
the 0.5 server that some error messages were plain ascii text while some 
were html. Do you return all error messages in some standard format? 

Thanks,
  Till

Am Freitag 10 April 2009 schrieb Thomas Wood:
> Thanks for bringing this up, for future reference, the exact error was:
> [2009-04-09 20:39:38.334164 #1380] ArgumentError (Must specify a
> string with one or more characters):
> /usr/lib/ruby/gems/1.8/gems/libxml-ruby-1.1.3/lib/libxml/parser.rb:82:in
> `string'
> /usr/lib/ruby/gems/1.8/gems/libxml-ruby-1.1.3/lib/libxml/parser.rb:82:in
> `string'
> /app/models/node.rb:67:in `from_xml'
> /app/controllers/node_controller.rb:72:in `delete'
> 
> /usr/lib/ruby/gems/1.8/gems/actionpack-2.1.2/lib/action_controller/base.rb:1166:in
> `send'
> ... more traceback ...
> 
> This is related to the change in libxml version, meaning that anything
> we try and parse must not have zero length. A similar issue was fixed
> in r14241.
> 
> I'll get to fixing this case also, and seeing if I can find others.
> 
> 2009/4/9 Till Harbaum / Lists :
> > Hi,
> >
> > you should check your server log again. I just tried to delete a node 
> > without
> > specifying a changeset. The result was a frightening lengthy mixture of ruby
> > error messages, html error messages etc etc ...
> >
> > Till
> >
> > Am Donnerstag 09 April 2009 schrieb Thomas Wood:
> >> Thanks for the sample request, I've updated the rails module in
> >> apache, and the request seems to be functioning fine for me now, do
> >> you want to try again?
> >>
> >> Looking into this error also allowed me to find a bug with the
> >> changeset browing on the website section of the code, too!
> >>
> >> 2009/4/9 Till Harbaum / Lists :
> >> > Hi,
> >> >
> >> > i get the same results using the command line curl. I do this:
> >> >
> >> > curl -u mylogin:mypassword -H "Expect:" -i -o result.txt -Tchangeset.xml 
> >> >  http://api06.dev.openstreetmap.org/api/0.6/changeset/create
> >> >
> >> > And the changeset.xml is attached.
> >> >
> >> > I sometimes get server errors 500 with this and sometimes just an empty
> >> > reply. This should be giving me a changeset id in return, shouldn't it?
> >> >
> >> > What's wrong with this request?
> >> >
> >> > Till
> >> >
> >> > Am Donnerstag 09 April 2009 schrieb Thomas Wood:
> >> >> I've done a quick search through the server's log, and can find 401
> >> >> and 500 responses both logged in the apache log. The rails log only
> >> >> shows 401 responses and not the 500s, so there's something odd
> >> >> happening between apache and rails.
> >> >>
> >> >> However, other requests to this method this evening have been
> >> >> functioning correctly according to the logs.
> >> >>
> >> >> 2009/4/8 Till Harbaum / Lists :
> >> >> > Hi,
> >> >> >
> >> >> > sending this request:
> >> >> >
> >> >> > PUT /api/0.6/changeset/create HTTP/1.1
> >> >> > Authorization: Basic x
> >> >> > User-Agent: osm2go-libcurl/0.6.14
> >> >> > Host: api06.dev.openstreetmap.org
> >> >> > Accept: */*
> >> >> > Content-Length: 163
> >> >> >
> >> >> > 
> >> >> > 
> >> >> >  
> >> >> >    
> >> >> >    
> >> >> >  
> >> >> > 
> >> >> >
> >> >> >
> >> >> > i either get an "internal server error 500" or no reply at all. What 
> >> >> > is wrong with this request (despite the
> >> >> > Auth i xxx'ed out)?
> >> >> >
> >> >> > Till
> >> >> >
> >> >> > ___
> >> >> > dev mailing list
> >> >> > dev@openstreetmap.org
> >> >> > http://lists.openstreetmap.org/listinfo/dev
> >> >> >
> >> >>
> >> >>
> >> >>
> >> >
> >> >
> >> >
> >>
> >>
> >>
> >
> >
> >
> 
> 
> 



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


Re: [OSM-dev] Server 0.6 doesn't answer ...

2009-04-09 Thread Till Harbaum / Lists
Hi,

and can you please explain what i should be sending when deleting something?
So far i did not have to send a payload with the delete request. Now i have to, 
don't i?
And how does it look like?

Till

Am Donnerstag 09 April 2009 schrieb Thomas Wood:
> Thanks for the sample request, I've updated the rails module in
> apache, and the request seems to be functioning fine for me now, do
> you want to try again?
> 
> Looking into this error also allowed me to find a bug with the
> changeset browing on the website section of the code, too!
> 
> 2009/4/9 Till Harbaum / Lists :
> > Hi,
> >
> > i get the same results using the command line curl. I do this:
> >
> > curl -u mylogin:mypassword -H "Expect:" -i -o result.txt -Tchangeset.xml  
> > http://api06.dev.openstreetmap.org/api/0.6/changeset/create
> >
> > And the changeset.xml is attached.
> >
> > I sometimes get server errors 500 with this and sometimes just an empty
> > reply. This should be giving me a changeset id in return, shouldn't it?
> >
> > What's wrong with this request?
> >
> > Till
> >
> > Am Donnerstag 09 April 2009 schrieb Thomas Wood:
> >> I've done a quick search through the server's log, and can find 401
> >> and 500 responses both logged in the apache log. The rails log only
> >> shows 401 responses and not the 500s, so there's something odd
> >> happening between apache and rails.
> >>
> >> However, other requests to this method this evening have been
> >> functioning correctly according to the logs.
> >>
> >> 2009/4/8 Till Harbaum / Lists :
> >> > Hi,
> >> >
> >> > sending this request:
> >> >
> >> > PUT /api/0.6/changeset/create HTTP/1.1
> >> > Authorization: Basic x
> >> > User-Agent: osm2go-libcurl/0.6.14
> >> > Host: api06.dev.openstreetmap.org
> >> > Accept: */*
> >> > Content-Length: 163
> >> >
> >> > 
> >> > 
> >> >  
> >> >    
> >> >    
> >> >  
> >> > 
> >> >
> >> >
> >> > i either get an "internal server error 500" or no reply at all. What is 
> >> > wrong with this request (despite the
> >> > Auth i xxx'ed out)?
> >> >
> >> > Till
> >> >
> >> > ___
> >> > dev mailing list
> >> > dev@openstreetmap.org
> >> > http://lists.openstreetmap.org/listinfo/dev
> >> >
> >>
> >>
> >>
> >
> >
> >
> 
> 
> 



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


Re: [OSM-dev] Server 0.6 doesn't answer ...

2009-04-09 Thread Till Harbaum / Lists
Hi,

you should check your server log again. I just tried to delete a node without
specifying a changeset. The result was a frightening lengthy mixture of ruby
error messages, html error messages etc etc ...

Till

Am Donnerstag 09 April 2009 schrieb Thomas Wood:
> Thanks for the sample request, I've updated the rails module in
> apache, and the request seems to be functioning fine for me now, do
> you want to try again?
> 
> Looking into this error also allowed me to find a bug with the
> changeset browing on the website section of the code, too!
> 
> 2009/4/9 Till Harbaum / Lists :
> > Hi,
> >
> > i get the same results using the command line curl. I do this:
> >
> > curl -u mylogin:mypassword -H "Expect:" -i -o result.txt -Tchangeset.xml  
> > http://api06.dev.openstreetmap.org/api/0.6/changeset/create
> >
> > And the changeset.xml is attached.
> >
> > I sometimes get server errors 500 with this and sometimes just an empty
> > reply. This should be giving me a changeset id in return, shouldn't it?
> >
> > What's wrong with this request?
> >
> > Till
> >
> > Am Donnerstag 09 April 2009 schrieb Thomas Wood:
> >> I've done a quick search through the server's log, and can find 401
> >> and 500 responses both logged in the apache log. The rails log only
> >> shows 401 responses and not the 500s, so there's something odd
> >> happening between apache and rails.
> >>
> >> However, other requests to this method this evening have been
> >> functioning correctly according to the logs.
> >>
> >> 2009/4/8 Till Harbaum / Lists :
> >> > Hi,
> >> >
> >> > sending this request:
> >> >
> >> > PUT /api/0.6/changeset/create HTTP/1.1
> >> > Authorization: Basic x
> >> > User-Agent: osm2go-libcurl/0.6.14
> >> > Host: api06.dev.openstreetmap.org
> >> > Accept: */*
> >> > Content-Length: 163
> >> >
> >> > 
> >> > 
> >> >  
> >> >    
> >> >    
> >> >  
> >> > 
> >> >
> >> >
> >> > i either get an "internal server error 500" or no reply at all. What is 
> >> > wrong with this request (despite the
> >> > Auth i xxx'ed out)?
> >> >
> >> > Till
> >> >
> >> > ___
> >> > dev mailing list
> >> > dev@openstreetmap.org
> >> > http://lists.openstreetmap.org/listinfo/dev
> >> >
> >>
> >>
> >>
> >
> >
> >
> 
> 
> 



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


Re: [OSM-dev] Server 0.6 doesn't answer ...

2009-04-09 Thread Till Harbaum / Lists
Hi,

ok, works for me now and also from within osm2go. You'll hopefully
soon see me messing around with the test db.

Thanks,
   Till

Am Donnerstag 09 April 2009 schrieb Thomas Wood:
> Thanks for the sample request, I've updated the rails module in
> apache, and the request seems to be functioning fine for me now, do
> you want to try again?
> 
> Looking into this error also allowed me to find a bug with the
> changeset browing on the website section of the code, too!
> 
> 2009/4/9 Till Harbaum / Lists :
> > Hi,
> >
> > i get the same results using the command line curl. I do this:
> >
> > curl -u mylogin:mypassword -H "Expect:" -i -o result.txt -Tchangeset.xml  
> > http://api06.dev.openstreetmap.org/api/0.6/changeset/create
> >
> > And the changeset.xml is attached.
> >
> > I sometimes get server errors 500 with this and sometimes just an empty
> > reply. This should be giving me a changeset id in return, shouldn't it?
> >
> > What's wrong with this request?
> >
> > Till
> >
> > Am Donnerstag 09 April 2009 schrieb Thomas Wood:
> >> I've done a quick search through the server's log, and can find 401
> >> and 500 responses both logged in the apache log. The rails log only
> >> shows 401 responses and not the 500s, so there's something odd
> >> happening between apache and rails.
> >>
> >> However, other requests to this method this evening have been
> >> functioning correctly according to the logs.
> >>
> >> 2009/4/8 Till Harbaum / Lists :
> >> > Hi,
> >> >
> >> > sending this request:
> >> >
> >> > PUT /api/0.6/changeset/create HTTP/1.1
> >> > Authorization: Basic x
> >> > User-Agent: osm2go-libcurl/0.6.14
> >> > Host: api06.dev.openstreetmap.org
> >> > Accept: */*
> >> > Content-Length: 163
> >> >
> >> > 
> >> > 
> >> >  
> >> >    
> >> >    
> >> >  
> >> > 
> >> >
> >> >
> >> > i either get an "internal server error 500" or no reply at all. What is 
> >> > wrong with this request (despite the
> >> > Auth i xxx'ed out)?
> >> >
> >> > Till
> >> >
> >> > ___
> >> > dev mailing list
> >> > dev@openstreetmap.org
> >> > http://lists.openstreetmap.org/listinfo/dev
> >> >
> >>
> >>
> >>
> >
> >
> >
> 
> 
> 



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


Re: [OSM-dev] Server 0.6 doesn't answer ...

2009-04-09 Thread Till Harbaum / Lists
Hi,

i get the same results using the command line curl. I do this:

curl -u mylogin:mypassword -H "Expect:" -i -o result.txt -Tchangeset.xml  
http://api06.dev.openstreetmap.org/api/0.6/changeset/create  

And the changeset.xml is attached.

I sometimes get server errors 500 with this and sometimes just an empty
reply. This should be giving me a changeset id in return, shouldn't it?

What's wrong with this request?

Till

Am Donnerstag 09 April 2009 schrieb Thomas Wood:
> I've done a quick search through the server's log, and can find 401
> and 500 responses both logged in the apache log. The rails log only
> shows 401 responses and not the 500s, so there's something odd
> happening between apache and rails.
> 
> However, other requests to this method this evening have been
> functioning correctly according to the logs.
> 
> 2009/4/8 Till Harbaum / Lists :
> > Hi,
> >
> > sending this request:
> >
> > PUT /api/0.6/changeset/create HTTP/1.1
> > Authorization: Basic x
> > User-Agent: osm2go-libcurl/0.6.14
> > Host: api06.dev.openstreetmap.org
> > Accept: */*
> > Content-Length: 163
> >
> > 
> > 
> >  
> >    
> >    
> >  
> > 
> >
> >
> > i either get an "internal server error 500" or no reply at all. What is 
> > wrong with this request (despite the
> > Auth i xxx'ed out)?
> >
> > Till
> >
> > ___
> > dev mailing list
> > dev@openstreetmap.org
> > http://lists.openstreetmap.org/listinfo/dev
> >
> 
> 
> 



 
   
   
 

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


[OSM-dev] Server 0.6 doesn't answer ...

2009-04-08 Thread Till Harbaum / Lists
Hi,

sending this request:

PUT /api/0.6/changeset/create HTTP/1.1
Authorization: Basic x
User-Agent: osm2go-libcurl/0.6.14
Host: api06.dev.openstreetmap.org
Accept: */*
Content-Length: 163



  


  



i either get an "internal server error 500" or no reply at all. What is wrong 
with this request (despite the
Auth i xxx'ed out)?

Till

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


Re: [OSM-dev] Internal server error on relation member without role

2008-11-17 Thread Till Harbaum / Lists
Hi,

Am Montag 17 November 2008 schrieb Shaun McDonald:
> supplied in the xml, then it will fail. Supplying role="" is what you  
> are required to do.
Maybe the server should return something else than "internal error" then?
Other incomplete requests end up with a 400 error. "Internal error" sounds
to me as if the server is having problems that are unrelated to my request.

> If you can supply more detailed examples of where you are having  
> problems, it will be easier to help you debug the problem. It could  
> just be a problem of the rails daemon dying with your request going  
> with it. JOSM does have an automatic retry system.
There are no special examples. It just happens every now and then. 
It happens much more likely if i upload via slow GPRS. A simple retry
usually works, sometimes a second retry is needed, but finally it always
works. It looks like it happens more often if the gaps between ids assigned
to new objects of mine are bigger which may mean that more parallel
uploads happen at those times. 

Till

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


[OSM-dev] Internal server error on relation member without role

2008-11-17 Thread Till Harbaum / Lists
Hi,

i just noticed that don't specifying a role for a relation member gives an 500 
error
while specifying an empty role="" works fine.

This doesn't look like it's intended that way.

Also my tool gets ~10% of internal server errors during upload but can always
recover with a retry. How comes? I've never used josm or merkaartor. Do these
also have to run retries?

Till

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


[OSM-dev] "Internal server error 500" with slow connection?

2008-11-07 Thread Till Harbaum / Lists
Hi,

while testing osm2go i got the 500 (internal server error) message quite 
frequently.
This may be a coincidence, but so far i never got this message when testing via
broadband, but about 10% of upload trials fail with this message when going
via gprs/cell phone.

I'll keep an eye on this ...

Till

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


[OSM-dev] JOSM preset icon paths

2008-11-01 Thread Till Harbaum / Lists
Hi,

i am still working on osm2go and the latest addon is it's ability to parse and 
work with
JOSMs presets.xml. I am now having a problem with the latest version as it 
started to 
include icons from other places than images/presets. This means to me that i 
either
import the entire images tree from JOSM (which i won't like to do as it 
contains many
icons i won't need) or that i manually move the missing icons to images/presets 
and 
patch presets.xml for my needs. Both solutions are rather ugly. Perhaps i try 
to do the 
latter with the help of a little script ...

Would it be possible to move all icons referenced in presets.xml to the 
images/presets
directory? This way it'd be easier to share those between different 
applications.

Till

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


Re: [OSM-dev] android + osm

2008-10-28 Thread Till Harbaum / Lists
Hi,

Am Dienstag 28 Oktober 2008 schrieb Matthias Brandt:
> I'm just at the beginning (planning phase), so there isn't much to say 
> yet. But the scope is to have an easy-to-use app like potlatch.
> This project will be my bachelor thesis.
Very interesting. I have started something similar with my osm2go 
project on the nokia internet tablets. The horse power of these 
both plattforms should be fairly similar (android even runs on the 
nokia devices). Since xml parsing and rendering (incl. antialiased 
graphics and transparent layers like potlatch does) are pretty cpu
intense taks, osm2go can easily bring the device to its limits.

It'll be very interesting to see how your Java project performs in 
comparison.

Till

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


Re: [OSM-dev] VM image

2008-10-14 Thread Till Harbaum / Lists
Hi,

Am Dienstag 14 Oktober 2008 schrieb Andy Allan:
> I certainly use VMware for testing the rails_port, and in fact have
> been working on fixing up the installation instructions at
> http://wiki.openstreetmap.org/index.php/The_Rails_Port and the
What about distributing virtualbox images (http://www.virtualbox.org)
instead? This is open source (being more in the spirit of OSM) and the
vm can just be distributed with the image.

Till

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


Re: [OSM-dev] Duplicated nodes in Potlatch

2008-10-06 Thread Till Harbaum / Lists
Hi,

Am Sonntag 05 Oktober 2008 schrieb Chris Browet:
> Merkaartor systematically overwrite the "created_by" when doing changes on
> the server (after having followed a similar thread).
Uhm i also do exactly this: I only overwrite. If there's no created_by tag in 
an object
i am modifying i also won't create the created_by tag. What does Merkaartor do 
in this
case?

Till

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


Re: [OSM-dev] Duplicated nodes in Potlatch

2008-10-06 Thread Till Harbaum / Lists
Hi,

Am Sonntag 05 Oktober 2008 schrieb Chris Browet:
> If this tag has any value, it is, IMHO, to be able to identify editors
> having strange/wrong behaviors needing to be addressed.
Agreed. That's why i also set this.

> AFAIK, there is no "standard" way for the server to know which editor is
> sending it data. It could, based upon the user-agent, but I don't think
> there something foreseen regarding this.
The api specifies a "generator" property to be set in the xml data being 
uploaded. What's the server doing with this?

Till

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


Re: [OSM-dev] Duplicated nodes in Potlatch

2008-10-05 Thread Till Harbaum / Lists
Hi,

this thread is really valuable for me as someone who writes an
osm editor. With respect to overwriting the "created_by" entry,
i was just copying potlatchs behaviour. So: What's the preferred
behaviour? Overwriting imho doesn't make much sense. But since
osm2go is in an early development change i thought it makes
much sense to be able to leave  fingerprint of my tool, so that in 
case of major trouble caused by a stupid bug in my tool there's 
a chance to find where my tool has done harm.

Why is this something the application does, anyway? The issue
is mho very similar to the user assignment which is entirely done
on server side. Since the clients all identify tjhemselves in their 
upload why doesn't the server also handle this?

The created_by is like the user a technical thing and
not really information related to the physical objects described. So
i never really understood why this is a tag and not an entirely different
thing like the user is.

Till

Am Sonntag 05 Oktober 2008 schrieb Richard Fairhurst:
> David Earl wrote:
> 
> > And this underestimates it because Potlatch replaces any  
> > created_by's on objects originally created by JOSM, but JOSM  
> > doesn't replace Potlatch's created_by's.
> 
> Which is _really_ annoying for debugging purposes. ;)
> 
> But anyway, you are, as an unwise man once said, misunderestimating  
> this. Matt was talking about "objects", and like I say, Potlatch  
> doesn't write created_by on nodes (as of 0.10d, it won't even _read_  
> them). There are currently 300 million nodes vs 27 million ways.
> 
> cheers
> Richard
> 
> ___
> dev mailing list
> dev@openstreetmap.org
> http://lists.openstreetmap.org/listinfo/dev
> 



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


[OSM-dev] Ann.: OSM2Go (formerly Mosmed), a openstreetmap editor for the Nokia n8x0

2008-09-29 Thread Till Harbaum / Lists
Hi list,

i have made some progress with my osm2go (i know that there has been some 
project about two
years ago with that name, but the author gave me the ok to use that name).

Have a look at http://www.harbaum.org/till/maemo/index.shtml#osm2go for some 
screenshots
and a download link. Owners of a Nokia n800 or n810 running the diablo 
operating system can
directly download and install a packaged version from Nokias development 
servers via the install
link on my page.

This is very early work in progress, but you can already download and upload 
data to the OSM
server and create and delete nodes and change node positions and their tagging. 
Thus it's
possible to e.g. create POI nodes on the road.

Features planned for the next releases are:

- GPS track import/export
- Direct GPS visualization (the Nokia n810 has a built-in GPS)
- Interface to Maemo-Mapper (a popular mapping application on that platform 
using
  openstreetmap tiles)
- Complete project handling
- Way processing (create, delete, split, join, ...)
- A nice tag browser for easy and beginner friendly tagging
- ...

Enjoy,
  Till

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


Re: [OSM-dev] OSM export incompatibilities between JOSM and Merkaartor

2008-09-21 Thread Till Harbaum / Lists
Hi,

Am Sonntag 21 September 2008 schrieb Chris Browet:
> > files is the same format used by many other tools, and is the format
> > expected by the API when uploading new entities, so it was a natural fit. If
The API doesn't expect any id when uploading new items. So this is about an
issue that doesn't apply to the api: Storing new items before they get their
id during an upload.

> I'm not trying to convince anyone to use text ID by itself.
> I'm just a bit pissed off by "non-written established JOSM based" standards.
The only standard is the API. The API is meant to connect a client app to the 
server.
What you want is a exchange between two client apps. The API just doesn't
cover this. To make thinks worse: I faced the same problem with my n800/n810
osm editor and took an entirely different approach as i don't store anything
in my local copy of the downloaded data, but store changes in a seperate diff
file (for those who wonder why i did this: I thought it would be a nice option
to be able to update the OSM data from the server without loosing the changes
one did to the local copy). 

> Far from saying there should be no standards on OSM, I'm strongly for it,
> for consistency, but they should be assumed, agreed upon and documented.
> To be short: OSM lacks governance.
I am sure we all agree on this. But someone has to actually do that job.

> > I can answer one reason why some "other apps" convert xml text attributes
> > to numeric IDs. For Osmosis, anyway, it deals with OSM data in a pipelined
I use numeric ids because they use up less precious memory on a mobile device.

BTW: Is there some limit for the size of the ids? What max size should my app be
able to cope with? I assume that 32 bits (or 31 for positive ids) aren't 
sufficient,
or at least will not be sufficient for very long ...

Ciao,
  Till

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


Re: [OSM-dev] Order of closed ways?

2008-09-12 Thread Till Harbaum / Lists
Hi,

Am Donnerstag 11 September 2008 schrieb Frederik Ramm:
> Normally, an .osm file has nodes, then ways, then relations, in 
> ascending id order. But that's not even guaranteed.
That's not a problem for me as i have all nodes on one layer and all
ways on another. These don't interfere. The question is how to stack
items inside a layer.

> You will probably need "z-ordering" in your editor. Some objects have 
> explicit layer tags specifying their z-order. Polygons with holes have 
> relations to link the inner rings to the outer ring. Everything else is 
> at the discretion of the renderer.
I don't support relations yet and this will likely be one of the last things
to be added.

I have implemented my solution to "push back" an item that's clicked
a second time when already being selected. This way you can easily cycle
through any pile of stacked items by just repeating clicks onto the same
position. Every second click will then bring up and select a new item.

This perhaps isn't visually perfect, but it serves its purpose well enough
to be quite useful.

Till

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


[OSM-dev] Order of closed ways?

2008-09-11 Thread Till Harbaum / Lists
Hi,

my mobile osm editor is advancing and i can edit real life data. Now i am 
running into the
problem that there are polygons lying on top of each other. E.g. there's a 
baseball field
close and it has several fields/polygons representing the whole field or e.g. 
just the bases.

Are these ordered in a certain way? E.g. is a polygon (or closed way to be 
precise) completely
being inside another one stored before or after this other polygon in a .osm 
file? Or is there no given order
at all? I need to know this to find a way to select them. E.g. if the embedded 
polygon is being 
drawn first, then clicking it will select the "outer" polygon which has been 
drawn later and is thus
"on top".

One solution i am thinking about is to reorder polygons when they are selected. 
The selected one
then gets pushed to the bottom. That way repeated clicks should result in 
cycling through all
polygons.

Any thoughts?

Till


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


Re: [OSM-dev] Inconsistent server error replies

2008-09-07 Thread Till Harbaum / Lists
Hi,

Am Sonntag 07 September 2008 schrieb Tom Hughes:
> A single line text message is clearly not appropriate for a 404 caused 
> by using the wrong URL though as we have no idea if that came from a web 
> browser or a program using the API and in the web browser case we want 
> to send an HTML response.
If this happens while someone is accessing the api/xxx path on the server 
we can be quite confident that it's not a browser but a program accessing 
the api.

> In fact it's far more likely that it is a web browser as any program 
> that is sending the wrong URL is presumably only ever going to do so for 
> a short period while it is in development while a web user can type in 
> the wrong URL at any time.
You mean there are more people trying to access the api branch on the server
with the web browser than people with real api aware software trying
to access the server and running into problems there?

> To be honest I wouldn't expect a program to look at the body - just the 
> response code and string and the Error header.
Ok, i can do that. I just thought that getting additional information from the
body might help tracking down problems. But when doing a bunch of uploads,
then displaying html rendered error pages may just not be very useful. I'd
rather output a single line error message per uploaded item.

IMHO the question is: What problems do we want to catch and address? Do
we care for people accessing the api via their web browser and do we want to
make sure they get useful error messages? Or do we want to make sure that
software like josm and friends have a simple method of returning error 
information?

> If you want to improve our error handling though then please do feel 
> free - I'm sure you know where the repository is.
I won't just patch other peoples software without having asked why things 
are the way they are and without having come to the conclusion that my ideas
are sufficient better than yours. You say that you think the 404 should remain
valid html to make sure all browsers display it correctly and that ok with me.

Anyway, i can really live with the current state. I wasn't sure if this 
inconsistency
is by purpose and thought that someone may want to think about this.

Till

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


[OSM-dev] Inconsistent server error replies

2008-09-07 Thread Till Harbaum / Lists
Hi,

the replies the server is sending on uploads aren't very consistent. E.g. using 
a 
wrong url returns a 404 with content:

http://www.w3.org/TR/html4/loose.dtd";>


  File not found
  Change this error message for pages not found in public/404.html



using a wrong username returns a 401 with content:

Couldn't authenticate you


Since i'd like to have mosmed do some useful output in case of errors during 
the upload process,
it's rather ugly to have to cope with these different cases (despite the fact 
that the 404 message
seems to be just the default message of the server and should imho be changed, 
anyway). 

I can of course ignore these completely and just do an own clear text message 
based on the 
return code only. But it's imho nicer to have the sever explain the issue in 
plain text as this allows
for more flexibility and e.g. more exact error messages.

How can this be solved? I'd really prefer simple single line text replies for 
all errors, just like in the
401 case. Any objections? How can this be done? Who can do this?

Regards,
  Till


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


[OSM-dev] Purpose of "visible" tag?

2008-09-03 Thread Till Harbaum / Lists
Hi,

i see the visible tag being used in examples of the 0.5 api, but i don't see
any explanation for it. How/when gets something invisible and how should
an osm editor treat this? Are invisible items to be ignored completely? 

Till

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


Re: [OSM-dev] Mosmed, mobile OSM editor (for Maemo)

2008-09-01 Thread Till Harbaum / Lists
Hi,

very nice. It has a different audience as it looks like its not meant to be a 
full
osm editor but mainly focusses on tagging, correct? On the other hand it can
use tile maps and will therefore probably be able to work on much bigger map
sections at once. A project in a densly mapped city like karlsruhe, germany, 
a mosmed project bigger than ~5 square kilometers can already be quite 
slow with respect to rendering and zooming.

Anyway, i'll take a look at your project, perhaps we can share some code.
I e.g. do all the parsing with libxml2, all the rendering with gnomecanvas
(not much to share with your qt application here) and libcurl for osm
up- and download. Especially the last part might be something to be put
into a seperate library for shared use. Something like a libosm for osm 
up- and download is imho something really needed as the api seems
to be under constant development and there are already a bunch of
applications that aren't updated and thus cannot use the latest api.
A library would relax that situation as an update of that library would
bring all depending apps into action again.

Regards,
  Till

Am Montag 01 September 2008 schrieb Mickey Leroy:
> Yes, the mobile world needs such applications,
> that is why I created a program called Open Citymap (
> http://code.google.com/p/opencitymap/)
> Which firstly was created on the trolltech Greenphone, but now it is being
> re-made (cleaning code + improving) for other devices.
> Those other devices are curently: The OpenMoko freerunner (at the moment
> under Qtopia) and the Nokia N810 (qt/x11).
> 
> 
> 
> On Mon, Sep 1, 2008 at 1:40 PM, Till Harbaum / Lists <[EMAIL PROTECTED]>wrote:
> 
> > Hi,
> >
> > i am thinking there's a lack of OSM editors to be used on the road.
> > Something simple
> > allowing to e.g. set nodes while on the road etc. Just for all those things
> > that aren't
> > easily derived from the gps track.
> >
> > So i started Mosmed (Mobile OSM EDitor, and yes, in the meantime i've
> > learned that
> > there's something named mosme which is the same thing targetted at windows
> > ce).
> > The name is only for development and may change (any idea is welcome).
> >
> > Here's what i am trying to do:
> > - Simple gui, currently the map looks quite exactly as it does in potlatch
> > - Work is handled in projects (basically an area you work on for which the
> > osm data is then
> >  downloaded) to keep the data to be handled small
> > - support for GPS and live overlayed tracks
> > - stylus/touchscreen control
> > - direct OSM interface
> >
> > I am doing this using a bunch of exisiting frameworks on top of
> > maemo/gtk/hildon so
> > this runs on the nokia internet tablets as well as on gtk equipped desktops
> > (linux). The
> > drawing is e.g. done using gnomecanvas which gives nice antialiased vector
> > graphics
> > as seen on this (rather old) snapshot here:
> >
> >  http://www.harbaum.org/till/maemo/mosmed.jpg
> >
> > Mosmed also did its first upload to the database (the tags of node
> > 283749903 have been
> > changed using mosmed).
> >
> > I really think there's a need for something like this. The built-in gps of
> > the nokia n810 in
> > combination with its wlan/bluetooth for osm up- and download and the
> > 800x480 scree
> > imho make this a very nice device to be used for live updates on the road.
> >
> > Regards,
> >  Till
> >
> >
> >
> > ___
> > dev mailing list
> > dev@openstreetmap.org
> > http://lists.openstreetmap.org/listinfo/dev
> >
> 



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


[OSM-dev] Mosmed, mobile OSM editor (for Maemo)

2008-09-01 Thread Till Harbaum / Lists
Hi,

i am thinking there's a lack of OSM editors to be used on the road. Something 
simple
allowing to e.g. set nodes while on the road etc. Just for all those things 
that aren't
easily derived from the gps track.

So i started Mosmed (Mobile OSM EDitor, and yes, in the meantime i've learned 
that
there's something named mosme which is the same thing targetted at windows ce).
The name is only for development and may change (any idea is welcome).

Here's what i am trying to do:
- Simple gui, currently the map looks quite exactly as it does in potlatch
- Work is handled in projects (basically an area you work on for which the osm 
data is then
  downloaded) to keep the data to be handled small
- support for GPS and live overlayed tracks
- stylus/touchscreen control
- direct OSM interface

I am doing this using a bunch of exisiting frameworks on top of 
maemo/gtk/hildon so
this runs on the nokia internet tablets as well as on gtk equipped desktops 
(linux). The
drawing is e.g. done using gnomecanvas which gives nice antialiased vector 
graphics
as seen on this (rather old) snapshot here:

  http://www.harbaum.org/till/maemo/mosmed.jpg

Mosmed also did its first upload to the database (the tags of node 283749903 
have been
changed using mosmed). 

I really think there's a need for something like this. The built-in gps of the 
nokia n810 in 
combination with its wlan/bluetooth for osm up- and download and the 800x480 
scree 
imho make this a very nice device to be used for live updates on the road.

Regards,
  Till

 

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