[Qgis-user] [QGIS-LIST] Contour plugin install under OSGEO4W - follow-up
M.E.Dodd
M.E.Dodd at open.ac.uk
Wed Jan 20 02:32:16 PST 2010
Interesting that someone says contour plugin works via windows standalone as on my xp machine via windows standalone it won't work with this error:
"The process failed to start. Either the invoked program is missing, or you may have insufficient permissions to invoke the program."
-----Original Message-----
From: qgis-user-bounces at lists.osgeo.org [mailto:qgis-user-bounces at lists.osgeo.org] On Behalf Of Paolo Cavallini
Sent: 20 January 2010 10:18
To: Benoit de Cabissole
Cc: qgis-user at lists.osgeo.org
Subject: RE: [Qgis-user] [QGIS-LIST] Contour plugin install under OSGEO4W - follow-up
I can confirm this on several win machines.
On Wed, 20 Jan 2010 10:51:41 +0200, "Benoit de Cabissole" <cabi at mweb.co.za>
wrote:
> Module issues the following error:
> ERROR 1: Can't load requested DLL:
> C:\PROGRAMS\OSGeo4W\apps\gdal-16\bin\gdalplugins\gdal_ECW_JP2ECW.dll 126:
> The specified module could not be found. ERROR 1: Can't load requested
DLL:
> C:\PROGRAMS\OSGeo4W\apps\gdal-16\bin\gdalplugins\gdal_ECW_JP2ECW.dll 126:
> The specified module could not be found.
>
> The dll exists at the requested location! So the error message is
> misleading.
> Tried to not select display the resulting shapefile in the QGIS canvas,
> same
> result.
>
> Here is what gdal is receiving:
> gdal_contour -a CONT -i 150 C:/Interp/Rasters/Geophy/AS_G.tif
> C:/Interp/Rasters/Geophy/contours
>
> Can this behaviour be confirmed?
>
> Benoit
>
>
>
>> -----Original Message-----
>> From: qgis-user-bounces at lists.osgeo.org
>> [mailto:qgis-user-bounces at lists.osgeo.org]On Behalf Of Benoit de
>> Cabissole
>> Sent: Monday, 18 January 2010 13:41
>> To: qgis-user at lists.osgeo.org
>> Subject: RE: [Qgis-user] [QGIS-LIST] Contour plugin install under
>> OSGEO4W
>>
>>
>> Lionel,
>>
>> Thanks for the link.
>> The simplest for me, not being proficient in python at all, is to go the
>> GRASS route for now...
>>
>> Cheers,
>> Benoit
>>
>>
>> > -----Original Message-----
>> > From: Lionel Roubeyrie [mailto:lroubeyrie at limair.asso.fr]
>> > Sent: Monday, 18 January 2010 12:50
>> > To: Benoit de Cabissole
>> > Cc: qgis-user at lists.osgeo.org
>> > Subject: Re: [Qgis-user] [QGIS-LIST] Contour plugin install under
>> > OSGEO4W
>> >
>> >
>> > Benoit,
>> > I never used OSGEO4W, I only work on Linux workstations. Like says
here
>> > http://trac.osgeo.org/osgeo4w/wiki/pkg-python, you need to
>> > install modules under
>> > the osgeo4w python directory, then effectively the .exe file
>> > provided by shapely
>> > won't work, sorry for the mistake :( Maybe playing with ctypes
>> > under the osgeo4w
>> > installation, but I don't know how to...
>> > With GRASS yes you have some contours possiblities.
>> >
>> > Le 18/01/2010 10:50, Benoit de Cabissole a écrit :
>> > > Hi Lionel,
>> > >
>> > > Thanks for your reply.
>> > >
>> > >
>> > >> Lionel Roubeyrie wrote:
>> > >> Hi Benoit,
>> > >> Have you tried to install shapely windows .exe from the pypi
>> > repository?
>> > >> http://pypi.python.org/pypi/Shapely
>> > >
>> > > Yes, I've tried. I had Python 2.5 installed as a standalone
>> app with the
>> > > shapely .exe installed in its tree. I've removed the standalone
>> > python and
>> > > all its modules and now the shapely .exe cannot install because
>> > there is no
>> > > trace of python in the Windows registry anymore! (The windows
>> > installer for
>> > > python modules seems to look up in the registry to locate the
>> > path(s) of the
>> > > installed python(s), but OSGEO4W does not show itself in the
>> > registry and
>> > > I've been unable to find any trick, while running shapely .exe,
>> > to go pass
>> > > the install screen where you have to select the python tree to
>> > install to.)
>> > > As I understand it, the OSGEO4W system is a UNIX-like
>> > environment (e.g. à la
>> > > 'msys') and I was thinking that a UNIX-like install is the only way
>> > > to
>> > > install python modules in OSGEO4W?!?
>> > >
>> > > Note that the contour plugin works fine with the standalone
>> > versions of QGIS
>> > > (1.4& 1.3) and the standalone version of python. It's only in
>> > the OSGEO4W
>> > > environment that the pluging fails to install because shapely is not
>> > > packaged with OSGEO4W. Question is: can shapely be included in
>> > the OSGEO4W
>> > > system?
>> > >
>> > > Under OSGEO4W, the alternative would be to use GRASS plugin to do
the
>> > > contouring?
>> > >
>> > > Benoit
>> > >
>> > >
>> > >>
>> > >> Le 16/01/2010 11:47, Benoit Mweb a écrit :
>> > >>> Hi List,
>> > >>>
>> > >>> I'm trying to install the Contour python plugin under QGIS 1.4 and
>> > >>> OSGEO4W on WinXP machine. Problem is that the plugin requires
>> > Shapely to
>> > >>> be installed in python OSGEO4W. But I have no way to install
>> > Shapely: it
>> > >>> depends on CTypes that does not seem to be implemented in
>> > Python OSGEO4W
>> > >>> (when installing Shapely with "Python setup install" I've
>> got an error
>> > >>> saying CTypes is needed). And I cannot install CTypes
>> because there is
>> > >>> no compiler in the msys install.
>> > >>>
>> > >>> Does anybody know how to install the Contour plugin under
>> > >> OSGEO4W? Thanks.
>> > >>>
>> > >>> Benoit
>> > >>> WinXP - QGIS 1.4 - OSGEO4W
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
--
http://faunalia.it/pc
_______________________________________________
Qgis-user mailing list
Qgis-user at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user
The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302).
More information about the Qgis-user
mailing list