<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
code
{mso-style-priority:99;
font-family:"Courier New";}
span.E-mailStijl19
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=NL link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Los van de techniek: <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>De grenzen die van 2012, binnenkort (maar dat is voor de beheerclub van geodata.nationaalgeoregister.nl een rekbaar begrip) moeten de grenzen zoals die per 1-1-2013 gelden (o.a. Goeree-Overflakkee tegenwoordig 1 gemeente) als WMS/WFS services beschikbaar komen. Daarbij gaan de laagnamen ook op de helling.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Groet, <o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Gert-Jan<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>Van:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> nouwsfam [mailto:nouwsfam@xs4all.nl] <br><b>Verzonden:</b> dinsdag 15 oktober 2013 23:49<br><b>Aan:</b> talk-nl@openstreetmap.org<br><b>Onderwerp:</b> [OSM-talk-nl] nationaalgeoregister WFS service query<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p><span style='font-family:"Courier New"'>Is er iemand die mij een voorbeeld kan geven van hoe ik de gemeentegrenzen_2012 uit de WFS service van geodata.nationaalgeoregister.nl kan krijgen? Ik krijg foutmeldingen van de server, die ik niet snap. Ik kan nergens documentatie of voorbeelden vinden.</span><o:p></o:p></p><p><span style='font-family:"Courier New"'>Ik heb het onderstaande (onder meer) uitgeprobeerd:</span><o:p></o:p></p><p><span style='font-family:"Courier New"'>var gemeenteGrenzenLayer = new OpenLayers.Layer.Vector(</span><br><span style='font-family:"Courier New"'> "Gemeentegrenzen", </span><br><span style='font-family:"Courier New"'> {</span><br><span style='font-family:"Courier New"'> strategies: [new OpenLayers.Strategy.BBOX()],</span><br><span style='font-family:"Courier New"'> styleMap : gemeenteGrenzenStyleMap, </span><br><span style='font-family:"Courier New"'> protocol: new OpenLayers.Protocol.WFS({</span><br><span style='font-family:"Courier New"'> version: "1.1.0",</span><br><span style='font-family:"Courier New"'> url: "<a href="http://geodata.nationaalgeoregister.nl/bestuurlijkegrenzen/wfs">http://geodata.nationaalgeoregister.nl/bestuurlijkegrenzen/wfs</a>",</span><br><span style='font-family:"Courier New"'> request: "GetFeature",</span><br><span style='font-family:"Courier New"'> featureType: "bestuurlijkegrenzen:gemeenten_2012",</span><br><span style='font-family:"Courier New"'> srsName: "EPSG:28992",</span><br><span style='font-family:"Courier New"'> featureNS: "<a href="http://bestuurlijkegrenzen.geonovum.nl">http://bestuurlijkegrenzen.geonovum.nl</a>",</span><br><span style='font-family:"Courier New"'> geometryName: 'geometrie'</span><br><br><span style='font-family:"Courier New"'> })</span><br><span style='font-family:"Courier New"'> }</span><br><span style='font-family:"Courier New"'> );</span><br><span style='font-family:"Courier New"'> map.addLayer (gemeenteGrenzenLayer);</span><o:p></o:p></p><p><span style='font-family:"Courier New"'> </span><o:p></o:p></p><p><span style='font-family:"Courier New"'>Het werkt dus niet. De foutmelding is </span><code><span style='font-size:10.0pt'><ows:Exception exceptionCode="MissingParameterValue" locator="request"></span></code><o:p></o:p></p><p><span style='font-family:"Courier New"'>Dank voor jullie hulp!</span><o:p></o:p></p><p><span style='font-family:"Courier New"'>PS: de WMS server heb ik wel aan de praat, maar de png's zijn lelijk. Ik kan de data ook uit OSM krijgen, maar dit is 6 MB. Daarom wil ik de WFS service uitproberen.</span><o:p></o:p></p><p><span style='font-family:"Courier New"'> </span><o:p></o:p></p><p><span style='font-family:"Courier New"'> </span><o:p></o:p></p><div><p class=MsoNormal> <o:p></o:p></p></div></div></body></html>