[Featureserver] FeatureServer connection to PostGIS

Christopher Schmidt crschmidt at metacarta.com
Thu Jul 12 16:59:54 EDT 2007


On Thu, Jul 12, 2007 at 02:32:39PM -0500, Ed Fialkowski wrote:
> Hello, I have set up postGIS and I'm trying to connect FeatureServer to it.
> I have installed psycopg the best I can and run some tests that passed so I
> assume it's working okay.
> When I do a WFS request in the browser, I get:
>

When you run the interactive interpreter specified in featureserver.cgi, 
and type 

  import psycopg

Does it work? (To test this, copy the bit after the #! to a command line 
of some kind.)

I have a feeling that you're running different Python versions for your
tests and your CGI server test, so psycopg is not in the sys.path in the
latter environment.

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Featureserver mailing list