[OSM-talk] Garmin Maps

2010-05-15 Thread Sami Dalouche
Hi,

I just bought a garmin GPS device and thought it would be fun to load it
with OSM maps. (I am especially interested in maps that provide me with
some value while hiking in New Hampshire, Vermont and NY)

However, after searching a little bit, I came to the conclusion that
populating a GPS device with the right OSM map is definitely more suited
for a hacker than an end-user.

What I see is hundreds of small projects or individual people creating
incredibly useful work, but good luck finding what is actually available
and what you are looking for. Every google search leads me to forum or
wiki pages that describe (complex) procedures to generate my own maps.. 

So, I am currently thinking of starting a complementary project to OSM
that would be aimed at Garmin (maybe others later?) GPS end-users. You
know, some kind of website that gives you a direct download link to a
file that is of the right type (Cycling, Hiking/Mountainbiking, Routing,
Topographic) for the right place (Country, province/state). 

In other words, my use case is : Search "free garmin hiking maps new
hampshire" on google, and the first result should bring you a
simple-to-use download page that provides you with a file to copy on
your SD card.

So, my questions are :
1/ Is there already an OSM subproject or OSM-linked project that tries
to achieve the same goal, and that I might have missed ?
2/ Is there anyone who thinks it is worth putting some effort into
this ?
3/ Is there anyone interested in helping me achieving this simple goal ?
Any kind of help is welcome, including pointing me to the right
information and spending an hour or so on skype with me to kickstart me
into the OSM jungle.

thanks,
Sami




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


Re: [OSM-talk] Garmin Maps

2010-05-15 Thread Sami Dalouche
Hi,

thanks for the prompt reply !

The http://garmin.na1400.info/routable.php page contains only
auto-routable maps, right ?

My current need is to get :
- routable maps for Quebec, Vermont, New Hampshire, and NY
- hiking maps for Quebec, Vermont, New Hampshire, and NY

But more generally, I think I would like to (and think it would benefit
the OSM community if it were possible) be able to just go one one
website, that presents me with all the maps I can download for a given
(predefined) area, and quickly load it to my GPS device.

So for example, if I decide to go cycling tomorrow, I'd like to quickly
go to some website that tells me that for the region of Quebec, I can
download :
- cycling maps
- hiking maps (are topographic maps and hiking maps the same ?)
- routing maps

I see my options, choose one or to depending on my needs, load it onto
the GPS, and I'm done. Should not be more complicated than buying the
official garmin maps..

So, if you already have all the rendering machinery in place, I would be
happy to create the scripts to regularly go fetch the maps you render
and publish them onto some kind of user-centric website.
That would be awesome !

sami

