Re: [QGIS-Developer] GSoC 2024 proposal : QGIS improve the graphical modeler UI and UX

2024-02-22 Thread Ismail Sunni via QGIS-Developer
Hi Valentin,

The proposal looks great, I don't know if someone evaluates the QGIS
graphical modeler.

And as Nyall said, you can cut the scope, and the proposal is still great.

Finally we have another GSoC proposal again for QGIS :)

Good luck!

On Thu, Feb 22, 2024 at 4:32 PM Jacky Volpes via QGIS-Developer <
qgis-developer@lists.osgeo.org> wrote:

> Hi Valentin,
>
> That's quite an impressive proposal!
> I could not agree more with you about the need to have a better design,
> UX, and UI for the modeler.
> However, as Nyall already pointed out, you can be sure that the schedule
> will largely shift seeing the amount of work/features, and I also would
> advise to drop quality of life changes, the proposal still remaining very
> attractive.
>
> I am looking forward to seeing you in Grenoble next month :-)
>
> Best regards,
>
> Jacky Volpes
>
> Ingénieur SIG - Oslandia
>
>
>
> Le 22/02/2024 à 08:37, Valentin BUIRA via QGIS-Developer a écrit :
>
> Hi qgis developers
>
> My name is Valentin Buira, I'm a french student in urban planning and I'm
> interested in participating in this year Google Summer of Code to improve
> the graphical modeler.
>
> In particular I am interested in improving the user interface(UI) and user
> experience (UX) of the graphical modeler based on my previous experience
> with other node-based applications. If you are familiar with Blender the
> inspiration will be obvious to you but I tried to adapt to the identity and
> features of Qgis like the expression engine.
>
> You can find the proposal at the url :
> https://docs.google.com/document/d/1iXHMTylTHLljfHBITfuIfJzi4_4hpQifEvj5GkM8OCc/edit?usp=sharing
>
> So far I am happy with my proposal but I'm looking for feedback and
> suggestions, and also tips on the technical feasibility and the schedule of
> the proposal.
>
> On a side note, I will be attending the local code sprint in Grenoble the
> 26 mars. Where I will also discuss this proposal in person.
>
> Best regards,
> Valentin Buira
>
>
>
> ___
> QGIS-Developer mailing listqgis-develo...@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
>


-- 
Ismail Sunni
Software Engineer
ismailsunni.id
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] Plugin Menu Text

2023-01-18 Thread Ismail Sunni via QGIS-Developer
Hi Stefan,

It seems the text is hardcoded:
https://github.com/qgis/QGIS/blob/master/src/app/pluginmanager/qgspluginmanager_texts.cpp#L11

Best regards

On Wed, Jan 18, 2023 at 2:23 PM Stefan Giese (WhereGroup) via
QGIS-Developer  wrote:

> Hi Devs,
>
> we want to change this text which is shown in the Plugin menu. Is this
> configurable?
>
> Best regards
>
> Stefan
>
> --
> Mit freundlichen Grüßen
> Stefan Giese
> Projektleiter/Consultant
> -
> Aufwind durch Wissen!
> Jetzt neu: Web-Seminare und Online-Schulungen
> bei der www.foss-academy.com
> -
> WhereGroup GmbH
> Schwimmbadstr. 2
> 79100 Freiburg
> Germany
>
> Tel.: +49 (0)761 / 519 102 - 61
> Fax: +49 (0)761 / 519 102 - 11
> stefan.gi...@wheregroup.comwww.wheregroup.com
> Geschäftsführer:
> Olaf Knopp, Peter Stamm
> Amtsgericht Bonn, HRB 9885
>
> ___
> 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
>


-- 
Ismail Sunni
Software Engineer
ismailsunni.id
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] Revert Previous Plugin, disable "Upgrade All" and "Upgrade Plugin" buttons

2023-01-10 Thread Ismail Sunni via QGIS-Developer
Hi Luke,

You can install the previous version of the plugin by installing it from
its zip file manually.

   1. Go to the plugin page, (e.g.
   https://plugins.qgis.org/plugins/ViewshedAnalysis/)
   2. Click the *version* tab
   3. Click the version you want to install (e.g.
   https://plugins.qgis.org/plugins/ViewshedAnalysis/version/1.7/)
   4. Download the plugin (a zip file)
   5. Open Plugin Manager
   6. Uninstall the plugin
   7. Install from Zip

One possible way to disable the Upgrade All or Upgrade Plugin is to disable
all the plugin repositories (i.e. Plugins -> Settings -> disable all
repositories).

Hope this helps.

On Wed, Jan 11, 2023 at 9:49 AM Catania, Luke A ERDC-RDE-GRL-VA CIV via
QGIS-Developer  wrote:

> I had a user that may have hit the "Upgrade All" button in the plugins
> window. Does that automatically upgrade all installed plugins to the newest
> version? If so is there a way to revert back to the previous versions. He
> may have just hit the Upgrade Plugin button for the specific plugin.  Not
> sure and I did not want to test it and mess up my configuration.
>
> We have created our own QGIS plugin that relies on the VisibilityAnalysis
> plugin and upgrading VisibilityAnalysis from 1.7 to 1.8 breaks our tool as
> I created a my own Visibility Analysis UI to run the VisibilityAnalysis
> tool.  I basically want to prevent a user from upgrading any plugin that we
> access so that this does not happen.  Is there a way to disable "Upgrade
> All" and "Upgrade Plugin" buttons in the plugin window through settings,
> interface customization, or programmatically through python on QGIS using
> startup.py?
>
> Thanks,
> Luke
> ___
> 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
>


-- 
Ismail Sunni
Software Engineer
ismailsunni.id
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] R: Google summer of code: On-the-fly raster calculator

2021-05-18 Thread Ismail Sunni
Good luck and have fun Francesco!

On Tue, May 18, 2021, 16:05 BELGACEM NEDJIMA  wrote:

> Welcome Francesco!
> Looking forward to your contributions
>
> On Tue, 18 May 2021, 14:37 Francesco Bursi, 
> wrote:
>
>> HI to everyone,
>>
>> I'm Francesco and, as Martin wrote, I'll work on "on-the-fly" raster
>> calculator in the next months.
>> Thank you for the welcome!
>>
>> I'm really excited about this project and I'm looking forward to getting
>> the best out of this experience and contributing to the QGIS project.
>> I'm really  grateful and excitedabout this big opportunity and I hope to
>> obtain some interesting results and to add some nice and useful features.
>>
>> Best Regards
>> Francesco Bursi
>> --
>> *Da:* QGIS-Developer  per conto
>> di Mathieu Pellerin 
>> *Inviato:* martedì 18 maggio 2021 11:52
>> *A:* Martin Dobias 
>> *Cc:* qgis-dev 
>> *Oggetto:* Re: [QGIS-Developer] Google summer of code: On-the-fly raster
>> calculator
>>
>> Woupidou! Super excited about this.
>>
>> On Tue, May 18, 2021, 4:50 PM Martin Dobias  wrote:
>>
>> Good news everyone,
>>
>> this year we will have Francesco Bursi working on his summer of code
>> project to introduce on-the-fly raster calculator to QGIS! Please join me
>> in welcoming him to our amazing community - I hope this will be another
>> successful project.
>>
>> https://summerofcode.withgoogle.com/projects/#5286802463653888
>>
>> Peter Petrik and myself are officially assigned as mentors, but of course
>> we will appreciate if others help with mentoring.
>>
>> In an earlier thread there has been some great feedback on the initial
>> proposal. From the feedback it looks like we should start by updating the
>> proposal to take a slightly different approach than originally envisaged:
>> to create a new raster data provider instead of adding a new raster
>> renderer.
>>
>> Regards
>> 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
>>
>> ___
>> 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


Re: [QGIS-Developer] How to transfer data between QGIS Python plugins?

2021-04-22 Thread Ismail Sunni
Hi Zac,

In PyQGIS you can access the plugin using something like this:

the_plugin_a = qgis.utils.plugins['the_plugin_a']

After that, you can access all stuff in the plugin a.

Perhaps that can solve the problem.

Best Regards

On Thu, Apr 22, 2021 at 1:07 PM Zac Wang  wrote:

> Hi all,
>
> Are there some ways to transfer data between different pyqgis plugins? I
> hope plugins share state.
>
> The only way I found is to make pluginA to be a child component of
> QgisApp(iface.mainWindow()).
>
> Then in another pluginB, call findChild() to get the object(pluginA) and
> connect its signal.
>
> This is a possible solution, but it's not easy to maintain because plugins
> are not initiated in the same file.
>
> Is there a better solution?
>
> Regards,
>
> Zac
> ___
> 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
>


-- 
Ismail Sunni
Software Engineer
ismailsunni.id
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] QGIS disables plugin on loading problem

2020-12-04 Thread Ismail Sunni
I guess it's like a watchdog to see which plugin that probably makes QGIS
crash. If there is a plugin like that, QGIS tries to help the user by
disabling it. CMIIW.

related PR: https://github.com/qgis/QGIS/pull/36603

On Fri, Dec 4, 2020 at 7:42 AM Luca Manganelli <
luca.mangane...@comune.trento.it> wrote:

> [bump]
>
> I've seen in the windows version of QGIS3.ini that in the [Plugins]
> section there are watchdogs:
>
> watchdog/PLUGINNAME=true or false
>
> what is the purpose of these watchdogs? There's no documentation about it.
>
>
> ___
> 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
>


-- 
Ismail Sunni
Software Engineer
ismailsunni.id
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] Building QGIS using Qt 5.14.2

2020-09-15 Thread Ismail Sunni
Dear QGIS developers,

I am trying to build QGIS using Qt 5.14.2. I have installed the Qt 5.14.2.
I have also set the CMake configuration (all Qt5*_Dir parameter) to their
respective directory under Qt 5.14.2 director. For example
Qt5Core_DIR:PATH=/home/isunni/Qt/5.14.2/gcc_64/lib/cmake/Qt5Core.

Unfortunately, when I run the build command (e.g. ninja -j6) I got some
error like this below:

In file included from
> /home/isunni/Qt/5.14.2/gcc_64/include/QtCore/qcalendar.h:48:0,
>  from
> /home/isunni/Qt/5.14.2/gcc_64/include/QtCore/QtCore:37,
>  from /home/isunni/dev/cpp/QGIS/src/gui/qgshelp.h:19,
>  from
> /home/isunni/dev/cpp/QGIS/src/providers/postgres/qgspgnewconnection.h:21,
>  from
> /home/isunni/dev/cpp/QGIS/src/providers/postgres/qgspgnewconnection.cpp:22:
> /home/isunni/Qt/5.14.2/gcc_64/include/QtCore/qstringview.h: In
> instantiation of ‘constexpr QStringView::QStringView(const Pointer&) [with
> Pointer = const char16_t*; typename
> std::enable_if::value, bool>::type
>  = 1]’:
> /home/isunni/Qt/5.14.2/gcc_64/include/QtCore/qstringbuilder.h:378:71:
> required from here
> /home/isunni/Qt/5.14.2/gcc_64/include/QtCore/qstringview.h:201:53: error:
> ‘lengthHelperPointer’ was not declared in this scope
>  : QStringView(str, str ? lengthHelperPointer(str) : 0) {}
>   ~~~^


It seems, it still refers to the system installed Qt (5.9), but I am not
sure which one since I already set the Qt5*_Dir to QT 5.14.2 and the
CMAKE_PREFIX_PATH is also set to /home/isunni/Qt/5.14.2/gcc_64 (where my Qt
5.14.2 located)

Is there a parameter that I should update beside the Qt5*_Dir to make it
work? Or is there any library or package that I need to install
additionally?

I am using Ubuntu 18.04 and can build QGIS using the system installed Qt
(5.9) fine.

Thanks!

NB: Here is my CMakeCache:
https://gist.github.com/ismailsunni/c61b6b51c83753df39fea67b5e848b80

-- 
Ismail Sunni
Software Engineer
ismailsunni.id
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] GSoC 2020 Final report

2020-08-28 Thread Ismail Sunni
Amazing work Belgacem, congratulations!

Best regards.

On Fri, Aug 28, 2020 at 9:03 PM BELGACEM NEDJIMA  wrote:

> Hi all,
>
> With the Google summer of code project coding period coming to an end, I
> have my final report here: final report document
> <https://docs.google.com/document/d/1z7mNqrIhtgouOrdttNVQAr-yHJwFF55ry1KBts5-A8g/edit>
> .
> I have my weekly reports also collected here on: OSGEO wiki page
> <https://wiki.osgeo.org/wiki/Improving_qgis_3d>.
> I'm looking forward to making more contributions in the future :)
> Best regards,
> --
> Belgacem Nedjima
> 4th year computer science and engineering student.
> https://github.com/NEDJIMAbelgacem
>
> ___
> 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



-- 
Ismail Sunni
Software Engineer
ismailsunni.id
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] How to setup Visual Studio 2019 environment for QGIS C++ development?

2020-08-05 Thread Ismail Sunni
Yes, it's possible to run QGIS using WSL2. I have it running in my Windows.

My colleague, Rizky, writes a note about it here
https://github.com/lucernae/wsl2-qgis

Perhaps, it also possible to develop QGIS by using WSL2 on Windows

Best regards.

On Wed, Aug 5, 2020 at 9:42 AM BELGACEM NEDJIMA  wrote:

> I actually looked into WSL and WSL2 but its intended use is command line
> executables which is not the case for QGIS. I read somewhere that you can
> run GUI apps from WSL by using a third party X server (you can think of it
> as a remote display application) but it's kinda inefficient and I think it
> will require more work than what you'll need if you just switch to linux.
>
> If after trying you didn't get anything working on Windows and ended up
> having to switch to linux. I recommend KDE environment (I'm using Kubuntu).
> I was using windows for everything until 3 months ago and KDE UI made the
> transition much easier for me.
>
> Best wishes,
>
>
> On Wed, Aug 5, 2020, 8:20 AM Charles Dixon-Paver 
> wrote:
>
>> If you are wanting to use Linux functionality directly within Windows 10,
>> Microsoft has introduced Windows Subsystem for Linux. If you're having
>> trouble with Visual Studio but want to stick with Windows it's perhaps a
>> feasible solution.
>>
>> https://docs.microsoft.com/en-us/windows/wsl/about
>>
>> Regards
>>
>> On Wed, 5 Aug 2020 at 01:50, BELGACEM NEDJIMA  wrote:
>>
>>> Hi,
>>> Here is some explanation about making .sln files for QGIS project.
>>> QGIS uses CMake to generate the .sln file. Ideally in a simple CMake
>>> project you run CMake where the CMakeFiles.txt is located (usually at the
>>> root of the source tree) and provide paths to the external libraries you
>>> use the you generate .sln files and build the project normally but since
>>> QGIS uses a lots of libraries some of them don't support Visual Studio well
>>> and you end up having some really complicated error messages.
>>> About 3 months ago I tried to use visual studio 2019 and changed
>>> somethings in the build script. I managed to generate solution files but
>>> QGIS couldn't compile. I ended up having to switch to linux.
>>> I hope you find a solution soon.
>>>
>>>
>>> On Tue, Aug 4, 2020, 10:48 PM  wrote:
>>>
>>>> Hi Ismail and thank you for your link to the pull request.
>>>> Currently that PR has not been accepted, because of some checks not
>>>> being successful.
>>>>
>>>> I do not really know exactly what that pull request is trying to do
>>>> (but as many as 42 files seem to be involved in the PR) but as far as I can
>>>> see it does not include a ".sln" file (Visual Studio solution file) nor any
>>>> ".vcxproj" files (Visual C++ project files) nor a file "packages.config"
>>>> (for NuGet managed libraries).
>>>>
>>>> I think I read somewhere here in the QGIS developer list archive that
>>>> someone estimated that 90% percent of the QGIS developers are using Linux.
>>>> If that is true then I believe the reason might be that Windows
>>>> developers (which are used to NuGet and Visual Studio solutions files and
>>>> project files) may choose to give up when they feel it seems difficult to
>>>> even get started with the development environment for QGIS with Windows.
>>>>
>>>> Can anyone answer this question:
>>>> Would it, for some reason, be impossible to provide a Visual Studio
>>>> solution file (and .vcxproj files) that can simply be opened, and then the
>>>> required dependencies would be retrieved automatically with NuGet
>>>> (according to NuGet references in the ".vcxproj" files or
>>>> "packages.config") ?
>>>> One obvious reason could be that there may be some required libraries
>>>> which are not available through NuGet but those kind of files therefore
>>>> really will need a manual installation.
>>>> But I mean is it possible to provide easy instructions with only very
>>>> FEW manual installations for Windows, and then the majority of the
>>>> dependencies would be retrieved through NuGet when you open a Visual Studio
>>>> solution file which hopefully would be available from the github 
>>>> repository?
>>>>
>>>> The only kind of libraries I myself have used with NuGet is .NET
>>>> libraries but as far as I understand, NuGet can also be used for native C++
>>>> lib

Re: [QGIS-Developer] How to setup Visual Studio 2019 environment for QGIS C++ development?

2020-08-03 Thread Ismail Sunni
Hi Tomjan,

Perhaps you want to see this PR https://github.com/qgis/QGIS/pull/38102 for
your question.

Best regards

On Mon, Aug 3, 2020, 23:44  wrote:

> I would be interested in learning to contribute to QGIS.
> My previous C++ experience is that about 20 years ago I did some (for a
> couple of years) Visual C++ programming with Microsoft's MFC as the GUI.
> Now I think I could refresh my C++ skills and also learn QT which I have
> never programmed with so far.
>
> However, I am not a Linux user, but always have been using Windows
> (currently Windows 10).
> It seems to be a complicated obstacle to get started running QGIS through
> Visual Studio 2019.
>
> I think it would be great with a tutorial (webpage or youtube video
> tutorial) about how to get started with an example showing how to do all
> necessary installations/configurations/setup until you can compile and run
> QGIS with a breakpoint in Visual Studio 2019.
>
> I have seen that the "INSTALL" file in the repository refers to Visual
> Studio 2015, but it seems awkward if it really would be necessary to use
> such an ancient version?
> Is nobody of the QGIS developers using Visual Studio 2019?
>
> ___
> 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] GeoPackage - where are we -where do we go

2020-05-08 Thread Ismail Sunni
Hi Tobias,

VACUUM doesn't help here and isn't reachable easily using a button in
> QGIS. Seems like there's much empty space in the db scheme. Perhaps
> anyone can explain this?


You can right-click on the gpkg file in the file browser panel and you can
see the `Compact Database (VACUUM)`.

Best regards

On Fri, May 8, 2020 at 1:52 PM Tobias Wendorff <
tobias.wendo...@tu-dortmund.de> wrote:

