[postgis-users] Re: [Openev-discuss] How to use Openev with Postgis

Frank Warmerdam warmerdam at pobox.com
Wed Apr 10 10:28:01 PDT 2002


Tyler Mitchell wrote:
> Hello, I noticed on Refraction's postgis site that they say Openev can use
> it as a data source.  Are there instructions anywhere that you could point
> me to?

Tyler,

OpenEV uses OGR as one of it's datasources for vectors and OGR supports
PostGIS.  You can refer to the following page for information on OGR support
of PostGIS:

   http://gdal.velocet.ca/projects/opengis/ogrhtml/drv_pg.html

Basically you should be able to do something like:

openev PG:dbname=...

to open a particular database barring problems with permissions and so forth.

Note that currently OpenEV will load all tables with geometries in the
database so use this carefully.  This is due to the very simplistic support
for OGR currently in OpenEV.  I would like to improve this.

A longer term issue is that OpenEV tries to load whole layers into memory
regardless of the current geographic view extents, so very large layers will
always cause problems.  This is true of even shapefiles and is fairly
intrinsic in the way vectors are handled in OpenEV.

Best regards,

-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent






More information about the postgis-users mailing list