RE: [Qgis-user] [QGIS-LIST] Contour plugin install under OSGEO4W - follow-up

2010-01-20 Thread Benoit de Cabissole
Lionel, list,

- 1 -
In fact the contour plugin has been made redundant by the inclusion of the
contour option from the Raster menu (gdal utils)!
Sorry for the noise...

- 2 -
Is it a bug (WinXP - QGIS 1.4 - OSGEO4W)?
   Contour menu from Raster menu.
   - select a raster (a tiff file)
   - select the output folder
   - select the contour interval (150 in my case)
   - select the field value: CONT
   - select to display the resulting shapefile in the QGIS canvas
   - click OK

- all is fine, shapefile is created but it is not loaded.
   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-boun...@lists.osgeo.org
 [mailto:qgis-user-boun...@lists.osgeo.org]on Behalf Of Benoit de
 Cabissole
 Sent: Monday, 18 January 2010 13:41
 To: qgis-user@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:lroubey...@limair.asso.fr]
  Sent: Monday, 18 January 2010 12:50
  To: Benoit de Cabissole
  Cc: qgis-user@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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


RE: [Qgis-user] [QGIS-LIST] Contour plugin install under OSGEO4W - follow-up

2010-01-20 Thread Paolo Cavallini

I can confirm this on several win machines.

On Wed, 20 Jan 2010 10:51:41 +0200, Benoit de Cabissole c...@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-boun...@lists.osgeo.org
 [mailto:qgis-user-boun...@lists.osgeo.org]on Behalf Of Benoit de
 Cabissole
 Sent: Monday, 18 January 2010 13:41
 To: qgis-user@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:lroubey...@limair.asso.fr]
  Sent: Monday, 18 January 2010 12:50
  To: Benoit de Cabissole
  Cc: qgis-user@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@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user

-- 
http://faunalia.it/pc
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


RE: [Qgis-user] [QGIS-LIST] Contour plugin install under OSGEO4W - follow-up

2010-01-20 Thread M . E . Dodd
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-boun...@lists.osgeo.org 
[mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of Paolo Cavallini
Sent: 20 January 2010 10:18
To: Benoit de Cabissole
Cc: qgis-user@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 c...@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-boun...@lists.osgeo.org
 [mailto:qgis-user-boun...@lists.osgeo.org]on Behalf Of Benoit de
 Cabissole
 Sent: Monday, 18 January 2010 13:41
 To: qgis-user@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:lroubey...@limair.asso.fr]
  Sent: Monday, 18 January 2010 12:50
  To: Benoit de Cabissole
  Cc: qgis-user@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@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user

--
http://faunalia.it/pc

Re: [Qgis-user] [QGIS-LIST] Contour plugin install under OSGEO4W - follow-up

2010-01-20 Thread Jürgen E . Fischer
Hi Benoit,

On Wed, 20. Jan 2010 at 10:51:41 +0200, Benoit de Cabissole wrote:


 - all is fine, shapefile is created but it is not loaded.
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.

Did you install the third party DLLs?  See [1]


Jürgen

[1] 
http://www.qgis.org/wiki/OSGeo4wSetup#Installing_support_for_raster__.2A.ECW_.28ERMapper.29_and_.2A.sid_.28MrSid.29_formats

-- 
Jürgen E. Fischer norBIT GmbH   Tel. +49-4931-918175-20
Dipl.-Inf. (FH)   Rheinstraße 13Fax. +49-4931-918175-50
Software Engineer D-26506 Norden   http://www.norbit.de

-- 
norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH
Rheinstrasse 13, 26506 Norden
GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


RE: [Qgis-user] [QGIS-LIST] Contour plugin install under OSGEO4W -follow-up

2010-01-20 Thread Benoit de Cabissole
Hi Jurgen,