On Sat, 2010-05-15 at 17:09 -0700, Sam Vekemans wrote:
> Hi,
> In short, thats what im working on (as well as many others)
> 
> OSM is still in its infancy, we have all of the pieces of the puzzle
> available, but not yet to the point where you can do to the main
> openstreetmap.org page, zoom into an area & click on the 'download
> tab'  (it doesn't exist yet)  and you will get options for downloading
> nice pre-done pdf maps / MapSource Installers .
> 
> What is the exact area you are interested in? (zoom in & permalink)
> 
> I can make a routable -osm installer for that area (just like the
> http://garmin.na1400.info/routable.php
> site.)
> 
> I can also produce a set of transparent contour  IMG files, were you
> install those onto the device.
> http://www.img2gps.co.cc/  is a simple windows program to load the IMG
> files to the device.
> 
> There are pre-made Garmin IMG files which are nice 1x1 degree tiles   
> http://touren.mospace.de/kachel.html  (zoom into an area & select the
> OSM icon on the bounding box & submit.
> 
> Cheers,
> Sam
> 
> On Sat, May 15, 2010 at 4:51 PM, Sami Dalouche  wrote:
> Hi,
> 
> I just bought a garmin GPS device and thought it would be fun
> to load it
> with OSM maps. (I am especially interested in maps that
> provide me with
> some value while hiking in New Hampshire, Vermont and NY)
> 
> However, after searching a little bit, I came to the
> conclusion that
> populating a GPS device with the right OSM map is definitely
> more suited
> for a hacker than an end-user.
> 
> What I see is hundreds of small projects or individual people
> creating
> incredibly useful work, but good luck finding what is actually
> available
> and what you are looking for. Every google search leads me to
> forum or
> wiki pages that describe (complex) procedures to generate my
> own maps..
> 
> So, I am currently thinking of starting a complementary
> project to OSM
> that would be aimed at Garmin (maybe others later?) GPS
> end-users. You
> know, some kind of website that gives you a direct download
> link to a
> file that is of the right type (Cycling,
> Hiking/Mountainbiking, Routing,
> Topographic) for the right place (Country, province/state).
> 
> In other words, my use case is : Search "free garmin hiking
> maps new
> hampshire" on google, and the first result should bring you a
> simple-to-use download page that provides you with a file to
> copy on
> your SD card.
> 
> So, my questions are :
> 1/ Is there already an OSM subproject or OSM-linked project
> that tries
> to achieve the same goal, and that I might have missed ?
> 2/ Is there anyone who thinks it is worth putting some effort
> into
> this ?
> 3/ Is there anyone interested in helping me achieving this
> simple goal ?
> Any kind of help is welcome, including pointing me to the
> right
> information and spending an hour or so on skype with me to
> kickstart me
> into the OSM jungle.
> 
> thanks,
> Sami
> 
> 
> 
> 
> ___
> talk mailing list
> talk@openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk
> 
> 



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


Re: [OSM-talk] Garmin Maps

2010-05-16 Thread Sami Dalouche
This kind of project is definitely exciting !

However, I still think it is meant to be used by advanced users, and I
would first like to focus on achieving the simple use case of loading
the GPS with some data, without detailed control of the exact area nor
the rendering. (I think it is reasonable to assume that someone is going
to download the complete data for a given state even if he's only
interested in part of it... )

So, I see this tool as another part of the toolkit that supports
people's  generation of new maps, that can then be aggregated on the
user-centric website I am talking about.

Am I wrong to assume this ?

Sami

On Sun, 2010-05-16 at 08:12 -0400, john whelan wrote:
> It might be worth looking at Maperitive, its new, in beta but does
> some very nice things like export bit map and a SVG export command is
> planned.
> 
> The really nice thing is though that since it can work with either a
> local file (save an OSM file from JOSM) or on the web linked to the
> OSM database you get a lot more control over what is rendered and how
> it is rendered since the processing is done locally.  So here in
> Canada I have it displaying the street names in French in a bilingual
> region.
> 
> If it can be linked to the Garmins then you get control over which
> area you want, and just the area you want, at what level of detail and
> which brand of coffee shops you're most interested in.
> 
> Cheerio John
> 
> On 15 May 2010 22:13, Steve Bennett  wrote:
> On Sun, May 16, 2010 at 9:51 AM, Sami Dalouche
>  wrote:
> > What I see is hundreds of small projects or individual
> people creating
> 
> 
> ...
> 
> > So, I am currently thinking of starting a complementary
> project to OSM
> 
> 
> See the problem here? IMHO if you want to put some effort into
> this,
> the best thing you could do would be to try and
> unite/combine/link/organise all those "hundreds of small
> projects" -
> rather than just start another one.
> 
> My experience has been that for part of the world, there is a
> different project somewhere producing the maps you need. For
> example,
> in australia, it's really easy:
> http://www.osmaustralia.org/downloads.php
> 
> In the case of Garmin, complication seems to also arise from
> the fact
> that earlier Garmins required special software (like
> Mapsource) to
> load the maps onto the device. Newer ones (like my Oregon 550)
> are
> trivial: simply download a .img file, and copy it into the
> right
> directory.
> 
> So, I think there need to be more services of this kind:
> websites that
> regularly (eg, every week or more often) generate .img files
> of a
> given area, in a number of styles (eg, hiking, cycling,
> driving...)
> There is already a central registry of these kinds of sites:
> 
> http://wiki.openstreetmap.org/wiki/OSM_Map_On_Garmin/Download
> 
> But it could be improved.
> 
> Steve
> 
> 
> ___
> talk mailing list
> talk@openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk
> 
> 



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


