Opened 11 years ago

Closed 10 years ago

#4572 closed enhancement (fixed)

Setting SRS of Geometries created via GEOS functions

Reported by: mchapman Owned by: warmerdam
Priority: low Milestone: 1.10.0
Component: OGR_SF Version: unspecified
Severity: trivial Keywords: GEOS
Cc:

Description

It appears that when new OGR geometries are created using the spatial operations features of GEOS via OGR methods like ConvexHull, Buffer, etc… that the spatial reference of the newly created OGR geometry is not assigned. It would be nice if the newly created geometries had their srs set to the same srs that they derived from.

Change History (1)

comment:1 by Even Rouault, 10 years ago

Milestone: 2.0.0
Resolution: fixed
Status: newclosed

r24894: OGR Geometry: set SRS of geometries created via GEOS functions from the source geometry (idem for geometries returned by OGR_G_ForceXXXX() methods) (#4572)

In the case of methods accepting another geometry as parameter (ex. Union, Intersection, etc...), the SRS is only set if the 2 input geometries share the same SRS.

Note: See TracTickets for help on using tickets.