Re: [QGIS-Developer] C++ Plugin plugin_builder.py

2019-04-01 Thread Siki Zoltan

Dear Susann,

you have to install plugin builder plugin frm QGIS 3.4
Go to Plugins/Manage and Install Plugins in the menu and search for Plugin 
builder.


There are sources how to upgrade plugins:
https://gisforthought.com/updating-a-plugin-from-qgis-2-to-qgis-3/
https://github.com/qgis/QGIS/wiki/Plugin-migration-to-QGIS-3
https://github.com/gc-i/wntOS/wiki/QGIS3Port
https://new.opengis.ch/2018/04/13/porting-qgis-plugins-to-api-v3-strategy-and-tools/

Best regards,
Zoltan

On Mon, 1 Apr 2019, sschm...@gfi-gis.de wrote:


Hi,

I miss the plugin_builder.py in the src/plugins/ in ltr-3_4.

The last I found was in 2.18 but this doesn't work for me because the
version of Qt has been changed.

I need an example for upgrading my plugins, thanks for a hint.

Freundliche Grüße aus Leipzig
Susann Schmidt
Softwareentwicklung

**

GFI - Gesellschaft für Informationstechnologie mbH
Philipp-Rosenthal-Straße 9
D-04103 Leipzig
Geschäftsführer: Andreas Richter
Amtsgericht Leipzig HRB 12054
USt.-IdNr.: DE179049354 Steuer-Nr.: 231/109/06412
ESRI Solution Partner  und   ER Mapper Reseller
Tel. 0341 961 3310Fax 0341 961 3311   Mail i...@gfi-gis.de
Web  www.gfi-gis.de  und  www.themenbrowser.de
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] No LTR on openSUSE repos

2019-04-01 Thread Richard Duivenvoorde
Not sure, but I think Otto (in bcc) has something to do with it, or
maybe he knows the actual packager?

Regards,

Richard Duivenvoorde


On 01/04/2019 14.59, Patrick Dunford wrote:
> Have you asked the question of the openSUSE maintainers, as presumably
> they maintain the listed repositories, download.opensuse.org
> 
> On 1/04/19 10:06 PM, Yann POUFFARIX wrote:
>> Hi,
>>
>> Just a little mail to ask if the LTR version will come back because we
>> have over 300 users waiting for a Computer Update but we can't do it
>> if we can't use the LTR version of Qgis.
>>
>> We don't see any communication about the suppression of LTR version
>> for openSUSE repos.
>>
>>
>> Sincerely,
>>
>> Yann P.
>> IT Technician,
>> Eveha, Archeological excavation,
>> 31 Rue Soyouz, 87000 Limoges, France
>>
>> ___
>> QGIS-Developer mailing list
>> QGIS-Developer@lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> 
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> 

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [1686] RasterDataPlotting approval notification.

2019-04-01 Thread noreply

Plugin RasterDataPlotting approval by pcav.
The plugin version "[1686] RasterDataPlotting 1.2" is now approved
Link: http://plugins.qgis.org/plugins/rasterdataplotting/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] GSoC 2019 for QGIS 3D Improvement Proposal

2019-04-01 Thread Tim Sutton
Nice proposal Sunni! On the Mac the 3d window is a bit of a pain because it is 
a dock window so cannot be maximised easily and when you do resize it it tends 
to dock into the main window so it always makes it a bit clunky in demos. It 
would be really nice if it either replaced the main 2d map canvas or was 
possible to use it as a normal window instead of a dock widget so you can 
easily maximise it.

Oh and then please implement some kind of star wars tie-fighter vs x-wind chase 
through my neighbourhood game as an Easter egg in it :-)

Regards

Tim

> On 01 Apr 2019, at 14:26, Ismail Sunni  wrote:
> 
> HI Mathieu
> 
> Regarding on-screen navigation, it'd be good to think of an implementation 
> that would work for both 2D as well as 3D map canvases when conceptualizing 
> the way ahead (I'm not suggesting you implement this as part of this GSoC 
> plan, just seeding the idea as it might shape way you move forward). It'd be 
> useful in a few places across QGIS to have some ultra basic zooming and 
> panning controls attached to a qgsmapcanvas. 
> 
> Hmm, yeah, I will think about it in the design. I agree, if it can be used on 
> other part, it will be better for sure.
> 
>  Hi Nyall,
> 
> Great proposal Ismail -- all these features would be lovely to see!
> Reading over the billboard proposal, I'd strongly suggest that you
> re-use QGIS marker symbology here to render the actual billboard
> content. Amongst other benefits, this would allow re-use of identical
> symbols between 2d and 3d maps.
> Best of luck with the coding!
> 
> As Martin said, it's a good point. I will be happy to re-use existing code, I 
> think it's a win-win solution. 
> 
> Thanks, Nyall
> 
> 
> Hi Andreas
> Hi Ismail,
> Looks nice - thanks for the proposal. Hopefully it will be accepted!
> I'd love to see all of these improvements, esp. the billboard ones - because 
> currently there is no way to properly label something in 3d.
> I added a suggestion for the billboards: Allow leader lines between the 
> original point feature and the billboard location above the point feature, 
> with a configurable vertical offset (best also data-defined). It would help 
> better locate the position of the actual feature that is labeled.
> -
> There are two other ideas regarding QGIS 3D:
> allow highlighting of objects in 3D when using the Identify tool. Currently 
> one can pick an object in 3d and query the attributes, but there is no visual 
> feedback what object was actually selected. perhaps with the new line 
> rendering that Martin is currently working on, this could be used to draw a 
> red 3d outline of the object picked?
> allow a per layer (or per category) wireframe mode for 3d polygons and 
> terrain (in order to be able to look through the terrain or 3d objects).
> I understand that this would be too much for the GSOC proposal, but 
> nevertheless I would like to mention those here, as I think they are 
> important. I totally understand, of course, that they are too much for the 
> GSOC proposal.
> Thanks and good luck,
> Andreas
> 
> 
> Yeah, regarding the billboard, that's one of the common use cases that Martin 
> and I discussed. So it's under my radar to have something like that in the 
> implementation. Btw, thanks for your comments in the Google Doc.
> 
> Those two ideas are interesting and should be implemented somehow in the 
> future. But as you said, perhaps it's too much for the GSoC proposal :). I 
> can't promise, but who knows what will happen in the future :)
> 
> I can only add that I am also happy that Ismail would like to
> participate in GSoC and I hope this proposal will get accepted because
> the proposal looks great.
> 
> Thanks for your help and guidance, Martin :)
> 
> Best regards
> 
> On Mon, Apr 1, 2019 at 2:39 PM Martin Dobias  > wrote:
> Hi
> 
> On Mon, Apr 1, 2019 at 1:11 PM Nyall Dawson  > wrote:
> >
> > On Mon, 1 Apr 2019 at 20:28, Ismail Sunni  > > wrote:
> > >
> > > Dear QGIS developers,
> > >
> > > My name is Ismail Sunni, I am from Indonesia. Currently, I am studying in 
> > > Germany for my master degree. Since I am now a student, I want to 
> > > participate in this year Google Summer of Code for QGIS. I am interested 
> > > to contribute and work on the 3D improvement. It's still young and I 
> > > think that I can help with making it more complete.
> > >
> > > I have discussed with Martin Dobias for a more detail idea and start my 
> > > proposal. Now, my proposal is more or less ready (according to me). But 
> > > it would be better if I get some feedback or suggestions from the QGIS 
> > > community itself. Since it will give impact to the community.
> > >
> > > If you are interested, you can check my proposal in this URL: 
> > > https://docs.google.com/document/d/1RcXiEyziQyGurqDGRBN3g-het33liVD81WFjv8qQlt8/edit?usp=sharing
> > >  
> > > 

Re: [QGIS-Developer] GSoC 2019 for QGIS 3D Improvement Proposal

2019-04-01 Thread Ismail Sunni
HI Mathieu

Regarding on-screen navigation, it'd be good to think of an implementation
> that would work for both 2D as well as 3D map canvases when conceptualizing
> the way ahead (I'm not suggesting you implement this as part of this GSoC
> plan, just seeding the idea as it might shape way you move forward). It'd
> be useful in a few places across QGIS to have some ultra basic zooming and
> panning controls attached to a qgsmapcanvas.


Hmm, yeah, I will think about it in the design. I agree, if it can be used
on other part, it will be better for sure.

 Hi Nyall,

Great proposal Ismail -- all these features would be lovely to see!
> Reading over the billboard proposal, I'd strongly suggest that you
> re-use QGIS marker symbology here to render the actual billboard
> content. Amongst other benefits, this would allow re-use of identical
> symbols between 2d and 3d maps.
> Best of luck with the coding!


As Martin said, it's a good point. I will be happy to re-use existing code,
I think it's a win-win solution.

Thanks, Nyall


Hi Andreas

> Hi Ismail,
> Looks nice - thanks for the proposal. Hopefully it will be accepted!
> I'd love to see all of these improvements, esp. the billboard ones -
> because currently there is no way to properly label something in 3d.
> I added a suggestion for the billboards: Allow leader lines between the
> original point feature and the billboard location above the point feature,
> with a configurable vertical offset (best also data-defined). It would help
> better locate the position of the actual feature that is labeled.
> -
> There are two other ideas regarding QGIS 3D:
>
>- allow highlighting of objects in 3D when using the Identify tool.
>Currently one can pick an object in 3d and query the attributes, but there
>is no visual feedback what object was actually selected. perhaps with the
>new line rendering that Martin is currently working on, this could be used
>to draw a red 3d outline of the object picked?
>
>
>- allow a per layer (or per category) wireframe mode for 3d polygons
>and terrain (in order to be able to look through the terrain or 3d 
> objects).
>
> I understand that this would be too much for the GSOC proposal, but
> nevertheless I would like to mention those here, as I think they are
> important. I totally understand, of course, that they are too much for the
> GSOC proposal.
> Thanks and good luck,
> Andreas
>
>
Yeah, regarding the billboard, that's one of the common use cases that
Martin and I discussed. So it's under my radar to have something like that
in the implementation. Btw, thanks for your comments in the Google Doc.

Those two ideas are interesting and should be implemented somehow in the
future. But as you said, perhaps it's too much for the GSoC proposal :). I
can't promise, but who knows what will happen in the future :)

I can only add that I am also happy that Ismail would like to
> participate in GSoC and I hope this proposal will get accepted because
> the proposal looks great.


Thanks for your help and guidance, Martin :)

Best regards

On Mon, Apr 1, 2019 at 2:39 PM Martin Dobias  wrote:

> Hi
>
> On Mon, Apr 1, 2019 at 1:11 PM Nyall Dawson 
> wrote:
> >
> > On Mon, 1 Apr 2019 at 20:28, Ismail Sunni  wrote:
> > >
> > > Dear QGIS developers,
> > >
> > > My name is Ismail Sunni, I am from Indonesia. Currently, I am studying
> in Germany for my master degree. Since I am now a student, I want to
> participate in this year Google Summer of Code for QGIS. I am interested to
> contribute and work on the 3D improvement. It's still young and I think
> that I can help with making it more complete.
> > >
> > > I have discussed with Martin Dobias for a more detail idea and start
> my proposal. Now, my proposal is more or less ready (according to me). But
> it would be better if I get some feedback or suggestions from the QGIS
> community itself. Since it will give impact to the community.
> > >
> > > If you are interested, you can check my proposal in this URL:
> https://docs.google.com/document/d/1RcXiEyziQyGurqDGRBN3g-het33liVD81WFjv8qQlt8/edit?usp=sharing
> > >
> > > Please don't be hesitate to make a comment either in this email thread
> or even in the document itself.
>
> I can only add that I am also happy that Ismail would like to
> participate in GSoC and I hope this proposal will get accepted because
> the proposal looks great.
>
>
> > Reading over the billboard proposal, I'd strongly suggest that you
> > re-use QGIS marker symbology here to render the actual billboard
> > content. Amongst other benefits, this would allow re-use of identical
> > symbols between 2d and 3d maps.
>
> That's a good point!
>
> Cheers
> Martin
>