Re: [OSM-talk] Garmin Maps

2010-05-16 Thread Sami Dalouche
Hi,

OSMAustralia is awesome, and it's exactly the kind of simple
user-centric website that I think is useful for end-users.

However, I am not sure of what are you suggesting me. How do you see
"uniting/combining/linking/organizing" all those hundreds of small
projects without creating a new fresh repository ?

In any case, we're on the same track here. I do not want to duplicate
any effort, and do not feel like developing the NIH (Not Invented Here)
syndrom. 

Sami

On Sun, 2010-05-16 at 12:13 +1000, Steve Bennett wrote:
> On Sun, May 16, 2010 at 9:51 AM, Sami Dalouche  wrote:
> > What I see is hundreds of small projects or individual people creating
> 
> ...
> 
> > So, I am currently thinking of starting a complementary project to OSM
> 
> See the problem here? IMHO if you want to put some effort into this,
> the best thing you could do would be to try and
> unite/combine/link/organise all those "hundreds of small projects" -
> rather than just start another one.
> 
> My experience has been that for part of the world, there is a
> different project somewhere producing the maps you need. For example,
> in australia, it's really easy:
> http://www.osmaustralia.org/downloads.php
> 
> In the case of Garmin, complication seems to also arise from the fact
> that earlier Garmins required special software (like Mapsource) to
> load the maps onto the device. Newer ones (like my Oregon 550) are
> trivial: simply download a .img file, and copy it into the right
> directory.
> 
> So, I think there need to be more services of this kind: websites that
> regularly (eg, every week or more often) generate .img files of a
> given area, in a number of styles (eg, hiking, cycling, driving...)
> There is already a central registry of these kinds of sites:
> 
> http://wiki.openstreetmap.org/wiki/OSM_Map_On_Garmin/Download
> 
> But it could be improved.
> 
> Steve



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


Re: [OSM-talk] Garmin Maps

2010-05-16 Thread Sami Dalouche


On Sat, 2010-05-15 at 18:53 -0700, Sam Vekemans wrote:
> Hi,
> 
> On Sat, May 15, 2010 at 5:48 PM, Sami Dalouche  wrote:
> 
> 
> 
> So, if you already have all the rendering machinery in place,
> I would be
> happy to create the scripts to regularly go fetch the maps you
> render
> and publish them onto some kind of user-centric website.
> That would be awesome !
> 
> sami
> 
> Yup it would :)  ... yes they are routable, and your talking about 2
> different countries and 3 different states, and cycling / hiking /
> routing / contour (topographical) which cover a big area.
> http://www.openstreetmap.org/?lat=43.41&lon=-74.69&zoom=7&layers=B000FTFT
> (zoom in to where you like and click the Permalink button at the
> bottom right corner)
> 

http://www.openstreetmap.org/?lat=44.1481&lon=-71.6721&zoom=13&layers=B000FTF 
is an example of an area that is of interest to me. However, as I prefer 
simplicity of use over complete control, I prefer loading a 4GB SD card with 
the whole area I am possibly interested in (let's say, new england + NY + 
quebec), and then forget about it. 

Are you saying that it is an unreasonable use case ?

> Contour + Hiking map/cycling   - non-routable on MapSource is possable
> hiking + routable (no contours on MapSource) is possable.
> routable + contours on MapSource is not possable   (because of licence
> & proprietary software)

When you say "possible/impossible on MapSource", do you mean
"technically possible/impossible using Garmin's .img format" ?

What is the licensing problem that prevents creating routable + contour
maps ?

