repurposing thuban code for a google mashup?
lists at dipole-consulting.com
Mon Jun 9 23:49:35 CEST 2008
On Mon, 2008-06-09 at 13:40 -0400, Russ Nelson wrote:
> (All arguments against google mashups aside) I'm thinking that a
> reasonable way to present a property boundaries shapefile is using a
> Google mashup. To do that, I'd need to create a web service which can
> read the shapefile. The obvious candidate to do that is pyshapelib,
> since OF COURSE the only reasonable programming language to use is
> Python. But I don't know quite how to take a lat/lon, and ask
> pyshapelib to hand me back the shape(s) containing that lat/lon.
> I know it's a bit off-topic, but does anybody have any hints for me?
You can probably use the SHPTree class in pyshapelib. I haven't used it
but it's in the module and there is a find_shapes method.
More information about the Thuban-devel