Re: [Talk-ca] Best way to keep OSM data "up to date" locally...

2010-06-15 Thread Richard Weait
On Tue, Jun 15, 2010 at 9:55 AM, Tyler Gunn  wrote:

> I'll have to look into the size of the diffs.  Ultimately my goal was to
> consume as little server resources as possible.  I figured there was no
> sense in downloading the whole area every day when relatively little
> changes.

Planet files and diffs both come from the planet.openstreetmap.org
mirror, and not directly from the API / database.  Minutely diff files
seem to be mostly 5k-50k, with some larger ones from bulk imports.

___
Talk-ca mailing list
Talk-ca@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-ca


Re: [Talk-ca] Best way to keep OSM data "up to date" locally...

2010-06-15 Thread Tyler Gunn

> That could work.  Is "every couple of days" close enough to "up to
> date" for you?

I suppose the answer to that is "it depends".  If I am doing a lot of
mapping I'd likely update daily.  Otherwise every few days is fine too.   I
suppose there's no harm in auto-generating it every night though.
 
> As I understand it you can apply diff files to an extract as well as
> to the entire planet.  So you could have a local extract and keep it
> right up to date, then generate your Garmin files on your schedule.

I'll have to look into the size of the diffs.  Ultimately my goal was to
consume as little server resources as possible.  I figured there was no
sense in downloading the whole area every day when relatively little
changes.

Tyler


___
Talk-ca mailing list
Talk-ca@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-ca


Re: [Talk-ca] Best way to keep OSM data "up to date" locally...

2010-06-15 Thread Tyler Gunn

> GroundTruth getdata -b=-115,50,-114,51
> or just use the OSM interface & zoom to the area and 'download'.
> Xapi can also to a coord + zoom to get an area.
> Or just use JOSM and save the "datalayer1" as your OSM file (if its
> just the downtown core)

Thanks for that; it pretty much confirms the routes I figured were
available.

I was just trying to determine the method that puts the least amount of
load on the servers.
I figured it'd be optimal to just download the changes rather than the
whole area each time.

Thanks,
Tyler


___
Talk-ca mailing list
Talk-ca@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-ca


Re: [Talk-ca] Best way to keep OSM data "up to date" locally...

2010-06-15 Thread Richard Weait
On Tue, Jun 15, 2010 at 9:15 AM, Tyler Gunn  wrote:
>
> After accidentally not including the talk-ca list in my discussions, I'll
> start this off again. :)
>
> I'd like to keep a Garmin map of Winnipeg up to date.  Easy enough to do
> with a script to run mkgmap on my linux box.  However, I'm just curious
> what the easiest way is to keep an up to date copy of the date for Winnipeg
> on my machine?
>
> I realize I could get a planet.osm and apply the diff files to keep it up
> to date.  However since my interest is in a small area I would assume that
> this is not the most effective.  I searched around and the best I can come
> up with is to run a query on the XAPI servers every couple of days
> (http://wiki.openstreetmap.org/wiki/XAPI).  Does this correspond to your
> experiences?

That could work.  Is "every couple of days" close enough to "up to
date" for you?

As I understand it you can apply diff files to an extract as well as
to the entire planet.  So you could have a local extract and keep it
right up to date, then generate your Garmin files on your schedule.

___
Talk-ca mailing list
Talk-ca@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-ca


Re: [Talk-ca] Best way to keep OSM data "up to date" locally...

2010-06-15 Thread Sam Vekemans
That would be;
using

GroundTruth getdata -b=-115,50,-114,51

(that was just a guess at the coords)
it'll grab that area & name it 'output.osm'

or just use the OSM interface & zoom to the area and 'download'.

Xapi can also to a coord + zoom to get an area.

Or just use JOSM and save the "datalayer1" as your OSM file (if its
just the downtown core)

1 answer of many,
Sam

On 6/15/10, Tyler Gunn  wrote:
>
> After accidentally not including the talk-ca list in my discussions, I'll
> start this off again. :)
>
> I'd like to keep a Garmin map of Winnipeg up to date.  Easy enough to do
> with a script to run mkgmap on my linux box.  However, I'm just curious
> what the easiest way is to keep an up to date copy of the date for Winnipeg
> on my machine?
>
> I realize I could get a planet.osm and apply the diff files to keep it up
> to date.  However since my interest is in a small area I would assume that
> this is not the most effective.  I searched around and the best I can come
> up with is to run a query on the XAPI servers every couple of days
> (http://wiki.openstreetmap.org/wiki/XAPI).  Does this correspond to your
> experiences?
>
> THanks!
> Tyler
>


-- 
Twitter: @Acrosscanada
Blogs: http://acrosscanadatrails.posterous.com/
http://Acrosscanadatrails.blogspot.com
Facebook: http://www.facebook.com/sam.vekemans
Skype: samvekemans
IRC: irc://irc.oftc.net #osm-ca Canadian OSM channel (an open chat room)
@Acrosscanadatrails

___
Talk-ca mailing list
Talk-ca@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-ca


[Talk-ca] Best way to keep OSM data "up to date" locally...

2010-06-15 Thread Tyler Gunn

After accidentally not including the talk-ca list in my discussions, I'll
start this off again. :)

I'd like to keep a Garmin map of Winnipeg up to date.  Easy enough to do
with a script to run mkgmap on my linux box.  However, I'm just curious
what the easiest way is to keep an up to date copy of the date for Winnipeg
on my machine?

I realize I could get a planet.osm and apply the diff files to keep it up
to date.  However since my interest is in a small area I would assume that
this is not the most effective.  I searched around and the best I can come
up with is to run a query on the XAPI servers every couple of days
(http://wiki.openstreetmap.org/wiki/XAPI).  Does this correspond to your
experiences?

THanks!
Tyler

___
Talk-ca mailing list
Talk-ca@openstreetmap.org
http://lists.openstreetmap.org/listinfo/talk-ca