> Am 08.05.2020 um 11:30 schrieb Matthias Kuhn:
> >
> > I do not want to trigger a evangelical discussion here. I'd like to see
> > where we are and what we can reasonably do to have a default file format
> > which can be recommended with no bad feelings.
>
> Two downsides of GPKG, which I've experienced with many users, who
> worked with Shapefiles in the past:
>
> 1. A GPKG can contain multiple layers, but has one filename only. This
> confuses many users. They're expecting single files, like
> "houses_poly.gpkg" and "houses_point.gpkg". When they only see
> "houses.gpkg", they think they're missing anything. From the normal
> Windows Explorer (don't know about Nautilus etc.), you also cannot watch
> inside the GPKG file to check its content. It would be nice to make
> Windows parse GPKG's/sqlite3's metadata.
>
> 2. As pointed out in the past, a big downside of GPKG or sqlite3 is the
> huge bloat. I often have single table GPKGs, which are 12 GiB. When
> compressing them with zstd, I can get it down to 3 GiB or even less in
> about no time.
>
> VACUUM doesn't help here and isn't reachable easily using a button in
> QGIS. Seems like there's much empty space in the db scheme. Perhaps
> anyone can explain this?
> ___
> 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



-- 
Ismail Sunni
Software Engineer
ismailsunni.id
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] Google summer of code project - Improving QGIS 3D

2020-05-04 Thread Ismail Sunni
Congratulation Belgacem and QGIS!

Looking forward to the project :)

Good luck and May the Fourth be with you

Best regards

On Mon, May 4, 2020 at 9:32 PM Tim Sutton  wrote:

> Hi
>
>
>
> On 4 May 2020, at 20:09, Martin Dobias  wrote:
>
> Hi all
>
> I am happy to announce that there will be a summer of code project
> this year dedicated to improvements in QGIS 3D. Please join me in
> welcoming Belgacem Nedjima to our community! I hope this will be yet
> another successful project for QGIS :-)
>
> Peter Petrik and myself will be serving as mentors for Belgacem, but I
> am sure that other developers will be happy to help him whenever
> needed.
>
> Starting today we are entering community bonding period which will
> last until the end of May - during this time students are expected to
> familiarize themselves with the community and the development process
> within the project. Then from the beginning of June until the end of
> August students work on their projects.
>
> If everything goes well, you can expect exciting new features in QGIS
> 3D, such as support for textured objects, export of data from QGIS 3D
> scenes, directional lights and more 3D rendering techniques! The full
> proposal is here:
>
> https://docs.google.com/document/d/1dyszmpDlMpIV0T6oKEtIfCY5N2nXSp43LqF_h4U9p4A/edit?usp=sharing
>
>
> Yay! Seems like just yesterday we were in Bucharest with me telling you
> how nice it would be to have my buildings in my models painted with nice
> textures … so at least one enthusiastic tester here waiting to cheer you on
> from the sidelines Belgacem. And thanks so much for mentoring him Peter and
> Martin!
>
> Regards
>
> Tim
>
>
>
> Regards
> 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
>
>
> —
>
>
>
>
>
>
>
>
>
> *Tim Sutton*
>
> *Co-founder:* Kartoza
> *Ex Project chair:* QGIS.org
>
> Visit http://kartoza.com to find out about open source:
>
> Desktop GIS programming services
> Geospatial web development
> GIS Training
> Consulting Services
>
> *Skype*: timlinux
> *IRC:* timlinux on #qgis at freenode.net
>
> I'd love to connect. Here's my calendar link
> <https://calendly.com/timlinux/30min> to make finding time easy.
>
> _______
> 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



-- 
Ismail Sunni
Software Engineer
ismailsunni.id
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 Projection Issue on QGIS

2020-04-08 Thread Ismail Sunni
Dear All,

I built QGIS from source (master branch), it was working fine a few days
ago. Then I need to build other versions (LTR and LR). Now, my master
branch QGIS get this problem:

I can't set the projection. The symbol for projection just the crossed
projection logo. I tried to open a project, it said "Unknown CRS". And I
got this warning in the CRS log message:

"2020-04-08T17:34:25 WARNINGSaved user CRS [+proj=longlat
> +ellps=WGS84 +no_defs]".


I tried to set the projection from the Project Properties | CRS, but it
keeps saying "Unknown CRS".

I checked with my QGIS from the official release, it works fine. So, it
must be the building process. But, unfortunately, I don't have any clue,
since there is no error message. The only I got is these warnings:

../src/core/qgsmessagelog.cpp:29 : (logMessage) [176ms] 2020-04-08T17:35:12
> CRS[1] Saved user CRS [+proj=longlat +ellps=bess_nam +no_defs]
> ../src/core/qgsmessagelog.cpp:29 : (logMessage) [217ms]
> 2020-04-08T17:35:12 CRS[1] Saved user CRS [+proj=longlat +ellps=evrstSS
> +no_defs]
> ../src/core/qgsmessagelog.cpp:29 : (logMessage) [39ms] 2020-04-08T17:35:12
> CRS[1] Saved user CRS [+proj=longlat +ellps=GRS67 +no_defs]
> ../src/core/qgsmessagelog.cpp:29 : (logMessage) [243ms]
> 2020-04-08T17:35:12 CRS[1] Saved user CRS [+proj=longlat +ellps=mod_airy
> +no_defs]
> ../src/core/qgsmessagelog.cpp:29 : (logMessage) [400ms]
> 2020-04-08T17:35:13 CRS[1] Saved user CRS [+proj=longlat +ellps=WGS72
> +no_defs]
>

Any pointer to solve this problem is appreciated.

Thanks

Best regards.

-- 
Ismail Sunni
Software Engineer
ismailsunni.id
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] Cancellation: QGIS Developer meeting and conference Nødebo

2020-03-30 Thread Ismail Sunni
Same applies to 's-hertogenbosch :)

Not a common name :D

On Mon, Mar 30, 2020, 17:56 Jeff McKenna 
wrote:

> On the other hand, using the Nødebo name gives much credit to the
> passion and volunteering to plan the event (even when an event gets
> cancelled, all that passion and volunteering still happened).  -jeff
>
>
>
> On 2020-03-30 12:46 p.m., Jorge Gustavo Rocha wrote:
> > Hi devs,
> >
> > Since we don't have the city name for the next QGIS version, can we just
> > call Pi to version 3.14?
> >
> > Best regards,
> >
> > Jorge
> >
> > On 30/03/20 15:34, Tim Sutton wrote:
> >> Hi Luigi
> >>
> >> Do you mean to also reference the fact that Netherlands HF was
> cancelled?
> >>
> >> Regards
> >>
> >> Tim
> >>
> >>> On 30 Mar 2020, at 15:19, Luigi Pirelli  >>> > wrote:
> >>>
> >>> :( so sorry
> >>>
> >>> could make sense to go back to Netherland?
> >>>
> >>> Luigi Pirelli
> >>>
> >>>
> **
> >>> * LinkedIn: https://www.linkedin.com/in/luigipirelli
> >>> * Stackexchange:
> http://gis.stackexchange.com/users/19667/luigi-pirelli
> >>> * GitHub: https://github.com/luipir
> >>> * Book: Mastering QGIS3 - 3rd Edition
> >>> <
> https://www.packtpub.com/eu/application-development/mastering-geospatial-development-qgis-3x-third-edition
> >
> >>> * Hire a team: http://www.qcooperative.net <
> http://www.qcooperative.net/>
> >>>
> **
> >>>
> >>>
> >>> On Sat, 28 Mar 2020 at 18:09, Lene Fischer  >>> > wrote:
> >>>
> >>>  Dear QGIS Developer
> >>>   It is with great regret we have to inform: We are not able to
> >>>  host 25th QGIS Developer meeting and conference this year in
> Nødebo.
> >>>  Due to the close down at the moment, a lot of our lectures and
> >>>  activities are postponed till August.
> >>>
> >>>  Regards
> >>>
> >>>
> >>>  Lene Fischer
> >>>  Associate Professor
> >>>
> >>>  University of Copenhagen
> >>>  Department of Geosciences and Natural Resource Management
> >>>  Forest and Landscape College
> >>>  Nødebovej 77a
> >>>  3480 Fredensborg
> >>>
> >>>  MOB +45 40115084
> >>>  l...@ign.ku.dk 
> >>>
> >>>  ___
> >>>  QGIS-Developer mailing list
> >>>  QGIS-Developer@lists.osgeo.org  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
> >>
> >> —
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >>
> >> *Tim Sutton*
> >>
> >> *Co-founder:* Kartoza
> >> *Ex Project chair:* QGIS.org 
> >>
> >> Visit http://kartoza.com  to find out about open
> >> source:
> >>
> >> Desktop GIS programming services
> >> Geospatial web development
> >> GIS Training
> >> Consulting Services
> >>
> >> *Skype*: timlinux
> >> *IRC:* timlinux on #qgis at freenode.net 
> >>
> >> I'd love to connect. Here's my calendar link
> >>  to make finding time easy.
> >>
>
>
>
>
> ___
> 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] [SoC] Request for QGIS 3D proposal draft review

2020-03-28 Thread Ismail Sunni
Hi BELGACEM,

Good luck with the proposal!

Best regards :)

On Fri, Mar 27, 2020 at 2:10 PM BELGACEM NEDJIMA  wrote:

> Hello everyone,
> I finished my GSoC proposal for the QGIS project.
> If anyone has any remark about it, please let me know before I submit the
> proposal to GSoC website.
> Best regards
>
> On Thu, Mar 19, 2020 at 1:14 PM BELGACEM NEDJIMA 
> wrote:
>
>> Hello everyone,
>> I am Belgacem Nedjima, a fourth year student at the higher school of
>> computer science (ESI - ecole supérieure d'informatique), Algiers. I am
>> very interested in QGIS 3D project and discussed the project with mentor
>> Martin Dobias and wrote a proposal draft.
>> I would be very happy to receive feedback and clarify anything about my
>> proposal before I submit to the GSoC website. If there is anything unclear
>> or missing please let me know.
>> The list of features required for the QGIS 3D project is quite extensive,
>> so if there is any feature you think is more interesting than the features
>> I mentioned in the proposal please let me know.
>>
>> Proposal document :
>>
>> https://docs.google.com/document/d/1dyszmpDlMpIV0T6oKEtIfCY5N2nXSp43LqF_h4U9p4A/edit?usp=sharing
>>
>> I am looking forward to your valuable feedback.
>>
>> Best regards
>>
>> --
>> Belgacem Nedjima
>> 4th year computer science and engineering student student.
>> https://github.com/NEDJIMAbelgacem
>>
>>
>
> --
> Belgacem Nedjima
> 4th year computer science and engineering student student.
> https://github.com/NEDJIMAbelgacem
>
> ___
> SoC mailing list
> s...@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/soc



-- 
Ismail Sunni
Software Engineer
ismailsunni.id
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] GSoC project scope discussion

2020-03-11 Thread Ismail Sunni
Hi BELGACEM,

1) Is there a written list of features that QGIS 3D has ? I don't see the
> 3D map view fully integrated within QGIS especially for scripting.


This Martin's presentation in FOSS4G perhaps can show the current list of
features also: https://www.youtube.com/watch?v=stKWTOI0dFc=4s

Best regards


On Wed, Mar 11, 2020 at 3:43 AM BELGACEM NEDJIMA  wrote:

> Hello Martin,
> Thank you for your positive reply!
> I just updated the GitHub repository with some screenshots of the things
> I made with my graphics engine. I started learning opengl January last
> year and didn't think I will have good results to share (I was just playing
> around) and when I heard about google summer of code I figured it will be a
> good chance to prove that I know how to code in C++ (despite some bad
> practices I did there like the obvious awful cmake file that I only
> noticed when I was writing the readme file ). sorry for not writing a
> proper readme from the start, I will be glad to hear your opinion about my
> hobby project.
> Link to the readme file: https://github.com/NEDJIMAbelgacem
> /Graphics_Engine/blob/master/README.md
> I will be happy to discuss with you the list of features requested for
> QGIS, I can start developing the features and familiarizing eith the
> codebase before GSoC starts (even if I don't get accepted I think I can
> learn a lot from QGIS code base).
> Best Regards,
> Belgacem
>
>
>>
>> ___
> 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



-- 
Ismail Sunni
Software Engineer
ismailsunni.id
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] Finalising the changelog for 3.12

2020-03-05 Thread Ismail Sunni
Done!

On Thu, Mar 5, 2020 at 10:57 PM Tim Sutton  wrote:

> Yes please remove Ismail.
>
> Thanks!
>
> Regards
>
> Tim
>
>
> A quinta, 5 de mar de 2020, 13:36, Ismail Sunni 
> escreveu:
>
>> Hi Tim,
>>
>> I just checked the changelog, there is one mistake[1]. This feature is
>> not merged yet[2]. Probably merged for 3.14. Should I delete it?
>>
>> Best regards.
>>
>> 1.
>> https://changelog.qgis.org/en/qgis/version/3.12/#harmonize-3d-map-view-widget-with-2d-ones-display-
>>
>> 2. https://github.com/qgis/QGIS/pull/34369
>>
>> On Thu, Mar 5, 2020 at 1:50 PM Tim Sutton  wrote:
>>
>>> Wonderful, thanks so much!
>>>
>>> Regards
>>>
>>> Tim
>>>
>>> On 5 Mar 2020, at 08:19, Totò  wrote:
>>>
>>>
>>> Hi Tim,
>>> I added these:
>>>
>>> Add json support to WMS GetLegendGraphic -
>>> https://github.com/qgis/QGIS/pull/31747
>>> add gdal_viewshed algorithm - https://github.com/qgis/QGIS/pull/32463
>>> Add option to set color for rendering nodata pixels in raster layers -
>>> https://github.com/qgis/QGIS/pull/31728
>>>
>>> regards
>>>
>>>
>>>
>>> -
>>> https://pigrecoinfinito.wordpress.com/
>>> --
>>> Sent from:
>>> http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
>>> ___
>>> 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
>>>
>>>
>>> —
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> *Tim Sutton*
>>>
>>> *Co-founder:* Kartoza
>>> *Ex Project chair:* QGIS.org
>>>
>>> Visit http://kartoza.com to find out about open source:
>>>
>>> Desktop GIS programming services
>>> Geospatial web development
>>> GIS Training
>>> Consulting Services
>>>
>>> *Skype*: timlinux
>>> *IRC:* timlinux on #qgis at freenode.net
>>>
>>> I'd love to connect. Here's my calendar link
>>> <https://calendly.com/timlinux> to make finding time easy.
>>>
>>> ___
>>> 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
>>
>>
>>
>> --
>> Ismail Sunni
>> Software Engineer
>> ismailsunni.id
>> ismailsunni.wordpress.com
>>
>

-- 
Ismail Sunni
Software Engineer
ismailsunni.id
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] Finalising the changelog for 3.12

2020-03-05 Thread Ismail Sunni
Hi Tim,

I just checked the changelog, there is one mistake[1]. This feature is not
merged yet[2]. Probably merged for 3.14. Should I delete it?

Best regards.

1.
https://changelog.qgis.org/en/qgis/version/3.12/#harmonize-3d-map-view-widget-with-2d-ones-display-

2. https://github.com/qgis/QGIS/pull/34369

On Thu, Mar 5, 2020 at 1:50 PM Tim Sutton  wrote:

> Wonderful, thanks so much!
>
> Regards
>
> Tim
>
> On 5 Mar 2020, at 08:19, Totò  wrote:
>
>
> Hi Tim,
> I added these:
>
> Add json support to WMS GetLegendGraphic -
> https://github.com/qgis/QGIS/pull/31747
> add gdal_viewshed algorithm - https://github.com/qgis/QGIS/pull/32463
> Add option to set color for rendering nodata pixels in raster layers -
> https://github.com/qgis/QGIS/pull/31728
>
> regards
>
>
>
> -
> https://pigrecoinfinito.wordpress.com/
> --
> Sent from:
> http://osgeo-org.1560.x6.nabble.com/QGIS-Developer-f4099106.html
> ___
> 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
>
>
> —
>
>
>
>
>
>
>
>
> *Tim Sutton*
>
> *Co-founder:* Kartoza
> *Ex Project chair:* QGIS.org
>
> Visit http://kartoza.com to find out about open source:
>
> Desktop GIS programming services
> Geospatial web development
> GIS Training
> Consulting Services
>
> *Skype*: timlinux
> *IRC:* timlinux on #qgis at freenode.net
>
> I'd love to connect. Here's my calendar link
> <https://calendly.com/timlinux> to make finding time easy.
>
> ___
> 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



-- 
Ismail Sunni
Software Engineer
ismailsunni.id
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] New feed item not showing up

2019-12-11 Thread Ismail Sunni
Hi Tim,

I can see it on my news feed. I am on Ubuntu 18.04, QGIS 3.10.

Best regards

On Wed, Dec 11, 2019 at 10:54 PM Tim Sutton  wrote:

> Hi Folks
>
> I posted a new feed item today advertising the 24th QGIS Hackfest, but it
> does not show up for me in either 3.10 or 3.11. Can anyone else see it? Or
> is anyone aware of why it doesn’t show? See the second item in :
>
> https://feed.qgis.org
>
> Regards
>
> Tim
>
>
>
>
>
>
>
> ---
>
> *Tim Sutton*
> t...@qgis.org
>
>
>
>
> ___
> 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



-- 
Ismail Sunni
Software Engineer
ismailsunni.id
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] News panel?

2019-10-28 Thread Ismail Sunni
Hi Tim,

I have restarted my QGIS 3.10 several times, but I still couldn't see the
Welcome Message or the news panel. I have enabled "Show QGIS news feed on
welcome page" and set the Welcome Page on the project launch.

I only see the "recent project" and "project template" panel in the
beginning.

Thanks!

Best regards.

On Mon, Oct 28, 2019 at 10:53 AM Tim Sutton  wrote:

> Hi Folks
>
> Please restart your QGIS - Andreas and I have added something. He is
> making a few tweaks, any suggestions welcome….
>
> Regards
>
> Tim
>
> On 28 Oct 2019, at 07:26, Paolo Cavallini  wrote:
>
> Hi all,
>
> On 10/27/19 11:53 PM, Nyall Dawson wrote:
>
> On Sun, 27 Oct 2019 at 03:40, Jorge Gustavo Rocha 
> wrote:
>
>
> Hi Raymond,
>
> You can confirm it by yourself. Just open https://feed.qgis.org/ and you
> will see the entire news feed.
>
>
> I think we should publish a short "welcome to QGIS 3.10" article
> (ideally when the change log is ready), so that we've got something to
> show on first load?
>
>
> fully agreed. Tim already prepared something, probably good to start
> from that?
> Cheers.
> --
> Paolo Cavallini - www.faunalia.eu
> QGIS.ORG Chair:
> http://planet.qgis.org/planet/user/28/tag/qgis%20board/
> ___
> 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
>
>
> —
>
>
>
>
>
>
>
>
> *Tim Sutton*
>
> *Co-founder:* Kartoza
> *Ex Project chair:* QGIS.org
>
> Visit http://kartoza.com to find out about open source:
>
> Desktop GIS programming services
> Geospatial web development
> GIS Training
> Consulting Services
>
> *Skype*: timlinux
> *IRC:* timlinux on #qgis at freenode.net
>
> I'd love to connect. Here's my calendar link
> <https://calendly.com/timlinux> to make finding time easy.
>
> _______
> 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



-- 
Ismail Sunni
Software Engineer
ismailsunni.id
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] Changelog for 3.10

2019-10-17 Thread Ismail Sunni
Hi Nyall,
>
>
> As a reminder from last cycle, we've adapted certain language
> guidelines to make the changelog consistent and easier to read:
> - Don't use passive tense "A feature was added which allows use
> of...", instead replace it with the more personal "WE added a
> feature... this allows YOU to...".
> - Talk up features! Make them sound innovative, exciting and "fun",
> instead of dry and technical.
> - Give lots of credit to sponsors, e.g.  "In previous QGIS versions
> you had to ... . Now, thanks to sponsorship from ###, you can now
> directly import..."


Thanks for the guidelines, I didn't know it before. I have added the
description for the features that I did for the GSoC, following the
guidelines.

Best regards.

On Thu, Oct 17, 2019 at 8:38 AM Nyall Dawson  wrote:

> Hi list,
>
> Once again a release has rolled around with our changelog in complete
> disarray. :(
>
> I w̶a̶s̶t̶e̶d̶ invested some time today copying entries from the git
> log across to the changelog, but honestly, we were all TERRIBLE this
> cycle and the git commits for features consistently had next to no
> documentation. Everyone was at fault here*.
>
> As a result, the changelog still looks... rather... crap. So devs--
> please fix and expand on your entries!*
>
> As a reminder from last cycle, we've adapted certain language
> guidelines to make the changelog consistent and easier to read:
>
> - Don't use passive tense "A feature was added which allows use
> of...", instead replace it with the more personal "WE added a
> feature... this allows YOU to...".
>
> - Talk up features! Make them sound innovative, exciting and "fun",
> instead of dry and technical.
>
> - Give lots of credit to sponsors, e.g.  "In previous QGIS versions
> you had to ... . Now, thanks to sponsorship from ###, you can now
> directly import..."
>
> Nyall
>
>
> * myself included
> ___
> 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



-- 
Ismail Sunni
Software Engineer
ismailsunni.id
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] Self Introduction and College Capstone Project Questions

2019-09-11 Thread Ismail Sunni
 On 2019-09-10 02:13, Kyoungduk Park wrote:
>>
>> Dear QGIS Developers,
>>
>> Please forgive me if this is not the best way to reach out to y'all, and
>> please do let me know if so.
>>
>> I am a current college senior majoring in CS at Tufts University, located
>> near Boston, USA. For my engineering degree, I need to complete a year-long
>> senior capstone project. Now, I am a huge fan of free software and maps,
>> and I have been programming for the past two years on C/C++/Python. I
>> stumbled upon QGIS upon searching possible projects, and have been thinking
>> wildly about devoting my last school year to contributing to its
>> development. I have been fiddling around with QGIS for the past couple of
>> days, and will take a couple more until I get the basic hang of it.
>>
>> I currently have a team of a couple of CS students including myself, an
>> applied math major student, and might possibly have a human factors
>> engineering student. The only caveat right now is that we need a project
>> "sponsor" who would simply have to communicate with my team and give
>> feedbacks/guidance.
>>
>> We would really appreciate if anyone can suggest a cool year-long
>> project/idea, while we also would be searching for our own.* More
>> importantly, is there anyone who can possibly be our project sponsor? *Please
>> let me know if so. Thank you for your time.
>>
>> With best regards,
>> Eric Park
>>
>>
>> ___
>> 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



-- 
Ismail Sunni
Software Engineer
ismailsunni.id
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] GSoC 2019 - Final Report - QGIS 3D Improvement: On-Screen Navigation, Bookmarks, Rendering Point Feature as Billboard, and Measuring Tool

2019-08-27 Thread Ismail Sunni
Hi Harissou,
>
> Thanks. Yes that's the only place we documented it, for the moment. At
> some stage, I think it would deserve its own chapter which will make it
> easier to find for users but we need to feed it beforehand.


Ok, I will put it there also. I realized that there is no documentation for
the other 3D tool also :)

I hope you succeeded. If ever you had some troubles, keep us informed so
> that we improve it (the easier/smoother the build is, the better)


I got it working, but with docker one (HTML and PDF). But, I got this error
message when I built the PDF one: https://pastebin.com/4WRPjqx4

Anyway, it's enough for me to start writing.

[feature] in the title or in a merged commit is the trigger. If you plan to
> tackle this issue in the current process, then having no report is not an
> issue. Otherwise a manual creation is still possible.


I will create manually then.

Thanks for helping. And if ever you struggle in the steps, let us know, We
> are looking for feedbacks from new contributors on our processes.


Feedback: adding docker support to build the document is really save a lot
of time.

Thanks.

Best regards.




On Tue, Aug 27, 2019 at 1:54 PM DelazJ  wrote:

> Hi Ismail, all
>
> Le mar. 27 août 2019 à 11:48, Ismail Sunni  a
> écrit :
>
>> Thanks, Helmut, Paolo, Tim, and Harrisou :)
>>>
>>>
>>> If I may, is there a plan to have the feature(s) documented for the QGIS
>>> 3D users in the official User manual (or any end user oriented
>>> documentation)? I think it would greatly complete the work.
>>> 3D in QGIS is (one of) the least documented area in the official user
>>> manual. I'm not asking you to fill the gap but..
>>
>>
>> I will try to make the documentation for them. Is it ok if I put it in
>> this part:
>> https://docs.qgis.org/3.4/en/docs/user_manual/introduction/qgis_gui.html#d-map-view
>>  I
>> couldn't find 3D specific part in the documentation.
>>
>> Thanks. Yes that's the only place we documented it, for the moment. At
> some stage, I think it would deserve its own chapter which will make it
> easier to find for users but we need to feed it beforehand.
>
>> I am currently trying to build the documentation locally :)
>>
>> I hope you succeeded. If ever you had some troubles, keep us informed so
> that we improve it (the easier/smoother the build is, the better)
>
>> Btw, I can't find some of the features you developed, in the doc issues
>>> (only 3d measure is listed).
>>
>>
>> The billboard rendering PR is merged this morning, the doc issue is in
>> https://github.com/qgis/QGIS-Documentation/issues/4154
>>
>> Yep. Got the notification.
>
>> For on-screen navigation, I am not sure. It should be created
>> automatically if we put a feature label, right? The original PR is
>> https://github.com/qgis/QGIS/pull/30105 Or must it be a tag [feature] in
>> the title?
>>
>> [feature] in the title or in a merged commit is the trigger. If you plan
> to tackle this issue in the current process, then having no report is not
> an issue. Otherwise a manual creation is still possible.
>
> Thanks for helping. And if ever you struggle in the steps, let us know, We
> are looking for feedbacks from new contributors on our processes.
>
> Regards,
> Harrissou
>
>> Best regards.
>>
>>
>> On Mon, Aug 26, 2019 at 9:45 PM DelazJ  wrote:
>>
>>> Hi Ismail,
>>>
>>> Congratulations! Thanks for your contribution and for providing new
>>> features in QGIS.
>>> If I may, is there a plan to have the feature(s) documented for the QGIS
>>> 3D users in the official User manual (or any end user oriented
>>> documentation)? I think it would greatly complete the work.
>>> 3D in QGIS is (one of) the least documented area in the official user
>>> manual. I'm not asking you to fill the gap but...
>>> Btw, I can't find some of the features you developed, in the doc issues
>>> (only 3d measure is listed).
>>>
>>> Regards,
>>> Harrissou
>>>
>>> Le lun. 26 août 2019 à 20:08, Tim Sutton  a écrit :
>>>
>>>> Really great job Sunni! And best of all you made something that many of
>>>> us will use every day!
>>>>
>>>> Regards
>>>>
>>>> Tim
>>>>
>>>> On 26 Aug 2019, at 19:16, Paolo Cavallini 
>>>> wrote:
>>>>
>>>> Thanks Ismail, booth for your work and for documenting thoroughly every
>>>> step of it. Your input to the project is very valuable, and I hope
>>>> you'll get support t

Re: [QGIS-Developer] GSoC 2019 - Final Report - QGIS 3D Improvement: On-Screen Navigation, Bookmarks, Rendering Point Feature as Billboard, and Measuring Tool

2019-08-27 Thread Ismail Sunni
Thanks, Helmut, Paolo, Tim, and Harrisou :)
>
>
> If I may, is there a plan to have the feature(s) documented for the QGIS
> 3D users in the official User manual (or any end user oriented
> documentation)? I think it would greatly complete the work.
> 3D in QGIS is (one of) the least documented area in the official user
> manual. I'm not asking you to fill the gap but..


I will try to make the documentation for them. Is it ok if I put it in this
part:
https://docs.qgis.org/3.4/en/docs/user_manual/introduction/qgis_gui.html#d-map-view
I
couldn't find 3D specific part in the documentation.

I am currently trying to build the documentation locally :)

Btw, I can't find some of the features you developed, in the doc issues
> (only 3d measure is listed).


The billboard rendering PR is merged this morning, the doc issue is in
https://github.com/qgis/QGIS-Documentation/issues/4154

For on-screen navigation, I am not sure. It should be created automatically
if we put a feature label, right? The original PR is
https://github.com/qgis/QGIS/pull/30105 Or must it be a tag [feature] in
the title?

Best regards.


On Mon, Aug 26, 2019 at 9:45 PM DelazJ  wrote:

> Hi Ismail,
>
> Congratulations! Thanks for your contribution and for providing new
> features in QGIS.
> If I may, is there a plan to have the feature(s) documented for the QGIS
> 3D users in the official User manual (or any end user oriented
> documentation)? I think it would greatly complete the work.
> 3D in QGIS is (one of) the least documented area in the official user
> manual. I'm not asking you to fill the gap but...
> Btw, I can't find some of the features you developed, in the doc issues
> (only 3d measure is listed).
>
> Regards,
> Harrissou
>
> Le lun. 26 août 2019 à 20:08, Tim Sutton  a écrit :
>
>> Really great job Sunni! And best of all you made something that many of
>> us will use every day!
>>
>> Regards
>>
>> Tim
>>
>> On 26 Aug 2019, at 19:16, Paolo Cavallini  wrote:
>>
>> Thanks Ismail, booth for your work and for documenting thoroughly every
>> step of it. Your input to the project is very valuable, and I hope
>> you'll get support to keep on collaborating with it.
>> Cheers.
>>
>> On 26/08/19 13:54, Ismail Sunni wrote:
>>
>> Dear QGIS and OSGeo community,
>>
>> The day has come, it's the last day of my GSoC project. Here, I present
>> my final report for the past three months of m work on this project.
>>
>> I have made easy to remember the simple website for it also, you can
>> check it here: https://ismailsunni.github.io/GSoC-2019/
>>
>>
>> --
>> Paolo Cavallini - www.faunalia.eu
>> QGIS.ORG Chair:
>> http://planet.qgis.org/planet/user/28/tag/qgis%20board/
>> ___
>> 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
>>
>>
>> —
>>
>>
>>
>>
>>
>>
>>
>>
>> *Tim Sutton*
>>
>> *Co-founder:* Kartoza
>> *Ex Project chair:* QGIS.org
>>
>> Visit http://kartoza.com to find out about open source:
>>
>> Desktop GIS programming services
>> Geospatial web development
>> GIS Training
>> Consulting Services
>>
>> *Skype*: timlinux
>> *IRC:* timlinux on #qgis at freenode.net
>>
>> I'd love to connect. Here's my calendar link
>> <https://calendly.com/timlinux> to make finding time easy.
>>
>> ___
>> 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



-- 
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] GSoC 2019 - Final Report - QGIS 3D Improvement: On-Screen Navigation, Bookmarks, Rendering Point Feature as Billboard, and Measuring Tool

2019-08-26 Thread Ismail Sunni
Dear QGIS and OSGeo community,

The day has come, it's the last day of my GSoC project. Here, I present my
final report for the past three months of m work on this project.

I have made easy to remember the simple website for it also, you can check
it here: https://ismailsunni.github.io/GSoC-2019/

It's a really amazing experience, thanks for all your support.

Final Report
QGIS 3D Improvement: On-Screen Navigation, Bookmarks, Rendering Point
Feature as Billboard, and Measuring Tool

*Google Summer of Code 2019*
* Student - *Ismail Sunni* https://github.com/ismailsunni/
* Mentors:
  * Mentor 1 - *Martin Dobias* https://github.com/wonder-sk
  * Mentor 2 - *Peter Petrik* https://github.com/PeterPetrik