> 
> However, transparent contour IMG files (that i'm making)  can be used
> as a background map (And a contour -only MapSource Installer and/or as
> available IMG tiles., for any map that you want. (is also in progress)
>  
I'm sorry I'm not yet familiar with the GPS I just got, but please let
me rephrase that so I am sure to understand :

"it is impossible to create a contour + routable + hiking on garmin, but
you are circomventing this limitation by generating an additional
transparent background map that can be overlaid on top of any other map,
including hiking+routable". Is that what you mean ?

Also, I wonder : what is the difference between the "contour map" that
you talk about and garmin's official "topographic" maps ? Do the
topographic map contain more information than the contour ?

> Yup, Slowly but surely, this is the goal todo.  In order to get to
> that point, there is a WHOLE LOT of technical process that needs to be
> done.
> 

No doubt about that ;) The beauty of software development ;-)

> To talk@ osm:   In other words, I just need to get a .nsis script file
> created using ground truth, (just like makemap has).  I can do that
> myself with an .iss file, but it will stall & is not automatic,  other
> than that were set on the back-end side.   For the front-end.  I have
> it set to edting a txt file.  and following dos command prompts.  But
> thats as technical as i know how.  (& Because it is using outside
> programs, the details i'll post on a blog or something)
> 
> Cheers,
> Sam
> 
> 

Regards,
Sami


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


Re: [OSM-talk] is there an open database of places?

2010-05-16 Thread Sami Dalouche
Please note that there is a project called Gisgraphy :
http://www.gisgraphy.com/

It already provides importers for Geonames data, as well as a REST API
to access it. 

I am currently creating a java client for this
(http://github.com/samokk/gisgraphy-java-client ), but it is still not
really useable. 

Slowly, but surely :)

sami


On Sat, 2010-05-15 at 22:44 +, Jukka Rahkonen wrote:
> Patrick Aljord  gmail.com> writes:
> 
> > 
> > Hey all,
> .
> > Would it
> > make sense to have a seperate DB that would store all places? Is there
> > already a project that does that?
> 
> http://www.geonames.org/
> 
> 
> 
> 
> 
> ___
> talk mailing list
> talk@openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk



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


[OSM-talk] Questions regarding the mapping of hiking trails

2010-05-29 Thread Sami Dalouche
Hi,

I've started contributing hiking data in the ADK, NY.
However, I have a few questions :

Let's take the following area, for instance :
http://www.openstreetmap.org/?lat=44.1458988189697&lon=-73.9613342285156&zoom=13

1/ There is a trail called "Van Hoevenberg Trail". Am I supposed to add
a name="Van Hoevenberg property", or name="Van Hoevenberg Trail" one ?

2/ Now, let's say that Van hoevenberg trail were continuing after the
intersection. Would I be supposed to just repeat the name="Van
Hoevenberg Trail" property, or am I supposed to do something smarter ?
I read stuff about "relations", but I am unsure on whether this applies
to this...

3/ Anything else to suggest ?

thanks !
Sami Dalouche



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


Re: [OSM-talk] Questions regarding the mapping of hiking trails

2010-05-30 Thread Sami Dalouche
On Sun, 2010-05-30 at 03:21 +, John F. Eldredge wrote:
> Also, the name "Van Hoevenburg Trail" doesn't necessarily mean that it passes 
> through the Van Hoevenburg Property.  That might be the name of the current 
> land-owner, the name of a former land-owner, or simply the name of some 
> notable person whom the trail was named after.
> 


thanks for your answers.
By "property", I was referring to the key/value pairs to tag ways, not
anything else...

Sami Dalouche


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


[OSM-talk] OpemMtbMap style

2010-05-30 Thread Sami Dalouche
Hi,

Has anyone found a way to run mkgmap using the styles provided by
openmtbmap.org ?

I keep on getting errors such as 

SEVERE (Main): java.util.concurrent.ExecutionException:
uk.me.parabola.imgfmt.ExitException: Could not open style null
java.util.concurrent.ExecutionException:
uk.me.parabola.imgfmt.ExitException: Could not open style null
at java.util.concurrent.FutureTask
$Sync.innerGet(FutureTask.java:222)
at java.util.concurrent.FutureTask.get(FutureTask.java:83)
at uk.me.parabola.mkgmap.main.Main.endOptions(Main.java:289)
at
uk.me.parabola.mkgmap.CommandArgsReader.readArgs(CommandArgsReader.java:123)
at uk.me.parabola.mkgmap.main.Main.main(Main.java:100)
Caused by: uk.me.parabola.imgfmt.ExitException: Could not open style
null
at
uk.me.parabola.mkgmap.reader.osm.xml.Osm5MapDataSource.createStyler(Osm5MapDataSource.java:126)
at
uk.me.parabola.mkgmap.reader.osm.xml.Osm5MapDataSource.load(Osm5MapDataSource.java:79)
at
uk.me.parabola.mkgmap.main.MapMaker.loadFromFile(MapMaker.java:148)
at uk.me.parabola.mkgmap.main.MapMaker.makeMap(MapMaker.java:56)
at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:168)
at uk.me.parabola.mkgmap.main.Main$1.call(Main.java:1)
at java.util.concurrent.FutureTask
$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at java.util.concurrent.ThreadPoolExecutor
$Worker.runTask(ThreadPoolExecutor.java:886)
at java.util.concurrent.ThreadPoolExecutor
$Worker.run(ThreadPoolExecutor.java:908)
at java.lang.Thread.run(Thread.java:619)


