Re: [Qgis-user] qgis 2.8 crash on sql spacial add layer

2015-06-29 Thread Luke
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*
* lukembass...@gmail.com*Melbourne Australia
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Default values in form

2015-06-29 Thread Andreas Neumann

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.neum...@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.stro...@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@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@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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


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


___
Qgis-user mailing list
Qgis-user@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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

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

[Qgis-user] pyqgis loading oracle table with sql expression

2015-06-29 Thread PIERRE Sylvain
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('', 'x','x', '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

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

[Qgis-user] Feature limit for GetFeatureInfo in adding WMS not editable since qgis 2.2

2015-06-29 Thread Reiche, Andreas
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
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Feature limit for GetFeatureInfo in adding WMS not editable since qgis 2.2

2015-06-29 Thread Jürgen E . Fischer
Moin Andreas,

On Mon, 29. Jun 2015 at 10:53:21 +, 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)  GermanyIRC: jef on FreeNode 



signature.asc
Description: Digital signature
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Qgis 2.10 - Pisa - Todau update.

2015-06-29 Thread Fernando M. Roxo da Motta


  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 pe...@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!
 
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Open ArcInfo Binary Coverage in QGIS

2015-06-29 Thread Tudorache, Marian
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@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.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] cratione new svg file

2015-06-29 Thread abhijit . ekbote
 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.stro...@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@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@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@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user

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

 ___
 Qgis-user mailing list
 Qgis-user@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 giacominott...@gmail.com
To: qgis-user@lists.osgeo.org
Subject: [Qgis-user] cratione new svg file
Message-ID:
CAMxEY1wtY+XXt5Lq=aj-z_0tbbowrym5kcuyfgjknrlbc2k...@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 jlanst...@gmail.com
To: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] cratione new svg file
Message-ID: 1435567833846-5213343.p...@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 +
From: Reiche, Andreas andreas.rei...@lgln.niedersachsen.de
To: qgis-user@lists.osgeo.org qgis-user@lists.osgeo.org
Subject: [Qgis-user] Feature limit for GetFeatureInfo in adding WMS
not editable since qgis 2.2
Message-ID:
1ba876bbf68d5f46bc69c9edc08d822e16d1f...@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

Re: [Qgis-user] Live DVD advice

2015-06-29 Thread Alex Mandel
Spatialite tends to be a drop in replacement for Postgis for these kinds
of things.

As pointed out, another way to go would be to use
TileStache+Spatialite+CartoCSS(Import to TileMill/Mapbox studio, then
export to Mapnik xml)+Mapnik

Thanks,
Alex

On 06/27/2015 05:19 PM, James Keener wrote:
 Ah, if you're already using mapserver, I'd see about just exporting the
 PostGIS db as a shapefile.  Are you worried it'll be too large/too slow?
 
 Also, the OSM styles are available as CartoCSS, which is supported by
 other tilers too.
 
 Jim
 
 On 06/27/2015 08:13 PM, Brent Wood wrote:
 Thanks James,

 I have looked at
 http://docs.qgis.org/2.8/en/docs/user_manual/working_with_ogc/ogc_server_support.html?highlight=server
  
 which seems like it would work - but I'd still need to avoid Postgis as
 the data source (read only filesystem) and sort out the rendering styles
 for use with QGIS - it may be possible to export the OSM Postgis tables
 as shapefiles  use those as the data source, but I don't know how to go
 about adapting the rendering styles, which is a large part of the value
 of OSM - data plus style.

 Cheers,

   Brent
 
 *From:* James Keener j...@jimkeener.com
 *To:* Brent Wood pcr...@pcreso.com; Qgis-user List
 qgis-user@lists.osgeo.org; Mapserver-users
 mapserver-us...@lists.osgeo.org; OSGeo Discussions
 disc...@lists.osgeo.org; Nzopengis nzopen...@googlegroups.com;
 Live-demo live-d...@lists.osgeo.org
 *Sent:* Sunday, June 28, 2015 11:52 AM
 *Subject:* Re: [Qgis-user] Live DVD advice

 Could you use QGIS Server?  It'd take a qgs file and the data it needs
 (which can be any input type QGIS uses, including shapefiles and
 spatialite dbs along with PostGIS).

 Jim



 On 06/27/2015 07:46 PM, Brent Wood wrote:
 Hi,

 I'm looking to build a LiveDVD/USB key with QGIS, OSM base layer and web
 services for New Zealand.

 Our road  topo data is very up to date in OSM, and we have numerous
 government (central, regional  local) agencies and others providing
 data via OGC services, so I'm hoping the system will have embedded OSM,
 and pre-loaded OGC servers to connect to, as well as some QGIS plugins
 specific to New Zealand.

 The disk/key is intended for schools  demonstrations showing FOSS, FOSS
 GIS, Open Data and Open Standards, focused on NZ data.

 Some years ago I built a laptop system demo'ed at several local schools
 which worked OK, with mapserver serving OSM via WMS direct from Postgis.
 NZ is small enough that the data could be rendered dynamically from the
 vector data in a reasonably interactive system.

 I can't reasonably use Postgis on a read only filesystem, and all the
 later guides assume that tiles will be used. Does anyone have any advice
 as to how I might best do this?

 Thanks,

 Brent Wood



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


Re: [Qgis-user] Open ArcInfo Binary Coverage in QGIS

2015-06-29 Thread Tudorache, Marian
Hi everyone,

I figured out
The syntax is:

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

Thanks,
Marian

From: Tudorache, Marian
Sent: June-29-15 12:41 PM
To: ottawa_us...@lists.osgeo.org; qgis-user@lists.osgeo.org
Subject: Open ArcInfo Binary Coverage in QGIS

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@01D0B29A.45A3E120]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.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Default values in form