-- 
Ismail Sunni
ismailsunni.wordpress.com
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: 

Re: [QGIS-Developer] No LTR on openSUSE repos

2019-04-01 Thread Patrick Dunford
Have you asked the question of the openSUSE maintainers, as presumably 
they maintain the listed repositories, download.opensuse.org


On 1/04/19 10:06 PM, Yann POUFFARIX wrote:

Hi,

Just a little mail to ask if the LTR version will come back because we 
have over 300 users waiting for a Computer Update but we can't do it 
if we can't use the LTR version of Qgis.


We don't see any communication about the suppression of LTR version 
for openSUSE repos.



Sincerely,

Yann P.
IT Technician,
Eveha, Archeological excavation,
31 Rue Soyouz, 87000 Limoges, France

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] GSoC 2019 for QGIS 3D Improvement Proposal

2019-04-01 Thread Martin Dobias
Hi

On Mon, Apr 1, 2019 at 1:11 PM Nyall Dawson  wrote:
>
> On Mon, 1 Apr 2019 at 20:28, Ismail Sunni  wrote:
> >
> > Dear QGIS developers,
> >
> > My name is Ismail Sunni, I am from Indonesia. Currently, I am studying in 
> > Germany for my master degree. Since I am now a student, I want to 
> > participate in this year Google Summer of Code for QGIS. I am interested to 
> > contribute and work on the 3D improvement. It's still young and I think 
> > that I can help with making it more complete.
> >
> > I have discussed with Martin Dobias for a more detail idea and start my 
> > proposal. Now, my proposal is more or less ready (according to me). But it 
> > would be better if I get some feedback or suggestions from the QGIS 
> > community itself. Since it will give impact to the community.
> >
> > If you are interested, you can check my proposal in this URL: 
> > https://docs.google.com/document/d/1RcXiEyziQyGurqDGRBN3g-het33liVD81WFjv8qQlt8/edit?usp=sharing
> >
> > Please don't be hesitate to make a comment either in this email thread or 
> > even in the document itself.

I can only add that I am also happy that Ismail would like to
participate in GSoC and I hope this proposal will get accepted because
the proposal looks great.


> Reading over the billboard proposal, I'd strongly suggest that you
> re-use QGIS marker symbology here to render the actual billboard
> content. Amongst other benefits, this would allow re-use of identical
> symbols between 2d and 3d maps.

That's a good point!

Cheers
Martin
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] cannot import processing algorithm in 3.6

2019-04-01 Thread Martin Dobias
Hi all

On Mon, Apr 1, 2019 at 1:16 PM Raymond Nijssen  wrote:
>
> Last HF martin and I discussed the current geometry model and some of
> the flaws and weird things. Especially the set() and get() are not very
> logical function names to me.

Just to add more thoughts to this... There is obviously a lot of
confusion regarding geometry API in QGIS since the big refactoring.
Things like QgsGeometry vs QgsAbstractGeometry ... or QgsPoint vs
QgsPointXY. I would say some bits are fixable without too much effort
(e.g. add some missing convenience constructors), but most bits will
need to wait until QGIS 4.0 (e.g. getting rid of methods
accepting/returning QgsPointXY within geometry API).

One idea that I wanted to explore is whether we could avoid having
QgsGeometry in the Python API at all, so it would be a mapped type
like QVariant is in PyQt5. So for example, feat.geometry() would
return directly QgsPoint or QgsLineString. This would avoid the need
to extract the internal geometry object from QgsGeometry and vice
versa (wrap internal geometry object into QgsGeometry). I have not
tried it in practice yet though and it will definitely be an API
break, but if it works, it should simplify things a lot :-)

Cheers
Martin
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] GSoC 2019 for QGIS 3D Improvement Proposal

2019-04-01 Thread Andreas Neumann
Hi Ismail, 