The command line I run is 

java -ea -Xmx1024M -jar /usr/share/mkgmap/mkgmap.jar
--style-file=/home/samokk/osm/styles/openmtbmap_style --max-jobs
--generate-sea=polygons,extend-sea-sectors,close-gaps=6000
--reduce-point-density=5.4 -uppress-dead-end-nodes --index
--transparent  --adjust-turn-headings --ignore-maxspeeds
--ignore-turn-restrictions --remove-short-arcs=4
--description=hike_usa_nh --location-autofill=1 --route
--country-abbr=us --country-name=USA--mapname=1234 --family-id=1234
--product-id=1 --series-name="hike_usa_nh_%date%"
--family-name="hike_usa_nh_%date%" --tdbfile --overview-mapname=mapset
--area-name="NH_%date%_hike.org" -c template.args --gmapsupp

and the /home/samokk/osm/styles/openmtbmap_style folder contains the
extracted style.7z :

$ ls -l /home/samokk/osm/styles/openmtbmap_style
total 5852
drwx-- 3 samokk samokk4096 2010-05-26 16:58 bikingmap
-rw-r--r-- 1 samokk samokk   78142 2010-05-21 22:31 clas.typ
-rw-r--r-- 1 samokk samokk 194 2010-01-24 23:39 info
-rw-r--r-- 1 samokk samokk  516537 2010-04-28 10:44 legend.osm
-rw-r--r-- 1 samokk samokk  203649 2010-05-26 17:48 lines
-rw-r--r-- 1 samokk samokk 1478351 2010-05-25 18:45 mkgmap_velo.jar
-rw-r--r-- 1 samokk samokk   15872 2010-04-18 16:54 No Contact
Information.xls
-rw-r--r-- 1 samokk samokk 1441467 2010-05-27 21:58
openmtbmap_style.7z.zip
-rw-r--r-- 1 samokk samokk 436 2010-05-10 19:13 options
-rw-r--r-- 1 samokk samokk 735 2010-05-21 18:32 overlays
-rw-r--r-- 1 samokk samokk   57390 2010-04-28 10:44 points
-rw-r--r-- 1 samokk samokk8889 2010-04-28 10:44 polygons
-rw-r--r-- 1 samokk samokk1445 2010-05-25 23:32 readme -
copyright.txt
-rw-r--r-- 1 samokk samokk   11833 2010-03-27 21:44 relations
-rw-r--r-- 1 samokk samokk   77492 2010-05-21 22:16 thin.typ
-rw-r--r-- 1 samokk samokk   74663 2010-05-21 22:17 trad.typ
-rw-r--r-- 1 samokk samokk  342778 2010-05-26 22:03 typ1bike1.typ.prj
-rw-r--r-- 1 samokk samokk  367395 2010-05-21 22:31 typ1clas1.typ.prj
-rw-r--r-- 1 samokk samokk  351291 2010-05-21 22:16 typ1thin1.typ.prj
-rw-r--r-- 1 samokk samokk  327519 2010-05-21 22:17 typ1trad1.typ.prj
-rw-r--r-- 1 samokk samokk  366996 2010-05-21 22:18 typ1wide1.typ.prj
-rw-r--r-- 1 samokk samokk   74801 2010-05-26 22:03 velomap.TYP
-rw-r--r-- 1 samokk samokk   2 2010-04-28 10:44 version
-rw-r--r-- 1 samokk samokk   78080 2010-05-21 22:18 wide.typ

