[Qgis-user] QGIS Image Clipper Plugin Available
Bruce, Bob (CON)
Bob.Bruce at gov.mb.ca
Wed Sep 2 13:49:32 PDT 2009
Agustin:
I did further testing today on Windows. I've found that
this plugin works fine with the QGIS Standalone installers, I tested it
with both the 1.1 and 1.2 installers. Then I downloaded a new version of
QGIS 1.2 OSGEO4W with several libraries selected and the plugin did not
work with that. I've put a posting into the developers list looking for
help.
I'll keep you posted.
Bob
-----Original Message-----
From: Agustin Lobo [mailto:alobolistas at gmail.com]
Sent: Wednesday, September 02, 2009 2:47 AM
To: Bruce, Bob (CON); qgis-user; qgis-developer
Subject: Re: [Qgis-user] QGIS Image Clipper Plugin Available
Bruce,
Hopefully you'll find help among the developers,
this is really a critical missing utility in QGIS.
Agus
Bruce, Bob (CON) wrote:
> Agustin:
> I have not seen any of these errors in the Windows
> version of QGIS. It must be related to a difference between the two
> systems. I only have one Linux system and it is CENTOS and I haven't
> been able to build QGIS there yet.
>
> It may be possible to have an option to draw a circle (or
> perhaps cross-hairs) after the draw is done at the coordinates that
are
> entered, I will check into this.
>
> Bob
>
> -----Original Message-----
> From: qgis-user-bounces at lists.osgeo.org
> [mailto:qgis-user-bounces at lists.osgeo.org] On Behalf Of Agustin Lobo
> Sent: Tuesday, September 01, 2009 3:29 AM
> To: Bob Bruce
> Cc: QGIS User List
> Subject: Re: [Qgis-user] QGIS Image Clipper Plugin Available
>
> 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
>>
>>
>
> _______________________________________________
> 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