On 7 Mar 2008, at 11:34, Tom Hughes wrote:

> In message  
> <[EMAIL PROTECTED]>
>        Lauri Hahne <[EMAIL PROTECTED]> wrote:
>
>> On 07/03/2008, Tom Hughes <[EMAIL PROTECTED]> wrote:
>>
>>>> Last time I tried those they didn't work. And what I'd be doing  
>>>> would
>>>> be a simple web-app a la the  the current trace uploader but which
>>>> would up each trace individually instead of one giant blob.
>>>
>>> Are you talking about a third party web app? or extending the  
>>> current
>>> upload page on the main site?
>>
>> Third party. I don't know Rails and I don't want to either.
>
> I'm not sure that's a road we really want to go down - we've already
> got Richard's trace format translator running that way which I need
> to move to be a properly integrated part of the site when I get a
> chance....
>

I already have a patch here (not created a ticket on trac or it yet)  
to stop a user from uploading another file with the same name. Before  
I can go on and implement: upload an archive and only import the files  
that the particular user hasn't uploaded already; I would need to bash  
some implementation ideas from someone who has more knowledge of rails.

The reason why this works, is because generally GPS devices give files  
a unique name based on the day or the start time of the trace.  
Therefore the trace name is generally unique for that particular user.

Shaun


_______________________________________________
dev mailing list
[email protected]
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev

Reply via email to