and the splitter command I used was :

java -Xmx1024m -ea -jar ../apps/splitter/splitter.jar --max-nodes=60
--overlap=4000 --max-areas=255 --cache="cache" --description="nh"
--mapid="1234" --max-nodes="60" --no-trim --overlap="4000"
--status-freq="600" nh.osm.bz2

Do you have an idea of what might be going wrong ?

thanks a lot,
Sami Dalouche
 


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


Re: [OSM-talk] Good book on GIS concepts

2010-06-29 Thread Sami Dalouche
Hi,

Thanks a lot to everybody for your references !

Regards,
Sami

On Thu, 2010-06-24 at 17:51 +0200, Iván Sánchez Ortega wrote:
> El 23/06/2010 16:33, sko...@free.fr escribió:
> > Would anyone recommend a good book on GIS/Geodesy/etc that could be
> > used to understand the underlying concepts behind most GIS
> > applications ?
> 
> Try:
> 
> http://wiki.osgeo.org/wiki/Library
> 
> http://wiki.osgeo.org/wiki/Libros_de_SIG
> 
> 
> Best,




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


Re: [OSM-talk] What could we do to make this licences discussion more inclusive?

2010-07-18 Thread Sami Dalouche
Hi,

I am a complete outsider regarding the licensing debate (and, to be
honest, to the whole OSM project... I barely started mapping a few
hiking trails).

That being said, here is the main thing I wonder about :

**Is the license change a real choice or a kind of legal obligation ?**

The reason I ask is because, by looking at this thread, I feel like some
people view it as important, and others see how depressing it is for the
mapping community... But do we have the choice ?

If the move is for pure theoretical, GNU/Stallman-like ideology, then it
is likely to create way more damage than it would save. 
However, if the move is about saving the project from a legal
perspective, then it's probably better to start tackling the issue now
rather than having a court shut down the project 5 years from now when
most of the planet is mapped...

regards,
Sami Dalouche

On Mon, 2010-07-19 at 03:46 +1000, John Smith wrote:
> On 19 July 2010 03:36, SteveC  wrote:
> > Why? Because the project is growing very fast and attracting more data all 
> > the time. If Google or Nearmap don't want to play ball that's fine - just 
> > look at the hundreds of other companies and organisations that do, like 
> > Bing and MapQuest's announcements at SOTM for example.
> 
> Nearmap isn't dictating any terms, other than you can only use their
> data under a share alike license so no need to lump them in with
> Google. However I have a fairly good idea how much information has
> been added in regional areas that wouldn't exist otherwise.
> 
> > I agree it might be bad in the short term that we lose some aerial imagery 
> > (but I posit that would only happen because you give nearmap the impression 
> > that the community will do whatever they say, if you ask them to join us 
> > from the position that this is the direction we're going, I posit they 
> > would be more positive). But in the longer term I guarantee we'll have lots 
> > of other sources of data and imagery. It will be a temporary setback, even 
> > if it happens.
> 
> You go on and on about how if 50% disappear wait a short time and
> it'll magically appear within a short period of time, I call BS, if
> the tiger data was dumped from OSM how long exactly would it take to
> regather it? How demoralising would it be on the people that fixed up
> the tiger data? Combined with people that don't respond or don't agree
> it would set the Aussie community back to the stone age effectively,
> and it will actively turn away new contributors because they won't
> want the same thing to happen to their efforts.
> 
> ___
> talk mailing list
> talk@openstreetmap.org
> http://lists.openstreetmap.org/listinfo/talk



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


