Skip to content
Permalink
Browse files

gdaltools: add cubic interpolation to Build overviews tool (fix #6301)

  • Loading branch information
brushtyler committed Oct 2, 2012
1 parent 101cc38 commit c74090d655df84a8763cb0dea1005f3e70c883ee
@@ -15,7 +15,7 @@ class GdalToolsDialog( QWidget, Ui_Widget, BaseBatchWidget ):
def __init__( self, iface ):
QWidget.__init__( self )
self.iface = iface
self.resampling_method = ('nearest', 'average', 'gauss', 'average_mp', 'average_magphase', 'mode')
self.resampling_method = ('nearest', 'average', 'gauss', 'cubic', 'average_mp', 'average_magphase', 'mode')

self.setupUi( self )
BaseBatchWidget.__init__( self, self.iface, "gdaladdo" )
@@ -63,6 +63,11 @@
<string>gauss</string>
</property>
</item>
<item>
<property name="text">
<string>cubic</string>
</property>
</item>
<item>
<property name="text">
<string>average_mp</string>

4 comments on commit c74090d

@etiennesky

This comment has been minimized.

Copy link
Contributor

@etiennesky etiennesky replied Oct 4, 2012

Hi Giuseppe, would you consider including my widgets for save as options as well as overview options?

cheers,
Etienne

@brushtyler

This comment has been minimized.

Copy link
Contributor Author

@brushtyler brushtyler replied Oct 4, 2012

would you consider including my widgets for save as options as well as overview options?

I'm not sure which widget are you talking about. BTW, why not?

If you think your widgets fit better there, replace the current ones. And if you'd like I review your changes before pushing it to master just make a pull request or push the code to your QGis fork.

@etiennesky

This comment has been minimized.

Copy link
Contributor

@etiennesky etiennesky replied Oct 4, 2012

Hi

you can have a look at the raster save as dialog, and also in the GDAL prefs.
I made a widget for handling save profiles for both rasters and pyramids, and another raster for handling pyramids output options.

When I have the time I'll prepare a pull request and let you know.

@etiennesky

This comment has been minimized.

Copy link
Contributor

@etiennesky etiennesky replied Oct 7, 2012

Hi

please see my fork with changes to use the dialogs, it`s implemented in dem and pyramids dialogs. I left the old ui and code around for reference, which should be removed. Please comment on any issues/suggestions.

https://github.com/etiennesky/Quantum-GIS/tree/gdaltools

Please sign in to comment.
You can’t perform that action at this time.