Opened 12 years ago

Closed 12 years ago

#1421 closed enhancement (fixed)

[raster] [PATCH] Auto-set SRID in raster2pgsql from GetProjectionRef() info

Reported by: rouault Owned by: Bborie Park
Priority: medium Milestone: PostGIS 2.0.0
Component: raster Version: master
Keywords: Cc:

Description

If the SRID is not explicitely set, the following patch tries to identify the EPSG code from the GetProjectionRef() string and assign it as the SRID.

Attachments (1)

raster2pgsql_autoset_srid.patch (2.3 KB ) - added by rouault 12 years ago.

Download all attachments as: .zip

Change History (3)

by rouault, 12 years ago

comment:1 by Bborie Park, 12 years ago

Owner: changed from pracine to Bborie Park
Status: newassigned
Summary: [PATCH] Auto-set SRID in raster2pgsql from GetProjectionRef() info[raster] [PATCH] Auto-set SRID in raster2pgsql from GetProjectionRef() info

Thanks rouault for the patch. I'll merge it and fix it for commit shortly.

comment:2 by Bborie Park, 12 years ago

Resolution: fixed
Status: assignedclosed

Committed in r8630. Thanks rouault!

Note: See TracTickets for help on using tickets.