Re: [Qgis-developer] Official QGIS crashes on startup: EarthBeat, ValueTool plugins?

2012-06-21 Thread Jürgen E . Fischer
Hi Paolo,

On Thu, 21. Jun 2012 at 20:10:46 +0200, Paolo Cavallini wrote:
> No message from the console, just "Errore di segmentazione".
> Any hint?

Backtrace?


Jürgen 

-- 
Jürgen E. Fischer norBIT GmbH   Tel. +49-4931-918175-31
Dipl.-Inf. (FH)   Rheinstraße 13Fax. +49-4931-918175-50
Software Engineer D-26506 Norden   http://www.norbit.de
committ(ed|ing) to Quantum GIS IRC: jef on FreeNode 


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

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


Re: [Qgis-developer] Official QGIS crashes on startup: EarthBeat, ValueTool plugins?

2012-06-21 Thread Paolo Cavallini
Il 22/06/2012 01:44, William Kyngesburye ha scritto:
> It may be the same problem as on OS X?  PyQwt needed by valueTool (and
> profileTool, others) is not compatible with the latest PyQt, and probably 
> never
> will be.  Plugins using PyQwt need to find another toolbox.

I think you got it: libqwt6 6.0.0-1.2 + python-qwt5-qt4 
5.2.1~cvs20091107+dfsg-6+b2
here. Does also EarthBeat use qwt?
Should the plugins be deprecated?
All the best.
-- 
Paolo Cavallini - Faunalia
www.faunalia.eu
Full contact details at www.faunalia.eu/pc
Nuovi corsi: http://www.faunalia.it/calendario
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Official QGIS crashes on startup: EarthBeat, ValueTool plugins?

2012-06-21 Thread William Kyngesburye
It may be the same problem as on OS X?  PyQwt needed by valueTool (and 
profileTool, others) is not compatible with the latest PyQt, and probably never 
will be.  Plugins using PyQwt need to find another toolbox.

On Jun 21, 2012, at 1:10 PM, Paolo Cavallini wrote:

> Hi all.
> I remove my custom packaged qgis, and installed the official one, on debian 
> unstable,
> from qgis.org. It crashes on startup, but with --noplugin it is ok.
> Reactivating plugins, it apparently crashes when activating EarthBeat or 
> ValueTool
> plugins. The same plugins were running fine in my self compiled version. No 
> message
> from the console, just "Errore di segmentazione".
> Any hint?
> All the best.
> -- 
> Paolo Cavallini - Faunalia
> www.faunalia.eu
> Full contact details at www.faunalia.eu/pc
> Nuovi corsi: http://www.faunalia.it/calendario
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer

-
William Kyngesburye 
http://www.kyngchaos.com/

"History is an illusion caused by the passage of time, and time is an illusion 
caused by the passage of history."

- Hitchhiker's Guide to the Galaxy


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


[Qgis-developer] pyQgis: How to create a map composition in 1:20 scale

2012-06-21 Thread Luca Mandolesi
Hi to all,
I'm trying to pass to the map composition a layer, setting the scale at 1:20.

with this method I'm creating a bbox around my geometry, then I
convert the measures (in meters) into 1:20 scale to obtain the
dimension of my page.
For example: for a bbox of 1x2 meters I want print a page 5 cm x 10 cm.




def converter_1_20(self, n):
n *= 100
res = n / 20
return res

def test_bbox(self):
self.layerUS.select( [] ) # recuperi tutte le geometrie senza 
attributi
featPoly = QgsFeature() # crei una feature vuota per il poligono

dizionario_id_contains = {}
lista_quote = []

self.layerUS.nextFeature( featPoly ) # cicli sulle feature
recuperate, featPoly conterra la feature poligonale attuale
bbox = featPoly.geometry().boundingBox() # recupera i punti nel 
bbox
del poligono

self.height = self.converter_1_20(float(bbox.height()))
self.width = self.converter_1_20(float(bbox.width()))


Then I try to pass this measures to map composition but I obtain a
different scale. I try to use the metod mapRenderer.setScale(1.20) but
this do nothing.

How can I pass to the printer system to obtain a 1:20 scale map?

Thanks a lot and best regards.
Luca


def print_map(self):
mapRenderer = self.iface.mapCanvas().mapRenderer()
mapRenderer.setScale(1.20)
mapRenderer.updateScale()
c = QgsComposition(mapRenderer)
c.setPlotStyle(QgsComposition.Print)

#map - this item tells the libraries where to put the map 
itself.
Here we create a map and stretch it over the whole paper size:
x, y = 0,-4

