[Featureserver] connecting to PostGIS - WinXP
psycopg2 install question
Yves Moisan
yves.moisan at boreal-is.com
Fri Aug 29 09:35:10 EDT 2008
>
> I have my features displaying from postgis perfectly through openlayers. The
> only thing that I have not got working is writing edits back to the
> database. I think this is because I need to build and add
> simplejson-1.9.2.tar.gz to my python ( but just guessing!). Perhaps someone
> else can offer some insight
>
I haven't checked if JSON allows one to write back to PG but here are
steps to install simplejson on XP :
In whatever your FeatureServer root in a console :
wget http://cheeseshop.python.org/packages/source/s/simplejson/simplejson-1.7.1.tar.gz
tar -zvxf simplejson-1.7.1.tar.gz
cp -r simplejson-1.7.1/simplejson /var/www/featureserver
Those NIX commands work in XP if you install UnxUtils first then
put ...\UnxUtils\usr\local\wbin on your PATH. I always have a hard time
googling for the right location of that : try
http://unxutils.sourceforge.net/.
HTH,
Yves Moisan
More information about the Featureserver
mailing list