Opened 14 years ago

Closed 14 years ago

#3151 closed patch (fixed)

Enable "Source SRS" when SRS available

Reported by: alexbruy Owned by: brushtyler
Priority: minor: annoyance Milestone: Version 1.6.0
Component: Python plugins and bindings Version:
Keywords: gdaltools warp Cc: dr, gislab
Must Fix for Release: No Platform: All
Platform Version: Awaiting user input: no

Description

When raster is georeferenced it's SRS displayed in "Source SRS" field of the GdalTools Warp dialog. But by default this option is disabled. This is a it's a little inconvenient.

Proposed patch makes this option enabled by default when information about raster CRS is available

Attachments (2)

enable_s_srs.diff (2.0 KB ) - added by alexbruy 14 years ago.
Proposed patch
enable_s_srs_ticket_3151.diff (2.2 KB ) - added by brushtyler 14 years ago.
alex's patch with one change (it always retrieves the crs using the GdalTools_utils' function)

Download all attachments as: .zip

Change History (4)

by alexbruy, 14 years ago

Attachment: enable_s_srs.diff added

Proposed patch

by brushtyler, 14 years ago

alex's patch with one change (it always retrieves the crs using the GdalTools_utils' function)

comment:1 by brushtyler, 14 years ago

Status: newassigned

The new patch gets the crs using the GdalTools_utils' related function. Some layers have a CRS that QGis doesn't manage without creating an "User defined CRS", in this case the QGis epsg() function return 0.

I saw that there's the same issue also in translate tool retrieving the target CRS, so I'm going to fix it.

comment:2 by brushtyler, 14 years ago

Resolution: fixed
Status: assignedclosed

fixed from r14450

Note: See TracTickets for help on using tickets.