[Qgis-user] Re: Qgis-user Digest, Vol 67, Issue 1

2011-09-01 Thread Darrel Camden-Smith
WRT Message 2 and the Profile from line tool I also had a problem  
using this plugin. I am running Mac OSx ver 10.5.8. I have installed  
QGIS and Python and the other suggested package installers. I found  
the shapely tool and downloaded it tried to install but had no joy.  
Used the Python 3.2 tool to try do that. Any ideas or help would be  
greatly appreciated.


Darrel Camden-Smith
dar...@geoserveafrica.com
www.geoserveafrica.com

On 01 Sep 2011, at 6:00 PM, qgis-user-requ...@lists.osgeo.org wrote:


Send Qgis-user mailing list submissions to
qgis-user@lists.osgeo.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.osgeo.org/mailman/listinfo/qgis-user
or, via email, send a message with subject or body 'help' to
qgis-user-requ...@lists.osgeo.org

You can reach the person managing the list at
qgis-user-ow...@lists.osgeo.org

When replying, please edit your Subject line so it is more specific
than Re: Contents of Qgis-user digest...


Today's Topics:

  1. RE: is it possible to print attribute tables? (Alister Hood)
  2. Re: Profile Tool (Alister Hood)
  3. RE: How Do I Set Field Calculator Units For Area (Alister Hood)


--

Message: 1
Date: Thu, 1 Sep 2011 09:37:07 +1200
From: Alister Hood alister.h...@synergine.com
Subject: RE: [Qgis-user] is it possible to print attribute tables?
To: qgis-user@lists.osgeo.org
Message-ID:
AAFD34025E073F47B5F892A97BAFFCAA5D0D8D@aklserver02.Synergine.local
Content-Type: text/plain;   charset=us-ascii

In case you don't know: you can also add an attribute table to a
composer layout, but that won't be convenient if you want to print a
long attribute table over multiple pages.

Alister


Date: Wed, 31 Aug 2011 17:58:00 +0100
From: Alexandre Neto senhor.n...@gmail.com
Subject: Re: [Qgis-user] is it possible to print attribute tables?
To: Andrew Novak novak.a...@gmail.com
Cc: qgis-user@lists.osgeo.org
Message-ID:


ca+h0g_gzkmadvr9msgyaqskgydefgbeckkwcmpvad6hevm8...@mail.gmail.com

Content-Type: text/plain; charset=iso-8859-1

There is probably a better way of doing this, but if you are talking

about a

shapefile, you can simply open the DBF file in OpenOffice or

LibreOffice,

and Print it.

Alexandre Neto

On Wed, Aug 31, 2011 at 5:16 PM, Andrew Novak novak.a...@gmail.com

wrote:



is it possible to print attribute tables?



--

Message: 2
Date: Thu, 1 Sep 2011 10:18:08 +1200
From: Alister Hood alister.h...@synergine.com
Subject: Re: [Qgis-user] Profile Tool
To: qgis-user@lists.osgeo.org
Cc: garcia.si...@gmail.com
Message-ID:
AAFD34025E073F47B5F892A97BAFFCAA5D0D94@aklserver02.Synergine.local
Content-Type: text/plain;   charset=us-ascii

Hi guys,
You can manually extract the files from the shapely installer (using
e.g. Izarc or 7zip, or possibly just by renaming it as .zip or
something), and put them in the right places.
You need to put the shapely folder (from inside PURELIB) in e.g.
C:\OSGeo4W\apps\Python25\Lib\site-packages\, and the geos.dll and
libgeos-3-2-2.dll in I think C:\OSGeo4W\bin, although instead of
installing those I seem to have got it working by editing
C:\OSGeo4W\apps\Python25\Lib\site-packages\shapely\geos.py to use the
lib from OSGeo4W instead (C:\OSGeo4W\bin\geos_c.dll).

For the record, there is also an open ticket (with a suggested script)
for registering the OSGeo4W Python with Windows, so that python  
package

installers can find it: http://trac.osgeo.org/osgeo4w/ticket/114

Regarding the profile tool plugin, Micha, it definitely runs on  
Windows.
But on one of my machines I also got that error message about having  
no

Qwt5.
If I remember correctly, the problem was something like this: it
requires the latest Qwt5 (or PyQwt5) in the OSGeo4W repository, but  
this

machine only had an older version installed, and the OSGeo4W installer
was not showing the latest version for some reason.
I believe to fix it I uninstalled PyQwt5 and Qwt5, then reinstalled
them.

Alister


Date: Wed, 31 Aug 2011 10:35:44 -0500
From: David Fawcett david.fawc...@gmail.com
Subject: Re: [Qgis-user] Profile Tool
To: Ricardo Filipe Soares Garcia da ricardo.garcia.si...@gmail.com
Cc: qgis-user@lists.osgeo.org
Message-ID:


CAF7K3b-RvCLBswiq807pE-a9+_pCB2LUwu+X+eQmK0=pekg...@mail.gmail.com

Content-Type: text/plain; charset=ISO-8859-1

There is a windows installer for Shapely.
http://pypi.python.org/pypi/Shapely#downloads

The problem that I ran into was that the installer defaults to the
Python install listed in the Registry.  For me, (and probably most
people), that is not the Python instance installed by OSGEO4W.  At
least last time that I attempted the install, there was no way to  
tell

the Shapely installer to use a different Python instance.

David.

On Wed, Aug 31, 2011 at 8:15 AM, Ricardo Filipe Soares Garcia da
ricardo.garcia.si...@gmail.com wrote:

Hi Micha

Concerning the 'Profile 

RE: [Qgis-user] How Do I Set Field Calculator Units For Area

2011-09-01 Thread Giovanni Manghi
Calculations are in the project CRS unit if OTFR is enabled, if not, the
layer CRS unit is set in the general tab of the project properties.

cheers

-- Giovanni --

On Thu, 2011-09-01 at 11:18 +1200, Alister Hood wrote:
 Hi there,
 I *think* the area calculations are always in the unit for the layer's
 CRS.  So you could either:
 - find out what this unit is, and convert the areas to square feet by
 multiplying by the correct factor, or
 - convert the layer to a CRS which uses square feet.
 N.B. there is a feature request to enable coordinate conversion in the
 field calculator (although I didn't mention that it would be useful also
 for area and length calculations).  See http://hub.qgis.org/issues/4078
 
 Alister
 
  Date: Wed, 31 Aug 2011 11:18:32 -0500
  From: Andrew Novak novak.a...@gmail.com
  Subject: [Qgis-user] How Do I Set Field Calculator Units For Area
  Calcs?
  To: qgis-user@lists.osgeo.org
  Message-ID:
 
 CAO0Lqnon=aJMKGUb=BPacqxgn+PGn4G2vpe8sn=epxyt+pk...@mail.gmail.com
  Content-Type: text/plain; charset=iso-8859-1
  
  The area calculations from my field calculator are in an unknown unit.
 I
  simply want my units to be square feet. How can I set my units in the
 field
  calculator??
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user


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


[Qgis-user] ideas on calculating polygon area on a sloping/irregular surface

2011-09-01 Thread maning sambale
Hi,

This came up in one of our workshops.  Users wants to calculate the
area incorporating surface/terrain changes.  Any idea on how to do it
in QGIS?

-- 
cheers,
maning
--
Freedom is still the most radical idea of all -N.Branden
wiki: http://esambale.wikispaces.com/
blog: http://epsg4253.wordpress.com/
--
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Rasters alpha channel black instead of transparent

2011-09-01 Thread Craig Leat
Pedro Venâncio wrote:
 The Transparency band on the Transparency tab is always Not set. This 
 option will be enabled in the near future?

It's a work in progress. See:
http://www.qgis.org/wiki/Raster_Development_Page#Transparency_Class

Regards,

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


Re: [Qgis-user] Rasters alpha channel black instead of transparent

2011-09-01 Thread Pedro Venâncio
Hi Craig,

Thank you, I'll be waiting! ;)


Best regards,
Pedro





- Original Message -
From: Craig Leat 

Pedro Venâncio wrote:
 The Transparency band on the Transparency tab is always Not set. This 
 option will be enabled in the near future?

It's a work in progress. See:
http://www.qgis.org/wiki/Raster_Development_Page#Transparency_Class

Regards,

Craig

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


RE: [Qgis-user] How Do I Set Field Calculator Units For Area

2011-09-01 Thread Alister Hood
Hi Giovanni,
Either you are mistaken, or there is a bug.  I have OTFR enabled, and the field 
calculator returns the same area when I set the project CRS to EPSG:32074 
(which uses feet), as it does when I set the project CRS to any normal CRS 
which uses metres.

Alister

 -Original Message-
 From: Giovanni Manghi [mailto:giovanni.man...@gmail.com]
 Sent: Thursday, 1 September 2011 7:58 p.m.
 To: Alister Hood
 Cc: qgis-user@lists.osgeo.org
 Subject: RE: [Qgis-user] How Do I Set Field Calculator Units For Area
 
 Calculations are in the project CRS unit if OTFR is enabled, if not, the
 layer CRS unit is set in the general tab of the project properties.
 
 cheers
 
 -- Giovanni --
 
 On Thu, 2011-09-01 at 11:18 +1200, Alister Hood wrote:
  Hi there,
  I *think* the area calculations are always in the unit for the layer's
  CRS.  So you could either:
  - find out what this unit is, and convert the areas to square feet by
  multiplying by the correct factor, or
  - convert the layer to a CRS which uses square feet.
  N.B. there is a feature request to enable coordinate conversion in the
  field calculator (although I didn't mention that it would be useful also
  for area and length calculations).  See http://hub.qgis.org/issues/4078
 
  Alister
 
   Date: Wed, 31 Aug 2011 11:18:32 -0500
   From: Andrew Novak novak.a...@gmail.com
   Subject: [Qgis-user] How Do I Set Field Calculator Units For Area
 Calcs?
   To: qgis-user@lists.osgeo.org
   Message-ID:
  
  CAO0Lqnon=aJMKGUb=BPacqxgn+PGn4G2vpe8sn=epxyt+pk...@mail.gmail.com
   Content-Type: text/plain; charset=iso-8859-1
  
   The area calculations from my field calculator are in an unknown unit.
  I
   simply want my units to be square feet. How can I set my units in the
  field
   calculator??
  ___
  Qgis-user mailing list
  Qgis-user@lists.osgeo.org
  http://lists.osgeo.org/mailman/listinfo/qgis-user
 

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


RE: [Qgis-user] How Do I Set Field Calculator Units For Area

2011-09-01 Thread Alister Hood
Oh,
I should also mention that if I copy a feature to another layer which uses a 
different CRS but the same units, then the field calculator returns a 
_slightly_ different area (e.g. NZGD2000 vs NZGD49).

 -Original Message-
 From: Alister Hood
 Sent: Friday, 2 September 2011 10:28 a.m.
 To: 'giovanni.man...@gmail.com'
 Cc: qgis-user@lists.osgeo.org
 Subject: RE: [Qgis-user] How Do I Set Field Calculator Units For Area
 
 Hi Giovanni,
 Either you are mistaken, or there is a bug.  I have OTFR enabled, and the 
 field
 calculator returns the same area when I set the project CRS to EPSG:32074
 (which uses feet), as it does when I set the project CRS to any normal CRS
 which uses metres.
 
 Alister
 
  -Original Message-
  From: Giovanni Manghi [mailto:giovanni.man...@gmail.com]
  Sent: Thursday, 1 September 2011 7:58 p.m.
  To: Alister Hood
  Cc: qgis-user@lists.osgeo.org
  Subject: RE: [Qgis-user] How Do I Set Field Calculator Units For Area
 
  Calculations are in the project CRS unit if OTFR is enabled, if not, the
  layer CRS unit is set in the general tab of the project properties.
 
  cheers
 
  -- Giovanni --
 
  On Thu, 2011-09-01 at 11:18 +1200, Alister Hood wrote:
   Hi there,
   I *think* the area calculations are always in the unit for the layer's
   CRS.  So you could either:
   - find out what this unit is, and convert the areas to square feet by
   multiplying by the correct factor, or
   - convert the layer to a CRS which uses square feet.
   N.B. there is a feature request to enable coordinate conversion in the
   field calculator (although I didn't mention that it would be useful also
   for area and length calculations).  See http://hub.qgis.org/issues/4078
  
   Alister
  
Date: Wed, 31 Aug 2011 11:18:32 -0500
From: Andrew Novak novak.a...@gmail.com
Subject: [Qgis-user] How Do I Set Field Calculator Units For Area
Calcs?
To: qgis-user@lists.osgeo.org
Message-ID:
   
   CAO0Lqnon=aJMKGUb=BPacqxgn+PGn4G2vpe8sn=epxyt+pk...@mail.gmail.com
