[gdal-dev] How to compare the horizontal coordinate systems of two WKTs

2016-03-04 Thread John Hayes
Hi, I need to find out if two WKTs have the same horizontal coordinate systems. I found OSRIsSameVertCS() but I need some like it for horizontal CS. I'm thinking something like this should do the trick: ref1 = OSRNewSpatialReference(wkt1); if (OSRIsCompound(ref1)) ref1 = (ref1);

Re: [gdal-dev] Hard coded Pi constants

2016-03-04 Thread Tanuj Kumar
Yes, it should be _USE_MATH_DEFINES, my bad. On Fri, Mar 4, 2016 at 12:26 AM, Jan Heckman wrote: > Hi Tanuj, > It is _USE_MATH_DEFINES, not _USE_MATH_CONSTANTS in VC. > My experience is this works AND is needed for math constants in VS2008, > VS2013 and VS2015. VS2015 is the community version, t

[gdal-dev] Google Summer of Code

2016-03-04 Thread Tanuj Kumar
Hello, I am interested in applying for GSoC this year. Currently, I am reading up on the GDAL Summer of Code ideas list. I know C++ and C, and I have some experience on working on linux. Could the mentors please recommend a bug for me to work on, I'd really love to start off as soon as possible! T