Re: [OSM-talk] I big jump in new users and user activity.

2008-06-03 Thread Richard Fairhurst
Tom Hughes wrote:

> Secondly a user can have more than one token at a time and any one of
> them is sufficient to have full access to the api.

Ah, mea culpa, you're quite right. In which case I have no idea how  
Frederik was getting logged out, given that the only way I've ever  
managed to get that alert is intentionally (i.e. by mangling tables in  
a local db).

cheers
Richard

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] I big jump in new users and user activity.

2008-06-03 Thread Tom Hughes
Richard Fairhurst wrote:
> Frederik Ramm wrote:
> 
>> Later I had a situation where
>> Potlatch continually complained that I wasn't logged in while the
>> screen still showed my user name in the top right corner - session
>> expiry perhaps?
> 
> Were you using the same login on two machines? Potlatch uses the same  
> token as the rest of the Rails site, rather than a JOSM-like separate  
> auth - the SWF doesn't even know your username or password, it just  
> has the token. So if you started a session on one machine, then one on  
> another, the second instance would effectively log the first one out;  
> and because the Rails site doesn't do a AJAXy periodic refresh for the  
> user name at the top right (after all, why would it?), that wouldn't  
> change.

Um... no. First up there is nothing to stop you being logged in on more 
than one machine at once. I do it all the time.

Secondly a user can have more than one token at a time and any one of 
them is sufficient to have full access to the api.

What actually happens with Potlatch is that the server checks the 
session (which is tied to the client browser instance by a cookie) for a 
token and if it doesn't find one it creates one and saves it in the 
session. That token is then embedded in the edit page as a parameter to 
the Potlatch applet.

Tom

-- 
Tom Hughes ([EMAIL PROTECTED])
http://www.compton.nu/

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] I big jump in new users and user activity.

2008-06-03 Thread Richard Fairhurst
Frederik Ramm wrote:

> Later I had a situation where
> Potlatch continually complained that I wasn't logged in while the
> screen still showed my user name in the top right corner - session
> expiry perhaps?

Were you using the same login on two machines? Potlatch uses the same  
token as the rest of the Rails site, rather than a JOSM-like separate  
auth - the SWF doesn't even know your username or password, it just  
has the token. So if you started a session on one machine, then one on  
another, the second instance would effectively log the first one out;  
and because the Rails site doesn't do a AJAXy periodic refresh for the  
user name at the top right (after all, why would it?), that wouldn't  
change.

> - On another occasion I would have liked a short
> session expiry, when out of the corner of my eye I spotted some
> visitors having fun at one of our machines, and suddenly realised
> they had Potlatch open... and it was NOT in play mode ;-) I explained
> to them that they were just editing our database which they found
> a bit hard to believe.

You shouldn't have to explain, it says it on the splash screen[1]...  
unless you've ticked "Don't show this again", that is. ;)

cheers
Richard

[1] localisation welcome!

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] Wikimania, July 17-19 in Alexandria, Egyp

2008-06-03 Thread Mikel Maron
Schuyler and I have a presentation on OpenStreetMap accepted, and in all 
likelihood we're going.

Please bring all available materials and devices. No clue yet on mapping 
conditions in Egypt. It will be hot!

-Mikel


- Original Message 
From: Lars Aronsson <[EMAIL PROTECTED]>
To: talk@openstreetmap.org
Sent: Tuesday, June 3, 2008 12:27:59 PM
Subject: [OSM-talk] Wikimania, July 17-19 in Alexandria, Egypt


Next month is Wikimania, the annual global conference of the 
Wikimedia Foundation. This year on July 17-19 it takes place at 
the new library, Bibliotheca Alexandria, in Alexandria, Egypt, 
http://wikimania.org/

OpenStreetMap is an open content project that does not belong to 
the Wikimedia Foundation, but apart from that there are many 
similarities.  The interest for OSM is great within the Wikipedia 
community, and the conference covers all kinds of open content 
projects.

I'm going to the conference, but I'm not giving any presentation.  
Is anybody giving a presentation on OpenStreetMap at Wikimania?  
Is anybody else than me going to be there?  Are there any 
brochures that I can bring?

