G'day all,

I have a list of small polygons spread out over about 2500 kms, and I want to be able to zoom to a polygon by choosing it from a list.

The data is all in a postgis database, so I can get the polygon names, gid and centroid location.

I had through I would put the names into a select list, and have the gid as the option value.

My question is, can I set a centre based on a gid in a call to the cgi, or can I put the centroid of the polygon into the options value and append it to the cgi call. What is the appropriate format for this?

It is only a small application, and I done similar for other projects in php/mapscript, but I would rather stick to the cgi for now.

If someone can tell me I promise I will write a note for the website!

cheers

Ben

--

Ben Madin
REMOTE INFORMATION

t : +61 8 9192 5455
f : +61 8 9192 5535
m : 0448 887 220
Broome   WA   6725

[EMAIL PROTECTED]



                                                        Out here, it pays to 
know...


Reply via email to