[Featureserver] newbie question - ogr datasource

alim karim alim.karim at gmail.com
Tue Jan 15 18:26:41 EST 2008


thanks for the response chris.

i haven't had much experience with python, but i can certainly give it
a shot if thats what it takes.

i am attaching the shapefile to this email. note that i've tried
different shapefiles without any success.

ak


On Jan 15, 2008 3:13 PM, Christopher Schmidt <crschmidt at metacarta.com> wrote:
> On Tue, Jan 15, 2008 at 11:13:06AM -0800, alim karim wrote:
> > does anyone know what is causing this error?
>
> "A bug."
>
> :)
>
> Looks likely that self.layer.GetFeature(action.id) is returning None.
> Don't know off the top of my head why that would happen, but it would
> cause it. You say you're using shapefiles: can you publish the shapefile
> you're using? Are you comfortable with Python such that you could do
> some interactive debugging with the code?
>
> Regards,
> --
> Christopher Schmidt
> MetaCarta
> _______________________________________________
> Featureserver mailing list
> Featureserver at openlayers.org
> http://featureserver.org/mailman/listinfo/featureserver
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grassland_with_fid.sbx
Type: application/octet-stream
Size: 116 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/featureserver/attachments/20080115/82ae61d7/grassland_with_fid.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: grassland_with_fid.shp
Type: application/octet-stream
Size: 10156 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/featureserver/attachments/20080115/82ae61d7/grassland_with_fid-0001.obj


More information about the Featureserver mailing list