* Organization - *OSGeo* (http://www.osgeo.org/), *QGIS* (https://qgis.org/)
* Developer Community - *QGIS Developers *(
https://lists.osgeo.org/pipermail/qgis-developer/)

*Abstract*
QGIS 3D is a great feature that has been introduced in QGIS 3.0 in 2018. It
is still missing some features that are needed or can be helpful for the
user though. In this project, I will work on 4 improvements to fill that
missing features:
- On-Screen Navigation: help the user to navigate the 3D view
- Measuring Tool: measure distance in 3D view
- Rendering Point Feature as Billboard: show a point feature as a billboard
(use case: show icon location and point cloud rendering)
- Bookmarks: help the user to save a 3D view and/or go back to a saved 3D
view

*QGIS Before GSoC 2019*
* It's possible to navigate in 3D Map View by using mouse or keyboard. It's
quite easy to do it unless you are not familiar with it. Just like me. It's
easy to get lost and confused. You are not sure which key or movement to
zoom, tilt, pan, or rotate the map view.
* There is no way to do the measurement in 3D Map view.
* There is no billboard rendering support for a point in 3D.
* There is no bookmark feature to save a specific scene in the 3D map view.
There is only reset view which set the view from the top.

*Added Value of GSoC Project*
* On-Screen navigation for 3D Map View is added with these features: zoom
in and out, pan, rotate with a compas-like widget, tilt up and down. It is
merged to the code base and will be released in QGIS 3.10.
  screenshot:
https://github.com/ismailsunni/GSoC-2019/raw/master/img/3d_on-screen_navigation.jpg
* 3D Measurement Tool to measure distance in the 3D Map View is added. It
is merged to the code base and will be released in QGIS 3.10.
  screenshot:
https://github.com/ismailsunni/GSoC-2019/raw/master/img/3d_measurement_tool.jpg
* 3D Point Rendering as A Billboard is added that gives the option to
render a point a billboard. The billboard can be set with a symbol from
QGIS (including SVG).
  The PR has been reviewed by QGIS core committers, ready to be merged in
upcoming days.
  * The Pull Request https://github.com/qgis/QGIS/pull/31308
  * Last commit:
https://github.com/qgis/QGIS/pull/31308/commits/c0f6982fc00da7284f9960ef25c798e740c52e5e
  screenshot:
https://github.com/ismailsunni/GSoC-2019/raw/master/img/3d_billboard_rendering_for_points.jpg

*Work to be done / potential future work*
* 3D Map View bookmarks is not implemented in this project duration due to
time constraint since the billboard rendering implementation needs more
time than the initial expectation.
* Extra feature for 3D On-Screen Navigation: Make it as a floating widget,
but it will need to add another dependency if implemented with QtQuick or
extra work if implemented with manual rendering in the 3D map scene
* Extra feature for 3D Measurement Tool: Show the Z-value difference
between two consecutive points
* Extra feature for 3D Billboard Rendering for Point:
  * Add data-driven symbol support: It needs multi-texture rendering,
currently it only supports one texture.
  * Add a vertical line from the feature to the billboard

*How to use the features*
* All merged featured can be used in QGIS master by building it from source
(https://github.com/qgis/QGIS/blob/master/INSTALL) or in the incoming QGIS
3.10 release
* Video about how to use it:
  * [3D On-Screen Navigation](https://www.youtube.com/watch?v=jp197BEymks)
  * [3D Measurement Tool](https://www.youtube.com/watch?v=gW0xu595HKA)
  * [3D Rendering Point as A Billboard](
https://www.youtube.com/watch?v=_iCPqcXWxk0)

*Links*
* Project
  * This GSoC Project Wiki :
https://github.com/ismailsunni/QGIS/wiki/GSoC-2019---QGIS-3D-Improvement
  * Project Overview
https://summerofcode.withgoogle.com/projects/#5265985207009280
  * Proposal in Google Doc
https://docs.google.com/document/d/1RcXiEyziQyGurqDGRBN3g-het33liVD81WFjv8qQlt8/edit
* Final Report
  * This Final Report https://github.com/ismailsunni/QGIS/wiki/Final-Report
  * More Casual Final Report https://ismailsunni.github.io/GSoC-2019/
* Repositories
  * My Fork for QGIS for this GSoC https://github.com/ismailsunni/qgis
  * Learning Qt3D - Navigation
https://github.com/ismailsunni/qt3d-hello-world
  * Learning Qt3D with Custom Shader
https

[QGIS-Developer] GSoC QGIS 3D Improvement: Week 13 / Last Report

2019-08-25 Thread Ismail Sunni
Dear QGIS developers,

Here is my 13th-week report for my GSoC Project [10]. You can also check
the project wiki page [2]. Comments and suggestions are welcome :)

GSoC QGIS 3D Improvement Week 13 Report

*Period*: 19 August 2019 - 25 August 2019

*Report*
1. What did I complete this week?
   - Address selected symbol's color set to black
   - Address symbol's size issue
   - Write a unit test for the billboard rendering
   - Submit PR for the billboard [4]
   - Address the PR review
   - Prepare video for the final report [7] [8] [9]
   - Prepare the final report [6]
   - Fix bug in measurement line's opacity [5]
2. What am I going to achieve for next week?
   - Finalize final report
   - Fill the final evaluation
3. Is there any blocking issue?
   - N/A
4. Code
   - Branch for billboard feature [1]
   - Repo for QT C++ billboard [3]
5. Misc
   - I attended the QGIS Contributor Meeting in Bucharest, a good way to do
last push for the project

*References*
- [1] https://github.com/ismailsunni/QGIS/tree/billboard
- [2] Project Wiki:
https://github.com/ismailsunni/QGIS/wiki/GSoC-2019---QGIS-3D-Improvement
- [3] https://github.com/ismailsunni/qt3d-custom-shader
- [4] https://github.com/qgis/QGIS/pull/31308
- [5] https://github.com/qgis/QGIS/pull/31388
- [6] Final report: https://ismailsunni.github.io/GSoC-2019/
- [7] Video for 3D On-Screen Navigation:
https://www.youtube.com/watch?v=jp197BEymks
- [8] Video for 3D Measurement Tool:
https://www.youtube.com/watch?v=gW0xu595HKA
- [9] Video for Billboard Rendering for Point:
https://www.youtube.com/watch?v=_iCPqcXWxk0
- [10] https://github.com/ismailsunni/QGIS/wiki/Week-13-Report

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

Re: [QGIS-Developer] GSoC QGIS 3D Improvement: Week 12 Report

2019-08-19 Thread Ismail Sunni
Hi Luca Manganelli,

Niiice!
>

Thanks!

In the video I see a circle that is cut in half, it is right?


Yes, it seems so. I am not sure either since sometimes it happens sometimes
it's not. I also opened the same project with QGIS 3.8.1, it shows the same
thing. Perhaps the problem is already there (not related to the feature
that I develop) or the project that I have. I haven't checked further. See:
https://imgur.com/a/cisqkiX

Best regards.

On Mon, Aug 19, 2019 at 8:20 AM Luca Manganelli <
luca.mangane...@comune.trento.it> wrote:

> Niiice!
>
> In the video I see a circle that is cut in half, it is right?
>
> Il giorno dom 18 ago 2019 alle ore 21:01 Ismail Sunni <
> imajimat...@gmail.com> ha scritto:
>
>> Dear QGIS developers,
>>
>> Here is my 12th-week report for my GSoC Project[4]. You can also check
>> the project wiki page [2]. Comments and suggestions are welcome :)
>>
>> This time, I made a video to show the progress after stuck with a
>> blocking issue.
>>
>> GSoC QGIS 3D Improvement Week 12 Report
>>
>> *Period*: 12 August 2019 - 18 August 2019
>>
>> *Report*
>> 1. What did I complete this week?
>>- Debug "Changing symbol doesn't always change the billboard"
>>- Get help from Martin to fix the problem. It's updated because
>> QgsTerrainTextureImage thinks it doesn't need to update the symbol due to
>> the same extent.
>>- Removing unrelated UI (transformation and material widget) for the
>> billboard
>>- Add set height option for the height of the billboard
>>- Save the billboard symbol as a symbol attribute (previously using
>> serialization)
>>- Add `selected` symbol for the billboard. It's showing a
>> black-symbol, not yellow-symbol like a normal selected one.
>>- Save the billboard symbol to the project.
>>- Fix flipped billboard
>>- Video about this progress: https://youtu.be/QZr16uq8Pco
>> 2. What am I going to achieve for next week?
>>- Addressing black selected symbol
>>- Address size symbol issue
>>- Finalize and submit PR
>>- Write final report
>> 3. Is there any blocking issue?
>>- N/A
>> 4. Code
>>- Branch for billboard feature [1]
>>- Repo for QT C++ billboard [3]
>> 5. Misc
>>- N/A
>> ## References
>> - [1] https://github.com/ismailsunni/QGIS/tree/billboard
>> - [2] Project Wiki:
>> https://github.com/ismailsunni/QGIS/wiki/GSoC-2019---QGIS-3D-Improvement
>> - [3] https://github.com/ismailsunni/qt3d-custom-shader
>> - [4] https://github.com/ismailsunni/QGIS/wiki/Week-12-Report
>>
>> 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
>
>
>
> --
> Luca Manganelli
> Assistente informatico
> Servizio Innovazione e Sistemi digitali
> Via Ezio Maccani 148
> 38121 Trento (TN)
> ___
> 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



-- 
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] GSoC QGIS 3D Improvement: Week 12 Report

2019-08-18 Thread Ismail Sunni
Dear QGIS developers,

Here is my 12th-week report for my GSoC Project[4]. You can also check the
project wiki page [2]. Comments and suggestions are welcome :)

This time, I made a video to show the progress after stuck with a blocking
issue.

GSoC QGIS 3D Improvement Week 12 Report

*Period*: 12 August 2019 - 18 August 2019

*Report*
1. What did I complete this week?
   - Debug "Changing symbol doesn't always change the billboard"
   - Get help from Martin to fix the problem. It's updated because
QgsTerrainTextureImage thinks it doesn't need to update the symbol due to
the same extent.
   - Removing unrelated UI (transformation and material widget) for the
billboard
   - Add set height option for the height of the billboard
   - Save the billboard symbol as a symbol attribute (previously using
serialization)
   - Add `selected` symbol for the billboard. It's showing a black-symbol,
not yellow-symbol like a normal selected one.
   - Save the billboard symbol to the project.
   - Fix flipped billboard
   - Video about this progress: https://youtu.be/QZr16uq8Pco
2. What am I going to achieve for next week?
   - Addressing black selected symbol
   - Address size symbol issue
   - Finalize and submit PR
   - Write final report
3. Is there any blocking issue?
   - N/A
4. Code
   - Branch for billboard feature [1]
   - Repo for QT C++ billboard [3]
5. Misc
   - N/A
## References
- [1] https://github.com/ismailsunni/QGIS/tree/billboard
- [2] Project Wiki:
https://github.com/ismailsunni/QGIS/wiki/GSoC-2019---QGIS-3D-Improvement
- [3] https://github.com/ismailsunni/qt3d-custom-shader
- [4] https://github.com/ismailsunni/QGIS/wiki/Week-12-Report

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

Re: [QGIS-Developer] GSoC QGIS 3D Improvement: Week 11 Report

2019-08-15 Thread Ismail Sunni
Hi Nyall,

Thanks for your suggestions. I followed the code that you pointed out. It's
in this commit
https://github.com/ismailsunni/QGIS/commit/2a4caa41e23edfe183055863cee84de60e7b71b9

Unfortunately, it doesn't fix the problem. It still behaves exactly like
the previous approach. Perhaps I missed something?

Best regards.

On Thu, Aug 15, 2019 at 1:19 AM Nyall Dawson  wrote:

> On Thu, 15 Aug 2019 at 03:56, Ismail Sunni  wrote:
>
> > The billboard changes IF the previous billboard is not a symbol. But IF
> the previous billboard is a symbol, and I changed the symbol's properties
> (e.g. color, rotation, shape) the billboard stays the same.
> >
> > In my latest code (pushed by now), I set the billboard to use an
> external image (the success-kid.png) if the symbol's color is white (for
> debugging purpose).
> >
> > If I set the symbol to white, the billboard uses the success-kid as the
> billboard (no matter what is the previous billboard as expected).
> > If the previous symbol is the success-kid, then I changed the symbol's
> properties it will change as expected.
> > If the previous symbol is not the success-kid, then I changed the
> symbol's properties,  it won't change the billboard.
> >
> > When I close QGIS and reopen it, the billboard will show as expected.
> So, I think it's not an issue in saving and restoring the symbol.
>
> Looking over your branch, I'm almost certain it is.
>
> Try using QgsSymbolLayerUtils::symbolProperties to save to symbol to a
> string (see
> https://github.com/qgis/QGIS/blob/master/src/core/callouts/qgscallout.cpp#L237
> )
>
> and something like
>
> https://github.com/qgis/QGIS/blob/master/src/core/callouts/qgscallout.cpp#L261
> to restore.
>
> Nyall
>


-- 
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

Re: [QGIS-Developer] GSoC QGIS 3D Improvement: Week 11 Report

2019-08-14 Thread Ismail Sunni
Hi Nyall,

Thanks for the reply!

More and more your work is revealing that we'll eventually need to
> tackle this issue head on, and implement proper opacity support in the
> 3d renderer. Everything else is going to be just a hack which won't
> work in all circumstances. I'd suggest not spending much more time on
> this issue given this (current) inherent limitation.


Sure.

I looked over your branch, and it seems the issue is in saving and
> restoring the symbol, not the retrieval of the symbol from the button.
> Is that correct?


The billboard changes IF the previous billboard is not a symbol. But IF the
previous billboard is a symbol, and I changed the symbol's properties (e.g.
color, rotation, shape) the billboard stays the same.

In my latest code (pushed by now), I set the billboard to use an external
image (the success-kid.png) if the symbol's color is white (for debugging
purpose).

If I set the symbol to white, the billboard uses the success-kid as the
billboard (no matter what is the previous billboard as expected).
If the previous symbol is the* success-kid, *then I changed the symbol's
properties it will change as expected.
If the previous symbol is not the *success-kid*, then I changed the
symbol's properties,  it won't change the billboard.

When I close QGIS and reopen it, the billboard will show as expected. So, I
think it's not an issue in saving and restoring the symbol.

Previously, I thought the problem is the changed signal from the button or
the saving and restoring, but it seems it is something else.

Best regards.

On Wed, Aug 14, 2019 at 1:18 AM Nyall Dawson  wrote:

> On Mon, 12 Aug 2019 at 06:54, Ismail Sunni  wrote:
> >
> > Dear QGIS developers,
> >
> > Here is my 11th-week report for my GSoC Project[4]. You can also check
> the project wiki page [2]. Comments and suggestions are welcome :)
> >
> > GSoC QGIS 3D Improvement Week 11 Report
> >
> > Period: 5 August 2019 - 11 August 2019
> >
> > Report
> > 1. What did I complete this week?
> >- Fixing transparency for the billboard to make it smoother on the
> edge. It looks better than the previous result, but still not as smooth as
> I expected
>
> More and more your work is revealing that we'll eventually need to
> tackle this issue head on, and implement proper opacity support in the
> 3d renderer. Everything else is going to be just a hack which won't
> work in all circumstances. I'd suggest not spending much more time on
> this issue given this (current) inherent limitation.
>
> > 2. What am I going to achieve for next week?
> >- Solve using a symbol from QgsSymbolButton
>
> I looked over your branch, and it seems the issue is in saving and
> restoring the symbol, not the retrieval of the symbol from the button.
> Is that correct?
>
> Nyall
>


-- 
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] GSoC QGIS 3D Improvement: Week 11 Report

2019-08-11 Thread Ismail Sunni
Dear QGIS developers,

Here is my 11th-week report for my GSoC Project[4]. You can also check the
project wiki page [2]. Comments and suggestions are welcome :)

GSoC QGIS 3D Improvement Week 11 Report

*Period*: 5 August 2019 - 11 August 2019

*Report*
1. What did I complete this week?
   - Fixing transparency for the billboard to make it smoother on the edge.
It looks better than the previous result, but still not as smooth as I
expected

https://user-images.githubusercontent.com/1421861/62839460-4f181d80-bc8a-11e9-9387-b7800fdfbc3b.png
   - Adding the layer parameter to the QgsSymbolButton, so that user can
set the symbol using the data from the layer (like common symbol)
   - A lot of debugging why the billboard symbol does not change when the
symbol changed. It does change when I switched the symbol shape (e.g. from
billboard to torus to billboard) or when the altitude clamping is changed
or when the size is changed.
   - Set size from the symbol, still needs some tweak since the billboard
seems too small or too big.
   - Get a fix from Peter regarding the problem with the shader syntax in
macOS
2. What am I going to achieve for next week?
   - Solve using a symbol from QgsSymbolButton
   - Fixing the size issue
3. Is there any blocking issue?
   - Changing symbol doesn't always change the billboard
4. Code
   - Branch for billboard feature [1]
   - Repo for QT C++ billboard [3]
5. Misc
   - N/A
## References
- [1] https://github.com/ismailsunni/QGIS/tree/billboard
- [2] Project Wiki:
https://github.com/ismailsunni/QGIS/wiki/GSoC-2019---QGIS-3D-Improvement
- [3] https://github.com/ismailsunni/qt3d-custom-shader
- [4] https://github.com/ismailsunni/QGIS/wiki/Week-11-Report

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] GSoC QGIS 3D Improvement: Week 10 Report

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

Here is my 10th-week report for my GSoC Project[4]. You can also check the
project wiki page [2]. Comments and suggestions are welcome :)

GSoC QGIS 3D Improvement Week 10 Report

*Period*: 30 July 2019 - 4 August 2019

*Report*
1. What did I complete this week?
   - Adding QgsSymbolButton for the UI (thanks to Nyall for the help)
   - Implementing billboard from the user input. It's still in progress.
Only work once, perhaps missing signal handling. Currently debugging it.
2. What am I going to achieve for next week?
   - Solve using a symbol from QgsSymbolButton
3. Is there any blocking issue?
   - N/A
4. Code
   - Branch for billboard feature [1]
   - Repo for QT C++ billboard [3]
5. Misc
   - This week I was quite busy with my last week of the block course and
got sick that needed me to have some bed rest. I couldn't manage to work on
the project like previous weeks. Fortunately, the class is finished, now I
can focus again on the project.

*References*
- [1] https://github.com/ismailsunni/QGIS/tree/billboard
- [2] Project Wiki:
https://github.com/ismailsunni/QGIS/wiki/GSoC-2019---QGIS-3D-Improvement
- [3] https://github.com/ismailsunni/qt3d-custom-shader
- [4] https://github.com/ismailsunni/QGIS/wiki/Week-10-Report
-- 
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

Re: [QGIS-Developer] GSoC QGIS 3D Improvement: Week 8 Report

2019-07-29 Thread Ismail Sunni
Hi Tim,

Thanks Sunni! I had a long chat with Martin this week and he basically told
> me: “Tim you are an idiot, 3D Billboards are not the same as real life
> billboards, they should always face the camera” :-)


Ahaha, yes, it's different. I thought the same thing when I heard it for
the first time :D

 So now I am convinced but still not sure what will actually be put in the
> billboard i.e. how will I configure its contents based on some data from my
> layer?


Well, if you want to configure it from the data, it should be possible (or
I should make it possible) to do it from the symbol. Since we can use an
expression to configure the symbol, it's mean we can also configure the
billboard also.

Hopefully, I can show how to do it in this week.

Best regards.


On Sun, Jul 28, 2019 at 10:11 PM Tim Sutton  wrote:

> Hi
>
> Thanks Sunni! I had a long chat with Martin this week and he basically
> told me: “Tim you are an idiot, 3D Billboards are not the same as real life
> billboards, they should always face the camera” :-)
>
> So now I am convinced but still not sure what will actually be put in the
> billboard i.e. how will I configure its contents based on some data from my
> layer?
>
> Thanks!
>
> Regards
>
> Tim
>
> On 28 Jul 2019, at 20:09, Ismail Sunni  wrote:
>
> Hi Tim,
>
> Thanks for the feedback and sorry for the late reply.
>
> Thanks for the update! Maybe I missed it, but what is planned to
>> eventually go in the billboard? The kid pic is nice for a proof of concept
>> but have you made a concept render of the how the final thing will look? It
>> would be nice for the billboard to use the tooltip text or the label text -
>> it that the plan? I’m still not convinced it wouldn’t be better having the
>> billboard facing a fixed (or used defined fixed) direction but maybe I am
>> alone in this….when I watch the youtube clip the boards seem to go ‘flat on
>> the ground’ and lose their 3d representation.
>
>
> The common usage is to put a label or sign of a place. Something like this
> in Google map. In this case, the sign is better to have the same size and
> always facing the same direction. When we zoom out, we can see where is the
> place since the billboard will still have the same size. And when we rotate
> or tilt the map, we can still see it properly also.
>
>
> https://user-images.githubusercontent.com/1421861/62011693-eb66fe00-b17b-11e9-939d-d5cbb1955899.jpg
>
> In my last week report, it's getting better, like the screenshot below.
>
>
> https://user-images.githubusercontent.com/1421861/62011245-19e1da80-b176-11e9-8da4-df6f9bd6d004.jpg
>
> Regarding a tooltip or a label text, I haven't thought about it. I am not
> sure it's possible to do it even for a normal symbol. Using the identify
> tool is one of the option to know what is it in the billboard.
>
> Another good example of a billboard is this
> https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/index.html?src=Billboards.html
>
> I hope my explanation is quite clear.
>
> Best Regards.
>
> On Sun, Jul 21, 2019 at 11:22 PM Tim Sutton  wrote:
>
>> Hi Sunni
>>
>> Thanks for the update! Maybe I missed it, but what is planned to
>> eventually go in the billboard? The kid pic is nice for a proof of concept
>> but have you made a concept render of the how the final thing will look? It
>> would be nice for the billboard to use the tooltip text or the label text -
>> it that the plan? I’m still not convinced it wouldn’t be better having the
>> billboard facing a fixed (or used defined fixed) direction but maybe I am
>> alone in this….when I watch the youtube clip the boards seem to go ‘flat on
>> the ground’ and lose their 3d representation.
>>
>> Regards
>>
>> Tim
>>
>> On 21 Jul 2019, at 19:47, Ismail Sunni  wrote:
>>
>> Dear QGIS developers,
>>
>> Here is my 8th-week report for my GSoC Project[4]. You can also check the
>> project wiki page [2]. Comments and suggestions are welcome :)
>>
>>
>> GSoC QGIS 3D Improvement Week 8 Report
>>
>> *Period*: 15 July 2019 - 21 July 2019
>>
>> *Report*
>> 1. What did I complete this week?
>>- Porting Billboard functionality from my experimental repo[3] to QGIS
>> codebase[1]. Success with a static image, and currently polishing with
>> default symbol (still looks ugly symbol).
>>Sample result can be watched below (click and it will play on YouTube):
>> - QGIS 3D Billboard Rendering with Succes Kid (static) (
>> http://www.youtube.com/watch?v=Dxsu0ZaDd0k)
>> - QGIS 3D Billboard Rendering with Default QgsSymbol - still ugly (
>> http://www.youtube.com/watch?v=32

Re: [QGIS-Developer] GSoC QGIS 3D Improvement: Week 9 Report

2019-07-29 Thread Ismail Sunni
Hi Nyall,

Nice progress! Must be exciting seeing everything to start to come
> together like this!


Yeah :)

Odd - what you have looks ok to me. Does it work if you try copying a
> symbol button from elsewhere in QGIS (e.g. say the point displacement
> renderer ui file) and paste it into the 3d widget in designer?


Woah, I follow your suggestion, it works. Thanks. I am still not sure why
though :)

Best regards

On Mon, Jul 29, 2019 at 12:19 AM Nyall Dawson 
wrote:

> On Mon, 29 Jul 2019 at 05:01, Ismail Sunni  wrote:
> >
> > Dear QGIS developers,
> >
> > Here is my 9th-week report for my GSoC Project[4]. You can also check
> the project wiki page [2]. Comments and suggestions are welcome :)
> >
> >
> > GSoC QGIS 3D Improvement Week 9 Report
> >
> > Period: 22 July 2019 - 29 July 2019
> >
> > Report
> > 1. What did I complete this week?
> >- Fixed billboard size when changing the viewport.
> >- Rendered the billboard (more) properly by discarding the
> transparent pixel. It's not ideal, but it doesn't show a black area around
> the symbol anymore.
> >
> https://user-images.githubusercontent.com/1421861/62011245-19e1da80-b176-11e9-8da4-df6f9bd6d004.jpg
> >- Fixed the size of billboard shown (previously it's too small)
> >- Filled 2nd phase evaluation
>
> Nice progress! Must be exciting seeing everything to start to come
> together like this!
>
> >- Currently, I am trying to use QgsSymbolButton, but it doesn't show
> up when I ran QGIS. I did the usual workflow (promote a QToolButton to
> QgsSymbolButton). I have checked that the object exists, but it's not shown
> and no error message. See the empty area in the style panel next to the
> `Billboard Symbol` label.
>
> Odd - what you have looks ok to me. Does it work if you try copying a
> symbol button from elsewhere in QGIS (e.g. say the point displacement
> renderer ui file) and paste it into the 3d widget in designer?
>
> Nyall
>


-- 
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

Re: [QGIS-Developer] GSoC QGIS 3D Improvement: Week 8 Report

2019-07-28 Thread Ismail Sunni
Hi Tim,

Thanks for the feedback and sorry for the late reply.

Thanks for the update! Maybe I missed it, but what is planned to eventually
> go in the billboard? The kid pic is nice for a proof of concept but have
> you made a concept render of the how the final thing will look? It would be
> nice for the billboard to use the tooltip text or the label text - it that
> the plan? I’m still not convinced it wouldn’t be better having the
> billboard facing a fixed (or used defined fixed) direction but maybe I am
> alone in this….when I watch the youtube clip the boards seem to go ‘flat on
> the ground’ and lose their 3d representation.


The common usage is to put a label or sign of a place. Something like this
in Google map. In this case, the sign is better to have the same size and
always facing the same direction. When we zoom out, we can see where is the
place since the billboard will still have the same size. And when we rotate
or tilt the map, we can still see it properly also.

https://user-images.githubusercontent.com/1421861/62011693-eb66fe00-b17b-11e9-939d-d5cbb1955899.jpg

In my last week report, it's getting better, like the screenshot below.

https://user-images.githubusercontent.com/1421861/62011245-19e1da80-b176-11e9-8da4-df6f9bd6d004.jpg

Regarding a tooltip or a label text, I haven't thought about it. I am not
sure it's possible to do it even for a normal symbol. Using the identify
tool is one of the option to know what is it in the billboard.

Another good example of a billboard is this
https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/index.html?src=Billboards.html

I hope my explanation is quite clear.

Best Regards.

On Sun, Jul 21, 2019 at 11:22 PM Tim Sutton  wrote:

> Hi Sunni
>
> Thanks for the update! Maybe I missed it, but what is planned to
> eventually go in the billboard? The kid pic is nice for a proof of concept
> but have you made a concept render of the how the final thing will look? It
> would be nice for the billboard to use the tooltip text or the label text -
> it that the plan? I’m still not convinced it wouldn’t be better having the
> billboard facing a fixed (or used defined fixed) direction but maybe I am
> alone in this….when I watch the youtube clip the boards seem to go ‘flat on
> the ground’ and lose their 3d representation.
>
> Regards
>
> Tim
>
> On 21 Jul 2019, at 19:47, Ismail Sunni  wrote:
>
> Dear QGIS developers,
>
> Here is my 8th-week report for my GSoC Project[4]. You can also check the
> project wiki page [2]. Comments and suggestions are welcome :)
>
>
> GSoC QGIS 3D Improvement Week 8 Report
>
> *Period*: 15 July 2019 - 21 July 2019
>
> *Report*
> 1. What did I complete this week?
>- Porting Billboard functionality from my experimental repo[3] to QGIS
> codebase[1]. Success with a static image, and currently polishing with
> default symbol (still looks ugly symbol).
>Sample result can be watched below (click and it will play on YouTube):
> - QGIS 3D Billboard Rendering with Succes Kid (static) (
> http://www.youtube.com/watch?v=Dxsu0ZaDd0k)
> - QGIS 3D Billboard Rendering with Default QgsSymbol - still ugly (
> http://www.youtube.com/watch?v=32Tv7y07vXg)
> 2. What am I going to achieve for next week?
>- Make the billboard shows symbol from user
>- Polishing
>- Fill 2nd evaluation
> 3. Is there any blocking issue?
>- It seems, adding an image (not from a file) to the texture is not
> straight forward.
> 4. Code
>- Branch for billboard feature [1]
>- Repo for QT C++ billboard [3]
> 5. Misc
>- N/A
>
> ## References
> - [1] https://github.com/ismailsunni/QGIS/tree/billboard
> - [2] Project Wiki:
> https://github.com/ismailsunni/QGIS/wiki/GSoC-2019---QGIS-3D-Improvement
> - [3] https://github.com/ismailsunni/qt3d-custom-shader
> - [4] https://github.com/ismailsunni/QGIS/wiki/Week-8-Report
>
> 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
>
>
> —
>
>
>
>
>
>
>
>
> *Tim Sutton*
>
> *Co-founder:* Kartoza
> *Ex Project chair:* QGIS.org
>
> Visit http://kartoza.com to find out about open source:
>
> Desktop GIS programming services
> Geospatial web development
> GIS Training
> Consulting Services
>
> *Skype*: timlinux
> *IRC:* timlinux on #qgis at freenode.net
>
> I'd love to connect. Here's my calendar link
> <https://calendly.com/timlinux> to make finding time easy.
>
>

-- 
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] GSoC QGIS 3D Improvement: Week 9 Report

2019-07-28 Thread Ismail Sunni
Dear QGIS developers,

Here is my 9th-week report for my GSoC Project[4]. You can also check the
project wiki page [2]. Comments and suggestions are welcome :)


GSoC QGIS 3D Improvement Week 9 Report

*Period*: 22 July 2019 - 29 July 2019

*Report*
1. What did I complete this week?
   - Fixed billboard size when changing the viewport.
   - Rendered the billboard (more) properly by discarding the transparent
pixel. It's not ideal, but it doesn't show a black area around the symbol
anymore.

https://user-images.githubusercontent.com/1421861/62011245-19e1da80-b176-11e9-8da4-df6f9bd6d004.jpg
   - Fixed the size of billboard shown (previously it's too small)
   - Filled 2nd phase evaluation
2. What am I going to achieve for next week?
   - Make the billboard shows symbol from user
3. Is there any blocking issue?
   - Currently, I am trying to use QgsSymbolButton, but it doesn't show up
when I ran QGIS. I did the usual workflow (promote a QToolButton to
QgsSymbolButton). I have checked that the object exists, but it's not shown
and no error message. See the empty area in the style panel next to the
`Billboard Symbol` label.
4. Code
   - Branch for billboard feature [1]
   - Repo for QT C++ billboard [3]
5. Misc
   - Currently in a block course (there is a class every day), so I had
less time to work on it this week and need to reschedule the weekly
meeting. It will finish this Thursday.
   - Thanks to Martin for helping me debug the rendering issue.

## References
- [1] https://github.com/ismailsunni/QGIS/tree/billboard
- [2] Project Wiki:
https://github.com/ismailsunni/QGIS/wiki/GSoC-2019---QGIS-3D-Improvement
- [3] https://github.com/ismailsunni/qt3d-custom-shader
- [4] https://github.com/ismailsunni/QGIS/wiki/Week-9-Report

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] GSoC QGIS 3D Improvement: Week 8 Report

2019-07-21 Thread Ismail Sunni
Dear QGIS developers,

Here is my 8th-week report for my GSoC Project[4]. You can also check the
project wiki page [2]. Comments and suggestions are welcome :)


GSoC QGIS 3D Improvement Week 8 Report

*Period*: 15 July 2019 - 21 July 2019

*Report*
1. What did I complete this week?
   - Porting Billboard functionality from my experimental repo[3] to QGIS
codebase[1]. Success with a static image, and currently polishing with
default symbol (still looks ugly symbol).
   Sample result can be watched below (click and it will play on YouTube):
- QGIS 3D Billboard Rendering with Succes Kid (static) (
http://www.youtube.com/watch?v=Dxsu0ZaDd0k)
- QGIS 3D Billboard Rendering with Default QgsSymbol - still ugly (
http://www.youtube.com/watch?v=32Tv7y07vXg)
2. What am I going to achieve for next week?
   - Make the billboard shows symbol from user
   - Polishing
   - Fill 2nd evaluation
3. Is there any blocking issue?
   - It seems, adding an image (not from a file) to the texture is not
straight forward.
4. Code
   - Branch for billboard feature [1]
   - Repo for QT C++ billboard [3]
5. Misc
   - N/A

## References
- [1] https://github.com/ismailsunni/QGIS/tree/billboard
- [2] Project Wiki:
https://github.com/ismailsunni/QGIS/wiki/GSoC-2019---QGIS-3D-Improvement
- [3] https://github.com/ismailsunni/qt3d-custom-shader
- [4] https://github.com/ismailsunni/QGIS/wiki/Week-8-Report

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

Re: [QGIS-Developer] GSoC QGIS 3D Improvement: Week 7 Report

2019-07-15 Thread Ismail Sunni
Hi Tim and Mathieu,

Thanks! Do the billboards always face the camera? Or can you fly behind
> them?


It will always face the came, by definition :).

And will you give them a little pin and frame to anchor them to a place?


Do you mean like a line to connect the billboard to the terrain? There is a
wishlist for that. But the first step, render this billboard on QGIS first.

 Nice screencast. Are billboards able to handle alpha/opacity channel for a
> given raster?


Do you mean the billboard is transparent and we can see the stuff behind
it?

Well, I am not in that level of understanding of this 3D rendering. But I
can say it's not easy to do something transparent in the 3D world. Since we
need to reconsider how it will be done (without transparency means we just
ignore the covered surface of the 3D objects, while with transparency we
need to know the order of the object). That's what I got from my discussion
with Martin. *Please correct me if I am wrong Martin :)

Best regards/


On Mon, Jul 15, 2019 at 4:10 PM Mathieu Pellerin 
wrote:

> Nice screencast. Are billboards able to handle alpha/opacity channel for a
> given raster?
>
> On Mon, Jul 15, 2019, 20:10 Ismail Sunni  wrote:
>
>> Hi Tim,
>>
>> Hehe, yeah, I am the one who missed it. I put it in my billboard
>> repository now:
>> https://github.com/ismailsunni/qt3d-custom-shader/blob/master/README.md (both
>> screenshot and screencast). I will update my weekly report to show the
>> screenshot and the screencast.
>>
>> You can also see it here:
>>
>>1. Screenshot:
>>
>> https://raw.githubusercontent.com/ismailsunni/qt3d-custom-shader/master/output/qt-3d-billboard.jpg
>>2. Screencast in GIF:
>>
>> https://raw.githubusercontent.com/ismailsunni/qt3d-custom-shader/master/output/qt-3d-billboard.gif
>>
>> Thanks for reminding me :)
>>
>> Best Regards
>>
>> On Mon, Jul 15, 2019 at 12:40 AM Tim Sutton  wrote:
>>
>>> Hi
>>>
>>>
>>> A no screenshots? Did I miss them? Its the most exciting part of
>>> your reports :-P
>>>
>>> Keep up the good work Sunni!
>>>
>>> Regards
>>>
>>> Tim
>>>
>>> On 14 Jul 2019, at 19:48, Ismail Sunni  wrote:
>>>
>>> Dear QGIS developers,
>>>
>>> Here is my 7th-week report for my GSoC Project[7]. You can also check
>>> the project wiki page [3]. Comments and suggestions are welcome :)
>>>
>>> GSoC QGIS 3D Improvement Week 7 Report
>>>
>>> *Period*: 8 July 2019 - 14 July 2019
>>>
>>> *Report*
>>> 1. What did I complete this week?
>>>- Porting billboard from QML to QT C++ [4] as my discussion with
>>> mentors to start from outside QGIS first.
>>>- Learning GLSL
>>>- Add UI for the billboard options (very initial work only) [1]
>>> 2. What am I going to achieve for next week?
>>>- Move the ported billboard to QGIS code
>>>- Work on the applying billboard workflow
>>> 3. Is there any blocking issue?
>>>- Debugging in 3D stuff is not easy. Especially when something is not
>>> shown up and no error message. I got an obstacle when the billboard didn't
>>> show up. But finally Martin helps me, and it's fixed.
>>> 4. Code
>>>- Branch for billboard feature [1]
>>>- Repo for QT C++ billboard [4]
>>> 5. Misc
>>>- As I wrote on the previous weekly report, I only had a half time
>>> for working on GSoC compared to the usual week.
>>>- PR for measurement tool is merged [2]
>>>- There are two small bugs in the measurement tools, I have created
>>> the issues for myself [5] [6]. I will address it later.
>>>- For the next 3 weeks, I have different course schedule, so we will
>>> move our weekly meeting schedule.
>>>
>>> *References*
>>> - [1] https://github.com/ismailsunni/QGIS/tree/billboard
>>> - [2] https://github.com/qgis/QGIS/pull/30299
>>> - [3] Project Wiki:
>>> https://github.com/ismailsunni/QGIS/wiki/GSoC-2019---QGIS-3D-Improvement
>>> - [4] https://github.com/ismailsunni/qt3d-custom-shader
>>> - [5] https://github.com/ismailsunni/QGIS/issues/4
>>> - [6] https://github.com/ismailsunni/QGIS/issues/5
>>> - [7] https://github.com/ismailsunni/QGIS/wiki/Week-7-Report
>>>
>>> Best Regards.
>>>
>>> --
>>> Ismail Sunni
>>> ismailsunni.wordpress.com
>>> _______
>>> QGIS-Developer

Re: [QGIS-Developer] GSoC QGIS 3D Improvement: Week 7 Report

2019-07-15 Thread Ismail Sunni
Hi Tim,

Hehe, yeah, I am the one who missed it. I put it in my billboard repository
now: https://github.com/ismailsunni/qt3d-custom-shader/blob/master/README.md
(both
screenshot and screencast). I will update my weekly report to show the
screenshot and the screencast.

You can also see it here:

   1. Screenshot:
   
https://raw.githubusercontent.com/ismailsunni/qt3d-custom-shader/master/output/qt-3d-billboard.jpg
   2. Screencast in GIF:
   
https://raw.githubusercontent.com/ismailsunni/qt3d-custom-shader/master/output/qt-3d-billboard.gif

Thanks for reminding me :)

Best Regards

On Mon, Jul 15, 2019 at 12:40 AM Tim Sutton  wrote:

> Hi
>
>
> A no screenshots? Did I miss them? Its the most exciting part of your
> reports :-P
>
> Keep up the good work Sunni!
>
> Regards
>
> Tim
>
> On 14 Jul 2019, at 19:48, Ismail Sunni  wrote:
>
> Dear QGIS developers,
>
> Here is my 7th-week report for my GSoC Project[7]. You can also check the
> project wiki page [3]. Comments and suggestions are welcome :)
>
> GSoC QGIS 3D Improvement Week 7 Report
>
> *Period*: 8 July 2019 - 14 July 2019
>
> *Report*
> 1. What did I complete this week?
>- Porting billboard from QML to QT C++ [4] as my discussion with
> mentors to start from outside QGIS first.
>- Learning GLSL
>- Add UI for the billboard options (very initial work only) [1]
> 2. What am I going to achieve for next week?
>- Move the ported billboard to QGIS code
>- Work on the applying billboard workflow
> 3. Is there any blocking issue?
>- Debugging in 3D stuff is not easy. Especially when something is not
> shown up and no error message. I got an obstacle when the billboard didn't
> show up. But finally Martin helps me, and it's fixed.
> 4. Code
>- Branch for billboard feature [1]
>- Repo for QT C++ billboard [4]
> 5. Misc
>- As I wrote on the previous weekly report, I only had a half time for
> working on GSoC compared to the usual week.
>- PR for measurement tool is merged [2]
>- There are two small bugs in the measurement tools, I have created the
> issues for myself [5] [6]. I will address it later.
>- For the next 3 weeks, I have different course schedule, so we will
> move our weekly meeting schedule.
>
> *References*
> - [1] https://github.com/ismailsunni/QGIS/tree/billboard
> - [2] https://github.com/qgis/QGIS/pull/30299
> - [3] Project Wiki:
> https://github.com/ismailsunni/QGIS/wiki/GSoC-2019---QGIS-3D-Improvement
> - [4] https://github.com/ismailsunni/qt3d-custom-shader
> - [5] https://github.com/ismailsunni/QGIS/issues/4
> - [6] https://github.com/ismailsunni/QGIS/issues/5
> - [7] https://github.com/ismailsunni/QGIS/wiki/Week-7-Report
>
> 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
>
>
> —
>
>
>
>
>
>
>
>
> *Tim Sutton*
>
> *Co-founder:* Kartoza
> *Ex Project chair:* QGIS.org
>
> Visit http://kartoza.com to find out about open source:
>
> Desktop GIS programming services
> Geospatial web development
> GIS Training
> Consulting Services
>
> *Skype*: timlinux
> *IRC:* timlinux on #qgis at freenode.net
>
> I'd love to connect. Here's my calendar link
> <https://calendly.com/timlinux> to make finding time easy.
>
>

-- 
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] GSoC QGIS 3D Improvement: Week 7 Report

2019-07-14 Thread Ismail Sunni
Dear QGIS developers,

Here is my 7th-week report for my GSoC Project[7]. You can also check the
project wiki page [3]. Comments and suggestions are welcome :)

GSoC QGIS 3D Improvement Week 7 Report

*Period*: 8 July 2019 - 14 July 2019

*Report*
1. What did I complete this week?
   - Porting billboard from QML to QT C++ [4] as my discussion with mentors
to start from outside QGIS first.
   - Learning GLSL
   - Add UI for the billboard options (very initial work only) [1]
2. What am I going to achieve for next week?
   - Move the ported billboard to QGIS code
   - Work on the applying billboard workflow
3. Is there any blocking issue?
   - Debugging in 3D stuff is not easy. Especially when something is not
shown up and no error message. I got an obstacle when the billboard didn't
show up. But finally Martin helps me, and it's fixed.
4. Code
   - Branch for billboard feature [1]
   - Repo for QT C++ billboard [4]
5. Misc
   - As I wrote on the previous weekly report, I only had a half time for
working on GSoC compared to the usual week.
   - PR for measurement tool is merged [2]
   - There are two small bugs in the measurement tools, I have created the
issues for myself [5] [6]. I will address it later.
   - For the next 3 weeks, I have different course schedule, so we will
move our weekly meeting schedule.

*References*
- [1] https://github.com/ismailsunni/QGIS/tree/billboard
- [2] https://github.com/qgis/QGIS/pull/30299
- [3] Project Wiki:
https://github.com/ismailsunni/QGIS/wiki/GSoC-2019---QGIS-3D-Improvement
- [4] https://github.com/ismailsunni/qt3d-custom-shader
- [5] https://github.com/ismailsunni/QGIS/issues/4
- [6] https://github.com/ismailsunni/QGIS/issues/5
- [7] https://github.com/ismailsunni/QGIS/wiki/Week-7-Report

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

Re: [QGIS-Developer] Share upload rights for plugin authors

2019-07-10 Thread Ismail Sunni
Hi Henrik,

I think you can set one as Maintainer and the other as Owners. It works for
us.

Best regards.

On Wed, Jul 10, 2019 at 11:56 AM Henrik Spångmyr <
henrik.spang...@midvatten.se> wrote:

> Hi.
> We are currently two main authors for the Midvatten plugin. Currently only
> one of us has the possibility to upload new versions. We would like me to
> also be able to upload new versions.
>
> Is this possible?
>
> Regards,
> Henrik
>
> --
> Henrik Spångmyr
> Midvatten AB
> Borganäsvägen 46
> 784 33 Borlänge
> Mobil: 070-5607879
> Växel: 0243-87620
> ___
> 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



-- 
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] GSoC QGIS 3D Improvement: Week 6 Report

2019-07-07 Thread Ismail Sunni
Dear QGIS developers,

Here is my 6th-week report for my GSoC Project. You can read this report
better with image and GIF in the weekly report wiki [7]. You can also check
the project wiki page [3]. Comments and suggestions are welcome :)

GSoC QGIS 3D Improvement Week 6 Report

*Period*: 1 July 2019 - 7 July 2019

*Report*
1. What did I complete this week?
   - Addressing PR's review for the 3D measuring tool (only a few things)
[2]
   - Play around with Qt3D Experiment with Billboard from Martin [4]
   - Create a mockup for the billboard options and its issue [5]
   - Not so related to the billboard feature, I fix a very small bug in 3D
layer style dialog [6]
2. What am I going to achieve for next week?
   - Add UI for the billboard options
   - Port the billboard from Martin's experiment repo to QGIS
   - Testing
3. Is there any blocking issue?
   - N/A
4. Code
   - Branch in my repo [1] and the PR [2] for the 3D measurement tool
5. Misc
   - I have an exam and the unexpected deadline for thesis proposal this
week so that I couldn't manage to do a lot of stuff. I have talked with my
mentors about it and I requested to skip the 2nd weekly meeting.
   - On the 6th week, I supposed to have an exam (or any assignments
deadline in my study). It turns out the busiest period is from the mid of
5th week until mid of the 6th week. I will have more free time in the 6th
week, unlike my proposal.

*References*
- [1] https://github.com/ismailsunni/QGIS/tree/measurement-tool
- [2] https://github.com/qgis/QGIS/pull/30299
- [3] Project Wiki:
https://github.com/ismailsunni/QGIS/wiki/GSoC-2019---QGIS-3D-Improvement
- [4] https://github.com/wonder-sk/qt3d-experiments/tree/master/billboards
- [5] https://github.com/ismailsunni/QGIS/issues/3
- [6] https://github.com/qgis/QGIS/pull/30588
- [7] https://github.com/ismailsunni/QGIS/wiki/Week-6-Report

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

Re: [QGIS-Developer] GSoC QGIS 3D Improvement: Week 4 Report

2019-06-30 Thread Ismail Sunni
Hi Tim,

Sorry, I missed this email from you.

Thanks for the update Sunni! Do measurements happen in 3d too? For example
> if you measure to the top of a building do you get a different measurement
> compared to the base?


Yes, the measurements happen in 3D. You can measure the building height now
:)


> Maybe you could show the Z elevation change at each measurement row and
> the total elevation change  in the total box?


Hmm, that's a good idea. I will keep it on my list, and I will try to
implement it after the other 2 features finished. Thanks!

Hope you are feeling better now!


Thanks, I am feeling better indeed now :)

Best regards


On Sun, Jun 23, 2019 at 8:34 PM Tim Sutton  wrote:

> Thanks for the update Sunni! Do measurements happen in 3d too? For example
> if you measure to the top of a building do you get a different measurement
> compared to the base? Maybe you could show the Z elevation change at each
> measurement row and the total elevation change  in the total box?
>
> Hope you are feeling better now!
>
> Regards
>
> Tim
>
> On 23 Jun 2019, at 15:29, Ismail Sunni  wrote:
>
> Dear QGIS developers,
>
> Here is my 3rd-week report for my GSoC Project. You can read this report
> better with image and GIF in the weekly report wiki [6]. You can also check
> the project wiki page [3]. Comments and suggestions are welcome :)
>
> GSoC QGIS 3D Improvement Week 4 Report
>
> *Period*: 17 June 2019 - 23 June 2019
>
> *Report*
> 1. What did I complete this week?
>- Replicate UI from 2D measurement tool to the 3D measurement tool
> dialog.
>  Almost all functionalities are replicated, except:
>  - Show help (the behavior is added, but since there is no chapter for
> it currently. It's disabled for now)
>  - Configuration (already started working on it, but time is quite
> limited last week since I feel a little bit unwell last week)
>
>  List of implemented behaviors can be found in [4]. You can see it on
> a GIF [5].
>  ![3D Measurement Tool with Dialog](
> https://user-images.githubusercontent.com/1421861/59976840-2a78c100-95ca-11e9-9e32-16b6c34b4ce9.gif
> )
>- Adding map tool for camera control in 3D view (similar to the Pan
> tool in 2D view) to make it more consistent and easier to see what's the
> active tool.
>- Change the cursor for 3D identify tool for consistency with 2D one.
>- Adding missing `QgsDistanceArea::MeasureLine3D` for `QgsPoint`, unit
> test is added.
>- Trying to fix the rendering issue, but still no luck.
> 2. What am I going to achieve for next week?
>- Finish the configuration
>- Try again with the rendering issue
>- Wrap up PR if the all is finished (currently a draft)
>- Some testing
>- Start working on the 3rd feature, point as a billboard.
> 3. Is there any blocking issue?
>- Yes, the line is rendered but the color is random and rendered as 2D.
> The line will be gone if I hide/show another line [2].
>  ![Rendering Problem](
> https://user-images.githubusercontent.com/1421861/59567331-c22b5c00-906c-11e9-808f-0a7e93e8f54a.png
> )
> 4. Code
>- Branch in my repo [1]
> 5. Misc
>- N/A
>
> *References*
> - [1] https://github.com/ismailsunni/QGIS/tree/measurement-tool
> - [2] https://github.com/ismailsunni/QGIS/issues/2#issuecomment-502470762
> - [3] Project Wiki:
> https://github.com/ismailsunni/QGIS/wiki/GSoC-2019---QGIS-3D-Improvement
> - [4] https://github.com/ismailsunni/QGIS/issues/2#issuecomment-504750318
> - [5]
> https://user-images.githubusercontent.com/1421861/59976840-2a78c100-95ca-11e9-9e32-16b6c34b4ce9.gif
> - [6] https://github.com/ismailsunni/QGIS/wiki/Week-4-Report
>
> 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
>
>
> —
>
>
>
>
>
>
>
>
> *Tim Sutton*
>
> *Co-founder:* Kartoza
> *Ex Project chair:* QGIS.org
>
> Visit http://kartoza.com to find out about open source:
>
> Desktop GIS programming services
> Geospatial web development
> GIS Training
> Consulting Services
>
> *Skype*: timlinux
> *IRC:* timlinux on #qgis at freenode.net
>
> I'd love to connect. Here's my calendar link
> <https://calendly.com/timlinux> to make finding time easy.
>
>

-- 
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] GSoC QGIS 3D Improvement: Week 5 Report

2019-06-30 Thread Ismail Sunni
Dear QGIS developers,

Here is my 5th-week report for my GSoC Project. You can read this report
better with image and GIF in the weekly report wiki [4]. You can also check
the project wiki page [3]. Comments and suggestions are welcome :)

GSoC QGIS 3D Improvement Week 5 Report

*Period*: 24 June 2019 - 30 June 2019

*Report*
1. What did I complete this week?
   - Addressing PR's review (quite a lot, especially the dialog's behavior
and not using QgsDistanceArea).
   - Adding measurement configuration
   - Filling evaluation phase 1
2. What am I going to achieve for next week?
   - Start working on the 3rd feature, point as a billboard.
   - Addressing measurement tool's PR review (if any)
3. Is there any blocking issue?
   - The previous rendering issue is solved by Martin.
4. Code
   - Branch in my repo [1] and the PR [2]
5. Misc
   - N/A

References
- [1] https://github.com/ismailsunni/QGIS/tree/measurement-tool
- [2] https://github.com/qgis/QGIS/pull/30299
- [3] Project Wiki:
https://github.com/ismailsunni/QGIS/wiki/GSoC-2019---QGIS-3D-Improvement
- [4] https://github.com/ismailsunni/QGIS/wiki/Week-5-Report

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] GSoC QGIS 3D Improvement: Week 4 Report

2019-06-23 Thread Ismail Sunni
Dear QGIS developers,

Here is my 3rd-week report for my GSoC Project. You can read this report
better with image and GIF in the weekly report wiki [6]. You can also check
the project wiki page [3]. Comments and suggestions are welcome :)

GSoC QGIS 3D Improvement Week 4 Report

*Period*: 17 June 2019 - 23 June 2019

*Report*
1. What did I complete this week?
   - Replicate UI from 2D measurement tool to the 3D measurement tool
dialog.
 Almost all functionalities are replicated, except:
 - Show help (the behavior is added, but since there is no chapter for
it currently. It's disabled for now)
 - Configuration (already started working on it, but time is quite
limited last week since I feel a little bit unwell last week)

 List of implemented behaviors can be found in [4]. You can see it on a
GIF [5].
 ![3D Measurement Tool with Dialog](
https://user-images.githubusercontent.com/1421861/59976840-2a78c100-95ca-11e9-9e32-16b6c34b4ce9.gif
)
   - Adding map tool for camera control in 3D view (similar to the Pan tool
in 2D view) to make it more consistent and easier to see what's the active
tool.
   - Change the cursor for 3D identify tool for consistency with 2D one.
   - Adding missing `QgsDistanceArea::MeasureLine3D` for `QgsPoint`, unit
test is added.
   - Trying to fix the rendering issue, but still no luck.
2. What am I going to achieve for next week?
   - Finish the configuration
   - Try again with the rendering issue
   - Wrap up PR if the all is finished (currently a draft)
   - Some testing
   - Start working on the 3rd feature, point as a billboard.
3. Is there any blocking issue?
   - Yes, the line is rendered but the color is random and rendered as 2D.
The line will be gone if I hide/show another line [2].
 ![Rendering Problem](
https://user-images.githubusercontent.com/1421861/59567331-c22b5c00-906c-11e9-808f-0a7e93e8f54a.png
)
4. Code
   - Branch in my repo [1]
5. Misc
   - N/A

*References*
- [1] https://github.com/ismailsunni/QGIS/tree/measurement-tool
- [2] https://github.com/ismailsunni/QGIS/issues/2#issuecomment-502470762
- [3] Project Wiki:
https://github.com/ismailsunni/QGIS/wiki/GSoC-2019---QGIS-3D-Improvement
- [4] https://github.com/ismailsunni/QGIS/issues/2#issuecomment-504750318
- [5]
https://user-images.githubusercontent.com/1421861/59976840-2a78c100-95ca-11e9-9e32-16b6c34b4ce9.gif
- [6] https://github.com/ismailsunni/QGIS/wiki/Week-4-Report

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

Re: [QGIS-Developer] translate plugin gui and log messages

2019-06-20 Thread Ismail Sunni
Hello,

Perhaps it's overkill, but we can use Docker to run the script for managing
the translation (update, compile, and see how many untranslated strings).
You can find an example
https://github.com/inasafe/inasafe/blob/develop/Makefile#L346

I find it easier even if I use Linux since I don't need to install the
required package to run the scripts one by one.

Unfortunately, installing Docker on Windows is not easy AFAIK, unless it's
Windows 10 Pro.

Best regards

On Thu, Jun 20, 2019 at 9:11 AM matteo  wrote:

> > Hi Matteo,
> > thank you for the help, your solution works fine in linux. Do you know
> > if something similar exists for Windows?
>
> make transup and make transcompile just call bash scripts. not sure
> what the workaround could be in Windows. Doesn't Windows have a kind of
> linux bash integrated?
>
> Matteo
> ___
> 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



-- 
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

Re: [QGIS-Developer] GSoC QGIS 3D Improvement: Week 3 Report

2019-06-18 Thread Ismail Sunni
Thanks, Nyall, Tim, and Luca

Do you think you'll bump into the same widget-over-3d issue as you
> encountered earlier here?


Yes, but I think the measurement dialog does not need to be always on top
(not like the navigation widget).  The difference :

- Both the navigation widget and the 3D map view must be seen when using
the navigation widget
- Measurement dialog can be below the 3D map view while using it, and the
user can see it after that.

So, it the limitation of QWidget on 3DWindows won't be a problem in this
case.

How are you planning on doing the actual 3d length calculation? AFAIK
> there's no API in core for this yet (but there really should be!).


Yeah, I stumble on that one. There is no measure between QgsPoint (but QGIS
has for QgsPointXY). I think I found another missing stuff related to
QgsPoint, but I forget.

I agree that we need to have this feature (it's natural to have one). I
tried to implement it actually. But, after the discussion with Martin, we
will do a simpler approach first by calculating the euclidean distance in
the map unit. From here, we will convert to another unit.

Thanks for the feedback Nyall

Best regards.

On Mon, Jun 17, 2019 at 9:48 PM Nyall Dawson  wrote:

> On Mon, 17 Jun 2019 at 03:38, Ismail Sunni  wrote:
> >
> > Dear QGIS developers
> >
> > Here is my 3rd-week report for my GSoC Project. You can read this report
> better with image and GIF in the weekly report wiki [4]. You can also check
> the project wiki page [3]. Comments and suggestions are welcome :)
> >
>
> Great progress again Ismail!
>
> >- Implement measurement tool window (re-use the 2D version if
> possible)
>
> Do you think you'll bump into the same widget-over-3d issue as you
> encountered earlier here?
>
> How are you planning on doing the actual 3d length calculation? AFAIK
> there's no API in core for this yet (but there really should be!).
>
> Nyall
>
>
> > --
> > 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
>


-- 
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] GSoC QGIS 3D Improvement: Week 3 Report

2019-06-16 Thread Ismail Sunni
Dear QGIS developers

Here is my 3rd-week report for my GSoC Project. You can read this report
better with image and GIF in the weekly report wiki [4]. You can also check
the project wiki page [3]. Comments and suggestions are welcome :)

# GSoC QGIS 3D Improvement Week 3 Report

*Period*: 10 June 2019 - 16 June 2019

*Report*
1. What did I complete this week?
   - Implement a concrete class of 3D map tool to understand how it can get
the clicked position
   - Use a temporary line layer to store the clicked position
   - Render the line but still has some problem (see blocker)
2. What am I going to achieve for next week?
   - Fixing the rendering issue
   - Implement measurement tool window (re-use the 2D version if possible)
   - Polish the functionalities
3. Is there any blocking issue?
   - Yes, the line is rendered but the color is random and rendered as 2D.
The line will be gone if I hide/show another line [2].
 ![Rendering Problem](
https://user-images.githubusercontent.com/1421861/59567331-c22b5c00-906c-11e9-808f-0a7e93e8f54a.png
)
4. Code
   - Branch in my repo [1]
5. Misc
   - N/A

*References*
- [1] https://github.com/ismailsunni/QGIS/tree/measurement-tool
- [2] https://github.com/ismailsunni/QGIS/issues/2#issuecomment-502470762
- [3] Project Wiki:
https://github.com/ismailsunni/QGIS/wiki/GSoC-2019---QGIS-3D-Improvement
- [4] Week 3 report: https://github.com/ismailsunni/QGIS/wiki/Week-3-Report

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

Re: [QGIS-Developer] GSoC QGIS 3D Improvement: Week 2 Report

2019-06-08 Thread Ismail Sunni
Hi Tim and Mathieu,

Yes, that issue was a blocker in week 1 [1]. I have discussed with Martin
and Peter. Martin suggests 3 alternatives for it:

   1. Using QtQuick --> Adding dependencies, it will need to go through QEP
   and so on
   2. Render it as a 3D object (like Tim said) --> too much work
   3. Doing as normal QWidget (like current implementation, the alternative
   that we chose)

I also feel that the current implementation is not what I expect. The first
proposal was also a floating widget. Unfortunately, I didn't know that it's
not possible by using QWidget on top of Qt3DWindow at that time I wrote the
proposal.

Here I am not sure what will happen (e.g. is current work mergeable or
not). Perhaps if I had some extra time left at the end of the GSoC project
timeline (I put some small buffer time) I can try to go with the 2nd
alternative.

Maybe Martin or Peter have some comments about this?

Anyway, thanks for the feedbacks, Tim and Mathieu!

[1] https://github.com/ismailsunni/QGIS/wiki/Week-1-Report

On Sat, Jun 8, 2019 at 2:15 PM Mathieu Pellerin 
wrote:

> Nice progress.
>
> I feel it'd be really important to figure out a way to creating some
> floating controls here, the current approach eats so much space it'll
> likely be unusable with docked 3d maps.
>
> On Sat, Jun 8, 2019, 18:40 Tim Sutton  wrote:
>
>> Hi Ismail
>>
>>
>> Looking great! I was wondering: Couldn’t you render 3d objects in the
>> scene that act as the controls? My idea was that you have them anchored
>> e.g. in the bottom right of the screen and always fixed in position even
>> when you are rotating etc. the rest of the scene. Then when you click on
>> one of the navigation objects you just send the same signals you would be
>> sending from your Qt widget based approach?
>>
>> Regards
>>
>> Tim
>>
>>
>> On 8 Jun 2019, at 09:08, Ismail Sunni  wrote:
>>
>> Dear QGIS developers
>>
>> Here is my 2st-week report for my GSoC Project. You can read this report
>> better with image and GIF in the weekly report wiki [4]. You can also check
>> the project wiki page [3]. Comments and suggestions are welcome :)
>>
>> GSoC QGIS 3D Improvement Week 2 Report
>>
>> *Period*: 3 June 2019 - 9 June 2019
>>
>> *Report*
>> 1. What did I complete this week?
>>- Implement all functionalities of the on-screen navigation
>>- Screenshot
>>
>> https://user-images.githubusercontent.com/1421861/59020256-e788c080-8849-11e9-9d66-a2be03365e8f.png
>>- GIF
>>
>> https://user-images.githubusercontent.com/1421861/59144140-61988100-89d3-11e9-8e33-fc06c0a09a47.gif
>>- Make a PR  [1] for it (and update it according to the PR review,
>> thanks Nyall for reviewing it)
>>
>> 2. What am I going to achieve for next week?
>>- Starting working on the measurement tool, already discuss with
>> mentors for the initial steps:
>>   - implement a concrete class of 3D map tool to understand how it
>> can get the clicked position
>>   - use a temporary line layer to store the clicked position then we
>> can render it to show in the 3D map view.
>> 3. Is there any blocking issue?
>>- Previously yes, regarding customizing QDial. Fortunately, I found
>> QwtDial that has an easier way to customize. Even better, there is
>> QwtCompas that offers what I wanted.
>> 4. Code
>>- My code for this feature is in this PR [1]
>>- Branch in my repo [2]
>> 5. Misc
>>    - N/A
>>
>> *References*
>> - [1] https://github.com/qgis/QGIS/pull/30105
>> - [2] https://github.com/ismailsunni/QGIS/tree/on-screen-navigation
>> - [3] Project Wiki:
>> https://github.com/ismailsunni/QGIS/wiki/GSoC-2019---QGIS-3D-Improvement
>> - [4] Week 2 report:
>> https://github.com/ismailsunni/QGIS/wiki/Week-2-Report
>>
>> 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
>>
>>
>> —
>>
>>
>>
>>
>>
>>
>>
>>
>> *Tim Sutton*
>>
>> *Co-founder:* Kartoza
>> *Ex Project chair:* QGIS.org
>>
>> Visit http://kartoza.com to find out about open source:
>>
>> Desktop GIS programming services
>> Geospatial web development
>> GIS Training
>> Consulting Services
>>
>> *Skype*: timlinux
>> *IRC:* timlinux on #qgis

