[Qgis-user] cratione new svg file

abhijit.ekbote at gmail.com abhijit.ekbote at gmail.com
Mon Jun 29 10:12:36 PDT 2015


‎Hi

You can open the .svg file you want to modify using Inkscape and modify it's color etc. When you are done you can save it as another.svg in the same location as other svg files which will make it available for use inside qgis.

Abhijit


  Original Message  
From: qgis-user-request at lists.osgeo.org
Sent: Monday 29 June 2015 22:11
To: qgis-user at lists.osgeo.org
Reply To: qgis-user at lists.osgeo.org
Subject: Qgis-user Digest, Vol 112, Issue 74

Send Qgis-user mailing list submissions to
qgis-user at lists.osgeo.org

To subscribe or unsubscribe via the World Wide Web, visit
http://lists.osgeo.org/mailman/listinfo/qgis-user
or, via email, send a message with subject or body 'help' to
qgis-user-request at lists.osgeo.org

You can reach the person managing the list at
qgis-user-owner at lists.osgeo.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Qgis-user digest..."


Today's Topics:

1. Re: Lookig for a missing plugin... can you help me?
(Luigi Pirelli)
2. Re: Default values in form (Bernhard Str?bl)
3. cratione new svg file (Giacomo Minotti)
4. Re: cratione new svg file (Jakob Lanstorp)
5. Feature limit for GetFeatureInfo in adding WMS not editable
since qgis 2.2 (Reiche, Andreas)
6. pyqgis loading oracle table with sql expression (PIERRE Sylvain)
7. Re: qgis 2.8 crash on sql spacial add layer (Luke)
8. Re: Default values in form (Andreas Neumann)
9. Re: Feature limit for GetFeatureInfo in adding WMS not
editable since qgis 2.2 (J?rgen E. Fischer)
10. Qgis 2.10 - Pisa - Todau update. (Fernando M. Roxo da Motta)
11. Open ArcInfo Binary Coverage in QGIS (Tudorache, Marian)


----------------------------------------------------------------------

Message: 1
Date: Sun, 28 Jun 2015 21:14:52 +0200
From: Luigi Pirelli <luipir at gmail.com>
To: "qgis-developer at lists.osgeo.org" <qgis-developer at lists.osgeo.org>,
qgis-user ML <qgis-user at lists.osgeo.org>
Subject: Re: [Qgis-user] Lookig for a missing plugin... can you help
me?
Message-ID:
<CAFO80_qkWYJePg4+GYy7NfWkGOMC6ygyBggsnyPObeoazsod4A at mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

ok, is:

Data-Driven Input Mask

by Bernhard Str?bl

https://github.com/bstroebl/DataDrivenInputMask/wiki

regards,
Luigi Pirelli

**************************************************************************************************
* LinkedIn: https://www.linkedin.com/in/luigipirelli
* Elance: https://www.elance.com/s/edit/luigipirelli/
* GitHub: https://github.com/luipir
* Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
* Mastering QGIS:
https://www.packtpub.com/application-development/mastering-qgis
**************************************************************************************************


On 28 June 2015 at 11:37, Luigi Pirelli <luipir at gmail.com> wrote:
> Hi
>
> I remember a plugin that was able to manage mapping/auto save field
> values of a QT form in a DB mantaining consistency.
>
> I can't find in plugin repository looking for it with many keywords
> (in the offial repo... but it can be hosted in other place)
>
> some can remember it's name and repo?
>
> regards,
>
> Luigi Pirelli
>
> **************************************************************************************************
> * LinkedIn: https://www.linkedin.com/in/luigipirelli
> * Elance: https://www.elance.com/s/edit/luigipirelli/
> * GitHub: https://github.com/luipir
> * Stackexchange: http://gis.stackexchange.com/users/19667/luigi-pirelli
> * Mastering QGIS:
> https://www.packtpub.com/application-development/mastering-qgis
> **************************************************************************************************


------------------------------

Message: 2
Date: Mon, 29 Jun 2015 09:04:51 +0200
From: Bernhard Str?bl <bernhard.stroebl at jena.de>
To: qgis-user at lists.osgeo.org
Subject: Re: [Qgis-user] Default values in form
Message-ID: <5590EE13.8070109 at jena.de>
Content-Type: text/plain; charset=utf-8; format=flowed

Hi,

my expectation would be just the other way round: if I (globally) set 
"reuse last values" I would expect them to override any defaults.

Bernhard

Am 28.06.2015 um 09:55 schrieb didier peeters:
> Hi Andreas,
>
> it would be nice to have these options:
>
> by default the default values precede the last inserted values (otherwise defining default values would be somehow useless), except where specified otherwise in the field definitions. So there would be an option in each field definition (a checkbox, next to the default value definition field) stating that the last non null inserted values do precede the default one.
>
> Cheers,
> Didier
>
>
>> Le 26 juin 2015 ? 14:15, Andreas Neumann <a.neumann at carto.net> a ?crit :
>>
>> Hi,
>>
>> When doing anything with "default" values we also have to think about the option we have which automatically fills in the values of the last inserted record.
>>
>> Which one has precedence? The default value or the value of the last record?
>>
>> Also - I think we probably need a mixture of default values and values from the last record - but I think the values of the last record are not fine-grained enough - so we could tell QGIS to use the values from the last record for some columns but for other columns use the default value.
>>
>> We have to think about both approaches and need a collaboration of both, in my opinion.
>>
>> Andreas
>>
>> On 26.06.2015 12:14, didier peeters wrote:
>>> Thanks,
>>>
>>> I?ll surely take a look at your plugin, and open a ticket if necessary.
>>>
>>> @Stefan : I had seen that post by Nathan Woodrow, but was hoping for something ?lighter? ?
>>>
>>> Didier
>>>
>>>
>>>> Le 26 juin 2015 ? 11:32, Bernhard Str?bl <bernhard.stroebl at jena.de> a ?crit :
>>>>
>>>> Hi,
>>>>
>>>> if you define the values as default in PostgreSQL and use my :) plugin DataDrivenInputMask [1] these values are inserted in the mask that is created by the plugin in QGIS. Thus for fields with defaults you cannot insert NULL vallues (but that's why you define a default).
>>>>
>>>> Bernhard
>>>>
>>>> http://plugins.qgis.org/plugins/DataDrivenInputMask/
>>>>
>>>> Am 26.06.2015 um 10:08 schrieb didier peeters:
>>>>> Hello,
>>>>>
>>>>> Simple question : is there a way to set a default value for an attribute in QGis ?
>>>>>
>>>>> I have Postgis layers in QGis in which I?m inserting or updating data, and I would like that some fields would be filled automatically unless I fill them myself. Well that?s the definition of a default value, and I don?t think that using layers stored in Postgis would make any difference.
>>>>>
>>>>> Thanks
>>>>> Didier
>>>>> _______________________________________________
>>>>> Qgis-user mailing list
>>>>> Qgis-user at lists.osgeo.org
>>>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>>>>
>>>>
>>>>
>>>> __________ Information from ESET Mail Security, version of virus signature database 11847 (20150626) __________
>>>>
>>>> The message was checked by ESET Mail Security.
>>>> http://www.eset.com
>>>>
>>>>
>>>> _______________________________________________
>>>> Qgis-user mailing list
>>>> Qgis-user at lists.osgeo.org
>>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>> Didier Peeters
>>> Institut de Gestion de l'Environnement et d'Am?nagement du Territoire (IGEAT)
>>> Universit? Libre de Bruxelles (ULB)
>>> CP130/03
>>> av. F. D. Roosevelt 50
>>> B-1050 Bruxelles
>>>
>>> T?l : +32-2-650 68 17
>>>
>>>
>>>
>>> _______________________________________________
>>> Qgis-user mailing list
>>> Qgis-user at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>> _______________________________________________
>> Qgis-user mailing list
>> Qgis-user at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>



__________ Information from ESET Mail Security, version of virus signature database 11858 (20150629) __________

The message was checked by ESET Mail Security.
http://www.eset.com




------------------------------

Message: 3
Date: Mon, 29 Jun 2015 10:29:14 +0200
From: Giacomo Minotti <giacominotti81 at gmail.com>
To: qgis-user at lists.osgeo.org
Subject: [Qgis-user] cratione new svg file
Message-ID:
<CAMxEY1wtY+XXt5Lq=Aj-z_0TBBowRYM5KCUYfgjkNRLBC2KdhA at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi all,
is it possible to create a new costumize symbol with svg file?
I try to use illustrator saving a dwg file into svg, but I can't modify the
color of the symbol in qgis.
Is there another procedure to create a costumize legend?
Thanks
Giacomo Minotti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20150629/65a7ffe1/attachment-0001.html>

------------------------------

Message: 4
Date: Mon, 29 Jun 2015 01:50:33 -0700 (PDT)
From: Jakob Lanstorp <jlanstorp at gmail.com>
To: qgis-user at lists.osgeo.org
Subject: Re: [Qgis-user] cratione new svg file
Message-ID: <1435567833846-5213343.post at n6.nabble.com>
Content-Type: text/plain; charset=us-ascii

I use Inscape for this, where you have to manually modify the final SVG file.
Prehaps you need the same. Check:
http://gis.stackexchange.com/questions/45180/how-to-create-svg-symbols-that-have-modifiable-fill-color-stroke-color-and-stro




-----
Jakob Lanstorp
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/cratione-new-svg-file-tp5213329p5213343.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.


------------------------------

Message: 5
Date: Mon, 29 Jun 2015 10:53:21 +0000
From: "Reiche, Andreas" <Andreas.Reiche at lgln.niedersachsen.de>
To: "qgis-user at lists.osgeo.org" <qgis-user at lists.osgeo.org>
Subject: [Qgis-user] Feature limit for GetFeatureInfo in adding WMS
not editable since qgis 2.2
Message-ID:
<1BA876BBF68D5F46BC69C9EDC08D822E16D1FC1F at LV-MX-12102.LV.ads.niedersachsen.de>

Content-Type: text/plain; charset="iso-8859-1"

Hi, i'm brand new to the user list and relatively new to Qgis. 
I noticed the following problem when adding a WMS to a project.
There is an option to set the feature limit for GetFeatureInfo requests when using a WMS. This results in setting the FEATURE_COUNT param in the request itself.
When I started with Qgis 1.8 everything goes fine. But since Version 2.2 (to which I switched) up to 2.8.1 (where I'm now) I'm not able to change this value.
The field in the UI is greyed out. The value is 10 and I'm not able to change it.
I'm in need to increase this value for our own WMS'es.
I already searched the mailing list and the bug tracker but couldn't find any related stuff.
So is this just a configuration option which I don't know of?
Or is it a bug?
Btw, I'm on a Win 7 box.

Mit freundlichen Gr??en
Andreas Reiche


------------------------------

Message: 6
Date: Mon, 29 Jun 2015 14:30:09 +0200
From: PIERRE Sylvain <sylvain.pierre at bas-rhin.fr>
To: "qgis-user at lists.osgeo.org" <qgis-user at lists.osgeo.org>
Subject: [Qgis-user] pyqgis loading oracle table with sql expression
Message-ID:
<374F2A33A0F46242B3A1F52EB8A1E8B4010F8DFB53C7 at EXCHMBX-V.cg67.fr>
Content-Type: text/plain; charset="us-ascii"

Hi,

I'm trying to load oracle table with sql expression like explain here:
http://blog.georepublic.info/2013/joining-tables-with-sql-using-pyqgis/

My python code:
uriOracle = QgsDataSourceURI()
uriOracle.setSrid("EPSG:3948")
uriOracle.setConnection('xxxxxxxx', 'xxxxx','xxxxx', 'consultsig','consultsig')

uriOracle.setDataSource( "", "(select * from COMMUNE sort by ccocom)", "GEOM", "","id")

layer = QgsVectorLayer(uriOracle.uri(), 'communes', 'oracle')
if not layer.isValid():
print "Layer failed to load!"

But layer is not valid.
Did I miss something?
(I want to load layer but already sorted on a field value...)
Thanks

Sylvain

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20150629/01a72953/attachment-0001.html>

------------------------------

Message: 7
Date: Mon, 29 Jun 2015 22:57:23 +1000
From: Luke <coolhandluka at gmail.com>
To: Dennis Burgess <dmburgess at linktechs.net>
Cc: "qgis-user at lists.osgeo.org" <qgis-user at lists.osgeo.org>
Subject: Re: [Qgis-user] qgis 2.8 crash on sql spacial add layer
Message-ID:
<CAGAvM_gQ0m_FO3-LtObUW3fA20YsA6jt7roVFXyQ-EyP=9Uw4g at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi Dennis

Check your dataset for invalid geometry, perhaps also geometry collections

You could export to kml from sql server using ogr2ogr if you are having
troubles with opening it in QGIS



-- 

*Luke Bassett*
* <lukembassett at gmail.com>*Melbourne Australia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20150629/ce8d1b12/attachment-0001.html>

------------------------------

Message: 8
Date: Mon, 29 Jun 2015 15:17:22 +0200
From: Andreas Neumann <a.neumann at carto.net>
To: qgis-user at lists.osgeo.org
Subject: Re: [Qgis-user] Default values in form
Message-ID: <e1772984070ad691335c410abfac999b at carto.net>
Content-Type: text/plain; charset=UTF-8; format=flowed

Hi,

I would also think the way Bernhard is describing it below. But I do 
think that we need a more fine-grained way for each column to specify 
whether it should use the last value or the default value. But in 
general, if not specified otherwise, the last value should have 
precedence.

Andreas

Am 2015-06-29 09:04, schrieb Bernhard Str?bl:
> Hi,
> 
> my expectation would be just the other way round: if I (globally) set
> "reuse last values" I would expect them to override any defaults.
> 
> Bernhard
> 
> Am 28.06.2015 um 09:55 schrieb didier peeters:
>> Hi Andreas,
>> 
>> it would be nice to have these options:
>> 
>> by default the default values precede the last inserted values 
>> (otherwise defining default values would be somehow useless), except 
>> where specified otherwise in the field definitions. So there would be 
>> an option in each field definition (a checkbox, next to the default 
>> value definition field) stating that the last non null inserted values 
>> do precede the default one.
>> 
>> Cheers,
>> Didier
>> 
>> 
>>> Le 26 juin 2015 ? 14:15, Andreas Neumann <a.neumann at carto.net> a 
>>> ?crit :
>>> 
>>> Hi,
>>> 
>>> When doing anything with "default" values we also have to think about 
>>> the option we have which automatically fills in the values of the 
>>> last inserted record.
>>> 
>>> Which one has precedence? The default value or the value of the last 
>>> record?
>>> 
>>> Also - I think we probably need a mixture of default values and 
>>> values from the last record - but I think the values of the last 
>>> record are not fine-grained enough - so we could tell QGIS to use the 
>>> values from the last record for some columns but for other columns 
>>> use the default value.
>>> 
>>> We have to think about both approaches and need a collaboration of 
>>> both, in my opinion.
>>> 
>>> Andreas
>>> 
>>> On 26.06.2015 12:14, didier peeters wrote:
>>>> Thanks,
>>>> 
>>>> I?ll surely take a look at your plugin, and open a ticket if 
>>>> necessary.
>>>> 
>>>> @Stefan : I had seen that post by Nathan Woodrow, but was hoping for 
>>>> something ?lighter? ?
>>>> 
>>>> Didier
>>>> 
>>>> 
>>>>> Le 26 juin 2015 ? 11:32, Bernhard Str?bl <bernhard.stroebl at jena.de> 
>>>>> a ?crit :
>>>>> 
>>>>> Hi,
>>>>> 
>>>>> if you define the values as default in PostgreSQL and use my :) 
>>>>> plugin DataDrivenInputMask [1] these values are inserted in the 
>>>>> mask that is created by the plugin in QGIS. Thus for fields with 
>>>>> defaults you cannot insert NULL vallues (but that's why you define 
>>>>> a default).
>>>>> 
>>>>> Bernhard
>>>>> 
>>>>> http://plugins.qgis.org/plugins/DataDrivenInputMask/
>>>>> 
>>>>> Am 26.06.2015 um 10:08 schrieb didier peeters:
>>>>>> Hello,
>>>>>> 
>>>>>> Simple question : is there a way to set a default value for an 
>>>>>> attribute in QGis ?
>>>>>> 
>>>>>> I have Postgis layers in QGis in which I?m inserting or updating 
>>>>>> data, and I would like that some fields would be filled 
>>>>>> automatically unless I fill them myself. Well that?s the 
>>>>>> definition of a default value, and I don?t think that using layers 
>>>>>> stored in Postgis would make any difference.
>>>>>> 
>>>>>> Thanks
>>>>>> Didier
>>>>>> _______________________________________________
>>>>>> Qgis-user mailing list
>>>>>> Qgis-user at lists.osgeo.org
>>>>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>>>>> 
>>>>> 
>>>>> 
>>>>> __________ Information from ESET Mail Security, version of virus 
>>>>> signature database 11847 (20150626) __________
>>>>> 
>>>>> The message was checked by ESET Mail Security.
>>>>> http://www.eset.com
>>>>> 
>>>>> 
>>>>> _______________________________________________
>>>>> Qgis-user mailing list
>>>>> Qgis-user at lists.osgeo.org
>>>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>>> Didier Peeters
>>>> Institut de Gestion de l'Environnement et d'Am?nagement du 
>>>> Territoire (IGEAT)
>>>> Universit? Libre de Bruxelles (ULB)
>>>> CP130/03
>>>> av. F. D. Roosevelt 50
>>>> B-1050 Bruxelles
>>>> 
>>>> T?l : +32-2-650 68 17
>>>> 
>>>> 
>>>> 
>>>> _______________________________________________
>>>> Qgis-user mailing list
>>>> Qgis-user at lists.osgeo.org
>>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>> 
>>> _______________________________________________
>>> Qgis-user mailing list
>>> Qgis-user at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>> 
>> _______________________________________________
>> Qgis-user mailing list
>> Qgis-user at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>> 
> 
> 
> 
> __________ Information from ESET Mail Security, version of virus
> signature database 11858 (20150629) __________
> 
> The message was checked by ESET Mail Security.
> http://www.eset.com
> 
> 
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user


------------------------------

Message: 9
Date: Mon, 29 Jun 2015 17:03:38 +0200
From: J?rgen E. Fischer <jef at norbit.de>
To: qgis-user at lists.osgeo.org
Subject: Re: [Qgis-user] Feature limit for GetFeatureInfo in adding
WMS not editable since qgis 2.2
Message-ID: <20150629150338.GA24063 at norbit.de>
Content-Type: text/plain; charset="iso-8859-1"

Moin Andreas,

On Mon, 29. Jun 2015 at 10:53:21 +0000, Reiche, Andreas wrote:
> Hi, i'm brand new to the user list and relatively new to Qgis. 
> I noticed the following problem when adding a WMS to a project.
> There is an option to set the feature limit for GetFeatureInfo requests when using a WMS. This results in setting the FEATURE_COUNT param in the request itself.
> When I started with Qgis 1.8 everything goes fine. But since Version 2.2 (to which I switched) up to 2.8.1 (where I'm now) I'm not able to change this value.
> The field in the UI is greyed out. The value is 10 and I'm not able to change it.
> I'm in need to increase this value for our own WMS'es.
> I already searched the mailing list and the bug tracker but couldn't find any related stuff.
> So is this just a configuration option which I don't know of?
> Or is it a bug?
> Btw, I'm on a Win 7 box.

Fixed in 1dfe005[1]


J?rgen

[1] https://github.com/qgis/QGIS/commit/1dfe005e67162bd1950397940de4f0008512f9c0

-- 
J?rgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31
Dipl.-Inf. (FH) Rheinstra?e 13 Fax. +49-4931-918175-50
Software Engineer D-26506 Norden http://www.norbit.de
QGIS release manager (PSC) Germany IRC: jef on FreeNode 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 827 bytes
Desc: Digital signature
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20150629/b3e35b8f/attachment-0001.pgp>

------------------------------

Message: 10
Date: Mon, 29 Jun 2015 12:44:32 -0300
From: "Fernando M. Roxo da Motta" <petro at roxo.org>
To: QGis-User List <qgis-user at lists.osgeo.org>
Subject: [Qgis-user] Qgis 2.10 - Pisa - Todau update.
Message-ID: <20150629124432.17767d13 at cabore.cwbpr.rx>
Content-Type: text/plain; charset=UTF-8



Hi all,


Today the update of my installation offered the QGis 2.10 for
update. I have installed it, and all the corresponding package
entourage.

I am using a [Xu|U]buntu 14.04.2 64 bits and the Apt source is
defined as:

deb http://qgis.org/debian trusty main

I don't know if this is the better place to publish any issue before
I open a ticket. I prefer to see if any one else are having the same
issues I am.

First of all, the start up of this new version looked blazing fast
compared to 2.8, absolutely amazing! Rven the opening of a loaded
project seemed much faster than before.

When I went to the official repository for plugins update, none was
updated and only one was flagged as invalid, the Contrast homogenizer
that is registered as supporting up to 2.9 version.

The only issue I got so far was about the feature information. When
I tried to identify a big polygon (~100sqkm) it says that "no feature
found at this position", although a zoom to layer knows the position
and extent of the polygon.

The project was originally in an UTM SRC and I tried to change to
WGS84 at no help. I changed it to WGS84 Pseudo Mercator and failed
again. Just started clicking randomly around a polygon when an
information window popped up.

Trying to understand where and why it worked I figured out that the
information only worked if the click is close to one of its points,
no need to be a vertex. 

The same hold for line features as well, only close to one of its
points the feature information window pops up.


BFN



Roxo

-- 
---------------- Non luctari, ludare -------------------+ WYSIWYG
Fernando M. Roxo da Motta <petro at roxo.org> | Editor?
Except where explicitly stated I speak on my own behalf.| VI !!
( Usu?rio Linux registrado #39505 ) | I see text,
------------ Quis custodiet ipsos custodes?-------------+ I get text!



------------------------------

Message: 11
Date: Mon, 29 Jun 2015 12:41:02 -0400
From: "Tudorache, Marian" <Marian.Tudorache at navcanada.ca>
To: "ottawa_users at lists.osgeo.org" <ottawa_users at lists.osgeo.org>,
"qgis-user at lists.osgeo.org" <qgis-user at lists.osgeo.org>
Subject: [Qgis-user] Open ArcInfo Binary Coverage in QGIS
Message-ID:
<B7B37C745D90DC45A70CA514EE82A6F91E351C5B7B at NAVMAIL1.corp.navcan.ca>
Content-Type: text/plain; charset="us-ascii"

Hi,

I am trying to read some ArcInfo Binary coverage using OGR.
The code is:

import osgeo.ogr, osgeo.
import ogr

layer = iface.addVectorLayer("/sadb", "arc.adf", "ogr")

After the code is executed the system open a dialog window and it asks to select the vector layer to add and I do not want.
[cid:image001.png at 01D0B268.39448880]<http://media.getspatial.com/wordpress/qgis_dialog_addvector_arcinfo_layers.png>

I am interested to add only arc.adf not the others using a python command line.

How can I suppress this window?

I tried various versions like:
layer = iface.addVectorLayer("/sadb/arc.adf", "", "ogr")
layer = iface.addVectorLayer(("/sadb/arc.adf", "arc.adf", "ogr")
layer = iface.addVectorLayer("/sadb|arc.adf", "arc.adf", "ogr")

Non of them subpress the dialog "Select vector layer to add..."

Thanks,
Marian

________________________________
This electronic message, as well as any transmitted files included in the electronic message, may contain privileged or confidential information and is intended solely for the use of the individual(s) or entity to which it is addressed. If you have received this electronic message in error please notify the sender immediately and delete the electronic message. Any unauthorized copying, disclosure or distribution of the electronic message is strictly forbidden. NAV CANADA accepts no liability for any damage caused by any virus and/or other malicious code transmitted by this electronic communication.

Le pr?sent message ?lectronique et tout fichier qui peut y ?tre joint peuvent contenir des renseignements privil?gi?s ou confidentiels destin?s ? l'usage exclusif des personnes ou des organismes ? qui ils s'adressent. Si vous avez re?u ce message ?lectronique par erreur, veuillez en informer l'exp?diteur imm?diatement et supprimez le. Toute reproduction, divulgation ou distribution du pr?sent message ?lectronique est strictement interdite. NAV CANADA n'assume aucune responsabilit? en cas de dommage caus? par tout virus ou autre programme malveillant transmis par ce message ?lectronique.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20150629/cb43bfb6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 22687 bytes
Desc: image001.png
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20150629/cb43bfb6/attachment.png>

------------------------------

_______________________________________________
Qgis-user mailing list
Qgis-user at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

End of Qgis-user Digest, Vol 112, Issue 74
******************************************



More information about the Qgis-user mailing list