[Featureserver] Assorted problems

Yves Moisan yves.moisan at boreal-is.com
Fri Mar 27 11:04:13 EDT 2009


> 
> Trunk is what I use when I need FeatureServer, and I'm not aware of any
> problems.

Same here.  On a related note, I submitted a patch to handle char
encoding in PostGIS.py that was included in trunk a couple of weeks
ago.  

I don't know the specifics of your issue, but mine was that I had
ISO-8859-1 encoded strings in PG that I couldn't handle with the default
encoding (UTF-8) of FS.  The result of the patch is that you can now add
an "encoding" parameter in featureserver.cfg and specify the char set
you want e.g.

[YOURLAYER]
type=PostGIS
dsn=host=localhost dbname=borehole_demo user= password=
layer=yourlayer
fid=some_id
geometry=the_geom_4326
srid=4326
** encoding=iso-8859-1 **
...
gaping_security_hole=yes

HTH,

Yves





More information about the Featureserver mailing list