<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><br>Le 26 sept. 2014 à 11:25, Frédéric Rodrigo <<a href="mailto:fred.rodrigo@gmail.com">fred.rodrigo@gmail.com</a>> a écrit :<br><br><blockquote type="cite"><blockquote type="cite" style="font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">payment:mastercard=yes<br>payment:visa=yes<br>payment:maestro=yes<br></blockquote></blockquote>Cette liste me parait bien trop longue… et dans notre cas, nous ne savons pas quel type de carte est accepté.<div><b>payment=mastercard;visa;maestro</b> est plus court et tout aussi lisible ?</div><div><br></div><div>En admettant qu’on trouve une source de données détaillée, ne pas oublier le cas du liquide : <b>payment:cash=</b>yes/no</div><div>Qui ne s’est pas retrouvé au bord de la panne d’essence, un week-end, avec seulement un billet ?</div><div><br><div><blockquote type="cite"><br>Mais bizarrement il nb'y a pas de simple payment:cards=yes<br></blockquote>Ce n’est pas documenté, mais c’est utilisé :</div><div><br><a href="http://taginfo.openstreetmap.org/tags/payment:cards=yes">payment:cards=yes</a><span class="Apple-tab-span" style="white-space:pre"> </span>817<br><a href="http://taginfo.openstreetmap.org/tags/payment:debit_cards=yes">payment:debit_cards=yes</a><span class="Apple-tab-span" style="white-space: pre;"> </span>3 802</div><div><a href="http://taginfo.openstreetmap.org/tags/payment:credit_cards=yes">payment:credit_cards=yes</a><span class="Apple-tab-span" style="white-space:pre"> </span>6 083</div><div><br></div><div>Au passage, je viens de voir qu’on peut comparer plusieurs tags avec tag<b>Info </b>:</div><div><a href="http://taginfo.openstreetmap.org/compare/payment:cards/payment:debit_cards/payment:credit_cards">http://taginfo.openstreetmap.org/compare/payment:cards/payment:debit_cards/payment:credit_cards</a></div><div><br></div><div><blockquote type="cite">La ça serait plutôt un amenity=vending_machine mais on a déjà amenity=fuel. A défaut, il faudrait juste utiliser vending_machine=fuel.</blockquote>C’est plutôt la clé <b>vending</b> qu’il faut utiliser ;-)</div><div><br></div><div>vending<span class="Apple-tab-span" style="white-space:pre"> </span>48 169</div><div>vending=yes<span class="Apple-tab-span" style="white-space:pre"> </span>248</div><div>vending=fuel<span class="Apple-tab-span" style="white-space:pre"> </span>64</div><div><br></div><div><a href="http://taginfo.openstreetmap.org/compare/vending/vending=yes/vending=fuel">http://taginfo.openstreetmap.org/compare/vending/vending=yes/vending=fuel</a></div><div><br></div><div>—</div><div>Yves</div><div><br><br></div></div></body></html>