<div dir="ltr"><br><br><div class="gmail_quote">On Mon, Aug 25, 2008 at 10:51 AM, Tom Brown <span dir="ltr"><<a href="mailto:thecapcom@gmail.com">thecapcom@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">On Mon, Aug 25, 2008 at 8:51 AM, Richard Weait <span dir="ltr"><<a href="mailto:richard@weait.com" target="_blank">richard@weait.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">
<div>On Mon, 2008-08-25 at 08:07 -0700, Tom Brown wrote:<br>
> I'm going to be camping in Oregon in a week. OSM didn't seem to<br>
> include any campsites in that area so I downloaded positions from the<br>
> USFS and a private operator and imported them using ogr2ogr, gpsbabel<br>
> and josm.<br>
><br>
> The USFS data is public domain. I updated<br>
> <a href="http://wiki.openstreetmap.org/index.php/Potential_Datasources#US_Forest_Service" target="_blank">http://wiki.openstreetmap.org/index.php/Potential_Datasources#US_Forest_Service</a><br>
<br>
</div></div>Good find, Tom.<div class="Ih2E3d"><br>
<div><br>
> For the data I got from the google map at<br>
> <a href="http://www.hoodoo.com/oregon_home.htm" target="_blank">http://www.hoodoo.com/oregon_home.htm</a> I emailed hoodoo and got this<br>
> reply:<br>
><br>
> ---------- Forwarded message ----------<br>
> From: <<a href="mailto:Umbrella96@aol.com" target="_blank">Umbrella96@aol.com</a>><br>
> Date: Sun, Aug 24, 2008 at 2:28 PM<br>
> Subject: Re: importing campsite locations into Open Street Map<br>
><br>
> Our map comes from Google and I doubt that you need my permission, but<br>
> if you do, you have it.<br>
> Hope things go well,<br>
> Chuck<br>
><br>
><br>
> Do I need to ping this list for future tiny imports like this? Sorry<br>
> for not asking first. I wanted to make sure I could do the import<br>
> before asking and before I knew it the data was uploaded. ;-)<br>
<br>
</div></div>I suggest that you remove the hoodoo uploads from the OSM database for<br>
now. I have to guess, because you didn't include your email to Chuck,<br>
but his reply doesn't sound like, "I collected the data on personal<br>
trips and authorize you to re-licence it for OSM". In fact, the only<br>
things he says is this, "Our map comes from Google..." While he doesn't<br>
distinguish between the underlying map which is probably to what he<br>
refers, and the campsite data which is probably what you uploaded, his<br>
email does not sound to me like the permission that we require.<br>
<br>
</blockquote></div><br>Good point regarding how he made his made. I'll ask him to clearify how he generated the lat,lng for his map. I suspect he used Google's geocoding + manual correction using Google map tiles and satellite images, which isn't kosher. I think this answers my question about asking before uploading :-/<br>
<br>Now, to remove...<br>curl -g '<a href="http://osmxapi.hypercube.telascience.org/api/0.5/node%5Bsource_ref%3Dhttp://www.hoodoo.com/oregon_home.htm%5D%5Bbbox=-124,42,-121,46%5D" target="_blank">http://osmxapi.hypercube.telascience.org/api/0.5/node[source_ref=http://www.hoodoo.com/oregon_home.htm][bbox=-124,42,-121,46]</a>'<br>
returns a 500 error.<br><br>Getting a single node works...<br>curl -g '<a href="http://osmxapi.hypercube.telascience.org/api/0.5/node%5Bname=Secret%5D%5Bbbox=-124,42,-121,46%5D" target="_blank">http://osmxapi.hypercube.telascience.org/api/0.5/node[name=Secret][bbox=-124,42,-121,46]</a>'<br>
<?xml version='1.0' standalone='no'?><br><?xml version='1.0' standalone='no'?><br><osm version='0.5' generator='osmxapi: OSM Extended API' xmlns:osmxapi='http://<a href="http://www.informationfreeway.org" target="_blank">www.informationfreeway.org</a>/osmxapi/0.5' osmxapi:uri='/api/0.5/node[name=Secret][bbox=-124,42,-121,46]' osmxapi:planetDate='200808251732' osmxapi:copyright='2008 OpenStreetMap contributors' osmxapi:instance='zappy2'><br>
<node id='290956783' lat='43.540833' lon='-122.449493' user='Tom Brown' osmxapi:users='Tom Brown' timestamp='2008-08-25T14:39:20Z'><br> <tag k='name' v='Secret'/><br>
<tag k='source_ref' v='http://<a href="http://www.hoodoo.com" target="_blank">www.hoodoo.com</a>/oregon_home.htm'/><br> <tag k='tourism' v='camp_site'/><br>
</node><br>
</osm><br><br>but I can't get requests by user to work. [user=Tom Brown] seems to just search for user=Tom and user=Tom+Brown finds nothing. Instead I ran<br>curl -g '<a href="http://osmxapi.hypercube.telascience.org/api/0.5/node%5Btourism=camp_site%5D%5Bbbox=-124,42,-121,46%5D" target="_blank">http://osmxapi.hypercube.telascience.org/api/0.5/node[tourism=camp_site][bbox=-124,42,-121,46]</a>' > campsites.osm<br>
loaded the osm in josm, did a search to select the hoodoo source_ref data, deleted and uploaded. Sweet!<br>
</div>
</blockquote></div><br>I think when you're requesting from osmxapi you have to encode special characters in your request. So, instead of a space in user=Tom Brown, you'd put %20, which is the URL encoding for a space (ASCII hex code 20), so you'd put user=Tom%20Brown. Similar for the colon and maybe also the slashes in your source_ref tag (I don't know the codes for those offhand).<br>
<br>Karl<br></div>