Need to convert the OGR and WFS layer types to use the generic lp->layerinfo
instead of custom handles. Important note: be careful about WFS since it's a
wrapper around OGR...
Steve Lime wrote:
>
> Dan: I've taken care of this for everything but the 2 you mention. I'll
> be hidding the shpfile structs behind the layerinfo pointer too.
>
> Steve
>
> >>> Daniel Morissette <morissette@dmsolutions.ca> 02/17/03 16:46 PM >>>
> Steve Lime wrote:
> >
> > Dan: I'm poking around the code a bunch trying to wrap stuff up.
> Anyway,
> > one thing I noticed is the variety of layerinfo pointers in the layer
> > object, one for each connection type. For simplicity wouldn't it be
> just
> > as easy to specify a single (eg. void *layerinfo;) pointer? We already
> > do that for iteminfo.
> >
>
> I agree that this would be a nice change, but there may be an issue with
> merging the WFS and OGR layers since the WFS layer uses an OGR
> connection, so both the wfslayerinfo and the ogrlayerinfo are used at
> the same time. You could leave the WFS and OGR there untouched and let
> me know when your other changes are done and I'll take care of fixing
> them myself by creating a combined data structure for WFS and OGR.
>