Hi, Thanks Even! This solves the problem!
2012/9/5 Even Rouault <[email protected]> > Selon Gabriel Fusca <[email protected]>: > > > 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. > > Good. > > > > > > pgeometry->Intersects(pquerypoly) > > > > Intersects perform a transformation to verify the intersection of the > > geometries? > > No. The geometries passed to Intersects (and all other methods that take 2 > geometries as input) must be in the same SRS. So you have to transform one > of > them to the SRS of the other with TransformTo(). > -- Gabriel Fusca SUR Emprendimientos Tecnológicos Perú 345 Piso 5to Oficina "B" (C1067AAG) Ciudad de Buenos Aires, Argentina Tel. +54 (11) 4342-2976/84 [email protected] http://www.suremptec.com/
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
