[postgis-users] [OT] Extract data from within polygons - not inPostgis

chlists at me.com chlists at me.com
Wed Sep 10 05:40:32 PDT 2008


Pedro & Regina,
thanks for your fast replies.

> I presume you are looking for a command-line solution given the  
> examples
> you provided below?

Yes, you are correct. I forgot to mention that I would prefer a  
command-line to batch-operate on a few files if possible.

> I've been using OpenJump a lot lately - mostly for ad-hoc PostGIS
> queries, but it does support ESRI shape files as well and cursory  
> glance
> of the menu options seems to suggest it fits your below requirements,
> but its a cross platform desktop open source tool (not a command-line
> tool).

Thanks for the pointer to OpenJump. I have downloaded it.

[...]
> It is based on JTS code which GEOS is a port of, so at the very least
> looking at the code base may give you some ideas on how to leverage  
> GEOS
> in Python to do what you are looking for.

OK, I though that GEOS might be a good bet, I have a look through the  
code.

Thanks again,
Christian



More information about the postgis-users mailing list