Opened 15 years ago

Closed 5 years ago

#2641 closed enhancement (wontfix)

[PATCH] Add projection support

Reported by: whitejf30114 Owned by: gaige
Priority: normal Milestone: closed_because_of_github_migration
Component: OGR_SRS Version: unspecified
Severity: normal Keywords:
Cc: warmerdam

Description

We'd like to get some changes adding projection support added to the GDAL mainline. We've added (C++ only) support for universal polar stereographic, vertical near side perspective, and transverse cylindrical equal area.

Attachments (4)

ogr_spatialref.h (22.5 KB ) - added by whitejf30114 15 years ago.
ogr_srs_api.h (28.2 KB ) - added by whitejf30114 15 years ago.
ogr_srs_proj4.cpp (70.0 KB ) - added by whitejf30114 15 years ago.
ogrspatialreference.cpp (195.0 KB ) - added by whitejf30114 15 years ago.

Download all attachments as: .zip

Change History (9)

by whitejf30114, 15 years ago

Attachment: ogr_spatialref.h added

by whitejf30114, 15 years ago

Attachment: ogr_srs_api.h added

by whitejf30114, 15 years ago

Attachment: ogr_srs_proj4.cpp added

by whitejf30114, 15 years ago

Attachment: ogrspatialreference.cpp added

comment:1 by Even Rouault, 14 years ago

How did you test and validate your changes ? While reviewing, I see something that looks like a bug :

+    else if( EQUAL(pszProj,"tcea") )
+    {
+        SetTM( OSR_GDV( papszNV, "lat_0", 0.0 ),
+               OSR_GDV( papszNV, "lon_0", 0.0 ),
+               OSR_GDV( papszNV, "k", 1.0 ),
+               OSR_GDV( papszNV, "x_0", 0.0 ),
+               OSR_GDV( papszNV, "y_0", 0.0 ) );
+    }

Should be SetTCEA rather ?

comment:2 by warmerdam, 14 years ago

Cc: warmerdam added
Owner: changed from warmerdam to gaige

Gaige,

Perhaps you can review this in the context of #3404?

in reply to:  2 comment:3 by gaige, 14 years ago

Replying to warmerdam:

Gaige,

Perhaps you can review this in the context of #3404?

WIll do.

-Gaige

comment:4 by Jukka Rahkonen, 9 years ago

Summary: Add projection support[PATCH] Add projection support

comment:5 by Even Rouault, 5 years ago

Milestone: closed_because_of_github_migration
Resolution: wontfix
Status: newclosed

This ticket has been automatically closed because Trac is no longer used for GDAL bug tracking, since the project has migrated to GitHub. If you believe this ticket is still valid, you may file it to https://github.com/OSGeo/gdal/issues if it is not already reported there.

Note: See TracTickets for help on using tickets.