Looks nice - thanks for the proposal. Hopefully it will be accepted! 


I'd love to see all of these improvements, esp. the billboard ones -
because currently there is no way to properly label something in 3d. 


I added a suggestion for the billboards: Allow leader lines between the
original point feature and the billboard location above the point
feature, with a configurable vertical offset (best also data-defined).
It would help better locate the position of the actual feature that is
labeled. 

- 

There are two other ideas regarding QGIS 3D: 


* allow highlighting of objects in 3D when using the Identify tool.
Currently one can pick an object in 3d and query the attributes, but
there is no visual feedback what object was actually selected. perhaps
with the new line rendering that Martin is currently working on, this
could be used to draw a red 3d outline of the object picked?
* allow a per layer (or per category) wireframe mode for 3d polygons
and terrain (in order to be able to look through the terrain or 3d
objects).

I understand that this would be too much for the GSOC proposal, but
nevertheless I would like to mention those here, as I think they are
important. I totally understand, of course, that they are too much for
the GSOC proposal. 

Thanks and good luck, 

Andreas 


On 2019-04-01 12:28, Ismail Sunni wrote:

Dear QGIS developers, 

My name is Ismail Sunni, I am from Indonesia. Currently, I am studying in Germany for my master degree. Since I am now a student, I want to participate in this year Google Summer of Code for QGIS. I am interested to contribute and work on the 3D improvement [1]. It's still young and I think that I can help with making it more complete. 

I have discussed with Martin Dobias for a more detail idea and start my proposal. Now, my proposal is more or less ready (according to me). But it would be better if I get some feedback or suggestions from the QGIS community itself. Since it will give impact to the community. 

If you are interested, you can check my proposal in this URL: https://docs.google.com/document/d/1RcXiEyziQyGurqDGRBN3g-het33liVD81WFjv8qQlt8/edit?usp=sharing 

Please don't be hesitate to make a comment either in this email thread or even in the document itself. 

Thank you 


Best regards
--
Ismail Sunni
ismailsunni.wordpress.com [2] 
___

QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer




Links:
--
[1]
https://github.com/qgis/QGIS/wiki/Google-Summer-of-Code-2019-Ideas#qgis-3d-improvements
[2] http://ismailsunni.wordpress.com___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] cannot import processing algorithm in 3.6

2019-04-01 Thread Raymond Nijssen

Thank you Nyall!

Sorry for replying so late but I suddenly went on a busy 2 week trip abroad.

Last HF martin and I discussed the current geometry model and some of 
the flaws and weird things. Especially the set() and get() are not very 
logical function names to me.


To find out about the model I tested it using a script in the qgis 
python console. I'm still using it often to figure how to create and 
convert geometries. Hope it helps others as well. Would be nice for the 
cookbook maybe.


Kind regards,
Raymond

#points

p1 = QgsGeometry().fromWkt('point(0 0)')
print(p1) # 
print(p1.asPoint()) # 
print(p1.centroid()) # 
print(p1.buffer(1, 1)) # 0))>

print(p1.get()) # 

p2 = QgsPoint(1,2)
print(p2) # 
p2g = QgsGeometry(p2)
print(p2g) # 
print(p2) # 
print(p2.centroid()) # 
print(QgsPointXY(p2.x(), p2.y())) # 
#print(QgsGeometry(p2)) #!!! Converts 
p2 in place ? !!!

g = QgsGeometry()
print(g)
g.set(p2)
print(g)

p3 = QgsPointXY(2, 0)
print(p3) # 
print(QgsGeometry.fromPointXY(p3)) # 
print(QgsPoint(p3.x(), p3.y())) # 

# lines

l1 = QgsGeometry().fromWkt('linestring((0 0, 1 1, 1 2))')
print(l1) # 
print(l1.buffer(1, 1).asPolygon())
print(l1.asPolyline()) # [, 1)>, ]
#print(QgsLineString(l1.asPolyline())) # TypeError: index 0 has type 
'QgsPointXY' but 'QgsPoint' is expected



p1 = QgsPointXY(100,100)
print(p1)
p2 = QgsPoint(200,200)


l1 = QgsLineString()
print(l1)
l1.addVertex(QgsPoint(p1.x(), p1.y()))
l1.addVertex(p2)
print(l1)

pg1 = QgsGeometry().fromWkt('polygon((0 0, 0 1, 1 1, 1 0, 0 0))')
print(pg1) # 

pg2 = pg1.get()
print(pg2) # 

g = QgsGeometry()
g.set(pg2)
print(g) # 






On 21-03-19 09:43, Nyall Dawson wrote:

On Thu, 21 Mar 2019 at 15:59, Raymond Nijssen  wrote:




  def toLines(geom):
  return QgsGeometry(geom.get().boundary())

(Using 
https://qgis.org/pyqgis/master/core/QgsAbstractGeometry.html#qgis.core.QgsAbstractGeometry.boundary
)

Nyall


Thanks Nyall, that works!


Great, thanks for the confirmation. And because I've got to do mapping
all day, I'm in a good mood, and you get a free PyQGIS lesson:

geom.get() : gives you the underlying fundamental geometry object
attached to the feature. QgsFeature.geometry() returns a QgsGeometry
object, which is more or less a "container" for geometries. It's got
some convenient methods which apply to ALL geometry types, but
sometimes you need to dig down to the actual geometry primitive. In
that case you use geometry.get(), and you get the fundamental
QgsPoint/QgsLineString/QgsPolygon/etc object. It's actually generally
preferable to call "geometry.constGet()", IF you are doing some
operation which doesn't alter the geometry in place (like you are
here). But that's a complex microoptimisation.

geom.get().boundary() gives you the topological boundary of the
primitive. For polygons this is their exterior + interior rings, for
lines it's their start and end point (unless it's a closed ring, in
which case you get a null geometry). Points have no boundary. Using
boundary() to convert polygons to lines is the most efficient method -
it's very heavily optimised, and works perfectly with curved geometry
types and maintains any Z or M values which may be present.

Lastly, you need to wrap the result back up into a QgsGeometry object
- hence QgsGeometry(boundary() ). This is because most of QGIS API
works with QgsGeometry objects (remember, they are like "containers"
holding a geometry), and NOT the fundamental geometry objects.

Done! A super-efficient, rock solid approach which will work with all
input geometry types. Win!

(for reference - this is what the polygons to lines algorithm actually
does in the background too)

Nyall











I will try tomorrow.

One last question, it seems to me like the old code is working again in
3.7. Can you confirm that?


Shouldn't be -- maybe you have a leftover .py file here?


Indeed. I did a clean install and it is not working in my 3.7 anymore.


Regards,
Raymond




___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] GSoC 2019 for QGIS 3D Improvement Proposal

2019-04-01 Thread Nyall Dawson
On Mon, 1 Apr 2019 at 20:28, Ismail Sunni  wrote:
>
> Dear QGIS developers,
>
> My name is Ismail Sunni, I am from Indonesia. Currently, I am studying in 
> Germany for my master degree. Since I am now a student, I want to participate 
> in this year Google Summer of Code for QGIS. I am interested to contribute 
> and work on the 3D improvement. It's still young and I think that I can help 
> with making it more complete.
>
> I have discussed with Martin Dobias for a more detail idea and start my 
> proposal. Now, my proposal is more or less ready (according to me). But it 
> would be better if I get some feedback or suggestions from the QGIS community 
> itself. Since it will give impact to the community.
>
> If you are interested, you can check my proposal in this URL: 
> https://docs.google.com/document/d/1RcXiEyziQyGurqDGRBN3g-het33liVD81WFjv8qQlt8/edit?usp=sharing
>
> Please don't be hesitate to make a comment either in this email thread or 
> even in the document itself.

Great proposal Ismail -- all these features would be lovely to see!

Reading over the billboard proposal, I'd strongly suggest that you
re-use QGIS marker symbology here to render the actual billboard
content. Amongst other benefits, this would allow re-use of identical
symbols between 2d and 3d maps.

Best of luck with the coding!
Nyall


> Thank you
>
> Best regards
>
> --
> Ismail Sunni
> ismailsunni.wordpress.com
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] GSoC 2019 for QGIS 3D Improvement Proposal

2019-04-01 Thread Mathieu Pellerin
Regarding on-screen navigation, it'd be good to think of an implementation
that would work for both 2D as well as 3D map canvases when conceptualizing
the way ahead (I'm not suggesting you implement this as part of this GSoC
plan, just seeding the idea as it might shape way you move forward). It'd
be useful in a few places across QGIS to have some ultra basic zooming and
panning controls attached to a qgsmapcanvas.

Always nice to see some more love thrown at our 3D support :)

On Mon, Apr 1, 2019, 5:28 PM Ismail Sunni  wrote:

> Dear QGIS developers,
>
> My name is Ismail Sunni, I am from Indonesia. Currently, I am studying in
> Germany for my master degree. Since I am now a student, I want to
> participate in this year Google Summer of Code for QGIS. I am interested to
> contribute and work on the 3D improvement
> .
> It's still young and I think that I can help with making it more complete.
>
> I have discussed with Martin Dobias for a more detail idea and start my
> proposal. Now, my proposal is more or less ready (according to me). But it
> would be better if I get some feedback or suggestions from the QGIS
> community itself. Since it will give impact to the community.
>
> If you are interested, you can check my proposal in this URL:
> https://docs.google.com/document/d/1RcXiEyziQyGurqDGRBN3g-het33liVD81WFjv8qQlt8/edit?usp=sharing
>
> Please don't be hesitate to make a comment either in this email thread or
> even in the document itself.
>
> Thank you
>
> Best regards
>
> --
> Ismail Sunni
> ismailsunni.wordpress.com
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] GSoC 2019 for QGIS 3D Improvement Proposal

2019-04-01 Thread Ismail Sunni
Dear QGIS developers,

My name is Ismail Sunni, I am from Indonesia. Currently, I am studying in
Germany for my master degree. Since I am now a student, I want to
participate in this year Google Summer of Code for QGIS. I am interested to
contribute and work on the 3D improvement
.
It's still young and I think that I can help with making it more complete.

I have discussed with Martin Dobias for a more detail idea and start my
proposal. Now, my proposal is more or less ready (according to me). But it
would be better if I get some feedback or suggestions from the QGIS
community itself. Since it will give impact to the community.

If you are interested, you can check my proposal in this URL:
https://docs.google.com/document/d/1RcXiEyziQyGurqDGRBN3g-het33liVD81WFjv8qQlt8/edit?usp=sharing

Please don't be hesitate to make a comment either in this email thread or
even in the document itself.

Thank you

Best regards

-- 
Ismail Sunni
ismailsunni.wordpress.com
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] No LTR on openSUSE repos

2019-04-01 Thread Yann POUFFARIX
Hi,

Just a little mail to ask if the LTR version will come back because we have
over 300 users waiting for a Computer Update but we can't do it if we can't
use the LTR version of Qgis.

We don't see any communication about the suppression of LTR version for
openSUSE repos.


Sincerely,

Yann P.
IT Technician,
Eveha, Archeological excavation,

31 Rue Soyouz, 87000 Limoges, France
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] C++ Plugin plugin_builder.py

2019-04-01 Thread SSchmidt
Hi,

I miss the plugin_builder.py in the src/plugins/ in ltr-3_4.

The last I found was in 2.18 but this doesn't work for me because the 
version of Qt has been changed.

I need an example for upgrading my plugins, thanks for a hint.

Freundliche Grüße aus Leipzig
Susann Schmidt
Softwareentwicklung 

**

GFI - Gesellschaft für Informationstechnologie mbH
Philipp-Rosenthal-Straße 9
D-04103 Leipzig
Geschäftsführer: Andreas Richter
Amtsgericht Leipzig HRB 12054
USt.-IdNr.: DE179049354 Steuer-Nr.: 231/109/06412
ESRI Solution Partner  und   ER Mapper Reseller
Tel. 0341 961 3310Fax 0341 961 3311   Mail i...@gfi-gis.de
Web  www.gfi-gis.de  und  www.themenbrowser.de
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [QGIS-Developer] Proxy support in Python Plugins