2015-06-29 Thread 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.neum...@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.stro...@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@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@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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


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


___
Qgis-user mailing list
Qgis-user@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@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] cratione new svg file

2015-06-29 Thread Giacomo Minotti
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
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] cratione new svg file

2015-06-29 Thread Jakob Lanstorp
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.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Feature labels

2015-06-29 Thread Nicolas Cadieux
Hi, 
You can add a column with 0 and 1 that can be used to hide individual 
labels.nbsp; Look in the label option in the layer property and you will find 
it. 
Nicolas Cadieux M.Sc. 
Les Entreprises Arch#233;otec inc.#160; 
8548, rue Saint-Denis Montr#233;al H2P 2H2 
T#233;l#233;phone:#160;514.381.5112 #160;Fax: 514.381.4995 
www.archeotec.ca 
On Jun 29, 2015 9:11 PM, quot;David Lane [via OSGeo.org]quot; 
lt;ml-node+s1560n5213483...@n6.nabble.comgt; wrote: 

Hi
I have contours with labels provided by our geospatial service. To this 
landscape I wish to add a feature (a waste dump) which has its own contours. I 
can hide the contours underneath the waste dump, but the contour labels are 
clearly visible.
How can i hide them?
Regards
David Lane
0419 560 862
[hidden email] 
Sent from my iPhone
___
Qgis-user mailing list
[hidden email] 
http://lists.osgeo.org/mailman/listinfo/qgis-user 








If you reply to this email, your message will be added to the 
discussion below: 

http://osgeo-org.1560.x6.nabble.com/Feature-labels-tp5213483.html 


To start a new topic under Quantum GIS - User, email 
ml-node#43;s1560n4125267h38#64;n6.nabble.com 
To unsubscribe from Quantum GIS - User, click here . 
NAML 




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Feature-labels-tp5213483p5213486.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Qgis 2.10 - Pisa - Today update.

2015-06-29 Thread Fernando M. Roxo da Motta
On Mon, 29 Jun 2015 12:44:32 -0300, Fernando M. Roxo da Motta
pe...@roxo.org wrote:


  Just to let you know, for raster and point layers the feature
identification is working as usual.


 
 
   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
 








  Roxo

-- 
 Non luctari, ludare ---+ WYSIWYG
Fernando M. Roxo da Motta pe...@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!
 
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Feature labels

2015-06-29 Thread David Lane
Hi
I have contours with labels provided by our geospatial service. To this 
landscape I wish to add a feature (a waste dump) which has its own contours. I 
can hide the contours underneath the waste dump, but the contour labels are 
clearly visible.
How can i hide them?

Regards
David Lane
0419 560 862
davidlane1...@bigpond.com
Sent from my iPhone
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Re : Feature labels

2015-06-29 Thread Junior
Hi,
if you are on Qgis version=2.6, before adding new field, I think you can use 
Case when expression in label box to filter features falling in your waste 
feature. I don't have a computer to check right formula but you need st_within, 
$geometry and attribute functions. The advantage is that all we be processed 
automatically in one shot and be up to date if you add new features.

I haven't checked neither but I wonder if Mask plugin doesn't provide such 
feature (unless it's the reverse effect : just show labels inside).

Regards,
DelazJ

Envoyé depuis mon HTC

- Reply message -
De : Nicolas Cadieux nicolas.cadi...@archeotec.ca
Pour : qgis-user@lists.osgeo.org
Objet : [Qgis-user] Feature labels
Date : mar., juin 30, 2015 05:24

Hi,

You can add a column with 0 and 1 that can be used to hide individual labels.  
Look in the label option in the layer property and you will find it. 
Nicolas Cadieux M.Sc.

Les Entreprises Archéotec inc. 

8548, rue Saint-Denis Montréal H2P 2H2

Téléphone: 514.381.5112  Fax: 514.381.4995

www.archeotec.ca
On Jun 29, 2015 9:11 PM, David Lane [via OSGeo.org] [hidden email] wrote:

Hi
I have contours with labels provided by our geospatial service. To this 
landscape I wish to add a feature (a waste dump) which has its own contours. I 
can hide the contours underneath the waste dump, but the contour labels are 
clearly visible.
How can i hide them?
Regards
David Lane
0419 560 862
a 
href=/user/SendEmail.jtp?type#61;nodeamp;node#61;5213483amp;i#61;0[hidden
 email]
Sent from my iPhone
___
Qgis-user mailing list
a 
href=/user/SendEmail.jtp?type#61;nodeamp;node#61;5213483amp;i#61;1[hidden
 email]
http://lists.osgeo.org/mailman/listinfo/qgis-user








If you reply to this email, your message will be added to the discussion below:

http://osgeo-org.1560.x6.nabble.com/Feature-labels-tp5213483.html



To start a new topic under Quantum GIS - User, email 
ml-node+s1560n4125267...@n6.nabble.com 
To unsubscribe from Quantum GIS - User, a 
href=http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro#61;unsubscribe_by_codeamp;node#61;4125267amp;code#61;bmljb2xhcy5jYWRpZXV4QGFyY2hlb3RlYy5jYXw0MTI1MjY3fDYzNDQ4MjQxNg#61;#61;;click
 here.
a 
href=http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro#61;macro_vieweramp;id#61;instant_html%21nabble%3Aemail.namlamp;base#61;nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespaceamp;breadcrumbs#61;notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml;
 style=font:9px serifNAML








View this message in context: Re: Feature labels
Sent from the Quantum GIS - User mailing list archive at Nabble.com.___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user