w, h = c.paperWidth(), c.paperHeight()
composerMap = QgsComposerMap(c, x, y, w, h)
c.addItem(composerMap)

#scale bar
item = QgsComposerScaleBar(c)
item.setStyle('Numeric') # optionally modify the style
item.setComposerMap(composerMap)
item.applyDefaultSize()
c.addItem(item)

width = self.height*10
height = self.width*10
dpi = 300


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


Re: [Qgis-developer] Official QGIS crashes on startup: EarthBeat, ValueTool plugins?

2012-06-21 Thread Giovanni Manghi
On Thu, 2012-06-21 at 20:10 +0200, Paolo Cavallini wrote:
> Hi all.
> I remove my custom packaged qgis, and installed the official one, on debian 
> unstable,
> from qgis.org. It crashes on startup, but with --noplugin it is ok.
> Reactivating plugins, it apparently crashes when activating EarthBeat or 
> ValueTool
> plugins. The same plugins were running fine in my self compiled version. No 
> message
> from the console, just "Errore di segmentazione".


with value tool and not earthbeat works fine here on both Windows and
Ubuntu

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


[Qgis-developer] Official QGIS crashes on startup: EarthBeat, ValueTool plugins?

2012-06-21 Thread Paolo Cavallini
Hi all.
I remove my custom packaged qgis, and installed the official one, on debian 
unstable,
from qgis.org. It crashes on startup, but with --noplugin it is ok.
Reactivating plugins, it apparently crashes when activating EarthBeat or 
ValueTool
plugins. The same plugins were running fine in my self compiled version. No 
message
from the console, just "Errore di segmentazione".
Any hint?
All the best.
-- 
Paolo Cavallini - Faunalia
www.faunalia.eu
Full contact details at www.faunalia.eu/pc
Nuovi corsi: http://www.faunalia.it/calendario
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Dissolve in a grid? (fTools)

2012-06-21 Thread Giovanni Manghi
Hi Eliott,

> I added it to the fTools plugin for my own purposes (added a line with a 
> checkbox and a grid spacing in the ui), but should I make a pull request 
> to have it included in the standard fTools - since my need may not be 
> universal?

can you propose and attach a patch on the QGIS bug tracker?

I will more than happy (like many other) to give it a try and test it.
The dissolve tool is really crappy right now.

cheers

-- Giovanni --

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


Re: [Qgis-developer] Announcing the release of QGIS 1.8

2012-06-21 Thread Ted
A Big Congratulation to the QGIS Team and Tim

Well done and go go go ...


Cheers
Ted





On Thu, Jun 21, 2012 at 5:25 PM, Ivan Mincik  wrote:

> Thanks a lot for your work.
>
> --
> Ivan Mincik
> ___
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Announcing the release of QGIS 1.8

2012-06-21 Thread Ivan Mincik
Thanks a lot for your work.

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


Re: [Qgis-developer] Announcing the release of QGIS 1.8

2012-06-21 Thread G. Allegri
Well done!
Thx a lot for the hard work of these days ;)

giovanni

2012/6/21 Salvatore Larosa 