Content-Type: text/plain; charset=iso-8859-1
   
The area calculations from my field calculator are in an unknown unit.
   I
simply want my units to be square feet. How can I set my units in the
   field
calculator??
   ___
   Qgis-user mailing list
   Qgis-user@lists.osgeo.org
   http://lists.osgeo.org/mailman/listinfo/qgis-user
 

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


Re: [Qgis-user] Profile Tool

2011-09-01 Thread David Fawcett
Alister,

Thank you for this new strategy!

David.

On Wed, Aug 31, 2011 at 5:18 PM, Alister Hood
alister.h...@synergine.com wrote:
 Hi guys,
 You can manually extract the files from the shapely installer (using
 e.g. Izarc or 7zip, or possibly just by renaming it as .zip or
 something), and put them in the right places.
 You need to put the shapely folder (from inside PURELIB) in e.g.
 C:\OSGeo4W\apps\Python25\Lib\site-packages\, and the geos.dll and
 libgeos-3-2-2.dll in I think C:\OSGeo4W\bin, although instead of
 installing those I seem to have got it working by editing
 C:\OSGeo4W\apps\Python25\Lib\site-packages\shapely\geos.py to use the
 lib from OSGeo4W instead (C:\OSGeo4W\bin\geos_c.dll).

 For the record, there is also an open ticket (with a suggested script)
 for registering the OSGeo4W Python with Windows, so that python package
 installers can find it: http://trac.osgeo.org/osgeo4w/ticket/114

 Regarding the profile tool plugin, Micha, it definitely runs on Windows.
 But on one of my machines I also got that error message about having no
 Qwt5.
 If I remember correctly, the problem was something like this: it
 requires the latest Qwt5 (or PyQwt5) in the OSGeo4W repository, but this
 machine only had an older version installed, and the OSGeo4W installer
 was not showing the latest version for some reason.
 I believe to fix it I uninstalled PyQwt5 and Qwt5, then reinstalled
 them.

 Alister

 Date: Wed, 31 Aug 2011 10:35:44 -0500
 From: David Fawcett david.fawc...@gmail.com
 Subject: Re: [Qgis-user] Profile Tool
 To: Ricardo Filipe Soares Garcia da ricardo.garcia.si...@gmail.com
 Cc: qgis-user@lists.osgeo.org
 Message-ID:

 CAF7K3b-RvCLBswiq807pE-a9+_pCB2LUwu+X+eQmK0=pekg...@mail.gmail.com
 Content-Type: text/plain; charset=ISO-8859-1

 There is a windows installer for Shapely.
 http://pypi.python.org/pypi/Shapely#downloads

 The problem that I ran into was that the installer defaults to the
 Python install listed in the Registry.  For me, (and probably most
 people), that is not the Python instance installed by OSGEO4W.  At
 least last time that I attempted the install, there was no way to tell
 the Shapely installer to use a different Python instance.

 David.

 On Wed, Aug 31, 2011 at 8:15 AM, Ricardo Filipe Soares Garcia da
 ricardo.garcia.si...@gmail.com wrote:
  Hi Micha
 
  Concerning the 'Profile from Line' plugin, I've opened a ticket some
  months ago at OSGEO4W's bugtracker asking for packaging of a more
  recent version of the Shapely package but haven't had a reply. I
 guess
  they haven't gotten around to do it yet.
 
  However, I believe there must be a way of installing Shapely (and
  other Python packages) separately and then make them available
 inside
  OSGEO4W. Unfortunately I have never tried to do so, as I never had
  such a need. Maybe others can help out.
 
  Best regards
 
  2011/8/31 Micha Silver mi...@arava.co.il:
  I'm trying to install the Profile Tool plugin on an OSGeo4W setup.
 The
  plugin won't install saying it needs Qwt5, but that library should
 be
  install by the OSGeo4W-setup.
 
  WHat am I missing?
 
  BTW, the Profile from Line plugin need s Shapely 1.2 and the
 OSGeo4W has
  shapely 1.0. So is there no profile tool for Win users?
 
  Thanks,
 
  Micha

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


Re: [Qgis-user] Toporama in QGIS in UTM