Should I bring my GPS and try to map parts of Alexandria?  Is that 
a safe hobby in Egypt?  Does anybody have any experience?



-- 
  Lars Aronsson ([EMAIL PROTECTED])
  Aronsson Datateknik - http://aronsson.se

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] [tagging] Approved: path, designated. Rejected: *way deprecation

2008-06-03 Thread Karl Eichwalder

Frederik Ramm schrieb:
> Someone pushing a bike IS a pedestrian and thus isn't misusing a
> footway.
>
> Maybe I have not made myself clear (maybe the word "push" has some
> meaning I didn't know about) but I meant someone walking next to his
> bike!

Please, take my apologies, I got your statement wrong.

>>  Also downhill push your bike
>> "with speed suitable for walking"--that's surely no fun...
>
> It's surely no fun but if for some strange reason the road layout is
> so that you can either spend 20 minutes cycling downhill at 30mph or
> 5 minutes pushing downhill at 3mph then I'd expect a good router,
> asked for the "fastest route", to give me the faster one...

Yes, of course.

BTW, it is not that easy to estimate the speed on cycleway.  On overland
cycleways next to the road you are often slower than if you would
cycle on the road.  But that's a different issue.

-- 
Karl Eichwalder


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


[OSM-talk] Wikimania, July 17-19 in Alexandria, Egypt

2008-06-03 Thread Lars Aronsson

Next month is Wikimania, the annual global conference of the 
Wikimedia Foundation. This year on July 17-19 it takes place at 
the new library, Bibliotheca Alexandria, in Alexandria, Egypt, 
http://wikimania.org/

OpenStreetMap is an open content project that does not belong to 
the Wikimedia Foundation, but apart from that there are many 
similarities.  The interest for OSM is great within the Wikipedia 
community, and the conference covers all kinds of open content 
projects.

I'm going to the conference, but I'm not giving any presentation.  
Is anybody giving a presentation on OpenStreetMap at Wikimania?  
Is anybody else than me going to be there?  Are there any 
brochures that I can bring?

Should I bring my GPS and try to map parts of Alexandria?  Is that 
a safe hobby in Egypt?  Does anybody have any experience?



-- 
  Lars Aronsson ([EMAIL PROTECTED])
  Aronsson Datateknik - http://aronsson.se

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


[OSM-talk] Non-nesting administrative borders (Was: National borders in the British Islands)

2008-06-03 Thread Stephen Gower
On Sat, May 31, 2008 at 11:42:22AM +0200, Martijn van Oosterhout wrote:
> On Fri, May 30, 2008 at 11:20 PM, Lester Caine <[EMAIL PROTECTED]> wrote:
> > The 'nesting' rule does not exist. We have already had enough examples of
> > where boundaries form different 'sets' of areas so there is no way to insist
> > that the 'admin' boundaries are mutually exclusive :(
> 
> Do you have an example if such a jurisdictional anomoly?

  In Canada:
  
  http://en.wikipedia.org/wiki/Lloydminster
  http://en.wikipedia.org/wiki/Flin_Flon
  
  s  

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


[OSM-talk] gps map machting algorithm

2008-06-03 Thread Stefan Pflumm
Hello,

I'm currently working on my diploma thesis "more realistic speed costs for 
roads". In this thesis, i will evaluate gps tracks to get better time costs für 
road
sections. This data will be saved and could be applied in future, above an api, 
together with osm routing software. 

For this thesis, i need a solution for the gps matching problem with osm data. 
I read several papers, but there are a lot of different methods. 

Has somebody experience in gps map machting algorithms and can recommend me a 
method?

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] [tagging] Approved: path, designated. Rejected: *way deprecation

2008-06-03 Thread Steve Hill
On Mon, 2 Jun 2008, Karl Eichwalder wrote:

> You are _forced_ to
> make use of this way if it accompanies the street.

In this case, shouldn't the street itself be marked as bicycle=no?

  - Steve
xmpp:[EMAIL PROTECTED]   sip:[EMAIL PROTECTED]   http://www.nexusuk.org/

  Servatis a periculum, servatis a maleficum - Whisper, Evanescence


___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] Merging OSM files

2008-06-03 Thread Frederik Ramm
Hi,

> http://svn.openstreetmap.org/applications/rendering/pyrender/ 
> OsmMerge.py
>
> might be of help. Does anyone know of a Perl solution for merging?

The [EMAIL PROTECTED] client has a provision for downloading the data in 
stripes if  
downloading the whole z12 tile fails. For that, it needs to merge the  
results. IIRC I coded a merge routine in there that does the  
necessary thing but without any XML parsing ;-)

Bye
Frederik

-- 
Frederik Ramm  ##  eMail [EMAIL PROTECTED]  ##  N49°00'09" E008°23'33"




___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] generate taiwan map with mapnik

2008-06-03 Thread Jon Burgess
On Tue, 2008-06-03 at 12:36 +0800, Louis Liu wrote:
> Hi everyone:
> 
> I tried to generate Taiwan map with generate_image.pl, but the result
> was very strange.
> Some highways are shifted to south of the island.
> 
> Does here anyone know what's going on?
> 
It looks like the data may have the wrong projection.
Did you remember to use the "-m" option when you used osm2pgsql to
import the data?

Jon



___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] generate taiwan map with mapnik

2008-06-03 Thread Andy Allan
You forgot to use the -m flag when you ran osm2pgsql. Without the
flag, the data in the postgis db is not in the same projection as that
specified by the  tags in osm.xml

Cheers,
Andy

On Tue, Jun 3, 2008 at 5:36 AM, Louis Liu <[EMAIL PROTECTED]> wrote:
> Hi everyone:
>
> I tried to generate Taiwan map with generate_image.pl, but the result
> was very strange.
> Some highways are shifted to south of the island.
>
> Does here anyone know what's going on?
>
> I'm afraid it's problem of me. Because that was the first I use mapnik.
>
> The thumbnail image is here:
>   http://gallery.locomotion.tw/main.php/d/4984-2/image.png
>
> And the original image is here:
>   http://gallery.locomotion.tw/main.php/d/4982-1/image.png
>
> The original image size is about 1.6MB, so it takes time to download.
>
> Thank you for your help.
>
> ___
> talk mailing list
> talk@openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
>

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] Mapnik Render Glitch

2008-06-03 Thread Thomas Wood
Hi,
Mapnik will render all names even if the feature itself is not rendered.

On 6/3/08, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> It appears that Mapnik renders the name of a 'surface=rocks' area, but not
> the edge of the area.
>
> http://www.openstreetmap.org/?lat=49.58993&lon=-114.374895&zoom=18&layers=B00FF
>
> Simon
>
>
> ___
> talk mailing list
> talk@openstreetmap.org
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
>


-- 
Regards,
Thomas Wood
(Edgemaster)

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] [tagging] Approved: path, designated. Rejected: *way deprecation

2008-06-03 Thread Frederik Ramm
Hi,

> Just start cycling next weekend, 50km and more.  Watch the pedestrians
> and hikers if you misuse "their" ways.

Someone pushing a bike IS a pedestrian and thus isn't misusing a  
footway.

Maybe I have not made myself clear (maybe the word "push" has some  
meaning I didn't know about) but I meant someone walking next to his  
bike!

>  Also downhill push your bike
> "with speed suitable for walking"--that's surely no fun...

It's surely no fun but if for some strange reason the road layout is  
so that you can either spend 20 minutes cycling downhill at 30mph or  
5 minutes pushing downhill at 3mph then I'd expect a good router,  
asked for the "fastest route", to give me the faster one...

Bye
Frederik

-- 
Frederik Ramm  ##  eMail [EMAIL PROTECTED]  ##  N49°00'09" E008°23'33"




___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk


Re: [OSM-talk] Merging OSM files

2008-06-03 Thread Sebastian Spaeth
Simon Wood wrote:
> Hi all,
> Does anyone have a quick/easy solution to merge a number of '.osm' files into 
> a single file? (rather than opening them all in JOSM and merging the layers 
> down)

osmosis, or if you want to use python:

http://svn.openstreetmap.org/applications/rendering/pyrender/OsmMerge.py

might be of help. Does anyone know of a Perl solution for merging?

spaetz

___
talk mailing list
talk@openstreetmap.org
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk