How to get the extent of an ogr data (shapefile). I need to read the xMin,
yMin, xMax,yMax
how to do that
--
Rashad
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
Rashad,
There is an example of usage of GetExtent() in the code for ogrinfo utility.
http://trac.osgeo.org/gdal/browser/trunk/gdal/apps/ogrinfo.cpp#L379
On Fri, Jan 28, 2011 at 6:35 PM, Mohammed Rashad mohammedrasha...@gmail.com
wrote:
How to get the extent of an ogr data (shapefile). I need
OGRPolygon *polygon = (OGRPolygon *) poGeometry;
OGRLinearRing *extring = polygon-getExteriorRing();
for(int i=0;iextring-getNumPoints();i++)
{
cout extring-getX(i) :
extring-getY(i) endl;
}
the
On 11-01-28 10:57 AM, Mohammed Rashad wrote:
OGRPolygon *polygon = (OGRPolygon *) poGeometry;
OGRLinearRing *extring = polygon-getExteriorRing();
for(int i=0;iextring-getNumPoints();i++)
{
cout extring-getX(i)
hi all,excuse me for not giving up. i undertook some additional tests, and i got the same problems i described below. But i can't believe that nobody is working with gdal and modis level 1b data. At least this format is listet as supported at http://www.gdal.org/frmt_hdf4.html.So my question: does
How to reproject a shapefile to geographic coordinates by code? using OGR
--
Rashad
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/gdal-dev
Folks,
In gdal trunk I have made changes to the way plugins are loaded for GDAL
and OGR. Now each directory in the search path will first be checked for
a subdirectory with the ABI version as the name
(ie. /usr/local/lib/gdalplugins/1.8). If found that directory will be
used instead of the
Hi,
I've been working with the GDAL/OGR 1.7.3 release and writing geometries to
SDE when I ran into an issue. The code forces a value into a SDE table's
primary key field by automatically incrementing records starting with the
value of 1. I don't see this as a practical implementation because