[postgis-users] PostGIS functionality on non DB types

Markus Schaber schabi at logix-tt.com
Tue Sep 5 07:44:32 PDT 2006


Hi, Tom,

Kralidis,Tom [Burlington] wrote:

> I have a situation where PostGIS-like functionality is required (i.e.
> buffering shorelines).  The issue is that the data are not PostGIS
> enabled (why PostGIS is not used here is another story).
> 
> Is there any way the PostGIS engine can be used on a non-PostGIS type
> (say shapefile) with a scripting language (say Perl, PHP)?

PostGIS does mainly provide storage. Geometry processing and projections
are imported from JTS/GEOS and Proj4, respectively.

So, from Java, you can use JTS directly, for other functionality, you
need to write either a Java program using JTS, or a C/C++ wrapper or
interface between LibJTS/GEOS/Proj4 and the scripting language of your
choice.

HTH,
Markus

-- 
Markus Schaber | Logical Tracking&Tracing International AG
Dipl. Inf.     | Software Development GIS

Fight against software patents in EU! www.ffii.org www.nosoftwarepatents.org



More information about the postgis-users mailing list