Hi, I'm setting the maxRows to 500 because any more and the script times out.
The findNearbyPostalCodes call returns somthing like the following....
Code:
<geonames>
<code>
<postalcode>BN20</postalcode>
<name>Friston</name>
<countryCode>GB</countryCode>
...More elements here......
<distance>61.19110105762875</distance>
</code>
<code>
<postalcode>BN20</postalcode>
<name>East Dean</name>
<countryCode>GB</countryCode>
...More elements here......
<distance>63.00841809561317</distance>
</code>
Now from that you can see that there are two areas in the same post code. Is there something we can do to filter the outcome to only one instance of the same post code. In this particuallr application I am only intrested in Nearby post codes, so returning all the areas in the same postcode is not wanted. Each instance is classed as a row and therefore limiting the number of postcodes I get back as there may be 30 rows all for the same post code.
So in some instances when Im hovering over london, I only get SE post codes when clearly I should also be getting East , west and north london postcodes aswell.
Please tell my if this does nt make sence.
thanks.
Graham