<span class="Apple-style-span" style="border-collapse: collapse; "><div>Hi Dale, in answer to the other questions;</div><div><br></div><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
I have a question to throw out there...<br></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<br></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
Can someone point me to an API or tutorial or something for OSM that<br></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
discusses uploading manipulating the data (in a way that could be scripted)?<br></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
I've seen the web interface, but obviously that is no good for this kind of<br></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
thing unless one wants to spend days in front of the computer doing this.<br></blockquote><div><br></div><div>We have the <a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a> discussion list, which is for all the developers of openstreetmap back-end, as its rather complex, only some people REALLY understand how it works.</div>
<div><br></div><div>if you haven't already done so, the wiki page,</div><div><a href="http://wiki.openstreetmap.org/wiki/Develop">http://wiki.openstreetmap.org/wiki/Develop</a><br></div><div><br></div><div>Should help a bit, as it shows a mashup of the whole OpenStreetMap Project.<br>
</div><div><br></div><div>Whats cool about the OpenStreetMap project is that it's a whole bunch of people who are all working at the project all at the same time, making for less work for each individual user.  So each program that gets made, gets added to the repository so then others can copy bits of code from other programs, to make a much better program. </div>
<div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
I'm of the impression that there are:<br></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
<br></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
a) a set of built in 'tags' that the rendering engine uses. (is there an<br></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
exhaustive list anywhere) </blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
b) that the user can extend these tags to include custom information </blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
c) that there exists an API for interacting with the database.<br></blockquote><div><br></div><div><div>The tagging standards are always debated, and improved.  There is a file somewhere which contains all the most used OSM map features  (put just cant find the link)</div>
<div><br></div><div>And there is no limit on the amount of custom information people want to add on the tags.</div><div>and for the API ...</div><div><a href="http://wiki.openstreetmap.org/wiki/Api">http://wiki.openstreetmap.org/wiki/Api</a><br>
</div><div>on the <a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org</a> discussion list are those folks who know how to deal with it.</div><div><br></div><div><br></div><div><div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px; ">Seeing as how you were able to convert the raw GeoBase data into Garmin format, there got to be a way to convert that post-IMG file you created to OSM format, using what you already created.</span></div>
</div><div><a href="http://wiki.openstreetmap.org/wiki/Mkgmap">http://wiki.openstreetmap.org/wiki/Mkgmap</a><br></div><div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px; ">User: <a href="http://wiki.openstreetmap.org/wiki/User:AcousticNewt" title="User:AcousticNewt" style="text-decoration: none; color: rgb(0, 43, 184); background-image: none; background-repeat: initial; background-attachment: initial; -webkit-background-clip: initial; -webkit-background-origin: initial; background-color: initial; ">Steve Ratcliffe</a> made that program so maybe he can be of assistance.</span></div>
<div><br></div><div><br></div></div><div> </div><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
Wouldn't the most sensible way to add information be to take the original<br></blockquote><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
SHPs and go from there? (including *all* of the database information).</blockquote><div><br></div><div> </div><div><div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px; ">Would you be able to explain HOW you imported all the data to your base computer?</span></div>
<div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px; ">(You said that it's pritty much all in the script routeen.)</span></div><div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px; "><br>
</span></div><div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px; ">If your able to post what your Raw scripting was/is ... then the other users in the community would be able to modify it.</span></div>
<div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px; ">As right now, were just working from scratch, trying to figure out this geobase monster, </span></div>
<div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px; ">So then when looking to figure out what data is actually available, we have something to work with,  </span></div>
<div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">(obviously, getting the latest information possible is important too)</span></div><div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;"><br>
</span></div><div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px; ">Since you already made up your own GeoBase2garminIMG conversion chart/list, it would really help if we could see this chart.</span></div>
<div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;"><br></span></div><div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">As yes, it would make sense that the import script is able to;</span></div>
<div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">1 - download all the GeoBase/Geogratis data for that tile area.</span></div><div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">2 - attach all the Geobase:source tags needed</span></div>
<div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">3 - attach all the OSM map feature types to the data</span></div><div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">4 - be able to import it all in bulk or just select certain Geobase features to import.</span></div>
<div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;"><br></span></div><div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">So far, as we saw Michel Gilbert has been able to;</span></div>
<div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">get the shape files; attach source tags; attach the OSM map feature, and import it.</span></div><div>
<br></div><div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">The python script is here</span></div><div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;"><a href="http://svn.openstreetmap.org/applications/utils/import/geobase2osm/">http://svn.openstreetmap.org/applications/utils/import/geobase2osm/</a><br>
</span></div><div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">so far it's just the NRN thats been added, and i think it's Jason Reid who did that scripting work. (so far)</span></div>
<div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;"><br></span></div><div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px; ">It would be great to add on your chart you used when grabbing GeoBase data, so the work wont be duplicated. </span><br>
</div><div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">Then we (the talk-ca list) can work on the hardest part;   Agreeing to how the stuff should be tagged, so then it will get rendered right. ... the 1st time.</span></div>
<div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;"><br></span></div><div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">The reason i suggest grabbing the data direct from the .mp file or (combined shapesfile) is that it's only with GPSMapEdit that the user could;</span></div>
<div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">1 simply go through it and select only 1 map element,</span></div><div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">2 delete the rest of it (reverse selection - delete)</span></div>
<div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">3 then save the file as a new .mp file,</span></div><div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">4 use the mp2osm program to convert the file for OSM</span></div>
<div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">5 open up JOSM .. .and open that modified .mp file to check and remove any unwanted data.. then upload the changes.</span></div>
<div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;"><br></span></div><div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">The DOWNSIDE of this 5 step process is that it DOES NOT keep the geobase NID ...</span></div>
<div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">BUT the UPSIDE  of this process is that it keeps all the existing OSM data intact.</span></div><div>
<span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">and the other upside is that many types of data can be imported in 1 go. </span></div><div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">... ie... everything (as well as the Roads) can be imported. .. and the user can square off the downtown core, and single out only specific map features that they want.</span></div>
<div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">(attaching the tag from:geobase)</span></div><div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;"><br>
</span></div><div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">So ...if people like the above idea.. the TODO would be to update the mp2osm program to show  how to convert it (if not done so already) <span class="Apple-style-span" style="border-collapse: collapse; font-family: arial; line-height: normal; "><a href="http://code.google.com/p/mp2osm/">http://code.google.com/p/mp2osm/</a></span></span></div>
<div><br></div><div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">..</span></div><div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">Hope that helps,</span></div>
<div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">Cheers,</span></div><div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">Sam Vekemans</span></div>
<div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">Across Canada Trails</span></div><div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;"><br>
</span></div><div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">***</span></div><div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">in response to the 2nd messages before i send this.</span></div>
<div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;"><br></span></div><div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">Because this is a talk-ca discussion list project, there are folks who are on this list who actually know how todo parts of the import, scripting, others who work with GeoBase all the time, others who only know OSM, and others who are keen on the final product. And others who have been disappointed because there is a chance that the work they did was duplicated work. .... and others who are frustrated at how long this is taking.. .. and everywhere in between.</span></div>
<div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">... but then there are others who will be delighted to see that their town is listed on the map, and can go ahead and enrich the map even further, and yes.. improving the map much faster than otherwise.</span></div>
<div><br></div><div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">After the import, the number of map users who will be able to fixup and tweek the data to the existing conditions improves greatly.  ... to the point that.. as soon as construction finishes.. odds are that someone using the OpenStreetMap (slippy map/ garmin map /printed derrived map) will see that it needs to be fixed.... and can. </span></div>
<div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;"><br></span></div><div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">'cause it's a free project, i do imagine that after the holidays more will jump in.  ... hopefully </span></div>
<div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">Just a matter of asking the right questions to the right people.</span></div><div><br></div><div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">Sure, right now im the most active on the list, but i still dont know how to;</span></div>
<div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">1 - write code  2 - how to convert shape files to OSM format.</span></div><div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">3 - mind-read of everyone else on the list who hasn't said anything in some time :)</span></div>
<div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">who else can also answer the question:  What is the Goal of this Project?</span></div><div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;"><br>
</span></div><div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">Oh ya.. 1 interesting tim-bit... is that for this project, unlike smaller countries... there is a dis-proportional number of mappers per square km.   So for countries with lots of mappers the suggestion of Tracing over the whole country is actually possible. </span></div>
<div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;"><br></span></div><div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">And so, the conundrum continues.. that is to devise a way to;</span></div>
<div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">1 - retain post-geobase import OSM data.</span></div><div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">2 - copy the OSM tags onto geobase roads, to not have a duplicate.</span></div>
<div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">3 - copy the GeoBase tags onto OSM data, to not have a duplicate.</span></div><div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">4 - retain ability to accept yearly GeoBase updates. </span></div>
<div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;"><br></span></div><div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px;">Where is the OSM specialty?</span></div>
<div><span class="Apple-style-span" style="border-collapse: separate; font-family: -webkit-sans-serif; line-height: 19px; ">The specialty is in the extra tagging, which is not available on any other map. Resulting in rendering which wont happen on anyother map.</span></div>
<div><br></div><div>Thats all for now,</div><div>Sam</div></div></span>