Hi,

Thanks a lot for the response. I tried filtering the points to geocode
and its working well. I am able to capture the "state" from the
address tag of the xml (output of geocoder getLocation() ). I need to
pass these values as a jsp to the server side. But since the function
is asynchronous, am facing problem. We tried using url based
geocoding, incorporating AJAX, but it failed due to the cross-domain
issue. Can you please help?

Regards,
Ranjitha.

On Dec 7, 5:15 pm, Andrew Leach <[email protected]> wrote:
> On Dec 7, 11:52 am,ranjithar gopal <[email protected]> wrote:
>
> > Hi Andrew,
>
> > I tried with getLocations and tried to extract the PINCODE of the points.
> > But it seems the xml output is not defined for all the points..
>
> The geocoder does what it does. You could use another geocoding
> service.
>
> > And I have to geocode around 4000 points
> > in one call.. Is that possible..
>
> Well, actually you don't. You could do points at every 50km or so, and
> see if the returned state is the same as the previous one. If it is,
> you may not need to bother with the points in between. If it is
> different, then you could use a binary chop (test a point at 25km) and
> see whether anything else is included in that section of the route.
>
> That method may not catch the route passing through a tongue of one
> state, or an "island" state in the middle of a "doughnut" state; but
> then the points you are retrieving with getVertex() might miss that
> too.
>
> It's not possible to do 4000 points in one call. You would need to
> queue them, so any method of filtering the points you geocode is
> probably beneficial.
>
> Andrew

--

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.


Reply via email to