Re: [Qgis-developer] Processing i18n support

2014-08-10 Thread Alexandre Neto
Hello Alexander,

Em 10/08/2014 07:58, "Alexander Bruy"  escreveu:
>
> Hi Alexandre,
>
> this is possible, moreover some Processing parts already has i18n support.

Thanks for the answer. I will try to make it work in "my" model then.

> But some parts still lacking it, this is in our TODO list.

Correct me if I'm wrong, but that sounds like a repetitive "simple" task.
Maybe I could help you with that.

Is it done in python or C++?

Alexandre Neto

>
> 2014-08-09 22:16 GMT+03:00 Alexandre Neto :
> > Hello all,
> >
> > Can anyone tell me if it is possible to add translation support via
i18n in
> > processing modules?
> >
> > Thanks,
> >
> > Alexandre Neto
> >
> >
> > ___
> > Qgis-developer mailing list
> > Qgis-developer@lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
>
> --
> Alexander Bruy
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Compile SIP windows 7

2014-08-10 Thread otmane yazidi alaoui
C:\Users\otmane\Downloads\sip-4.11.2>c:\python27\python configure.py
--platform
win32-g++
This is SIP 4.11.2 for Python 2.7.8 on win32.
The SIP code generator will be installed in c:\python27.
The SIP module will be installed in c:\python27\Lib\site-packages.
The SIP header file will be installed in c:\python27\include.
The default directory to install .sip files in is c:\python27\sip.
The platform/compiler configuration is win32-g++.
Creating sipconfig.py...
Creating top level Makefile...
Creating sip code generator Makefile...
Creating sip module Makefile...

C:\Users\otmane\Downloads\sip-4.11.2>make
mingw32-make[1]: Entering directory
`C:/Users/otmane/Downloads/sip-4.11.2/sipgen
'
makefile:29: warning: overriding commands for target `.c.o'
makefile:26: warning: ignoring old commands for target `.c.o'
mingw32-make[1]: Nothing to be done for `all'.
mingw32-make[1]: Leaving directory
`C:/Users/otmane/Downloads/sip-4.11.2/sipgen'

mingw32-make[1]: Entering directory
`C:/Users/otmane/Downloads/sip-4.11.2/siplib
'
makefile:29: warning: overriding commands for target `.c.o'
makefile:26: warning: ignoring old commands for target `.c.o'
mingw32-make[1]: Nothing to be done for `all'.
mingw32-make[1]: Leaving directory
`C:/Users/otmane/Downloads/sip-4.11.2/siplib'


C:\Users\otmane\Downloads\sip-4.11.2>c:\python27\python configure.py
--platform
win32-g++
This is SIP 4.11.2 for Python 2.7.8 on win32.
The SIP code generator will be installed in c:\python27.
The SIP module will be installed in c:\python27\Lib\site-packages.
The SIP header file will be installed in c:\python27\include.
The default directory to install .sip files in is c:\python27\sip.
The platform/compiler configuration is win32-g++.
Creating sipconfig.py...
Creating top level Makefile...
Creating sip code generator Makefile...
Creating sip module Makefile...

C:\Users\otmane\Downloads\sip-4.11.2>make
mingw32-make[1]: Entering directory
`C:/Users/otmane/Downloads/sip-4.11.2/sipgen
'
makefile:29: warning: overriding commands for target `.c.o'
makefile:26: warning: ignoring old commands for target `.c.o'
mingw32-make[1]: Nothing to be done for `all'.
mingw32-make[1]: Leaving directory
`C:/Users/otmane/Downloads/sip-4.11.2/sipgen'

mingw32-make[1]: Entering directory
`C:/Users/otmane/Downloads/sip-4.11.2/siplib
'
makefile:29: warning: overriding commands for target `.c.o'
makefile:26: warning: ignoring old commands for target `.c.o'
mingw32-make[1]: Nothing to be done for `all'.
mingw32-make[1]: Leaving directory
`C:/Users/otmane/Downloads/sip-4.11.2/siplib'


C:\Users\otmane\Downloads\sip-4.11.2>make install
mingw32-make[1]: Entering directory
`C:/Users/otmane/Downloads/sip-4.11.2/sipgen
'
makefile:29: warning: overriding commands for target `.c.o'
makefile:26: warning: ignoring old commands for target `.c.o'
"C:/Program Files/Git/bin/sh.exe": -c: line 1: syntax error: unexpected end
of f
ile
mingw32-make[1]: *** [install] Error 258
mingw32-make[1]: Leaving directory
`C:/Users/otmane/Downloads/sip-4.11.2/sipgen'

mingw32-make: *** [install] Error 2

-- 
 
   YAZIDI ALAOUI OTMANE
   Ingénieur d'état en Géomatique
   Tel:+212652538743
   @ :yazidiotm...@gmail.com
http://www.doyoubuzz.com/otmane-yazidi-alaoui
//
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

Re: [Qgis-developer] Compile SIP windows 7

2014-08-10 Thread Larry Shaffer
Hi,

This mailing list for QGIS-related development. Questions about issues of
compiling other software should be directed to their appropriate support
channels, like the PyQt mailing list [0].

If you are looking to set up a development environment on Windows for QGIS,
consider using the OSGeo4W installer and building QGIS upon its supporting
libraries, instead of compiling all the dependencies yourself. See the
INSTALL document for info on this [1].

[0] http://www.riverbankcomputing.co.uk/support/lists
[1] https://github.com/qgis/QGIS/blob/master/INSTALL#L547

Regards,

Larry Shaffer
Dakota Cartography
Black Hills, South Dakota


On Sun, Aug 10, 2014 at 6:10 AM, otmane yazidi alaoui <
yazidiotm...@gmail.com> wrote:

> C:\Users\otmane\Downloads\sip-4.11.2>c:\python27\python configure.py
> --platform
> win32-g++
> This is SIP 4.11.2 for Python 2.7.8 on win32.
> The SIP code generator will be installed in c:\python27.
> The SIP module will be installed in c:\python27\Lib\site-packages.
> The SIP header file will be installed in c:\python27\include.
> The default directory to install .sip files in is c:\python27\sip.
> The platform/compiler configuration is win32-g++.
> Creating sipconfig.py...
> Creating top level Makefile...
> Creating sip code generator Makefile...
> Creating sip module Makefile...
>
> C:\Users\otmane\Downloads\sip-4.11.2>make
> mingw32-make[1]: Entering directory
> `C:/Users/otmane/Downloads/sip-4.11.2/sipgen
> '
> makefile:29: warning: overriding commands for target `.c.o'
> makefile:26: warning: ignoring old commands for target `.c.o'
> mingw32-make[1]: Nothing to be done for `all'.
> mingw32-make[1]: Leaving directory
> `C:/Users/otmane/Downloads/sip-4.11.2/sipgen'
>
> mingw32-make[1]: Entering directory
> `C:/Users/otmane/Downloads/sip-4.11.2/siplib
> '
> makefile:29: warning: overriding commands for target `.c.o'
> makefile:26: warning: ignoring old commands for target `.c.o'
> mingw32-make[1]: Nothing to be done for `all'.
> mingw32-make[1]: Leaving directory
> `C:/Users/otmane/Downloads/sip-4.11.2/siplib'
>
>
> C:\Users\otmane\Downloads\sip-4.11.2>c:\python27\python configure.py
> --platform
> win32-g++
> This is SIP 4.11.2 for Python 2.7.8 on win32.
> The SIP code generator will be installed in c:\python27.
> The SIP module will be installed in c:\python27\Lib\site-packages.
> The SIP header file will be installed in c:\python27\include.
> The default directory to install .sip files in is c:\python27\sip.
> The platform/compiler configuration is win32-g++.
> Creating sipconfig.py...
> Creating top level Makefile...
> Creating sip code generator Makefile...
> Creating sip module Makefile...
>
> C:\Users\otmane\Downloads\sip-4.11.2>make
> mingw32-make[1]: Entering directory
> `C:/Users/otmane/Downloads/sip-4.11.2/sipgen
> '
> makefile:29: warning: overriding commands for target `.c.o'
> makefile:26: warning: ignoring old commands for target `.c.o'
> mingw32-make[1]: Nothing to be done for `all'.
> mingw32-make[1]: Leaving directory
> `C:/Users/otmane/Downloads/sip-4.11.2/sipgen'
>
> mingw32-make[1]: Entering directory
> `C:/Users/otmane/Downloads/sip-4.11.2/siplib
> '
> makefile:29: warning: overriding commands for target `.c.o'
> makefile:26: warning: ignoring old commands for target `.c.o'
> mingw32-make[1]: Nothing to be done for `all'.
> mingw32-make[1]: Leaving directory
> `C:/Users/otmane/Downloads/sip-4.11.2/siplib'
>
>
> C:\Users\otmane\Downloads\sip-4.11.2>make install
> mingw32-make[1]: Entering directory
> `C:/Users/otmane/Downloads/sip-4.11.2/sipgen
> '
> makefile:29: warning: overriding commands for target `.c.o'
> makefile:26: warning: ignoring old commands for target `.c.o'
> "C:/Program Files/Git/bin/sh.exe": -c: line 1: syntax error: unexpected
> end of f
> ile
> mingw32-make[1]: *** [install] Error 258
> mingw32-make[1]: Leaving directory
> `C:/Users/otmane/Downloads/sip-4.11.2/sipgen'
>
> mingw32-make: *** [install] Error 2
>
> --
>  
>YAZIDI ALAOUI OTMANE
>Ingénieur d'état en Géomatique
>Tel:+212652538743
>@ :yazidiotm...@gmail.com
> http://www.doyoubuzz.com/otmane-yazidi-alaoui
> //
>
> ___
> 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

[Qgis-developer] how to use gdal in custom plugin to convert png to geotiff with corner coordinates

2014-08-10 Thread Aamir Ali
Dear All

I am developing a plugin of QGIS in python, where it is needed to convert
png image to geotiff with known corner coordinates (wgs84). Any help would
be appreciated

Regards

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

[Qgis-developer] Export atlas composition in python console to a single PDF file

2014-08-10 Thread Junior Delaz
Hi All,

A couple of hours I'm trying without success to do something so I ask for
your help.
I would like to export as PDF (in a single file) an atlas composition
within Python Console.
I don't find how to do.
All I obtain is either multiple PDF files corresponding to each iterated
feature of the coverage layer or a single feature corresponding to the last
iterated feature.
Where should I look at, please?
And more generally, where can I find the code used by a tool such as
"Export Atlas to PDF file" in the composer GUI (atlas menu)?

Thanks for your help and advices...
___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Is QGIS supports dynamic display?

2014-08-10 Thread 腾飞 牛
Dear all,   I'm a new developer of QGIS using C++. I am doing a project 
which needs dynamically displaying maps/layers(just like GPS,layers 
automatically refreshing with the changing of object's position).I kown ARCGIS 
has the technique called dynamic diasplay(or something like that),which 
supports the capacity to do such things. Is QGIS has this ability? Any advices 
would be appreciated!
RegardsBob___
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-developer

[Qgis-developer] Broken models with processing (i.e we shouldn't be doing that)

2014-08-10 Thread Nathan Woodrow
Hi all,

I have noticed that old models don't work in the new processing modeler.
This is really, really bad. Breaking a format is just as bad, or even
worse, as breaking a API. Users don't care (much) for APIs but they care
about formats and when they stop working people get annoyed.

Processing is a core plugin and therefore people consider it part of QGIS,
changes in it effect us as a whole product.  If I break one of my plugins
that hurts me, if I change a core format (e.g qgs, qlr) that hurts the
whole QGIS project.

I can understand the need to move forward to something better, and the new
JSON format is much better then a custom format I will never argue for the
later. However not providing a way to import old models, or even doing it
by auto magic, is really bad.

Some people invest a lot of time into creating models for processing and
having it break under them with no option but to recreate will leave a bad
taste with people, trust me on that.   As processing has been "core" since
2.0 you can expect a lot of models in the wild and a lot of annoyed people
if there is no option to upgrade.

What I am NOT proposing is to revert that work, we do need to move forward
but I do think there needs to be a conversion function/s.

However if it comes close to release and there is no conversion ability
then I would say we should revert the plugin in core and wait for the next
release to upgrade the models.  Breaking the models on people with no
convert option will have much more effect then not having some of the new
features.

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

Re: [Qgis-developer] Is QGIS supports dynamic display?

2014-08-10 Thread Zoltan Szecsei

On 2014/08/11 04:11, ?? ? wrote:

Dear all,
I'm a new developer of QGIS using C++. I am doing a project which 
needs dynamically displaying maps/layers(just like GPS,layers 
automatically refreshing with the changing of object's position).I 
kown ARCGIS has the technique called dynamic diasplay(or something 
like that),which supports the capacity to do such things. Is QGIS has 
this ability? Any advices would be appreciated!


Regards
Bob



Hi Bob,
QGIS can definitely do this already.
I used this feature in November last year - but make sure you use the 
latest versions of QGIS of all the plugins for field editing because at 
that stage some of the (digitising, I think) plugins caused serious 
loops when refreshing the screen or adding a feature, so not great if 
you are dynamically panning.


I used a Garmin 60CSX, but any gps that can output an NMEA stream should 
work.

You also need the free versions of Franson GPSGate from http://gpsgate.com/

On a practical note, I found dynamic panning not very useful for my 
purpose. When we drove passed a POI, we couldn't easily pause the 
panning in order to drop a points and add the attributes needed. We 
found the dynamic tracking (digitising) of the incoming GPS track very 
useful, and we manually panned the display as needed, whilst in motion.


HTH,
Zoltan


--

===
Zoltan Szecsei PrGISc [PGP0031]
Geograph (Pty) Ltd.
GIS and Photogrammetric Services

P.O. Box 7, Muizenberg 7950, South Africa.

Mobile: +27-83-6004028
Fax:+27-86-6115323 www.geograph.co.za
===

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