Opened 13 years ago

Closed 13 years ago

#1421 closed enhancement (fixed)

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

Reported by: rouault Owned by: dustymugs
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 13 years ago.

Download all attachments as: .zip

Change History (3)

by rouault, 13 years ago

comment:1 by dustymugs, 13 years ago

Owner: changed from pracine to dustymugs
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 dustymugs, 13 years ago

Resolution: fixed
Status: assignedclosed

Committed in r8630. Thanks rouault!

Note: See TracTickets for help on using tickets.