[QGIS-Developer] GSoC QGIS 3D Improvement: Week 2 Report

2019-06-08 Thread Ismail Sunni
Dear QGIS developers

Here is my 2st-week report for my GSoC Project. You can read this report
better with image and GIF in the weekly report wiki [4]. You can also check
the project wiki page [3]. Comments and suggestions are welcome :)

GSoC QGIS 3D Improvement Week 2 Report

*Period*: 3 June 2019 - 9 June 2019

*Report*
1. What did I complete this week?
   - Implement all functionalities of the on-screen navigation
   - Screenshot

https://user-images.githubusercontent.com/1421861/59020256-e788c080-8849-11e9-9d66-a2be03365e8f.png
   - GIF

https://user-images.githubusercontent.com/1421861/59144140-61988100-89d3-11e9-8e33-fc06c0a09a47.gif
   - Make a PR  [1] for it (and update it according to the PR review,
thanks Nyall for reviewing it)

2. What am I going to achieve for next week?
   - Starting working on the measurement tool, already discuss with mentors
for the initial steps:
  - implement a concrete class of 3D map tool to understand how it can
get the clicked position
  - use a temporary line layer to store the clicked position then we
can render it to show in the 3D map view.
3. Is there any blocking issue?
   - Previously yes, regarding customizing QDial. Fortunately, I found
QwtDial that has an easier way to customize. Even better, there is
QwtCompas that offers what I wanted.
4. Code
   - My code for this feature is in this PR [1]
   - Branch in my repo [2]
5. Misc
   - N/A

*References*
- [1] https://github.com/qgis/QGIS/pull/30105
- [2] https://github.com/ismailsunni/QGIS/tree/on-screen-navigation
- [3] Project Wiki:
https://github.com/ismailsunni/QGIS/wiki/GSoC-2019---QGIS-3D-Improvement
- [4] Week 2 report: https://github.com/ismailsunni/QGIS/wiki/Week-2-Report

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

Re: [QGIS-Developer] GSoC QGIS 3D Improvement: Week 1 Report

2019-06-06 Thread Ismail Sunni
Hi Nyall

Just a thought -- did you try splitting this navigation widget off
> into it's own tool-style window? Maybe doing so and letting the window
> manager force it to sit above the 3d window would help.


We had a discussion about this and since the tool-style window will be on
top and the 3D map view is also on top, they will "fight". I tried a little
experiment with another tool window, and the result is the window is merged
in a tab style window.


> That giant
> amount of wasted space on the right is certainly a downer.


We also feel the same, but it seems for this GSoC project, that's the best
way I can go since we have time limitation. Hopefully, we can make it
better later.


Nice progress Ismail, keep up the great work!


Thanks, Nyall

Best regards.


On Mon, Jun 3, 2019 at 3:48 AM Nyall Dawson  wrote:

> On Sat, 1 Jun 2019 at 23:57, Ismail Sunni  wrote:
> >
> > Dear QGIS developers
> >
> > Here is my 1st-week report for my GSoC Project. You can also check it on
> the wiki page [3][4]. Comments and suggestions are welcome :)
> >
> > Best regards
> >
> > GSoC 3D Improvement Week 1 Report
> >
> > Period: 27 May 2019 - 2 June 2019
> >
> > Report
> > 1. What did I complete this week?
> >* Trying to implement floating widget above Q3DWindow --> Not possible
> >* Decide with the mentors to implement it as a normal widget next to
> the Q3DWindow
> >* Implement the navigation widget and add the functionality (zoom
> in/out, tilt up/down, rotating)
> >  ![QGIS 3D Navigation Widget](https://i.imgur.com/CBhu4PT.jpg)
>
> Just a thought -- did you try splitting this navigation widget off
> into it's own tool-style window? Maybe doing so and letting the window
> manager force it to sit above the 3d window would help. That giant
> amount of wasted space on the right is certainly a downer.
>
> >* Add the button to show and hide the widget (still using random icon)
> >
> > 2. What am I going to achieve for next week?
> >* Make the rotating button sync with the map (currently it can rotate
> the map, but when the map rotate it doesn't move)
> >* Create better icons for the buttons and make the rotation widget
> looks
> >* Testing
> >* Make a pull request to merge the works
> >
> > 3. Is there any blocking issue?
> >* Previously yes, with the Q3DWindow, after discussing with mentors,
> we will go to the normal widget. Another option: using QtQuick (needs to
> add dependencies), render the control manually (too much work)
> >
> > 4. Code
> >* For the initial works, my mentors asked me to work on my small
> project [1] so that it is faster to developer
> >* For the QGIS implementation [2]
> >
> > 5. Misc
> >* We have daily text stand up in a slack channel
>
> Nice progress Ismail, keep up the great work!
>
> Nyall
>


-- 
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] GSoC QGIS 3D Improvement: Week 1 Report

2019-06-01 Thread Ismail Sunni
Dear QGIS developers

Here is my 1st-week report for my GSoC Project. You can also check it on
the wiki page [3][4]. Comments and suggestions are welcome :)

Best regards

GSoC 3D Improvement Week 1 Report

*Period*: 27 May 2019 - 2 June 2019

*Report*
1. What did I complete this week?
   * Trying to implement floating widget above Q3DWindow --> Not possible
   * Decide with the mentors to implement it as a normal widget next to the
Q3DWindow
   * Implement the navigation widget and add the functionality (zoom
in/out, tilt up/down, rotating)
 ![QGIS 3D Navigation Widget](https://i.imgur.com/CBhu4PT.jpg)
   * Add the button to show and hide the widget (still using random icon)

2. What am I going to achieve for next week?
   * Make the rotating button sync with the map (currently it can rotate
the map, but when the map rotate it doesn't move)
   * Create better icons for the buttons and make the rotation widget looks

   * Testing
   * Make a pull request to merge the works

3. Is there any blocking issue?
   * Previously yes, with the Q3DWindow, after discussing with mentors, we
will go to the normal widget. Another option: using QtQuick (needs to add
dependencies), render the control manually (too much work)

4. Code
   * For the initial works, my mentors asked me to work on my small project
[1] so that it is faster to developer
   * For the QGIS implementation [2]

5. Misc
   * We have daily text stand up in a slack channel

*References*
* [1] https://github.com/ismailsunni/qt3d-hello-world
* [2] https://github.com/ismailsunni/QGIS/tree/on-screen-navigation
* [3] Project Wiki:
https://github.com/ismailsunni/QGIS/wiki/GSoC-2019---QGIS-3D-Improvement
* [4] Week 1 report: https://github.com/ismailsunni/QGIS/wiki/Week-1-Report

-- 
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

Re: [QGIS-Developer] How to Add Custom QGIS Model Programmatically

2019-06-01 Thread Ismail Sunni
Hi Nyall,

Not sure if you've seen
> https://github.com/qgis/QGIS-Enhancement-Proposals/issues/140 , but
> that's designed with this use case very much in mind (and supports
> specifying a model file via the command line, no need for registering
> it in advance anywhere).


Wow, this is more or less what I want to do also. In my case, I want to use
QGIS docker image and add a python script to handle the input. I put my
code in https://github.com/ismailsunni/docker-qgis3-model. It's still in
exploration mode, and still not working with dynamically using a model from
the user. Hopefully, it will be done soon (at least at the end of my course
semester :D ). This for my school project actually, but perhaps it can be
useful for other people.

I use a YAML  file to define the input and output since I feel it's not
easy to put the long parameter after the command.

After reading the QEP and another QEP about official docker image [1], so
this Docker image [2] is not yet an official one?

It's mostly done at
>
> https://github.com/nyalldawson/QGIS/commit/631460cd1b8481cb118b7df2afacc5c3df40b3ad
> , but I need some funds to finalise this and get it merged (e.g. it's
> missing unit tests, and needs upgrading to handle the .var style
> initialisation used by QGIS windows executables, and I also suspect
> there'll be some packaging changes required to allow it to be built
> and installed without the QGIS gui/application libraries).


The implementation seems will be easier to use in Windows. Since by using
Docker, Windows user needs to install Docker first, and it's really not
straight forward unless you have Win 10 Pro.

Thanks for sharing Nyall. My search engine did not show the QEP or your
branch to me :)

Best regards

[1] https://github.com/qgis/QGIS-Enhancement-Proposals/issues/142
[2] https://hub.docker.com/r/qgis/qgis/

On Fri, May 31, 2019 at 12:17 AM Nyall Dawson 
wrote:

> On Tue, 28 May 2019 at 23:57, Ismail Sunni  wrote:
> >
> > Dear QGIS developers,
> >
> > Currently, I am trying to create a Docker image based on QGIS official
> docker image to run a custom processing model. I am able to run the
> existing processing model by using a python script.
>
> Not sure if you've seen
> https://github.com/qgis/QGIS-Enhancement-Proposals/issues/140 , but
> that's designed with this use case very much in mind (and supports
> specifying a model file via the command line, no need for registering
> it in advance anywhere).
>
> It's mostly done at
>
> https://github.com/nyalldawson/QGIS/commit/631460cd1b8481cb118b7df2afacc5c3df40b3ad
> , but I need some funds to finalise this and get it merged (e.g. it's
> missing unit tests, and needs upgrading to handle the .var style
> initialisation used by QGIS windows executables, and I also suspect
> there'll be some packaging changes required to allow it to be built
> and installed without the QGIS gui/application libraries).
>
> Nyall
>
> >
> > Unfortunately, for a custom model, I need to register the model first
> (similar to adding a new model in QGIS toolbox) before I can use it. I try
> some ways to do it:
> >
> > Trying to find Python API to do it. I couldn't find it (perhaps I missed
> it)
> > Trying to add/copy manually the model file to the model directory.
> Unfortunately, in the container doesn't even have any profile directory.
> > I tried to find the model directory path, but I can't find it from
> QSettings (it returns empty setting with QSettings.allKeys())
> > I tried to manually create the directories based on my machine model
> directory location, but it's not working also.
> >
> > Any suggestions for this problem? A Python API to add/register the model
> would be a perfect solution.
> >
> > Thanks
> >
> > --
> > 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
>


-- 
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

Re: [QGIS-Developer] How to Add Custom QGIS Model Programmatically

2019-05-28 Thread Ismail Sunni
HI Luigi,

Thanks for the pointer, it's really helpful. Now I got my model registered
:)

I convert it to Python script first, then add it as you said.

Next, I will check if it's working properly

Best regards

On Tue, May 28, 2019 at 5:52 PM Luigi Pirelli  wrote:

>
> I'm travelling, but iIRC, you need before register model provider in
> processing... There are processing tests about alg provider registry.
> On Tuesday, 28 May 2019, Ismail Sunni  wrote:
>
>> Dear QGIS developers,
>>
>> Currently, I am trying to create a Docker image based on QGIS official
>> docker image to run a custom processing model. I am able to run the
>> existing processing model by using a python script.
>>
>> Unfortunately, for a custom model, I need to register the model first
>> (similar to adding a new model in QGIS toolbox) before I can use it. I try
>> some ways to do it:
>>
>>1. Trying to find Python API to do it. I couldn't find it (perhaps I
>>missed it)
>>2. Trying to add/copy manually the model file to the model directory.
>>Unfortunately, in the container doesn't even have any profile directory.
>>3. I tried to find the model directory path, but I can't find it from
>>QSettings (it returns empty setting with *QSettings.allKeys()*)
>>4. I tried to manually create the directories based on my machine
>>model directory location, but it's not working also.
>>
>> Any suggestions for this problem? A Python API to add/register the model
>> would be a perfect solution.
>>
>> Thanks
>>
>> --
>> Ismail Sunni
>> ismailsunni.wordpress.com
>>
>
>
> --
>
> Luigi Pirelli
>
>
> **
> * LinkedIn: https://www.linkedin.com/in/luigipirelli
> * Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
> * GitHub: https://github.com/luipir
> * Mastering QGIS 2nd Edition:
> *
> https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition
> * Hire me: http://www.qcooperative.net
>
> **
>
>

-- 
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] [GSoC 2019 - QGIS 3D Improvement] Community Bonding Period Report

2019-05-26 Thread Ismail Sunni
Dear QGIS Developers,

Here is my update from the GSoC community bonding. You can also find it in
https://github.com/ismailsunni/QGIS/wiki/Community-Bonding-Period

Community Bonding Period

*Overview*
The community bonding period started from 6 May 2019 until 26 May 2019. In
this community bonding period, my mentor, Martin Dobias, helps me to start
the introduction [1] to the mailing list. I introduce myself and the
project that I will work on [2]. I have already explained the project and
asked for feedback before the proposal submission to the developer mailing
list [3]. I also sent a similar email to the SOC [4].

With my mentors (Martin and Peter), we have met twice virtually via video
call during the community bonding. For some quick questions, we also use a
messaging platform. For the coding period, we agree to meet twice a week.
Additionally, I have met with both of my mentors offline before the
community bonding/GSoC announcement.

In term of the QGIS project, I have already set up my developer environment
(and build frequently). I have been quite familiar with the development
process (repository, pull request, issue tracker, documentation, QEP,
communication, the organization, etc).

For the technical aspect, my main task in the project is learning about 3D
programming and fresh my Qt C++. For this, my mentor suggested me to learn
from LearnOpenGL [5]. I also did some coding with Qt 3D with C++. The code
can be checked in my Github Repository [6]. Perhaps can be useful for
others since I couldn't find a good Qt 3D C++ tutorial out there.

Additionally, I tried to go to the QGIS 3D codebase and do some research
about the implementation (e.g. QDial for the on-screen navigation [7])

Regarding the project, I also made a Github issue to track my progress for
my first improvement (On-Screen Navigation)[8]. I made a mockup for it also.

Lastly, on the GSoC itself, I have made a Wiki to put everything related to
my project [9]. I will update it regularly (or weekly).

*Checklist*
Here some checklist that I have done in the community bonding period:
- [x]  _Request writing access to the OSGeo wiki, you need it to edit all
info related to your project_
- [x] _Get to know your mentors, establish with them a way of
communication, that can be video call, chat, email, etc. You are supposed
to communicate regularly and often with your mentors._
- [x] Familiarize with the community practices and processes: how does the
community communicate? Where is the source code published? How does the bug
tracker work?
- [x] Introduce yourself and your project in SOC mailing list as well as
the mailing list used by your software community, and start a public
dialogue to gather feedback and refine your project accordingly.
- [x] Redefine your project with more detailed weekly milestones, with the
help of your mentors and the feedback of the community, embedding the 3
evaluation periods in your timetable, adding more details, figuring out
potential issues, etc.
- [x] Become familiar with the developer manuals
- [x] Study material relevant for your project
- [x] Install the developer environment and get ready to start coding
- [ ] Participate in Mailing Lists / IRC / etc, try and help users
  > I was trying to do it (reading the mailing list often), but
unfortunately, I couldn't answer the questions that came up
- [ ] Start coding for bug fixes NOT necessarily related to your project:
it is a good exercise to become familiar with the code base. Include these
bug fixes into your report due at the end of bonding period.
  > No. My mentors suggested me to learn the 3D code base instead.
- [x] Set up your repository and wiki page for your project. You are free
to blog/tweet about it too, if you wish. Don’t forget to include these info
in the report due at the end of the bonding period.
- [x] Ask your mentors for guidance on how to commit to the project
repository. Bear in mind that you should commit often, not just at
evaluation periods. However, depending on the policy given by your mentors,
you might be requested to commit in your own repository and make a PR only
when the code is mature to be included in the main repo. Discuss the
details with your mentors.

*Best Regards*

* [1] https://lists.osgeo.org/pipermail/qgis-developer/2019-May/057206.html
* [2] https://lists.osgeo.org/pipermail/qgis-developer/2019-May/057218.html
* [3]
https://lists.osgeo.org/pipermail/qgis-developer/2019-April/056851.html
* [4] https://lists.osgeo.org/pipermail/soc/2019-May/004241.html
* [5] https://learnopengl.com/
* [6] https://github.com/ismailsunni/qt3d-hello-world
* [7] https://doc.qt.io/archives/qt-4.8/qdial.html
* [8] https://github.com/ismailsunni/QGIS/issues/1
* [9]
https://github.com/ismailsunni/QGIS/wiki/GSoC-2019---QGIS-3D-Improvement


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

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

2019-04-04 Thread Ismail Sunni
Hi Luigi,

Yeah, like Martin and Peter said, it's out of the scope of the proposal.
Martin and I actually discussed it also. But I agree, after reading it
again, it does give a hint that I will implement that. I think it's better
to remove it for now and focus on the most common use case one. What do you
think?

Hi Sigeal

I also had some similar issues while testing the 3D window on W10 with QGIS
> 3.6.1 :
> - sometimes, the 3D window loses its controls (no title bar, no status
> bar), but I get them back if I resize the window with the mouse (on click
> release)
> - the 3D window appears in View -> Panels menu, but not in the contextual
> menu (right click in the empty toolbar zone)
> - if I uncheck the 3D window in the View -> Panels menu, it is closed and
> I can't get it back
> - I had crashes while trying to dock a new 3D window in an existing one
> (which normally create a new tab)
> - it would be great to be able to minimize 3D windows


I will check it, but not sure will add it to the proposal. I also wonder
that there is no minimize 3D windows. I think it will be great if we can
have a list of 2D and 3D view that we can close and open later.

Thanks for all your comments :)

Best regards.

On Thu, Apr 4, 2019 at 9:56 AM Luigi Pirelli  wrote:

> +1 in fact I was surprised!
>
> Luigi Pirelli
>
>
> **
> * LinkedIn: https://www.linkedin.com/in/luigipirelli
> * Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
> * GitHub: https://github.com/luipir
> * Mastering QGIS 2nd Edition:
> *
> https://www.packtpub.com/big-data-and-business-intelligence/mastering-qgis-second-edition
> * Hire me: http://goo.gl/BYRQKg
>
> **
>
>
> On Wed, 3 Apr 2019 at 09:50, Martin Dobias  wrote:
>
>> Hi Luigi
>>
>> On Wed, Apr 3, 2019 at 9:36 AM Luigi Pirelli  wrote:
>> >
>> > "Point cloud rendering" is cited in the document... that't the reason I
>> wrote about.
>>
>> Point cloud rendering is mentioned there because the 'billboards' 3D
>> rendering technique can be reused for point clouds as well - but it
>> wasn't the intention to implement a point cloud visualizer there
>> (although re-reading the proposal, it can give such impression).
>>
>> @Ismail - maybe that point in your proposal could be removed to avoid
>> confusion about the scope of the project... or it could be
>> reformulated that it would "just" prepare the ground for point clouds
>> rendering sometime later.
>>
>> 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



-- 
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

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

2019-04-02 Thread Ismail Sunni
Hi Tim,

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.


Ah really? I can't remember get that issue in Mac before. (un)fortunately,
I am not using Mac anymore, so I am not sure if can help with that. Perhaps
Peter can check 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 :-)


Haha, nice idea! Let me check if I prefer star wars or Avengers :D

Thanks also for your comment in the Google Docs.

Best Regards

On Mon, Apr 1, 2019 at 4:25 PM Tim Sutton  wrote:

> 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 t

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.
&

[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
<https://github.com/qgis/QGIS/wiki/Google-Summer-of-Code-2019-Ideas#qgis-3d-improvements>.
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

Re: [QGIS-Developer] Madeira Hackfest Blog post

2018-12-21 Thread Ismail Sunni
Hi matteo,

The link:

http://blog.qgis.org/2018/12/03/call-for-presentations-qgis-user-conference-and-developer-meeting-2019/

It's the 2nd last post.

Best regards

On Fri, Dec 21, 2018, 11:01 matteo  Hi all,
>
> I cannot find a blog post of the Madeira HF:
>
> https://blog.qgis.org/
>
> somebody knows something about it?
>
> Thanks
>
> Matteo
> ___
> 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] Sentry support for QGIS crashes / minidumps

2018-05-03 Thread Ismail Sunni
Hi

Trying to answer Mathias's questions:

Since I have no idea how it works exactly and what's possible to do with
> it, could you quickly describe how it's working together with other
> issue trackers?


Some features that interesting (at least to me):

   1. If there is a bug, you can assign someone directly in the sentry
   (must be a user for sure) or even you can create a GitHub ticket if you set
   it up (not sure if there is a support for redmine).
   2. We can mark a bug as fixed in the next release. It's really useful to
   make thing automatic
   3. We can see how often a bug occurs (better planning to do bug fix),
   and some statistic and nice graph (and weekly overview)
   4. We can see a bug that occurs again (regression)
   5. The bug report can be set up to provide some environment information
   (version, OS, etc) *perhaps we can make it optional to the user

But I think we need to ask the user whether they want to "send the bug
report" automatically to the sentry or not, since it may contain some
private things.

CMIIW

Best Regards

On Thu, May 3, 2018 at 7:47 PM, Paolo Cavallini <cavall...@faunalia.it>
wrote:

> Il 03/05/2018 14:01, Etienne Trimaille ha scritto:
> > Having Sentry on a few Python projects, I agree it's a very nice tool to
> > have for debugging. It shows you new bug, bugs which should be fixed but
> > occurs again, etc.
> > It would be nice to have it in QGIS I think.
>
> you look the perfect candidate for a grant on this, isn't it?
> all the best.
> --
> Paolo Cavallini - www.faunalia.eu
> QGIS & PostGIS courses: http://www.faunalia.eu/training.html
> https://www.google.com/trends/explore?date=all=IT=qgis,arcgis
> ___
> 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
>



-- 
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

Re: [QGIS-Developer] QGIS variables in Python code

2017-11-22 Thread Ismail Sunni
Hi Andreas

If you mean QGIS variable, or project variable, or layer variable, you can
do (read, set, delete) it by using
https://qgis.org/api/classQgsExpressionContextUtils.html.

Thanks

On Wed, Nov 22, 2017 at 6:21 PM, Andreas Neumann <a.neum...@carto.net>
wrote:

> Hi,
>
> Is it possible to query the value of a QGIS variable in Python code? E.g.
> I'd like to find out in my code the full storage path to the folder of my
> current QGIS project, which would be available in the @project_folder
> variable.
>
> Are variable values accessible through the Python API?
>
> Thanks for any example or hint,
>
> Andreas
>
> ___
> 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




-- 
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

Re: [QGIS-Developer] [Qgis-developer] Are there plans to create a unique "Add layer" tool?

2017-06-05 Thread Ismail Sunni
Ah yes, sorry. I was thinking that button will do the same thing like in
the toolbar (I also didn't read the tooltip).

Thanks!

On Mon, Jun 5, 2017 at 2:59 PM, Alessandro Pasotti <apaso...@gmail.com>
wrote:

> On Mon, Jun 5, 2017 at 9:50 AM, Ismail Sunni <imajimat...@gmail.com>
> wrote:
>
>> Hi Allesandro,
>>
>> I just tried the new add layer button. It looks great! One thing that I
>> found, when I click the add layer button in the browser panel, there is
>> nothing happening.
>>
>> I made a gif to show it : http://imgur.com/EPGFuEz
>>
>
>
> Works for me. Make sure you selected a layer before pushing that button.
>
>
>
>> I build QGIS master on MacOS, for 27850fb00e
>>
>> Best regards.
>>
>> On Mon, Jun 5, 2017 at 1:51 PM, Alessandro Pasotti <apaso...@gmail.com>
>> wrote:
>>
>>> Hi Stéphane,
>>>
>>> Thanks for testing the new dialog!
>>>
>>> I think that if you find a bug (a crash or something that doesn't work
>>> as expected) you should open an issue on the hub and assign it to me.
>>>
>>> For general feed-back or change proposal for the UI/UX you can either
>>> use this thread or make a PR with the proposed changes and discuss them in
>>> the the PR.
>>>
>>> Cheers
>>>
>>>
>>> On Sun, Jun 4, 2017 at 8:14 PM, Stéphane Henriod <stephane...@gmail.com>
>>> wrote:
>>>
>>>> Hi Alessandro
>>>>
>>>> I just downloaded the latest nightly build and will make some tests in
>>>> the coming days. What would be the most efficient / useful way to give you
>>>> feedback and comments? On this thread?
>>>>
>>>> Thanks and cheers
>>>>
>>>> Stéphane
>>>>
>>>>
>>>> Le jeudi 1 juin 2017, Alessandro Pasotti <apaso...@gmail.com> a écrit :
>>>>
>>>>> On Thu, Jun 1, 2017 at 11:22 AM, Stéphane Henriod <
>>>>> stephane...@gmail.com> wrote:
>>>>>
>>>>>> I really look forward to testing it :-) Thanks a lot for our
>>>>>> involvement here!
>>>>>>
>>>>>>
>>>>>
>>>>> Thanks to Boundless for funding the development and thanks to all of
>>>>> you who participated with design, mockups, ideas, comments and reviews!
>>>>>
>>>>> This was a nice and effective cooperation.
>>>>>
>>>>>
>>>>> BTW, if you can't wait, a Docker with a nigthly build of the PR branch
>>>>> is available as "boundlessgeo/qgis-testing-environment:unified-button"
>>>>>
>>>>> Cheers
>>>>>
>>>>>
>>>>>>
>>>>>> Le mercredi 31 mai 2017, Alessandro Pasotti <apaso...@gmail.com> a
>>>>>> écrit :
>>>>>>
>>>>>>> Hi,
>>>>>>>
>>>>>>> final update: the development of what was in phase 1 is done.
>>>>>>>
>>>>>>> Actually, a bit more than phase 1 considering that we've redesigned
>>>>>>> the delimited text dialog GUI and I've done quite a bit of small
>>>>>>> refactorings of the providers selection dialogs interfaces.
>>>>>>>
>>>>>>> There has been a lot of feed-back, thank you all!
>>>>>>>
>>>>>>> As expected, there is no complete agreement over the final GUI bits
>>>>>>> for the menus and toolbars, and we still miss an icon (the green plus 
>>>>>>> that
>>>>>>> I've used was only meant as a placeholder). I tried to keep the old 
>>>>>>> toolbar
>>>>>>> available (disabled by default) mainly because it can spare a click and
>>>>>>> power users might want it back. Also, the new icon is the most 
>>>>>>> prominent in
>>>>>>> the left bar and it's the first menu item in the layers menu.
>>>>>>>
>>>>>>> I have not a strong opinion about those toolbars and menus but I
>>>>>>> think I should wait no more and merge it as it is, then give the people
>>>>>>> some time to test the actual implementation and decide how to improve 
>>>>>>> it.
>>>>>>>
>>>>>>> I kept the controversial part in a

Re: [QGIS-Developer] [Qgis-developer] Are there plans to create a unique "Add layer" tool?

2017-06-05 Thread Ismail Sunni
 Duivenvoorde <
>>>>>> rdmaili...@duif.net> wrote:
>>>>>>
>>>>>>> On 19-05-17 01:23, Nyall Dawson wrote:
>>>>>>>
>>>>>>> > On this note - I've recently discovered the need for some type of
>>>>>>> > reusable layer selection widget which allows choice of existing
>>>>>>> > layers/loading new layers from the file system/loading new layers
>>>>>>> from
>>>>>>> > available db/online connections. This would be extremely valuable
>>>>>>> for
>>>>>>> > processing too!
>>>>>>> >
>>>>>>> > So I'm really glad to hear that you'll be pushing ahead with this
>>>>>>> work
>>>>>>> > - thanks Boundless!
>>>>>>>
>>>>>>> Yep, and thanks Alessandro for the screenie. Makes me want more!
>>>>>>>
>>>>>>> @Nyall in Essen the talk was to start with what Alessandro wrote in
>>>>>>> his
>>>>>>> email, so 1 dialog 'merging' all buttons/widgets/dialogs into one,
>>>>>>> reuse
>>>>>>> as much as possible. So it was possible to get it into 3.0
>>>>>>>
>>>>>>> Off course people (.../me) started brainstorming about features which
>>>>>>> w/could be added too :-)
>>>>>>>
>>>>>>> Your idea adds (I think) to the idea to make some kind of
>>>>>>> 'datamanagement-console' in near future, where you can create/copy
>>>>>>> data(!), move data around (browser part) or delete it.
>>>>>>> Your note fits in this isn't it?
>>>>>>>
>>>>>>> Regards,
>>>>>>>
>>>>>>> Richard
>>>>>>>
>>>>>>>
>>>>>>> ___
>>>>>>> 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
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> --
>>>>>> Alessandro Pasotti
>>>>>> w3:   www.itopen.it
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Alessandro Pasotti
>>>>> w3:   www.itopen.it
>>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> “When you travel, remember that a foreign country is not designed to
>>>> make you comfortable. It is designed to make its own people comfortable."
>>>> -- Clifton Fadiman
>>>>
>>>>
>>>
>>>
>>> --
>>> Alessandro Pasotti
>>> w3:   www.itopen.it
>>>
>>
>>
>> --
>>
>> “When you travel, remember that a foreign country is not designed to make
>> you comfortable. It is designed to make its own people comfortable." --
>> Clifton Fadiman
>>
>>
>
>
> --
> Alessandro Pasotti
> w3:   www.itopen.it
>
> ___
> 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
>



-- 
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

Re: [QGIS-Developer] QGIS PyQt version conflict

2017-05-12 Thread Ismail Sunni
Hi, I (or we) also use the same method as Arnaud.

The only drawback is you can’t get the autocomplete from the python file (from 
the ui file). But the benefit is greater: no need to ship generated python 
code, no need to compile every time we change the .ui file. The development is 
faster now.

I don’t think we need to see the generated python code from the .ui file.

You can see here for the utilities method : 
https://github.com/inasafe/inasafe/blob/develop/safe/utilities/resources.py#L107
 

 

Best Regards


> On 12May, 2017, at 12:34, Michal Zimmermann  wrote:
> 
> Hi,
> that looks like an interesting workaround! What are the pitfalls? Don't you 
> need to see the real python code when developing? 
> 
> On Thu, May 11, 2017 at 1:55 PM, Arnaud Morvan  > wrote:
> Hello Michal, 
> 
> I've also had this error some times ago, I do not remember if I succeed with 
> pyuic4, nor the solution.
> 
> But IMHO it is simpler to load "ui" files at runtime.
> Here is an example from "processing" plugin :
> 
> import os
> from qgis.PyQt import uic
> 
> pluginPath = os.path.split(os.path.dirname(__file__))[0]
> WIDGET, BASE = uic.loadUiType(
> os.path.join(pluginPath, 'ui', 'DlgConfig.ui'))
> 
> class ConfigDialog(BASE, WIDGET):
> 
> 
> => no need to run make or similar to create python files each time you change 
> something in your ui files.
> 
> load the plugin from the source folder (create a symbolic link from home QGIS 
> plugins dir to plugin source dir)
> change something in the ui file
> reload the plugin using "plugin reloader" and you immediately see the result 
> in QGIS.
> 
> Regards
> Arnaud Morvan
> Ingénieur logiciel
> Tél: +33 (0)4 58 48 20 32 
> 
> Camptocamp France SAS
> Savoie Technolac, BP 352
> 73377 Le Bourget du Lac Cedex
> http://www.camptocamp.com 
> Le 11/05/2017 à 12:44, Michal Zimmermann a écrit :
>> Hi,
>> I'm starting with qgis plugin development on ubuntu-based Mint OS (v 18.1 
>> Serena). I created a very simple form in Qt Designer 4.8.7 and tried to 
>> convert it to python file with 
>> 
>> pyuic4 -d form.ui -o form.py
>> 
>> This results in 
>> 
>> Traceback (most recent call last):
>>   File "/usr/lib/python2.7/dist-packages/PyQt4/uic/port_v2/invoke.py", line 
>> 34, in invoke
>> exit_status = driver.invoke()
>>   File "/usr/lib/python2.7/dist-packages/PyQt4/uic/driver.py", line 59, in 
>> invoke
>> self._generate()
>>   File "/usr/lib/python2.7/dist-packages/PyQt4/uic/driver.py", line 98, in 
>> _generate
>> self._opts.resource_suffix)
>>   File "/usr/lib/python2.7/dist-packages/PyQt4/uic/__init__.py", line 173, 
>> in compileUi
>> winfo = compiler.UICompiler().compileUi(uifile, pyfile, from_imports, 
>> resource_suffix)
>>   File "/usr/lib/python2.7/dist-packages/PyQt4/uic/Compiler/compiler.py", 
>> line 55, in __init__
>> CompilerCreatorPolicy())
>>   File "/usr/lib/python2.7/dist-packages/PyQt4/uic/uiparser.py", line 170, 
>> in __init__
>> self.factory = QObjectCreator(creatorPolicy)
>>   File "/usr/lib/python2.7/dist-packages/PyQt4/uic/objcreator.py", line 94, 
>> in __init__
>> modinfo = plugin_locals["moduleInformation"]()
>>   File "", line 52, in moduleInformation
>>   File "/usr/lib/python2.7/dist-packages/qgis/__init__.py", line 26, in 
>> 
>> from qgis.PyQt import QtCore
>>   File "/usr/lib/python2.7/dist-packages/qgis/PyQt/QtCore.py", line 28, in 
>> 
>> sip.setapi(api, 2)
>> ValueError: API 'QDate' has already been set to version 1
>> 
>> If I change /usr/lib/python2.7/dist-packages/qgis/PyQt/QtCore.py line 28 to 
>> sip.setapi(api, 1), it works, QGIS starts with a following message though:
>> 
>> Couldn't load PyQGIS.
>> Python support will be disabled.
>> 
>> Traceback (most recent call last):
>>   File "", line 1, in 
>>   File "/usr/lib/python2.7/dist-packages/qgis/__init__.py", line 26, in 
>> from qgis.PyQt import QtCore
>>   File "/usr/lib/python2.7/dist-packages/qgis/PyQt/QtCore.py", line 28, in 
>> sip.setapi(api, 1)
>> ValueError: API 'QDate' has already been set to version 2
>> 
>> Python version:
>> 2.7.12 (default, Nov 19 2016, 06:48:10) 
>> [GCC 5.4.0 20160609]
>> 
>> QGIS version:
>> 2.18.7 'Las Palmas', 3b30e6a
>> 
>> What exactly do I have to do to make the both sides work?
>> 
>> -- 
>> Michal Zimmermann (zimmi) 
>> WWW: https://www.zimmi.cz 
>> 
>> ___
>> 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] Ideas concerning plugin deployment

2017-03-12 Thread Ismail Sunni
Hi Magnus,

In InaSAFE plugin, we also use git-archive, but since we use git submodule,
we use git archive-all (available in brew or pip) [1]. We create script to
do the release of the plugin to make it easier [2]. We add more
functionalities like removing test related files (to make the size smaller)
and create windows installer for it.

Best Regards

[1] https://github.com/Kentzo/git-archive-all
[2] https://github.com/inasafe/inasafe/blob/develop/scripts/release.sh

On Mon, Mar 13, 2017 at 5:19 AM, Luigi Pirelli <lui...@gmail.com> wrote:

> can be useful?  https://git-scm.com/docs/git-archive
> Luigi Pirelli
>
> 
> **
> * Boundless QGIS Support/Development: lpirelli AT boundlessgeo DOT com
> * LinkedIn: https://www.linkedin.com/in/luigipirelli
> * Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
> * GitHub: https://github.com/luipir
> * Mastering QGIS 2nd Edition:
> * https://www.packtpub.com/big-data-and-business-
> intelligence/mastering-qgis-second-edition
> 
> **
>
>
> On 11 March 2017 at 22:12, Magnus Homann <mag...@homann.se> wrote:
> > Hello, currently I tag my plugin code in git, and extract and build a
> > zip-file which is uploaded to plugin repo.
> > The Makefile that plugin_builder is supplyng, also have an option to zip
> > locally deployed files for later upload.
> >
> > I prefer to packaged directly from tag in git, but then every file that
> is
> > in git will be packaged!
> >
> > Have anyone made a mixed approach, packaging directly from a git tag, but
> > only a sub-set of the files?
> >
> > /Magnus
> > ___
> > 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
>



-- 
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] Failed to build QGIS master on OSX

2017-02-28 Thread Ismail Sunni
Hi everyone

Today I tried to build QGIS on OSX by following the tutorial in this README
(https://github.com/qgis/homebrew-qgisdev/blob/master/development/README.md).
I pull the latest commit from QGIS also (sha: f0489c9fc6). But, I got this
error:

/Users/ismailsunni/dev/cpp/QGIS/src/core/qgspoint.h:287: error: invalid
> operands to binary expression ('std::ostream' (aka 'basic_ostream')
> and 'char *')
>   os << p.toString().toLocal8Bit().data();
>   ~~ ^  ~


and

/Users/ismailsunni/dev/cpp/QGIS/src/core/qgsrectangle.h:228: error: invalid
> operands to binary expression ('std::ostream' (aka 'basic_ostream')
> and 'char *')
>   return os << r.toString().toLocal8Bit().data();
>  ~~ ^  ~


Does anyone have experience about this also? I have asked Tim and Etienne,
they also got the same problem.

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