Re: [Qgis-developer] iface missing 'removeToolBar'

2014-03-21 Thread p0cisk
Hello Rochard
Use del statement to remove toolbars:

#add toolbar
tb = iface.addtoolBar(My Toolbar)
#remove toolbar
del tb

Regards
Piotr



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/iface-missing-removeToolBar-tp5130257p5130258.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] how to run an external program from QGIS and catch its output?

2014-03-18 Thread p0cisk
Hello Hugo,
Try QProcess class. It has signals for process finish and reading from
stdout.

Regards
Piotr



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/how-to-run-an-external-program-from-QGIS-and-catch-its-output-tp5129610p5129650.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Road graph plugin broken?

2014-03-14 Thread p0cisk
Hello
This should be fixed in https://github.com/qgis/QGIS/pull/1242
Please test it

Regards

-
Piotr Pociask
GIS Support - http://www.gis-support.pl/



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Road-graph-plugin-broken-tp5128802p5129128.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Digitize curves

2014-02-04 Thread p0cisk
Hi Radim
For smoothing lines you can use v.generalize tool from GRASS GIS or
Generalizer plugin (which is based on v.generalizer).

Regards
Piotr Pociask



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Digitize-curves-tp5101672p5101772.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Digitize curves

2014-02-04 Thread p0cisk
Hi Radim
For smoothing lines you can use v.generalize tool from GRASS GIS or
Generalizer plugin (which is based on v.generalizer).
This is not automagic however

Regards
Piotr Pociask



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Digitize-curves-tp5101672p5101774.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Digitize curves

2014-02-04 Thread p0cisk
Hi Radim
For smoothing lines you can use v.generalize tool from GRASS GIS or
Generalizer plugin (which is based on v.generalizer).
This is not automagic hoverer

Regards
Piotr Pociask



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Digitize-curves-tp5101672p5101773.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] osmSearch Plugin approval notification

2013-12-04 Thread p0cisk
Hi all,
I was uploaded osmSearch Plugin v 0.3.1 30 of June and it has not been
reviewed since then!
Can anyone approve it, it fix character encoding error.

Regards
Piotr Pociask



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/osmSearch-Plugin-approval-notification-tp5092745.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] Regression in opening ArcGIS personal geodatabase

2013-06-04 Thread p0cisk
Hi all,
There is a regression between QGIS master 1.9.0-294 (00a9a7de) and 1.9.0-295
(24bffbf262) in opening ArcGIS personal geodatabase files (mdb). When I'm
trying to open file window for choosing layer popups but Number of features
isn't correct and after choosing layer it's apear in QGIS but nowhting is
shown. In properties there are fields but metadata are empty.

I think this is related with commit af0f61e6 (OGR provider - virtual
sublayers for each geometry type in 
multi geometry layers). 

Anyone can confirm that?

Win7 64 bit, QGIS master from OSGeo4W installer

Regards
Piotr



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Regression-in-opening-ArcGIS-personal-geodatabase-tp5057647.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] A faster update than mapCanvas().refresh()?

2013-03-12 Thread p0cisk
Hi
Maybe you can replace QgsVertexMarker with QgsMapCanvasItem which has own
paint method? This is implemented in GPS live tracking.
You can find sample code here:
http://www.mail-archive.com/qgis-developer@lists.osgeo.org/msg00297.html

Regards



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/A-faster-update-than-mapCanvas-refresh-tp5039627p5039948.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Install without admin rights on Windows

2013-02-11 Thread p0cisk
Hii
I'm using osgeo4w installer running from .bat file like this:

@echo off
set __COMPAT_LAYER=RUNASINVOKER
start  C:\path\to\osgeo4w.exe

But I agree that this is not optimal solution and osgeo4w should run without
admin rights.

Regards



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Install-without-admin-rights-on-Windows-tp5033398p5033415.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] Saving to a DBF

2013-02-11 Thread p0cisk
Hi Victor,Why not to save attributes to CSV format? I think it's more
portable format. If you want to save also field types you can use  .csvt
http://www.gdal.org/ogr/drv_csv.html  file.RegardsPiotr



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Saving-to-a-DBF-tp5033519p5033545.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] identify tool for plugins

2013-01-17 Thread p0cisk
Hi Denis
Thanks for your plugin, it's very useful.

When I have a large feature to display and layer isn't in edit mode (edit is
disabeld) I can't scroll edit to see all coords, also copy is impossible.
Maybe you could replace setEnabled with setReadOnly flag - this would solve
problem and prevent user to change something when edit mode of layer is
disabled.

Also, maybe you could add possibility to add new features to layer from WKT
string (something like QuickWKT but adding to existing layer).

Regards
Peter



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/identify-tool-for-plugins-tp5028065p5028198.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


Re: [Qgis-developer] more advanced editing tools

2012-11-30 Thread p0cisk
Hi Giovanni,
You're probably talking about Ringer plugin. This was one of my first plugin
and it was wrote for issue  #3187 http://hub.qgis.org/issues/3187  .
Some time ago I have short e-mail talk with Carson Farmer to include this
functionality into fTools. Because of that I don't move it to new
repository.

What do you mean about asking for attributes? To copy them from parent
polygon or popup form for each new polygon?

Regards,
Peter



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/more-advanced-editing-tools-tp5019552p5019884.html
Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] Re: generalizer

2011-09-04 Thread p0cisk
My chaiken algorithm differs from GRASS v.generalize. It's based on method
described here:
http://www.multires.caltech.edu/teaching/demos/java/chaikin.htm and uses
level and weight parameters to calculate output line while GRASS chaiken's
uses only threshold parameter.
If you play with demo on then site I linked above you will understand how my
algorithm works.

Regards
Peter

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/generalizer-tp6741351p6758717.html
Sent from the qgis-developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer


[Qgis-developer] Re: generalizer

2011-09-04 Thread p0cisk

Paolo Cavallini wrote:
 
 Perhaps you could add an About button, with links to the explanations of
 parameters
 and algorithms?
 

Yes, I'm planning to write some help for plugin (with algorithms
description), when I release 1.0 version.
So far I have done some work but I must translate it to english.

Regards
Peter

--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/generalizer-tp6741351p6758914.html
Sent from the qgis-developer mailing list archive at Nabble.com.
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer