[fdo-internals] [fdo-users] Shape file Extents
jumpinjackie at gmail.com
Tue Oct 14 23:30:40 EDT 2008
That would be wonderful. I'm sure I can pull many useful snippets out of the
FDO Toolbox code that may be of great use.
Jason Birch wrote:
> Hey, that's cool...
> I wonder if we should have a "Code Snippets" page on the wiki for things
> like this.
> Anyone have any objections? If not, I'll set one up.
> -----Original Message-----
> From: Shaik Esu
> Subject: RE: [fdo-users] Shape file Extents
> Hi All,
> Here is the c#.net code to get the extents of the featureclass.
> This code might help the new programmers to FDO like me.
> public IPolygon GetExtents()
> IPolygon retpolygon;
> ISelectAggregates pselagree =
> IFeatureReader FDOReader = pselagree.Execute();
> FgfGeometryFactory GeoFac = new FgfGeometryFactory();
> Byte Tmppts = FDOReader.GetGeometry("Geometry");
> IGeometry Geo = GeoFac.CreateGeometryFromFgf(Tmppts);
> retpolygon = (IPolygon)Geo;
> return retpolygon;
> fdo-internals mailing list
> fdo-internals at lists.osgeo.org
View this message in context: http://n2.nabble.com/RE%3A--fdo-users--Shape-file-Extents-tp1333271p1335485.html
Sent from the FDO Internals mailing list archive at Nabble.com.
More information about the fdo-internals