> Congrats!
>
> Il giorno gio, 21/06/2012 alle 11.14 +0200, Tim Sutton ha scritto:
> > We are very pleased to announce the release of QGIS 1.8.0 'Lisboa'.
> > This release contains new features and extends the programmatic
> > interface over QGIS 1.0.x and QGIS 1.7.x
> >
> > Binary and source code packages are available at:
> >
> > http://download.qgis.org
> >
> > If there is not yet a package for your platform on the above page,
> > please check back regularly as packagers are still pushing out their
> > work and they will update the download page to reflect the new
> > packages. Along with the release of QGIS 1.8.0, the QGIS Community
> > Team is hard at work on an updated QGIS Users' Guide version 1.8.0.
> > The guide will be available in the near future - we will post
> > announcements when it is available.
> >
> > A word of thanks to our contributors, donors and sponsors
> >
> 
> >
> > QGIS is a largely volunteer driven project, and is the work of a
> > dedicated team of developers, documenters and supporters. We extend
> > our thanks and gratitude for the many, many hours people have
> > contributed to make this release happen. Many companies and
> > organisations contribute back improvements to QGIS when they use it as
> > their platform, and we are grateful for this and encourage others to
> > do the same! We would also like to thank our sponsors and donors for
> > helping to promote our work through their financial contributions. Our
> > current* sponsors are:
> >
> > Silver Sponsor
> >
> > - State of Vorarlberg (http://www.vorarlberg.at - Austria, November
> 2011)
> >
> > Bronze Sponsors
> > - Argusoft (http://www.argusoft.de - Germany, June 2012)
> > - GeoSynergy (http://www.geosynergy.com.au - Australia May, 2012)
> > - ibW Bildungszentrum Wald (http://www.bzwmaienfeld.ch - Switzerland,
> > March 2012)
> > - City of Uster (http://gis.uster.ch - Switzerland - November 2011)
> >
> > *QGIS Sponsorship is valid for one year.
> >
> > A current list of donors who have made contributions large and small
> > to the project can be seen here:
> >
> > http://qgis.org/en/sponsorship/donors.html
> >
> > If you would like to make a donation or sponsor our project, please
> > visit http://www.qgis.org/en/sponsorship.html . QGIS is Free software
> > and you are under no obligation to do so.
> >
> >
> > Visual tour of the new release:
> > 
> >
> > You can find a list of highlighted changes and new features listed on
> > the detailed release announcement available here:
> >
> > http://qgis.org/index.php?option=com_content&view=article&id=149
> >
> > New features with this release:
> > -
> > - QGIS Browser - a stand alone app and a new panel in QGIS. The
> > browser lets you easily navigate your file system and connection based
> > (PostGIS, WFS etc.) datasets, preview them and drag and drop items
> > into the canvas.
> > - DB Manager - the DB manager is now officially part of QGIS core. You
> > can drag layers from the QGIS Browser into DB Manager and it will
> > import your layer into your spatial database. Drag and drop tables
> > between spatial databases and they will get imported. You can use the
> > DB Manager to execute SQL queries against your spatial database and
> > then view the spatial output for queries by adding the results to QGIS
> > as a query layer.
> > - Action Tool - now there is a tool on the map tools toolbar that will
> > allow you to click on a vector feature and execute an action.
> > - MSSQL Spatial Support - you can now connect to your Microsoft SQL
> > Server spatial databases using QGIS.
> > - Customization - allows setting up simplified QGIS interface by
> > hiding various components of main window and widgets in dialogs.
> > - New symbol layer types - Line Pattern Fill, Point Pattern fill
> > - Composers - have multiple lines on legend items using a specified
> character
> > - Expression based labelling
> > - Heatmap tool - a new core plugin has been added for generating
> > raster heatmaps from point data. You may need to activate this plugin
> > using the plugin manager.
> > - GPS Tracking - The GPS live tracking user interface was overhauled
> > and many fixes and improvements were added to it.
> > - Menu Re-organisation - The menus were re-organised a little - we now
> > have separate menus for Vector and Raster and many plugins were
> > updated to place their menus in the new Vector and Raster top level
> > menus.
> > - Offset Curves - a new digitising tool for creating offset curves was
> added.
> > - Terrain Analysis Plugin - a new core plugin was added for doing
> > terrain analysis - and it can make really good looking coloured relief
> > maps.
> > - Ellipse renderer - symbollayer to render ellipse shapes (and

Re: [Qgis-developer] Announcing the release of QGIS 1.8

2012-06-21 Thread Salvatore Larosa
Congrats!

Il giorno gio, 21/06/2012 alle 11.14 +0200, Tim Sutton ha scritto:
> We are very pleased to announce the release of QGIS 1.8.0 'Lisboa'.
> This release contains new features and extends the programmatic
> interface over QGIS 1.0.x and QGIS 1.7.x
> 
> Binary and source code packages are available at:
> 
> http://download.qgis.org
> 
> If there is not yet a package for your platform on the above page,
> please check back regularly as packagers are still pushing out their
> work and they will update the download page to reflect the new
> packages. Along with the release of QGIS 1.8.0, the QGIS Community
> Team is hard at work on an updated QGIS Users' Guide version 1.8.0.
> The guide will be available in the near future - we will post
> announcements when it is available.
> 
> A word of thanks to our contributors, donors and sponsors
> 
> 
> QGIS is a largely volunteer driven project, and is the work of a
> dedicated team of developers, documenters and supporters. We extend
> our thanks and gratitude for the many, many hours people have
> contributed to make this release happen. Many companies and
> organisations contribute back improvements to QGIS when they use it as
> their platform, and we are grateful for this and encourage others to
> do the same! We would also like to thank our sponsors and donors for
> helping to promote our work through their financial contributions. Our
> current* sponsors are:
> 
> Silver Sponsor
> 
> - State of Vorarlberg (http://www.vorarlberg.at - Austria, November 2011)
> 
> Bronze Sponsors
> - Argusoft (http://www.argusoft.de - Germany, June 2012)
> - GeoSynergy (http://www.geosynergy.com.au - Australia May, 2012)
> - ibW Bildungszentrum Wald (http://www.bzwmaienfeld.ch - Switzerland,
> March 2012)
> - City of Uster (http://gis.uster.ch - Switzerland - November 2011)
> 
> *QGIS Sponsorship is valid for one year.
> 
> A current list of donors who have made contributions large and small
> to the project can be seen here:
> 
> http://qgis.org/en/sponsorship/donors.html
> 
> If you would like to make a donation or sponsor our project, please
> visit http://www.qgis.org/en/sponsorship.html . QGIS is Free software
> and you are under no obligation to do so.
> 
> 
> Visual tour of the new release:
> 
> 
> You can find a list of highlighted changes and new features listed on
> the detailed release announcement available here:
> 
> http://qgis.org/index.php?option=com_content&view=article&id=149
> 
> New features with this release:
> -
> - QGIS Browser - a stand alone app and a new panel in QGIS. The
> browser lets you easily navigate your file system and connection based
> (PostGIS, WFS etc.) datasets, preview them and drag and drop items
> into the canvas.
> - DB Manager - the DB manager is now officially part of QGIS core. You
> can drag layers from the QGIS Browser into DB Manager and it will
> import your layer into your spatial database. Drag and drop tables
> between spatial databases and they will get imported. You can use the
> DB Manager to execute SQL queries against your spatial database and
> then view the spatial output for queries by adding the results to QGIS
> as a query layer.
> - Action Tool - now there is a tool on the map tools toolbar that will
> allow you to click on a vector feature and execute an action.
> - MSSQL Spatial Support - you can now connect to your Microsoft SQL
> Server spatial databases using QGIS.
> - Customization - allows setting up simplified QGIS interface by
> hiding various components of main window and widgets in dialogs.
> - New symbol layer types - Line Pattern Fill, Point Pattern fill
> - Composers - have multiple lines on legend items using a specified character
> - Expression based labelling
> - Heatmap tool - a new core plugin has been added for generating
> raster heatmaps from point data. You may need to activate this plugin
> using the plugin manager.
> - GPS Tracking - The GPS live tracking user interface was overhauled
> and many fixes and improvements were added to it.
> - Menu Re-organisation - The menus were re-organised a little - we now
> have separate menus for Vector and Raster and many plugins were
> updated to place their menus in the new Vector and Raster top level
> menus.
> - Offset Curves - a new digitising tool for creating offset curves was added.
> - Terrain Analysis Plugin - a new core plugin was added for doing
> terrain analysis - and it can make really good looking coloured relief
> maps.
> - Ellipse renderer - symbollayer to render ellipse shapes (and also
> rectangles, triangles, crosses by specifying width and height).
> Moreover, the symbol layer allows to set all parameters (width,
> height, colors, rotation, outline with) from data fields, in mm or map
> units
> - New scale selector with predefined scales
> - Option to add l

[Qgis-developer] Announcing the release of QGIS 1.8

2012-06-21 Thread Tim Sutton
We are very pleased to announce the release of QGIS 1.8.0 'Lisboa'.
This release contains new features and extends the programmatic
interface over QGIS 1.0.x and QGIS 1.7.x

Binary and source code packages are available at:

http://download.qgis.org

If there is not yet a package for your platform on the above page,
please check back regularly as packagers are still pushing out their
work and they will update the download page to reflect the new
packages. Along with the release of QGIS 1.8.0, the QGIS Community
Team is hard at work on an updated QGIS Users' Guide version 1.8.0.
The guide will be available in the near future - we will post
announcements when it is available.

A word of thanks to our contributors, donors and sponsors


QGIS is a largely volunteer driven project, and is the work of a
dedicated team of developers, documenters and supporters. We extend
our thanks and gratitude for the many, many hours people have
contributed to make this release happen. Many companies and
organisations contribute back improvements to QGIS when they use it as
their platform, and we are grateful for this and encourage others to
do the same! We would also like to thank our sponsors and donors for
helping to promote our work through their financial contributions. Our
current* sponsors are:

Silver Sponsor

- State of Vorarlberg (http://www.vorarlberg.at - Austria, November 2011)

Bronze Sponsors
- Argusoft (http://www.argusoft.de - Germany, June 2012)
- GeoSynergy (http://www.geosynergy.com.au - Australia May, 2012)
- ibW Bildungszentrum Wald (http://www.bzwmaienfeld.ch - Switzerland,
March 2012)
- City of Uster (http://gis.uster.ch - Switzerland - November 2011)

*QGIS Sponsorship is valid for one year.

A current list of donors who have made contributions large and small
to the project can be seen here:

http://qgis.org/en/sponsorship/donors.html

If you would like to make a donation or sponsor our project, please
visit http://www.qgis.org/en/sponsorship.html . QGIS is Free software
and you are under no obligation to do so.


Visual tour of the new release:


You can find a list of highlighted changes and new features listed on
the detailed release announcement available here:

http://qgis.org/index.php?option=com_content&view=article&id=149

New features with this release:
-
- QGIS Browser - a stand alone app and a new panel in QGIS. The
browser lets you easily navigate your file system and connection based
(PostGIS, WFS etc.) datasets, preview them and drag and drop items
into the canvas.
- DB Manager - the DB manager is now officially part of QGIS core. You
can drag layers from the QGIS Browser into DB Manager and it will
import your layer into your spatial database. Drag and drop tables
between spatial databases and they will get imported. You can use the
DB Manager to execute SQL queries against your spatial database and
then view the spatial output for queries by adding the results to QGIS
as a query layer.
- Action Tool - now there is a tool on the map tools toolbar that will
allow you to click on a vector feature and execute an action.
- MSSQL Spatial Support - you can now connect to your Microsoft SQL
Server spatial databases using QGIS.
- Customization - allows setting up simplified QGIS interface by
hiding various components of main window and widgets in dialogs.
- New symbol layer types - Line Pattern Fill, Point Pattern fill
- Composers - have multiple lines on legend items using a specified character
- Expression based labelling
- Heatmap tool - a new core plugin has been added for generating
raster heatmaps from point data. You may need to activate this plugin
using the plugin manager.
- GPS Tracking - The GPS live tracking user interface was overhauled
and many fixes and improvements were added to it.
- Menu Re-organisation - The menus were re-organised a little - we now
have separate menus for Vector and Raster and many plugins were
updated to place their menus in the new Vector and Raster top level
menus.
- Offset Curves - a new digitising tool for creating offset curves was added.
- Terrain Analysis Plugin - a new core plugin was added for doing
terrain analysis - and it can make really good looking coloured relief
maps.
- Ellipse renderer - symbollayer to render ellipse shapes (and also
rectangles, triangles, crosses by specifying width and height).
Moreover, the symbol layer allows to set all parameters (width,
height, colors, rotation, outline with) from data fields, in mm or map
units
- New scale selector with predefined scales
- Option to add layers to selected or active group
- Pan To Selected tool
- New tools in Vector menu - densify geoemtries, Build spatial index
- Export/add geometry column tool can export info using layer CRS,
project CRS or ellipsoidal measurements
- Model/view based tree for rules in rule-based r

Re: [Qgis-developer] GGL2 - QGIS integration

2012-06-21 Thread Fernando González
>
> I don't think it is a big problem, it just possibly precludes us from
> shipping with GGL available 'out of the box' which reduces the
> potential user base.

Yes, I counted on that :/

I'm thinking of making the python plugin download and install GGL2
(which includes de jvm) in order to make this step easier...

>
> Regards
>
> Tim
>
>> regards.
>>
>>
>>>
>>> Regards
>>>
>>> Tim
>>> --
>>> Tim Sutton - QGIS Project Steering Committee Member (Release  Manager)
>>> ==
>>> Please do not email me off-list with technical
>>> support questions. Using the lists will gain
>>> more exposure for your issues and the knowledge
>>> surrounding your issue will be shared with all.
>>>
>>> Visit http://linfiniti.com to find out about:
>>>  * QGIS programming and support services
>>>  * Mapserver and PostGIS based hosting plans
>>>  * FOSS Consulting Services
>>> Skype: timlinux
>>> Irc: timlinux on #qgis at freenode.net
>>> ==
>>> ___
>>> Qgis-developer mailing list
>>> Qgis-developer@lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/qgis-developer
>>>
>
>
>
> --
> Tim Sutton - QGIS Project Steering Committee Member (Release  Manager)
> ==
> Please do not email me off-list with technical
> support questions. Using the lists will gain
> more exposure for your issues and the knowledge
> surrounding your issue will be shared with all.
>
> Visit http://linfiniti.com to find out about:
>  * QGIS programming and support services
>  * Mapserver and PostGIS based hosting plans
>  * FOSS Consulting Services
> Skype: timlinux
> Irc: timlinux on #qgis at freenode.net
> ==
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer