<div dir="ltr">Hi Eugene, We were considering the editor links that but had not made a decision. That decision is now made and we will do it. We will provide an authentication against Osm for the login Id, and if authenticated, these Edit icons will display so that edits can be done there and then. A much better idea than displaying data on the map.<div>
<br></div><div>This way, general users will not see the more technical side of the map.</div><div><br></div><div>The Poly is interesting, I see it shows a "Burger Icon" as well as the poly, I checked the database and it looks like the burger is being displayed on the centroid of the polygon, not a node and a polygon. </div>
<div><br></div><div>It is tagged as landuse=retail, cuisine=burger, amenity=fast_food, Name=Mcdonald's</div><div><br></div><div>we can certainly do that. Would be nice to see the Golden Arches in there instead of the generic burger</div>
<div><br></div><div>The easist way to do this is to apply the same rules to ways and relations as the poi's (nodes) (in fact they are all ways in the database after the import) and show an icon on the polygon centroid if it matches.</div>
<div><br></div><div>Cheers</div><div><br></div><div>Mark</div><div><br></div><div><br></div><div><br></div><div><div><br><div><br></div></div></div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><div>
<br>
</div><div>Regards</div><div><br></div><div>Mark Cupitt</div><div><br></div><div>"If we change the world, let it bear the mark of our intelligence"</div><div><a></a><span></span><span></span><div><br></div></div>
<div><a href="https://www.openstreetmap.org/user/Mark_Cupitt" target="_blank">See me on Open StreetMap</a><br></div><div><br></div><div><a href="http://ph.linkedin.com/in/markcupitt" target="_blank">See me on LinkedIn</a></div>
<div><img src="http://s.c.lnkd.licdn.com/scds/common/u/img/webpromo/btn_myprofile_160x33.png"><br></div><div><span style="font-family:arial black,sans-serif"><b><br><a href="http://gis.stackexchange.com/users/17846/mark-c" target="_blank">See me on StackExchange</a></b></span></div>
<div><img src="http://gis.stackexchange.com/users/flair/17846.png"><br></div><div>===============================================================================================</div><div>The contents of this email are intended only for the individual(s) to whom it is addressed and may contain</div>
<div>confidential or privileged information. If you are not the intended recipient, you must not disclose, copy, distribute,</div><div>or use the contents of this email. If you have received this email in error, please notify the sender immediately and</div>
<div>delete the email and any attachments.<br></div><div>
===============================================================================================
</div></div></div>
<br><br><div class="gmail_quote">On Sun, May 25, 2014 at 12:44 PM, Eugene Alvin Villar <span dir="ltr"><<a href="mailto:seav80@gmail.com" target="_blank">seav80@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">Hi Mark,<div class=""><br><br><blockquote style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex" class="gmail_quote">QUESTION Is the OSM ID of the offending node of any value if displayed in square brackets behind the poi description?<br>
</blockquote><div><br></div></div><div>It is of value to OSM mappers but not the end users.<br><br>For OSM mappers, I think it would be more useful if you provided links to edit the map at that particular POI instead of the OSM ID. Please look at the Geofabrik map website for an example: <a href="http://tools.geofabrik.de/map/#18/14.5501/121.0512&type=Geofabrik_Standard" target="_blank">http://tools.geofabrik.de/map/#18/14.5501/121.0512&type=Geofabrik_Standard</a><br>
<br></div><div>At the bottom there are 3 edit icons that link to the 3 most popular OSM editors. Each link lets you bring up your editor of choice and edit at the current map view.<br><br></div><div>Also, when you display POIs, do you also consider POIs that are mapped as a polygon (or even as a relation polygon) instead of as a node? For example, this McDonald's: <a href="http://www.openstreetmap.org/way/38064636" target="_blank">http://www.openstreetmap.org/way/38064636</a><br>
</div><div><div class="h5"><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Sun, May 25, 2014 at 12:25 PM, Mark Cupitt <span dir="ltr"><<a href="mailto:markcupitt@gmail.com" target="_blank">markcupitt@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Eugene, I think will set it up for option two, but will only update the database for the more obvious ones for now and see what we actually get on the map when done (tons of red or a only few)<div>
<br></div>
<div>I am looking at query optimization now to speed this process up, and the way it looks, once it is done the first time, I may be able to structure the database so that the update queries run only of the data from the daily diff updates, not the whole database.</div>
<div><br></div><div>If that is the case, then it is just a matter of determine the tag and keyword combinations to check for and running the update queries</div><div><br></div><div>I think it is worth the investment in time to make a Philippine OSM Map usable by everyone and all the hard work by mappers here useful. Perhaps it might encourage more mappers if there is more control over how their map looks at the end of the day :)</div>
<div><br></div><div>QUESTION Is the OSM ID of the offending node of any value if displayed in square brackets behind the poi description?</div><div><br></div><div>Cheers<br></div></div><div class="gmail_extra"><div>
<br clear="all">
<div><div dir="ltr"><div><br></div><div>Regards</div><div><br></div><div>Mark Cupitt</div><div><br></div><div>"If we change the world, let it bear the mark of our intelligence"</div><div><a></a><span></span><span></span><div>
<br></div></div><div><a href="https://www.openstreetmap.org/user/Mark_Cupitt" target="_blank">See me on Open StreetMap</a><br></div><div><br></div><div><a href="http://ph.linkedin.com/in/markcupitt" target="_blank">See me on LinkedIn</a></div>
<div><img src="http://s.c.lnkd.licdn.com/scds/common/u/img/webpromo/btn_myprofile_160x33.png"><br></div><div><span style="font-family:arial black,sans-serif"><b><br><a href="http://gis.stackexchange.com/users/17846/mark-c" target="_blank">See me on StackExchange</a></b></span></div>
<div><img src="http://gis.stackexchange.com/users/flair/17846.png"><br></div><div>===============================================================================================</div><div>The contents of this email are intended only for the individual(s) to whom it is addressed and may contain</div>
<div>confidential or privileged information. If you are not the intended recipient, you must not disclose, copy, distribute,</div><div>or use the contents of this email. If you have received this email in error, please notify the sender immediately and</div>
<div>delete the email and any attachments.<br></div><div>
===============================================================================================
</div></div></div>
<br><br></div><div><div><div class="gmail_quote">On Sun, May 25, 2014 at 12:02 PM, Eugene Alvin Villar <span dir="ltr"><<a href="mailto:seav80@gmail.com" target="_blank">seav80@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr"><div><div>Hi Mark,<br><br></div>Both options you mentioned are equally OK depending on what is needed. It is a classic trade-off situation. If you want the map to be more user-friendly, you need to spend more effort and resources. I myself prefer the 2nd option, but that entails a lot more work on your part.<br>
<br></div>How about we do the 1st option at first since it is easier? I'm sure OSM mappers will also dislike seeing meaningless red circles and will fix the data so that the map becomes more useful. I hope that this would result in a much more usable map without having to do the work to implement the 2nd option or make the 2nd option less urgent.<span><font color="#888888"><br>
</font></span><div><div><span><font color="#888888"><div class="gmail_extra"><br></div><div class="gmail_extra">Eugene<br><br></div></font></span><div><div><div class="gmail_extra"><br><div class="gmail_quote">
On Sun, May 25, 2014 at 11:29 AM, Mark Cupitt <span dir="ltr"><<a href="mailto:markcupitt@gmail.com" target="_blank">markcupitt@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hi Eugene, <div><br></div><div>I do agree it is better to fix the data .. an iconfile tag could lead to lots of difficult items to fix later and will not render in the main OSM map anyway, and could lead to lazy mapping practices.</div>
<div><br></div><div>There are a couple of options</div><div><br></div><div>1) I only display legit icons for the correct tags as per the osm ph tagging page. anything else not covered by the correct tags will get a red circle that makes it obvious that it does not meet the standards. The only problem with this is that it may make he map harder to use for public users, lots of red circles that are meaningless.</div>
<div><br></div><div>2) Try and evaluate all the tags and make a good guess, but add a small red X to or a circle around the icon that indicates that it is not tagged correctly and needs to be fixed. this makes the map more usable to the public but also usable to mappers who can fix the data. This is a lot more work on my part and the database, but would result, eventually, in a well structured map and tagging scheme. If it helped, I could also put the tag id behind the description in the case of incorrect tags so that you can go straight to the tag in JOSM, etc</div>
<div><br></div><div>Cheers</div><span><font color="#888888"><div><br></div><div>Mark</div><div><br></div></font></span></div><div class="gmail_extra"><div><br clear="all"><div><div dir="ltr"><div>
<br></div><div>Regards</div><div><br></div><div>Mark Cupitt</div><div><br>
</div><div>"If we change the world, let it bear the mark of our intelligence"</div><div><a></a><span></span><span></span><div><br></div></div><div><a href="https://www.openstreetmap.org/user/Mark_Cupitt" target="_blank">See me on Open StreetMap</a><br>
</div><div><br></div><div><a href="http://ph.linkedin.com/in/markcupitt" target="_blank">See me on LinkedIn</a></div><div><img src="http://s.c.lnkd.licdn.com/scds/common/u/img/webpromo/btn_myprofile_160x33.png"><br></div>
<div><span style="font-family:arial black,sans-serif"><b><br><a href="http://gis.stackexchange.com/users/17846/mark-c" target="_blank">See me on StackExchange</a></b></span></div><div><img src="http://gis.stackexchange.com/users/flair/17846.png"><br>
</div><div>===============================================================================================</div><div>The contents of this email are intended only for the individual(s) to whom it is addressed and may contain</div>
<div>confidential or privileged information. If you are not the intended recipient, you must not disclose, copy, distribute,</div><div>or use the contents of this email. If you have received this email in error, please notify the sender immediately and</div>
<div>delete the email and any attachments.<br></div><div>
===============================================================================================
</div></div></div>
<br><br></div><div><div><div class="gmail_quote">On Sun, May 25, 2014 at 4:44 AM, Eugene Alvin Villar <span dir="ltr"><<a href="mailto:seav80@gmail.com" target="_blank">seav80@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr"><div><div><div><div><div>Hi Mark,<br><br></div>I think it would be better for all users of the data in the long run that the inconsistent name field is the one corrected instead of your system adjusting for it.<br>
<br></div>Let's say that you have a "rule" that says that that name=McDonald's with amenity=fast_food gets the Golden Arches icon.<br><br></div>Now let's say you have other rules that detect stuff that are probably McDonald's: name=McDonalds amenity=restaurant<br>
<br></div>Instead of tagging stuff like this with an additional tag icon:ph=mcdonalds.png, it would be better to correct those POIs that don't follow the correct tagging. If you have a system that detects such near-misses, then I'm sure the community would like to get a list of them so that they can be corrected.<br>
<br></div>I hope other mappers and users can chime in with their ideas.<br><div><div><div><br><div><br></div></div></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Thu, May 22, 2014 at 6:32 PM, Mark Cupitt <span dir="ltr"><<a href="mailto:markcupitt@gmail.com" target="_blank">markcupitt@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div><div dir="ltr">Folks, have been thinking about how we specify Icons for POI's in the Philippines OSM Map. I have Icons for most of the PH specific businesses, like Jollibee, Banks, and so on and would like to use them<br clear="all">
<div><div dir="ltr"><div><br></div><div>At the moment, the only way to do this is to run through the database checking the name tag and seeing if it starts with jollibee, BDO mcdo, etc. This is a very intensive effort on a million+ points. I am doing the code for it now and it has to be run on a very regular basis to pick up new POI'S from the daily diff updates. It also suffers form spelling errors, and fomat errors, for example "the jollibee" will to be identified as the name has to start with "jollibee" (in text string searches in postgres do not use indexes, and are too expensive on the database, so we have to assume that the name starts with the search text.</div>
<div><br></div><div>I will publish the icons we have at some stage very soon where they can be viewed by anyone.</div><div><br></div><div>To make it very easy to have granular control over icon display, I propose that we do the following:</div>
<div><br></div><div>Add an icon:ph tag to nodes as they are created that contains the filename of the icon to display (from the list published)</div><div><br></div><div>For example, a node of a Mcdonalds might have a tag amenity="fast_food" name="Mcdonalds Quezon City" and a icon:ph="mcdonalds.png"</div>
<div><br></div><div>The system will first check if the icon:ph exists and use the icon specified in that. if not, it will fall back to database determined value done on a weekly or monthly basis, with all the inherent pitfalls in the use of the name field. If that does not work, it will display a generic icon which is a Red Dot.</div>
<div><br></div><div>One big advantage of this proposal is that people can submit their own logos in icon form, they are easy to add to the system, them specify them for specific businesses, leisure, bars, etc. on the actual poi ..so the value added to the map will be tremendous in the future.</div>
<div><br></div><div>Thoughts, flames, thumbs up, thumbs down, rounds of applause on this proposal very much appreciated ..</div><div><br></div><div>Regards</div><div><br></div><div>Mark Cupitt</div><div><br></div><div>"If we change the world, let it bear the mark of our intelligence"</div>
<div><a></a><span></span><span></span><div><br></div></div><div><a href="https://www.openstreetmap.org/user/Mark_Cupitt" target="_blank">See me on Open StreetMap</a><br></div><div><br></div><div><a href="http://ph.linkedin.com/in/markcupitt" target="_blank">See me on LinkedIn</a></div>
<div><img src="http://s.c.lnkd.licdn.com/scds/common/u/img/webpromo/btn_myprofile_160x33.png"><br></div><div><span style="font-family:arial black,sans-serif"><b><br><a href="http://gis.stackexchange.com/users/17846/mark-c" target="_blank">See me on StackExchange</a></b></span></div>
<div><img src="http://gis.stackexchange.com/users/flair/17846.png"><br></div><div>===============================================================================================</div><div>The contents of this email are intended only for the individual(s) to whom it is addressed and may contain</div>
<div>confidential or privileged information. If you are not the intended recipient, you must not disclose, copy, distribute,</div><div>or use the contents of this email. If you have received this email in error, please notify the sender immediately and</div>
<div>delete the email and any attachments.<br></div><div>
===============================================================================================
</div></div></div>
</div>
<br></div></div>_______________________________________________<br>
talk-ph mailing list<br>
<a href="mailto:talk-ph@openstreetmap.org" target="_blank">talk-ph@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/talk-ph" target="_blank">https://lists.openstreetmap.org/listinfo/talk-ph</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div></div></div></div></div></div>
</blockquote></div><br></div></div></div>
</blockquote></div><br></div></div></div></div></div>
</blockquote></div><br></div>