[Featureserver] [lgarcia@blom.es: FeatureServer Question, thank's]

Christopher Schmidt crschmidt at metacarta.com
Wed Jun 6 07:55:14 EDT 2007


On Tue, Jun 05, 2007 at 01:44:21PM -0400, Christopher Schmidt wrote:
>    I'm Laura Garc?a, a software developer from a Spanish company. We 
> work a lot with SIG, and in fact I try to make an example application 
> with OpenLayers, FeatureServer and a PostGis BD. I've tried to config 
> featureServer, but I can't see any result. I think I make some mistakes 
> but I feel lost. I wanted to know if you could support me to get it.
> Firstly, I'm sorry for my English mistakes and secondly I tell you what 
> I do at the moment. I created my PostGis BD and a html page (very 
> simple) whit openlayers. It was easy. But now, I don't know what i do to 
> use FeatureServer.
>    I config 'featureserver.cfg' file, I write somethin like this:
> 
>    [mylayer]
>    type=PostGIS
>    dsn=laguna
>    layer=buzones
>    fid=gid
>    geometry=geom
> 
> and I modify another file:  ' /apache/conf/httpd.conf ', I add a new 
> directory...
>          <directory /featureserver/>
>                addhandler cgi-script   .cgi
>                options  +ExecCGI
>          </directory>
> 

Okay. If you go to
http://localhost/webdir/of/featureserver/featureserver.cgi/mylayer ,
what do you get? 

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Featureserver mailing list