Hi,
I'm using Gdal 1.9.
I have a function that has to perform a intersection of a geometry based on
the click that is made on the screen.
The raster file (Geotiff) that has a projected reference system (WGS 84 /
UTM zone 21S) and the geometry a georeferenced system (EPSG - 4326 WGS84).
The cli
Sorry, I forget to say that I built Gdal with GEOS
2012/9/4 Gabriel Fusca
> Hi,
>
> I'm using Gdal 1.9.
>
> I have a function that has to perform a intersection of a geometry based
> on the click that is made on the screen.
>
> The raster file (Geotiff) that has a projected reference system (WGS
Le mardi 04 septembre 2012 23:04:16, Gabriel Fusca a écrit :
> Hi,
>
> I'm using Gdal 1.9.
>
> I have a function that has to perform a intersection of a geometry based on
> the click that is made on the screen.
>
> The raster file (Geotiff) that has a projected reference system (WGS 84 /
> UTM z
Hi,
Thanks for the answer.
> OGRPoint querypoint = OGRPoint(Point.x_, Point.y_);
> querypoint.assignSpatialReference(new OGRSpatialReference(SrWkt.c_str()));
It is not necessary to transform the query point because the Point is at
the same spatial reference system.
> pgeometry->Intersects(pquer
Selon Gabriel Fusca :
> Hi,
>
> Thanks for the answer.
>
> > OGRPoint querypoint = OGRPoint(Point.x_, Point.y_);
> > querypoint.assignSpatialReference(new OGRSpatialReference(SrWkt.c_str()));
>
> It is not necessary to transform the query point because the Point is at
> the same spatial reference
Hi,
Thanks Even! This solves the problem!
2012/9/5 Even Rouault
> Selon Gabriel Fusca :
>
> > Hi,
> >
> > Thanks for the answer.
> >
> > > OGRPoint querypoint = OGRPoint(Point.x_, Point.y_);
> > > querypoint.assignSpatialReference(new
> OGRSpatialReference(SrWkt.c_str()));
> >
> > It is not n