[udig-devel] Re: [Geotools-gt2-users] Geocoding?

Jody Garnett jgarnett at refractions.net
Fri Sep 8 05:12:31 PDT 2006


Sorry Mr Treloar, very busy week for me (and I guess everyone). Lets try 
and stay on the public email lists so you can be more assured of getting 
a reply.

The Location view is backed by a web based geocoder, to proceed in uDig 
we should define:
1. an extension point for "geocoder"
2. change the location view to process the geocoder extension point
2. pick up the existing implementation as an example
3. ask you to implement a file based on as a proof of completion

If you have svn access you are welcome to start in on this, we could 
also define the interface here online via email on the uDig-devel list.
Currently the location view expects a list of Features back, the 
geometry would be the location, and the attributes would be whatever other
informaiton the geocoder has...

So I would recommend:

interface GeoCoder {
      List<Feature> search( String query, Envelope bbox );
}

Where bbox, is an optional bounding box that could be used to limit the 
search to the area of the screen.
What do you think? An initial GeoCoder behind this API would easy to do 
from a shapefile....

A more complicated API would involve the letting the user know some 
search fields, not really a good time.

Cheers,
Jody
> On 9/2/06, Barrie Treloar <baerrach at gmail.com> wrote:
>> On 9/2/06, Jody Garnett <jgarnett at refractions.net> wrote:
>> > Barrie Treloar wrote:
>> > > I am actually using uDig, but I thought most of the GIS 
>> functionality
>> > > was provided by geotools.
>> > Heh, well only what we have had time to "give back" :-)
>> > > I'd love to have a look please.
>> > Open up the locations view and poke in an address. We can make an
>> > extension point to submit the request to more services if you are
>> > interested.
>> > Jody
>>
>> What I am after is an implementation of a service.
>> And a service that runs locally from your own set of data.
>>
>
> Hadn't heard a reply.
> Am I write to assume that the implementation you have is one that
> invokes a web service geocoder?  And is not a local geocoder from an
> already geocoded address file?
>
> Cheers




More information about the udig-devel mailing list