<HTML><HEAD></HEAD>
<BODY dir=ltr>
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>Om mijn vraag wat te specificeren:</DIV>
<DIV> </DIV>
<DIV>Ik gebruik:</DIV>
<DIV>SELECT id, tags -> 'name', tstamp</DIV>
<DIV>FROM relations</DIV>
<DIV>WHERE tags @> 'type=>route' AND tags @> 'network=>nwn'</DIV>
<DIV>ORDER BY tstamp</DIV>
<DIV> </DIV>
<DIV>en nu wil ik deze afschermen tot alleen de relaties met ways in
nederland.</DIV>
<DIV>Ik zie elders deze query gebruikt worden:</DIV>
<DIV>SELECT way</DIV>
<DIV>FROM planet_osm_polygon</DIV>
<DIV>WHERE admin_level='2'</DIV>
<DIV>AND name='Nederland'</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>Hoe kan ik die twee nu eenvoudig combineren?</DIV>
<DIV>Is er een SQL guru aanwezig die dat kan vertellen?</DIV>
<DIV> </DIV>
<DIV>groet</DIV>
<DIV>Robert</DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV style="FONT: 10pt tahoma">
<DIV> </DIV>
<DIV style="BACKGROUND: #f5f5f5">
<DIV style="font-color: black"><B>From:</B> <A title=robert@elsenaar.info
href="mailto:robert@elsenaar.info">Robert Elsenaar</A> </DIV>
<DIV><B>Sent:</B> Sunday, April 17, 2011 3:44 PM</DIV>
<DIV><B>To:</B> <A title=talk-nl@openstreetmap.org
href="mailto:talk-nl@openstreetmap.org">OSM Maillist NL</A> </DIV>
<DIV><B>Subject:</B> [OSM-talk-nl] Nederlandse Wandelroutes</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV
style="FONT-STYLE: normal; DISPLAY: inline; FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: small; FONT-WEIGHT: normal; TEXT-DECORATION: none">
<DIV dir=ltr>
<DIV style="FONT-FAMILY: 'Calibri'; COLOR: #000000; FONT-SIZE: 12pt">
<DIV>Heren,</DIV>
<DIV> </DIV>
<DIV>Met hulp en in navolging op Rullzer ben ik begonnen om de Nederlandse
Wandelroutes in een pagina te controleren. Ik hoop hiermee de inzichtelijkheid
hiervan te verhogen. En wie weet wat de toekomst brengt. De eerste ervaringen
met Python (lijkt op php) en PostgreSQL (lijkt op mySQL) zijn positief. Ik heb
jaren, voor het Joomla-tijdperk, een 4000+page database georiënteerde duikers
info site opgezet en gerund en lijkt me leuk om hier nu ook weer iets leuks van
te maken. Wie weet wat de toekomst brengt.</DIV>
<DIV> </DIV>
<DIV>De eerste resultaten [1] en de eerste vragen hebben reeds het licht
gezien.</DIV>
<DIV>Kan iemand vertellen hoe ik de huidige lijst kan filteren zodat alleen de
wandelroutes overblijven waarvan minstens een deel in Nederland ligt?</DIV>
<DIV> </DIV>
<DIV>Alvast bedankt voor de hulp</DIV>
<DIV> </DIV>
<DIV>Robert</DIV>
<DIV> </DIV>
<DIV>[1]: <A title=http://mijndev.openstreetmap.nl/~zmwandelaar/checktrack
href="http://mijndev.openstreetmap.nl/~zmwandelaar/checktrack">http://mijndev.openstreetmap.nl/~zmwandelaar/checktrack</A> </DIV>
<DIV> </DIV></DIV></DIV></<BR><BR>---------------------------------------------------------------------------------------------------<BR><B>Tekst
ingevoegd door Panda GP 2011:</B><BR><BR>Als het hier gaat om een ongevraagde
e-mail (SPAM), klik dan op de volgende link om de e-mail te herclasseren: <A
href="http://localhost:6083/Panda?ID=pav_4772&SPAM=true&path=C:\Windows\system32\config\systemprofile\AppData\Local\Panda Security\Panda Global Protection 2011\AntiSpam">It
is
SPAM!</A><BR>---------------------------------------------------------------------------------------------------<BR>
<P>
<HR>
_______________________________________________<BR>Talk-nl mailing
list<BR>Talk-nl@openstreetmap.org<BR>http://lists.openstreetmap.org/listinfo/talk-nl<BR></DIV></DIV></DIV></BODY></HTML>