Jürgen E. Fischer wrote:

 Hi Benoit,

 On Wed, 20. Jan 2010 at 10:51:41 +0200, Benoit de Cabissole wrote:


  - all is fine, shapefile is created but it is not loaded.
 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.

 Did you install the third party DLLs?  See [1]


Not specifically for verion QGIS 1.4 from OSGEO4W. I've installed those dlls
long ago for QGIS 1.0.x standalone and never removed them from the system.
In QGIS 1.4 I can open MrSID file with no problems. But opening ecw  jp2
files has problems.

So I copied those 4 dlls to the OSGeo4W\bin folder and, miracle, everything
is working fine:
- opening of ecw and jp2 files does not have problems anymore...
- contour from the raster menu (gdal) does not complain anymore...

Jürgen, you're a star. Many thanks.


Warning for other OSGEO4W users:
On a new installation of OSGEO4W, please copy the 4 dlls from ERMapper SDK
into the OSGEO4W bin folder. Even if the SDK has been previously installed,
OSGEO4W QGIS will not be able to correctly use the installed dlls.

Benoit




 Jürgen

 [1]

http://www.qgis.org/wiki/OSGeo4wSetup#Installing_support_for_raster__.2A.ECW
_.28ERMapper.29_and_.2A.sid_.28MrSid.29_formats


___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] [QGIS-LIST] Contour plugin install under OSGEO4W - follow-up

2010-01-20 Thread Paolo Cavallini
M.E.Dodd ha scritto:
 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.

Ticket open:

https://trac.faunalia.it/GdalTools-plugin/ticket/41

Thanks for feedback.
Hopefully this will be fixed soon.
All the best.
-- 
Paolo Cavallini: http://www.faunalia.it/pc
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] [QGIS-LIST] Contour plugin install under OSGEO4W

2010-01-18 Thread Lionel Roubeyrie

Hi Benoit,
Have you tried to install shapely windows .exe from the pypi repository?
http://pypi.python.org/pypi/Shapely

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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user




--
Lionel Roubeyrie - lroubey...@limair.asso.fr
Chargé d'études
LIMAIR - la Surveillance de l'Air en Limousin
http://www.limair.asso.fr



___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


RE: [Qgis-user] [QGIS-LIST] Contour plugin install under OSGEO4W

2010-01-18 Thread Benoit de Cabissole
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@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-user
 
 

 --
 Lionel Roubeyrie - lroubey...@limair.asso.fr
 Chargé d'études
 LIMAIR - la Surveillance de l'Air en Limousin
 http://www.limair.asso.fr




___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] [QGIS-LIST] Contour plugin install under OSGEO4W

2010-01-18 Thread Lionel Roubeyrie

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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user




--
Lionel Roubeyrie - lroubey...@limair.asso.fr
Chargé d'études
LIMAIR - la Surveillance de l'Air en Limousin
http://www.limair.asso.fr





___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user




--
Lionel Roubeyrie - lroubey...@limair.asso.fr
Chargé d'études
LIMAIR - la Surveillance de l'Air en Limousin
http://www.limair.asso.fr



___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


RE: [Qgis-user] [QGIS-LIST] Contour plugin install under OSGEO4W

2010-01-18 Thread Benoit de Cabissole
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:lroubey...@limair.asso.fr]
 Sent: Monday, 18 January 2010 12:50
 To: Benoit de Cabissole
 Cc: qgis-user@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@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-user
 
 
 
  --
  Lionel Roubeyrie - lroubey...@limair.asso.fr
  Chargé d'études
  LIMAIR - la Surveillance de l'Air en Limousin
  http://www.limair.asso.fr
 
 
 
 
  ___
  Qgis-user mailing list
  Qgis-user@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-user
 
 

 --
 Lionel Roubeyrie - lroubey...@limair.asso.fr
 Chargé d'études
 LIMAIR - la Surveillance de l'Air en Limousin
 http://www.limair.asso.fr




___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] [QGIS-LIST] Contour plugin install under OSGEO4W

2010-01-16 Thread Benoit Mweb

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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user