[OSM-talk] Most complete cities and administrative divisions database

2011-01-26 Thread Sami Dalouche

Hi,

Does anyone know how OSM compares to other open source databases when it 
comes to cities and administrative divisions ?
For instance, the geonames project (http://www.geonames.org/) provides 
over 7 million POI, and 2 million of them are cities.

So, more specifically, here are my questions :
1/ how many cities are present in OSM ?
2/ how many of these cities are also associated to polygons that delimit 
them ?
3/ Are countries and administrative divisions also explicited in OSM ? 
(e.g. USA, California, Orange county, ..)

4/ Are there polygons for these administrative divisions and countries ?

The reason I ask these questions is because I am currently working on an 
open source library for doing full text lookups of
cities, countries and other administrative divisions. 
(https://github.com/samokk/gisgraphy-java-client).

The project started as a client for http://www.gisgraphy.com (which is
based on geonames for the cities/countries/adm part), but I am wondering 
whether it is pragmatic enough to completly ditch
gisgraphy/geonames in favor of OSM (the geonames Intellectual property 
is not 100% clean - as indicated on 
http://wiki.openstreetmap.org/wiki/Potential_Datasources#Geonames.org_.28Rejected.29 
-,

and the geonames project is not being run as openly as OSM).

thanks,
Sami Dalouche

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


Re: [OSM-talk] Most complete cities and administrative divisions database

2011-01-26 Thread Sami Dalouche

On 11-01-26 12:13 PM, M∡rtin Koppenhoefer wrote:

2011/1/26 Sami Dalouche:

he geonames project (http://www.geonames.org/) provides over 7 million
POI, and 2 million of them are cities.


2 million can IMHO only refer to all settlements, not just to cities.
There is around 7 billion people living on earth, ~ half of them in
cities. If you divide 3,5 billion people by 2 million, you get an
average of 1750 people per city. Not quite much ;-) (or they have lots
of multiple entries).


Yes, actually I was using the word 'city' where I should have been using 
'place' or 'settlement'.
The 2 million count includes all populated places in Geonames. (and 
includes junk such as

junctions that are tagged as populated places).


So, more specifically, here are my questions :
1/ how many cities are present in OSM ?


this is easy to answer:
http://taginfo.openstreetmap.de/keys/place#values
492 155 village
397 919 hamlet
57 083 town
44 450 suburb
18 942 city

Wao, great tool ! So, I guess that ~1 million populated places makes OSM 
complete-enough for locating most important populated places.
BTW, most places in geonames also have an associated timezone. Is there 
any freely available database of
timezones with the latitudes/longitudes bounds ? This could serve as a 
replacement for geonames' timezone field.



2/ how many of these cities are also associated to polygons that delimit
them ?


are you asking about the city or about it's administrative boundary?
http://taginfo.openstreetmap.de/keys/boundary#values


I was asking about its administrative boundary. So, after reading 
http://wiki.openstreetmap.org/wiki/Key:place, what I understand is that :

- Cities are marked as nodes
- Sometimes, there are additional ways (boundary=administrative) to 
delimit the administrative boundary
- As a bonus, there can be relations that link the city node to its 
boundary.


Am I right ?

So now, let's go with other administrative divisions :
Now, let's say I want to add an entry for Orange County. How should I do 
it ? Should it just appear as a boundary=administrative,

or should there be some kind of node node and a relation ?





3/ Are countries and administrative divisions also explicited in OSM ? (e.g.
USA, California, Orange county, ..)


you can do this with relations



4/ Are there polygons for these administrative divisions and countries ?


you can get them from the relations (if the relations are there and
are clean). Have a look at type=boundary and type=multipolygon

Cheers,
Martin


Thanks for your help !

Sami Dalouche


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


Re: [OSM-talk] Creative Commons: Use CC for databases

2011-02-01 Thread Sami Dalouche

On 11-02-01 03:31 PM, Tobias Knerr wrote:

Anthony wrote:

I'd urge everyone, especially those who have not yet decided whether
or not to agree to the Contributor Terms, to read this post by Mike
Linksvayer of Creative Commons.

You forgot the link:
http://creativecommons.org/weblog/entry/26283


  Most relevantly he asks us to:

"use CC licenses for data and databases now, participate in the 4.0
process, and upgrade when the 4.0 suite is released, or at least do
not foreclose the possibility of doing so."


Is the upgrade to 4.0 automatic, or do the data owners need to upgrade 
to 4.0 ?


By reading the license text, I  understand that the upgrade is 
automatic, but

since I'm no expert, I would appreciate some confirmation.

From http://creativecommons.org/licenses/by-sa/3.0/legalcode :
ou may Distribute or Publicly Perform an Adaptation only under the terms 
of [...] iii) a Creative Commons jurisdiction license (either this or a 
later license version) that contains the same License Elements as this 
License





