Hello,
Thanks for your information. But one thing I am confusing is, if user
make a buffer on google map, what could be the connection between
google map and the data which I get from register. For example, in
google map, there is building1 which repersent my home. I have also
the same building stored in postgreSQLdatabase . Is that mean, when I
make a buffer in google map, the system start query from database, and
list the one which locate within the buffer. How do find the location?
By XY coordinate or lat/longtitite.
Is that mean, google map and my register data should have something
same, isn´t it? Maybe the coordinate for each object in real world.
Another problem is, if the buffer border cut a high way into two
pieces, how the system can count how many kilometer involved inside
buffer. The same situation also apply for sea, buildings etc. For
exampel the total area of a forest is 400m2, and we have the
information stored in postgreSQL like : forest name, total area... but
now I only want to count how many m2 of this forest inside
buffer( maybe only 3/4 of them inside buffer). I really don´t know how
these can be done. Do you have any good suggestions?
Best Regards,
Clare
On 10 kesä, 15:02, "jgeerdes [AJAX APIs \"Guru\"]"
<
jgeer...@mchsi.com> wrote:
> It is certainly possible. The biggest challenge I think you'll find,
> though, is having to pull your data from so many different formats.
> What I would recommend is setting up a database of some sort (e.g.,
> MySQL, Postgres, etc.) that you can access via a server-side script.
> Then you could add a moveend listener to your map and/or click
> listener to some button so that, whenever the map view changes, you
> can send an AJAX request with the map's (or selected area's) span to
> the server-side script to get the updated tallies.
>
> If you didn't want to show the user these tallies, you could just send
> the map or selection span and wait for a simple confirmation of
> completion.
>
> Jeremy R. Geerdes
> Effetive website design & development
> Des Moines, IA
>
> For more information or a project quote:
http://jgeerdes.home.mchsi.com
>
jgeer...@mchsi.com