[QGIS-Developer] Plugin [1094] Gban approval notification.

2019-05-28 Thread noreply

Plugin Gban approval by pcav.
The plugin version "[1094] Gban 1.1" is now approved
Link: http://plugins.qgis.org/plugins/gban/
___
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] New Coordinate Conversion Tool in Lat Lon Tools

2019-05-28 Thread C Hamilton
I have added a new coordinate conversion tool to the "Lat Lon Tools"
plugin. It is somewhat similar to the capabilities you find with the ArcGIS
coordinate conversion tool. You can manually copy and paste or type in a
coordinate in one of the various formats and it will convert it to all the
others. You can also click on the map to get the same results. Here is the
plugin:

http://plugins.qgis.org/plugins/latlontools/

These are the formats that are currently available:

WGS 84 latitude & longitude
Project CRS
Custom CRS
D° M' S"
DDMMSS
Standard UTM
MGRS
Google Plus Codes

Give it a try and let me know what you think.

Thanks,

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

[QGIS-Developer] Plugin [1727] Kontrollblatt SH approval notification.

2019-05-28 Thread noreply

Plugin Kontrollblatt SH approval by signedav.
The plugin version "[1727] Kontrollblatt SH 0.5" is now approved
Link: http://plugins.qgis.org/plugins/kontrollblatt_sh/
___
QGIS-Developer mailing list
QGIS-Developer@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

[QGIS-Developer] Plugin [1728] GEOSYS Plugin approval notification.

2019-05-28 Thread noreply

Plugin GEOSYS Plugin approval by zimbogisgeek.
The plugin version "[1728] GEOSYS Plugin 1.0.0" is now approved
Link: http://plugins.qgis.org/plugins/geosys-plugin/
___
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] saving a layer with the world_map.shp

2019-05-28 Thread Tim Sutton
Hi

I don’t have any immediate fix for your issue, but I am glad you are enjoying 
my Easter egg :-) I also use it ALL THE TIME and it is really great in training 
courses etc. to get people quickly started with panning and zooming or putting 
their data in context. One day maybe we can elevate it’s status to have a 
button on the file toolbar that adds it to the canvas without the need for 
bunnies and chocolate :-)

PS for those that don’t know about the Easter egg, type ‘world’ into the 
coordinate box in the status bar as shown below, then press ENTER.


Regards

Tim

> On 27 May 2019, at 14:58, Raymond Nijssen  wrote:
> 
> I know it was introduced as an easter egg, but I'm very happy with the built 
> in world map in qgis. I'm using it in a plugin to automatically add a layer 
> for the overview map in my layout. This layer points to a shapefile in my 
> qgis install directory:
> 
> /home/raymond/programs/qgis-master/share/qgis/resources/data/world_map.shp
> 
> Now, when saving my project and somebody else opening it, the layer is 
> invalid (of course). Is there a way to make the project point to the right 
> file, using some kind of variable pointing to the qgis installation path?
> 
> like this:
> {QGIS_RESOURCE_PATH}/data/world_map.shp
> 
> or I could copy the world.shp into my plugin and do this:
> 
> {QGIS_PLUGIN_PATH}/my-plugin/data/world_map.shp
> 
> These paths should then be saved including the variable in the project file.
> 
> 
> 
> Another option would be to save the shp-file in the .qgz somehow but I'm not 
> too sure if that is the way to go..
> 
> 
> 
> This is the way I create the path now:
> 
> worldShp = os.path.join(QgsApplication.pkgDataPath(), 'resources', 'data', 
> 'world_map.shp')
> 
> 
> 
> To make the question more general, is it possible to add resources to a 
> plugin in a way that projects point to these resources and make that work for 
> other users too?
> 
> 
> Hope anyone can help!
> 
> Kind regards,
> Raymond
> 
> 
> ___
> QGIS-Developer mailing list
> QGIS-Developer@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer

—









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] Plugin [995] dzetsaka : Classification tool approval notification.

2019-05-28 Thread noreply

Plugin dzetsaka : Classification tool approval by zimbogisgeek.
The plugin version "[995] dzetsaka : Classification tool 3.4.6" is now approved
Link: http://plugins.qgis.org/plugins/dzetsaka/
___
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