[Community] PGFeatureSource is an IFeatureSource
Eric Lemoine
eric.c2c at gmail.com
Sat Jul 7 09:22:10 EEST 2007
On 7/6/07, Sean Gillies <sgillies at frii.com> wrote:
> Eric Lemoine wrote:
> > Hello,
> >
> > Going through the code I noticed that the PGFeatureSource class
> > doesn't implement IFeatureSource. It should, shouln't it? If so, I'll
> > open a ticket and create a patch.
> >
> > Thanks,
> > --
> > Eric
>
> That would be a bug.
>
> BTW, I've been considering a simpler feature API. Some notes are at
>
> http://trac.gispython.org/projects/PCL/wiki/ReadWriteFeatureStores
>
> The current feature/source/store API is more or less derived from
> GeoTools and the Java GeoAPI, and is a bit clunky. Any opinion on that?
I also find it a bit glunky - easy to guess that comes from the Java world :-)
Your ReadWriteFeatureStores notes are of interest to me. I've started
working with SQLAlchemy, and I find it very goo - its model is both
simple and powerfull. Don't know much about Django though.
Btw, have you heard about GeoDjango
(<http://code.djangoproject.com/wiki/GeoDjango>)?
--
Eric
More information about the Community
mailing list