2011-09-01 Thread John Abraham
Thanks for the success report.  I'll reinstall the latest QGIS and see if it 
helps.  I notice that regardless of what I do with the project CRS the 
coordinate box at the bottom of the window still shows lat-long type 
coordinates (you know -115, 51) not UTM type coordinates (-10188693, 15984693 
in your example.)  When I try to zoom-to-layer it doesn't move, so maybe 
zoom-to-layer is broken with WMS?  I tried zooming out far enough to show it 
but I don't think I zoomed out to 10 to 15 million.


On 2011-09-01, at 2:37 PM, Richard Duivenvoorde wrote:

 On 09/01/2011 09:37 PM, John Abraham wrote:
 I've been able to load layers from Toporama WMS 
 http://wms.ess-ws.nrcan.gc.ca/wms/toporama_en into Quantum, but only in 
 WGS84.  If I try to load them in UTM11N nothing appears, the layers appear 
 in the layer pane but nothing shows up on the screen.
 
 I change my project properties to the right UTM zone and tried both enabling 
 and not enabling the on the fly CRS transformation, but it still shows up 
 as blank.
 
 Can someone else try?  Any ideas?  QGIS 1.6.0 with GDAL/OGR 1.7.3 Mac OSX 
 Snow Leopard.
 
 tried here qgis master (dev version_ on ubuntu).
 
 besides wgs84 also EPSG:2294 and EPSG:900913 are working (see
 attachments)...
 
 (I took gif als image format...)
 
 Regards,
 
 Richard Duivenvoorde
 osm.pngqgis.png

--
John Abraham
jabra...@ucalgary.ca



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


Re: [Qgis-user] Toporama in QGIS in UTM

2011-09-01 Thread John Abraham
Works with QGIS 1.7.0 on OSX. Thanks.  

The Canadian TOPO WMS is great because it's seamless and you can select/order 
the layers, but the content is not as good as the original geotiffs which can 
be downloaded ftp://ftp2.cits.nrcan.gc.ca/pub/toporama/

--
John 


On 2011-09-01, at 2:37 PM, Richard Duivenvoorde wrote:

 On 09/01/2011 09:37 PM, John Abraham wrote:
 I've been able to load layers from Toporama WMS 
 http://wms.ess-ws.nrcan.gc.ca/wms/toporama_en into Quantum, but only in 
 WGS84.  If I try to load them in UTM11N nothing appears, the layers appear 
 in the layer pane but nothing shows up on the screen.
 
 I change my project properties to the right UTM zone and tried both enabling 
 and not enabling the on the fly CRS transformation, but it still shows up 
 as blank.
 
 Can someone else try?  Any ideas?  QGIS 1.6.0 with GDAL/OGR 1.7.3 Mac OSX 
 Snow Leopard.
 
 tried here qgis master (dev version_ on ubuntu).
 
 besides wgs84 also EPSG:2294 and EPSG:900913 are working (see
 attachments)...
 
 (I took gif als image format...)
 
 Regards,
 
 Richard Duivenvoorde
 osm.pngqgis.png

--
John Abraham
jabra...@ucalgary.ca



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


[Qgis-user] Problem on Starting QGIS after compiling from sourcecode

2011-09-01 Thread troy
Hey guys, here's my problem for days:

I compiled QGIS 1.7 from source code on my Win7 32bit system using VS2010,
according to official instruction INSTALL.pdf. There's little problem on
compiling: 

1. downloaded and installed depended components including cmake, flex,
bison, osgeo4w (with needed plugins); 

2. recompiled qt SDK for VS2010;

3. built a batch command file using the codes from INSTALL.pdf;

4. configured the build folder using cmake-gui.exe;

5. opened the generated qgis.1.7.0.sln using VS2010;

6. run the ALL_BUILD, INSTALL, PACKAGE, uninstall targets in VS2010.

 

Everything runs well without one error. Finally, the INSTALL target built a
program foler C:\Program Files\qgis1.7.0, and the PACKAGE target built an
installation exe package.

 

However, I cannot start the generated qgis.exe program. Every time I click
the icon, the OS tells me that the program is crashing.

 

The INSTALL.pdf said, I should includes all needed Dlls to run the
program. But how do I know which dll is needed? I compared the folder
structure to the standalone version's folder structure, finding little in
common. Anyone know some details?

 

Thanks!

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