2019-04-01 Thread Richard Duivenvoorde
Duh, sent to Nils alone, resending to list 

@nils: in addition I forgot to tell: please have a look at
https://github.com/rduivenvoorde/qgisnetworklogger a Work in Progress
which will show you all information (url, headers etc) that goes through
QgsNetworkAccessManager and replay it if needed

Regards,

Richard Duivenvoorde


On 31/03/2019 12.08, Richard Duivenvoorde wrote:
> Hi Nils,
> 
> IF you use QgsNetworkAccessManager, you get all proxy and authentication
> stuff for free with it.
> In my plugins I use the Boundless wrapper made by Luigi and Alessandro:
> 
> https://github.com/boundlessgeo/lib-qgis-commons/blob/master/qgiscommons2/network/networkaccessmanager.py
> 
> https://github.com/rduivenvoorde/pdokservicesplugin/blob/master/pdokgeocoder.py#L30
> I just add the Boundless networkaccessmanager to my plugin.
> 
> I know Nyall has tried to make it easier for Python devs to create a
> thread-save non-synchron requests, but if I am correct that became too
> complex/unsafe (Nyall?)
> What was added though (QGIS 3.6) was:
> 
> QgsNetworkAccessManager.blockingGet
> 
> see:
> https://qgis.org/pyqgis/3.6/core/QgsNetworkAccessManager.html#qgis.core.QgsNetworkAccessManager.blockingGet
> 
> Or in use:
> https://github.com/rduivenvoorde/TimeManager/blob/guess_wmst_timeframes/raster/wmstlayer.py#L89
> 
> I think this can be used in your use case.
> 
> Off course you can also create your own use of it, but then indeed you
> have to make yourself very familiar with how Qt handles network requests
> etc.
> 
> Hope this helps.
> 
> Regards,
> 
> Richard
> 
> On 30/03/2019 17.33, Nils Nolde wrote:
>> Hi,
>>
>> I want to upgrade ORS Tools to not work with requests anymore to fetch
>> GET and POST queries. However, I never used QgsNetworkAccessManager and
>> have little knowledge about networking in general. I tried mostly
>> Boundless Geo's NetworkAccessManager wrapper. Couldn't make it work for
>> my plugin. When I set a free online Proxy in QGIS settings, all other
>> apps/plugin in QGIS could access the internet, my plugin couldn't, it
>> would timeout.
>>
>> I did smth akin to:
>>
>> nam = networkaccessmanager.NetworkAccessManager()
>>
>> base_url = 'https://nominatim.openstreetmap.org/reverse'
>> params = {'lat': point.y(), 'lon': point.x(), 'format': 'json'}
>> url = base_url + '?' + urlencode(params)
>>
>> response, content = self.nam.request(url=url, headers={'User-Agent':
>> user_agent}, blocking=False)
>>
>> Figuring it would automatically use the Proxy settings in QGIS. It
>> doesn't, it seems. So 3 questions:
>>
>> 1. How do I make my code use the QGIS proxy settings?
>>
>> 2. How do I debug, i.e. how do I check that the request actually used
>> the proxy settings? Couldn't find much, even on the native Qt parent.
>>
>> 3. Is there a way to use non-blocking requests in native
>> QgsNetworkAccessManager? Actually it's not so important, since batch
>> requests are being done within the Processing framework (assuming that
>> won't affect the main thread..), it's more informational.
>>
>> I did some research, but as I don't find a terrible amount of time
>> lately to maintain all the open source projects, I was hoping to get
>> some quick answer from someone. I'm sure I'm missing smth really
>> obvious. Sorry, if it really is obvious and I just can't see it.. Also,
>> a reference to an existing plugin would suffice.
>>
>> Many thanks
>> Nils
>>
>> ___
>> QGIS-Developer mailing list
>> QGIS-Developer@lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> 
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> 

___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer