[Qgis-user] QGIS Image Clipper Plugin Available

Agustin Lobo alobolistas at gmail.com
Tue Sep 1 01:28:43 PDT 2009


Very interested on both, many thanks for your
contribution.
I've tested on ubuntu jaunty with unstable qgis 1.2.0:

1.Image clipping (should not be named raster clipping?):
Once I click "Clip the Image": I get:

An error has occured while executing Python code:

Traceback (most recent call last):
  File 
"/home/alobo/.qgis//python/plugins/image_clipper/dlgimageclipper.py", 
line 228, in ClipImage
    gdal_merge(gdalstring)
  File 
"/home/alobo/.qgis//python/plugins/image_clipper/gdal_merge_bb.py", line 
467, in gdal_merge
    fi.copy_into( t_fh, band, band, nodata )
  File 
"/home/alobo/.qgis//python/plugins/image_clipper/gdal_merge_bb.py", line 
241, in copy_into
    nodata_arg )
  File 
"/home/alobo/.qgis//python/plugins/image_clipper/gdal_merge_bb.py", line 
48, in raster_copy
    nodata )
  File 
"/home/alobo/.qgis//python/plugins/image_clipper/gdal_merge_bb.py", line 
84, in raster_copy_with_nodata
    t_xsize, t_ysize )
  File "/usr/lib/python2.5/site-packages/osgeo/gdal.py", line 831, in 
ReadAsArray
    import gdalnumeric
  File "/usr/lib/python2.5/site-packages/osgeo/gdalnumeric.py", line 1, in
    from gdal_array import *
  File "/usr/lib/python2.5/site-packages/osgeo/gdal_array.py", line 7, in
    import _gdal_array
ImportError: dynamic module does not define init function (init_gdal_array)


2. zoom-to-point plugin
After installation, I get the same message as reported by Giovanni
(just tried 09/1 10:22 am GMT+2)
"The plugin seems to have been installed but I don't know where...."

But the directory gets to its right place ant the plugin works.

Just a suggestion: Could you add (optionally) a circle around the point? 
Even if it is the
central point, sometimes you want to make sure it's around the feature 
you want.

Agus

Bob Bruce wrote:
> Hi:
>     I have a plugin available that people may be interested in 
> testing. This can be used to extract and combine portions of one or 
> more image layers in QGIS. I have only used this on Windows but 
> hopefully it would work OK in Linux also. You can get it and some test 
> data by going to the page: 
> http://www.mappinggeek.ca/QGISPythonPlugins/Bobs-QGIS-plugins.xml . We 
> have been using this plugin a lot at my workplace to extract the 
> useable portions of scanned photography that we have georeferenced 
> using the GDAL Georeferencer plugin.
>
> There is also the zoom-to-point plugin that I have tweaked to work 
> better with zoom levels.
>
>       Bob Bruce
> ------------------------------------------------------------------------
>
>
> No virus found in this outgoing message.
> Checked by AVG - www.avg.com 
> Version: 8.5.409 / Virus Database: 270.13.71/2335 - Release Date: 08/30/09 06:36:00
>
>   
> ------------------------------------------------------------------------
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>   




More information about the Qgis-user mailing list