To make this clear, he does not address OSM directly, the blog post is
directed at the general public.

It is a very interesting statement, though. It is not, as you imply, a
reason for not agreeing to the Contributor Terms (these would still
allow us to go for CC 4.0 licenses), but I hope that the Foundation
keeps this development on the radar.

Tobias Knerr

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


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


Re: [OSM-talk] Why isn't any XAPI server available ?

2011-02-18 Thread Sami Dalouche

Something I wonder about :

does osmosis/xapi import the planet dump as-is, or does it do some 
pre-processing to get rid of the history ?
If osmosis is lossless, would it make sense to make a lossy version that 
gets rid of older versions ?


regards,
Sami Dalouche


On 11-02-18 02:29 PM, Graham Jones wrote:

Are the hardware requirements really so modest?
A few weeks ago I tried experimenting by importing just Europe and it 
took a week (on my machine which has 2GB memory), so I gave up on the 
idea of having my own whole planet database.
Then I had major trouble with the database size growing, and never 
really got the 'trimming extra nodes outside of the bounding box' 
trick working - that seemed to take so long that I gave up on it. 
 Maybe you need to do that after each import, rather than prune it 
once a week


If people are managing to maintain their own database on modest 
hardware, I would be interested to know what hardware and software 
configuration they use, because I am thinking of investing in a 
virtual server to do it, but want to go for minumum specification to 
save on the cost.


Graham.

On 18 February 2011 18:27, 80n <80n...@gmail.com 
<mailto:80n...@gmail.com>> wrote:


On Fri, Feb 18, 2011 at 5:47 PM, MP mailto:singular...@gmail.com>> wrote:

More XAPI servers running on good hardware is the only
realistic solution.


Well, there could perhaps be another solution, like running
your own XAPI server - the minutely diffs are usually less
than 100Kb, so the required bandwidth to download from
planet.openstreetmap.org <http://planet.openstreetmap.org>
would be less than 2 Kb/second in average.

But the question is - how large would be the planet database
on disk (how large would it get once you import the planet dump)

I guess the database would be in order of tens of gigabytes,
probably over 100 GB ...


About 350GB


And how much memory you need on the machine to run some
reasonable queries (if 4 GiB works for main XAPI server, would
it be usable on machine with only 1 GiB of memory?)


Yes


Martin


___
talk mailing list
talk@openstreetmap.org <mailto:talk@openstreetmap.org>
http://lists.openstreetmap.org/listinfo/talk



___
talk mailing list
talk@openstreetmap.org <mailto:talk@openstreetmap.org>
http://lists.openstreetmap.org/listinfo/talk




--
Graham Jones
Hartlepool, UK.


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


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