Opened 6 years ago

Closed 6 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: trunk
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 6 years ago.

Download all attachments as: .zip

Change History (3)

Changed 6 years ago by rouault

comment:1 Changed 6 years ago by Bborie Park

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 Changed 6 years ago by Bborie Park

Resolution: fixed
Status: assignedclosed

Committed in r8630. Thanks rouault!

Note: See TracTickets for help on using tickets.