<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=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}</style><![endif]--><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:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        color:black;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        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;
        color:black;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0cm;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle22
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.message-body
        {mso-style-name:message-body;}
span.objectbox
        {mso-style-name:objectbox;}
span.objecttitle
        {mso-style-name:objecttitle;}
span.arrayleftbracket
        {mso-style-name:arrayleftbracket;}
span.objectleftbrace
        {mso-style-name:objectleftbrace;}
span.more-ellipsis
        {mso-style-name:more-ellipsis;}
span.objectrightbrace
        {mso-style-name:objectrightbrace;}
span.arrayrightbracket
        {mso-style-name:arrayrightbracket;}
span.frame-link
        {mso-style-name:frame-link;}
span.frame-link-filename
        {mso-style-name:frame-link-filename;}
span.frame-link-line
        {mso-style-name:frame-link-line;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><![endif]--><!--[if gte mso 9]><![endif]-->
</head>
<body bgcolor="white" lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Hi Robert,</span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Thank you for your help and link but sadly neither work as intended.</span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Here is an example of the JSON that is being returned:</span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">[{"type":"Feature","name":"Redruth, Cornwall, England, United Kingdom","properties":{"name":"Redruth, Cornwall, England, United Kingdom","extent":[-5.311015,50.166082,-5.145367,50.28176]},"geom":{"type":"Point","coordinates":[-5.224,50.233]}}]</span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">The error which I am encountering is:</span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:windowtext;mso-fareast-language:EN-GB">Empty feature or empty feature geometry
</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:windowtext;mso-fareast-language:EN-GB">Array [ {…} ]</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:windowtext;mso-fareast-language:EN-GB"><a href="http://cma-tst-geo99:8000/application/mapbender_user_db/assets/js"><span style="color:blue">js:7456:21</span></a></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:windowtext;mso-fareast-language:EN-GB">TypeError: feature.geometry is undefined</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:windowtext;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:windowtext;mso-fareast-language:EN-GB">Any insight on this?</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:windowtext;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:windowtext;mso-fareast-language:EN-GB">Regards</span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:windowtext;mso-fareast-language:EN-GB"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt;font-family:"Times New Roman",serif;color:windowtext;mso-fareast-language:EN-GB">Chris</span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="color:windowtext;mso-fareast-language:EN-GB">From:</span></b><span lang="EN-US" style="color:windowtext;mso-fareast-language:EN-GB"> Mapbender_users [mailto:mapbender_users-bounces@lists.osgeo.org]
<b>On Behalf Of </b>Robert k<br>
<b>Sent:</b> 08 July 2019 11:49<br>
<b>To:</b> mapbender_users@lists.osgeo.org<br>
<b>Subject:</b> Re: [Mapbender-users] SimpleSearch JSON Format</span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<pre><span lang="EN">Hello Chris,</span></pre>
<pre><span lang="EN"><o:p> </o:p></span></pre>
<pre><span lang="EN">to implement and set up SimpleSearch, visit <a href="https://doc.mapbender.org/en/functions/search/simplesearch.html">https://doc.mapbender.org/en/functions/search/simplesearch.html</a>.</span></pre>
<pre><span lang="EN"><o:p> </o:p></span></pre>
<pre><span lang="EN">If you had to use a GeoJson in SimpleSearch, then you could look at this ticket:</span></pre>
<pre><span lang="EN"><a href="https://github.com/mapbender/mapbender/issues/1189">https://github.com/mapbender/mapbender/issues/1189</a></span></pre>
<pre><span lang="EN"><o:p> </o:p></span></pre>
<pre><span lang="EN">Best regards</span></pre>
<pre><span lang="EN">Robert</span></pre>
<div>
<p class="MsoNormal">Am 08.07.19 um 10:02 schrieb Chris Kay-Ayling:</p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Hi </p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">I’m looking to implement simple search however cannot find an example JSON response to format our data by.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Could someone please provide an example of how this JSON should be formatted.</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Kind Regards</p>
<p class="MsoNormal"> </p>
<p class="MsoNormal">Chris</p>
<pre>_______________________________________________</pre>
<pre>Mapbender_users mailing list</pre>
<pre><a href="mailto:Mapbender_users@lists.osgeo.org">Mapbender_users@lists.osgeo.org</a></pre>
<pre><a href="https://lists.osgeo.org/mailman/listinfo/mapbender_users">https://lists.osgeo.org/mailman/listinfo/mapbender_users</a></pre>
</blockquote>
</div>
<p id="c1-id-6" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; MARGIN: 0cm 0cm 0pt">
<span id="c1-id-7" style="FONT-SIZE: 11pt; FONT-FAMILY: "Arial","sans-serif"; COLOR: black">Chris Kay-Ayling</span></p>
<p id="c1-id-8" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; MARGIN: 0cm 0cm 0pt">
<span id="c1-id-9" style="FONT-SIZE: 11pt; FONT-FAMILY: "Arial","sans-serif"; COLOR: gray">System Developer</span></p>
<p id="c1-id-10" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; TEXT-ALIGN: left"><a id="c1-id-11" href="http://www.cornishmutual.co.uk"><img id="c1-id-12" alt="Cornish Mutual logo" src="cid:Cornish_Mutual_RGB_email_84ad8647-c44a-416a-8b88-35a56fb46e6f.jpg" width="220"></a></p>
<p id="c1-id-13" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; COLOR: gray"><span id="c1-id-14" style="FONT-SIZE: 11pt; FONT-FAMILY: Arial">Our main source of business is referrals, and we really appreciate them, so please let your friends and business contacts
 know about us.</span></p>
<p id="c1-id-15" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; COLOR: gray"><span id="c1-id-16" style="FONT-SIZE: 11pt; FONT-FAMILY: Arial">Cornish Mutual helps people and businesses in the South West with a range of insurance products including: Home, Farm,
 Renewable Energy, Let Property, Motor Trade, Special Events, Personal Accident, Motor and Agricultural Motor Fleet.</span></p>
<p style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; COLOR: gray"><span style="FONT-SIZE: 11pt; FONT-FAMILY: Arial"><span style="FONT-SIZE: 11pt">Please click
<a title="" href="https://www.cornishmutual.co.uk/privacy-policy">here</a> for Cornish Mutual's Privacy policy.
</span></span></p>
<p style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; COLOR: gray"><span style="FONT-SIZE: 11pt; FONT-FAMILY: Arial"><span style="FONT-SIZE: 11pt; FONT-FAMILY: Arial">
<table style="WIDTH: 560px" cellspacing="0">
<tbody>
<tr>
<td style="FONT-SIZE: 11pt; HEIGHT: 25px; FONT-FAMILY: Arial; WIDTH: 185px" valign="top">
<p style="FONT-SIZE: 11pt; FONT-FAMILY: Arial">Tel: (+44) 01872 277151<br>
<br>
<a href="http://www.cornishmutual.co.uk">www.cornishmutual.co.uk</a></p>
<p style="FONT-SIZE: 11pt; FONT-FAMILY: Arial"><a title="Cornish Mutual Facebook link" href="https://www.facebook.com/cornishmutual"><img border="0" src="cid:facebook_logo_18x18_d4a89b1e-7124-4ef9-a365-5991b4b42d97.jpg"></a> 
<a title="Cornish Mutual Twitter link" href="http://twitter.com/cornishmutual"><img style="HEIGHT: 18px; WIDTH: 18px" border="0" src="cid:twitter_logo_18x18_a31cbaf7-4230-49d4-a794-525011a92003.jpg" width="18" height="18"></a> 
<a title="Cornish Mutual LinkedIn " href="http://www.linkedin.com/company/709934?trk=tyah">
<img border="0" src="cid:LinkedIn_Logo18x18_2a2500b8-74b3-4707-b7d4-14e268007efe.jpg"></a></p>
</td>
<td style="FONT-SIZE: 11pt; HEIGHT: 25px; FONT-FAMILY: Arial; WIDTH: 80px" valign="top">
<img style="HEIGHT: 85px; WIDTH: 44px" border="0" src="cid:Chartered_Reduced_Corp_Insurers_DarkGrey-May2018v3_1edb1b7b-c34f-4062-b777-704ac53d43eb.jpg"></td>
<td style="FONT-SIZE: 11pt; HEIGHT: 25px; FONT-FAMILY: Arial; WIDTH: 100px" valign="top">
<img border="0" alt="CST Winner Logo" src="cid:CST-WinnersMultiyear-Email85_a9819f48-fada-4232-9736-455937b88f32.jpg"></td>
<td style="FONT-SIZE: 11pt; HEIGHT: 25px; FONT-FAMILY: Arial; WIDTH: 90px" valign="top">
<img border="0" alt="best Companies Logo" src="cid:BCA2016_company_2star-email-small85_7654b9be-778c-4d19-8acf-db162b99db5d.jpg"></td>
</tr>
</tbody>
</table>
</span></span></p>
<p style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; COLOR: gray"></p>
<hr id="c1-id-76" style="COLOR: #ff0000">
<p style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></p>
<p style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; MARGIN: 0cm 0cm 0pt"><font id="c1-id-78" size="2"><span id="c1-id-79" style="FONT-SIZE: 8pt; COLOR: #808080"><font id="c1-id-80" face="Arial"><strong>Agents, Legal Representatives and Insurers please notify your
 client(s) of the following:- </strong></font></span></font></p>
<p style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; MARGIN: 0cm 0cm 0pt"><font size="2"><span style="FONT-SIZE: 8pt; COLOR: #808080"><font face="Arial"><strong>Cornish Mutual Assurance Company Ltd pass information to the Claims and Underwriting Exchange register
 and the Motor Insurance Anti-Fraud and Theft Register run by the Motor Insurers' Bureau (MIB). The aim is to help us to check information provided and to help prevent fraudulent claims. We will pass information relating to this incident to the appropriate
 registers. While dealing with your claim we may search the register(s).</strong></font></span></font></p>
<p style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; MARGIN: 0cm 0cm 0pt"><font size="2"><span style="FONT-SIZE: 8pt; COLOR: #808080"></span></font> </p>
<p style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; MARGIN: 0cm 0cm 0pt"><font size="2"><span style="FONT-SIZE: 8pt; COLOR: #808080"><font face="Arial">This message and any attached files are confidential and are intended only for the named recipients. If you are
 not the intended recipient of this message or the person responsible for delivery to the intended recipient, please notify the sender immediately and delete this message from your system. The sender does not accept liability for any error or omissions in the
 content of this message or any attached files arising from e-mail transmission which cannot be guaranteed to be secure or error free.<br id="c1-id-81">
<br id="c1-id-82">
The Cornish Mutual Assurance Co Ltd<br id="c1-id-83">
Registered Office: CMA House, Newham Road, Newham, Truro TR1 2SU<br id="c1-id-84">
Registered in England No. 78768</font></span></font></p>
<p id="c1-id-85" style="FONT-SIZE: 10pt; FONT-FAMILY: Arial; MARGIN: 0cm 0cm 0pt">
<font id="c1-id-86" size="2"><span id="c1-id-87" style="FONT-SIZE: 8pt; COLOR: #808080"><br id="c1-id-88">
<font id="c1-id-89" face="Arial">To help us improve our service, calls to our office may be recorded and monitored</font></span></font></p>
<p id="c1-id-91" style="MARGIN-BOTTOM: 6pt; FONT-SIZE: 10pt; FONT-FAMILY: Arial; MARGIN-TOP: 6pt">
<font id="c1-id-92" size="2"><span id="c1-id-93" style="FONT-SIZE: 8pt; COLOR: #808080"><font id="c1-id-94" face="Arial">Authorised by the Prudential Regulation Authority and regulated by the Financial Conduct Authority and the Prudential Regulation Authority.</font></span></font>
</p>
<hr id="c1-id-95" style="COLOR: #ff0000">
<p style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></p>
<p style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></p>
<p style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></p>
<p style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></p>
<p style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></p>
<p style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></p>
<p style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></p>
<p style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></p>
<span style="FONT-FAMILY: Times New Roman"><span style="FONT-SIZE: 12pt"></span></span>
<p style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></p>
<p style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></p>
<p style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></p>
<p style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"></p>
<p></p>
<p></p>
</body>
</html>