Part of my problem is that I have a number of points to plot with the same prefix ie: M34 so being able to differentiate further even to M34 3.. M34 4.. or M34 5.. would help greatly. Besides which I am trying to teach myself the syntax for google maps and this works best for me by creating a working example so advise still welcomed even if it may seem a little un-necessary
On Dec 5, 6:53 pm, Barry Hunter <[email protected]> wrote: > http://www.econym.org.uk/gmap/geo.htmhttp://www.econym.org.uk/gmap/geomulti.htm > > But you should be aware thatUKPostcodes are not accurate in the API > anyway. At best they will be sector level (ignores the last two > levels), which roughly equates to about 2km accuracy. But in many > cases they are geocoded with outcode only which is about 15km > accuracy. > > 2009/12/5 daybase <[email protected]>: > > > > > > > I have successfully plotted a number of points from an xml file which > > contains long & lat coordinates from a database - I would now like to > > improve the accuracy a little by geocoding the postcode which is also > > held in the datbase & xml file. next - any help appreciated. > > > My code reaches the point where the variable pcode but I am stuck as > > to where I go > > > ...GDownloadUrl("mapdata.xml", function(data) { > > var xml = GXml.parse(data); > > var markers = xml.documentElement.getElementsByTagName > > ("marker"); > > for (var i = 0; i < markers.length; i++) { > > var name = markers[i].getAttribute("name"); > > var address = markers[i].getAttribute("address"); > > var mcol = markers[i].getAttribute("mColor"); > > var pcode = markers[i].getAttribute("pCode"); > > pcode=pcode.replace("-"," "); > > > -- > > > You received this message because you are subscribed to the Google Groups > > "Google Maps API" group. > > To post to this group, send email to [email protected]. > > To unsubscribe from this group, send email to > > [email protected]. > > For more options, visit this group > > athttp://groups.google.com/group/google-maps-api?hl=en. > > -- > Barry > > -www.nearby.org.uk-www.geograph.org.uk-- Hide quoted text - > > - Show quoted text - -- You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-maps-api?hl=en.
