Re: maps for others country?

2008-08-17 Thread Robin Paulson
2008/8/18 Torfinn Ingolfsen <[EMAIL PROTECTED]>:
> On Sun, Aug 17, 2008 at 7:53 AM, Paul Wouters <[EMAIL PROTECTED]> wrote:
>> Is there a way to preload map packages from openstreemaps based on 
>> coordinates?
>> So that we can create city or country maps, without actually being there ? :)
>
> Yes, that would be great.
> I would really like to be able do something like:
>
> osm-get-maps Norway
> osm-get-maps Oslo
>
> to download maps for a country and a city, respectively.
> I had a look at the OSM[1] site, but couldn't find any such tools
> there at least.
>
> References:
> 1) http://openstreetmap.org/

there is something already on osm to do this:

http://svn.openstreetmap.org/applications/utils/downloading/tiles_by_bbox/get.pl

which gets tiles by a bounding box

it should be pretty easy to extend by producing a table with a list of
names (e.g. oslo, noway) that feeds a set of lat/lon to the script
when called

something like:

lookup_coords
place  llon  rlon  tlat  blat
norway   2.5   3.2   62.258.4
oslo   2.75  2.8259.9159.75

then call
# perl get.pl oslo

and it parses the place, sends the coords to get.pl and downloads what you need

of course, the script could be easily modfied to use other map
services that serve tiles with a similar name format

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: maps for others country?

2008-08-17 Thread Torfinn Ingolfsen
Hello,

On Sun, Aug 17, 2008 at 7:53 AM, Paul Wouters <[EMAIL PROTECTED]> wrote:
> Is there a way to preload map packages from openstreemaps based on 
> coordinates?
> So that we can create city or country maps, without actually being there ? :)

Yes, that would be great.
I would really like to be able do something like:

osm-get-maps Norway
osm-get-maps Oslo

to download maps for a country and a city, respectively.
I had a look at the OSM[1] site, but couldn't find any such tools
there at least.

References:
1) http://openstreetmap.org/
-- 
Regards,
Torfinn Ingolfsen

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: maps for others country?

2008-08-16 Thread Paul Wouters
On Sat, 9 Aug 2008, Tick Chen wrote:

>  Yes, Locations will automatically download maps from Open Street Maps.
> IF the backend found that it can access to the network.
>
> Therefore, you can create your own personal map, (even package for
> sharing).
>
> How?
> 1. Let Neo connect to the Internet.
> 2. Turn on Locations,
> 3. Zoom in to the location you are interested and drag around.
> 4. login to Neo
> 5. follows the instruction of
> http://wiki.openmoko.org/wiki/Om2008.8_Locations#Create_Offline_Maps
>
> Last time I and some colleagues went to KenTin http://www.ktnp.gov.tw/
> for holidays, we just create a map before departure, it's very
> interesting.

Is there a way to preload map packages from openstreemaps based on coordinates?
So that we can create city or country maps, without actually being there ? :)

Paul

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: maps for others country?

2008-08-09 Thread Tick Chen
Hi Alessio, 
  Yes, Locations will automatically download maps from Open Street Maps. 
IF the backend found that it can access to the network. 

Therefore, you can create your own personal map, (even package for
sharing). 

How? 
1. Let Neo connect to the Internet. 
2. Turn on Locations, 
3. Zoom in to the location you are interested and drag around.
4. login to Neo
5. follows the instruction of
http://wiki.openmoko.org/wiki/Om2008.8_Locations#Create_Offline_Maps

Last time I and some colleagues went to KenTin http://www.ktnp.gov.tw/ 
for holidays, we just create a map before departure, it's very
interesting. 

If you are geek enough, you can even create maps using Google Maps, Yahoo
Maps, ... for personal usage. (Please don't share non-share-able maps.)

Cheers, 
Tick

On Sat, Aug 09, 2008 at 07:32:58AM +0200, alessio chemeri wrote:
> hi there,
> i noticed that there is no map for italy for the app. locations, is
> possible to use the OSM maps?
> and need something to do?
> 
> ___
> Openmoko community mailing list
> community@lists.openmoko.org
> http://lists.openmoko.org/mailman/listinfo/community


signature.asc
Description: Digital signature
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community