[gdal-dev] GEOS geometries SRS not set

Martin Chapman chapmanm at pixia.com
Mon Feb 20 14:05:28 EST 2012


Thanks for the clarification.  Is there a way to submit a ticket if I
don't have a login?

Best regards,

-----Original Message-----
From: gdal-dev-bounces at lists.osgeo.org
[mailto:gdal-dev-bounces at lists.osgeo.org] On Behalf Of Frank Warmerdam
Sent: Monday, February 20, 2012 11:58 AM
To: gdal-dev at lists.osgeo.org
Subject: Re: [gdal-dev] GEOS geometries SRS not set

On 12-02-20 10:54 AM, Martin Chapman wrote:
> 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. Is this by design or is it an oversight? If by design, 
> what was the reasoning? I'm using 1.8.1.


Is it an omission; however, I will caution that the SRS property on
geometries is not taking very seriously in OGR.  Many drivers neglect to
set it, and there are few methods that utilize it.  If you file a ticket
we can try and fixup the GEOS bindings.

Best regards,
I set the clouds in motion - turn up   | Frank Warmerdam,
warmerdam at pobox.com
light and sound - activate the windows | http://home.gdal.org/warmerda
and watch the world go round - Rush    | Geospatial Software Developer

gdal-dev mailing list
gdal-dev at lists.osgeo.org

More information about the gdal-dev mailing list