[Qgis-user] HTML tags in label expresion on QGIS 2.0.1

2013-10-22 Thread Paulius Litvinas
Hello list, I tried to use HTML bold tag b/b for a part of label text in label expression. HTML tags are properly interpreted and rendered on Expression based label dialog at Output preview, but unfortunately not the same on the map. You can see in the image below - red and green areas.

Re: [Qgis-user] HTML tags in label expresion on QGIS 2.0.1

2013-10-22 Thread Nathan Woodrow
Hey, HTML based labels aren't supported yet. What you see in the dialog is a render preview using a QLabel which can handle HTML. I need to change that to just use plain text rather then rich text. It was never supported in any older versions. - Nathan On Tue, Oct 22, 2013 at 4:22 PM,

Re: [Qgis-user] HTML tags in label expresion on QGIS 2.0.1

2013-10-22 Thread Paulius Litvinas
Thanks for the info. Are there any plans for this? Looks like I mingled QGIS labels with Mapguide labeling.. From: Nathan Woodrow [mailto:madman...@gmail.com] Sent: Tuesday, October 22, 2013 9:39 AM To: Paulius Litvinas Cc: qgis-user Subject: Re: [Qgis-user] HTML tags in label expresion

Re: [Qgis-user] Add Delimited Tex Layer plugin crash

2013-10-22 Thread Harish
Same is happening here. Add Delimited Tex Layer plugin works well without checking it in plugin list (by default it is unchecked there) but as soon as we select the plugin check-box, it crashes QGIS. Windows 7, 32 bit. Regards On Tue, Oct 22, 2013 at 12:17 AM, venerio giuseppe anardu

Re: [Qgis-user] Add Delimited Tex Layer plugin crash

2013-10-22 Thread Nathan Woodrow
The Add Delimited Tex Layer is no longer a plugin, it is now a core feature. It was packaged by mistake so just disregard it. It's been fixed in the new builds. - Nathan On Tue, Oct 22, 2013 at 5:44 PM, Harish harry.om2...@gmail.com wrote: Same is happening here. Add Delimited Tex Layer

[Qgis-user] Problem with WMS 1.1.1 data providers in QGIS 2.0.1

2013-10-22 Thread Miguel Ángel Castro
Hi Richard, I can see what you show to me. But, this problem not takes place in QGIS 1.8.0 with this WMS data source ( http://idecan2.grafcan.es/ServicioWMS/EspNat) and similar others. Something in wmsprovider.dll of QGIS 2.0.1? Thanks in advance Miguel Ángel Castro

[Qgis-user] QgsFeatureRequest() has setFilterFids()?

2013-10-22 Thread Stefano Masera
Hi list, I try to use QgsFeatureRequest().setFilterFids() But I get this error: AttributeError: 'QgsFeatureRequest' object has no attribute 'setFilterFids' If I use the attribute setFiletrFid(), for one QgsFeatureId, it works. How can I do to send the request if I have a list with

Re: [Qgis-user] Problem with WMS 1.1.1 data providers in QGIS 2.0.1

2013-10-22 Thread Bernhard Ströbl
__ Information from ESET Mail Security, version of virus signature database 8948 (20131022) __ The message was checked by ESET Mail Security. http://www.eset.com __ Information from ESET Mail Security, version of virus signature database 8948 (20131022) __ The message was checked

Re: [Qgis-user] [Qgis-developer] Opening view or table using DBManager locks it in postgis

2013-10-22 Thread Alexandre Neto
Yes, I believe it is. At least the fact that only closing QGIS releases the locks. You can even create several locks on the same table if you keep removing and adding the same table. But, is it expected that a QGIS client can lock a postgis view in such way that I can not even run a trigger on a

[Qgis-user] Multiple lines label in QGIS 2.0 print composer using wrap on character?

2013-10-22 Thread Alexandre Neto
Hello all, Is there a way to create multiple lines label using a wrap on character in QGIS 2.0 print composer? Or this must be done with html rendering? I'm using atlas generation and the label source is attribute from my coverage layer. Thanks, Alexandre Neto

Re: [Qgis-user] Problem with WMS 1.1.1 data providers in QGIS 2.0.1

2013-10-22 Thread Jonathan Moules
Looking at the specs briefly, it doesn't seem like the ability to set DPI explicitly is specified in WMS 1.1.0 or 1.3.0. I guess that MapServer can't handle stuff it's not expecting. Maybe a config option as Richard suggests. Jonathan On 21 October 2013 19:32, Richard Duivenvoorde

[Qgis-user] problem reading csv file (numbers read as strings)

2013-10-22 Thread Matteo Ghetta
Hi all, I work with a debian machine, QGIS 2 and libreoffice 3. I wrote a table with some field (two of them are x and y coordinates), saved as csv and then I tried to upload it in qgis with the add delimited text option. Problem: numeric filed are read as strings and not as numbers and so I

[Qgis-user] db-manager (temporary tables)

2013-10-22 Thread António M . Rodrigues
Hi, Is there a way to access temporary tables through db-manager? From what I get, this is only possible through layer-add postgis layer (also not available in the browser panel). Thanks, António ___ Qgis-user mailing list Qgis-user@lists.osgeo.org

Re: [Qgis-user] db-manager (temporary tables)

2013-10-22 Thread Andreas Neumann
Hi, You can load query results in db-manager. Just create a query in db-manager, select the primary key column and the geometry column and load it. Works fine for me. Andreas Am 22.10.2013 13:42, schrieb António M. Rodrigues: Hi, Is there a way to access temporary tables through

Re: [Qgis-user] db-manager (temporary tables)

2013-10-22 Thread António M . Rodrigues
The thing is I have some custom functions which output temp tables. And it would be useful to be able to explore these tables in db-manager. I guess it shouldn't be too difficult to tweak dbmanager. I was looking at the source code for but unfortunately my knowledge of pyqgis is not quite there

Re: [Qgis-user] db-manager (temporary tables)

2013-10-22 Thread Andreas Neumann
What do you mean by temp tables? There are no temp tables in a database. Either it is a table, a view or a table. All of these can already be opened with DB manager. Andreas Am 22.10.2013 13:57, schrieb António M. Rodrigues: The thing is I have some custom functions which output temp tables.

Re: [Qgis-user] problem reading csv file (numbers read as strings)

2013-10-22 Thread Zirneklitis
Hard to comment without example. Best regards, Karlis Matteo Ghetta wrote: .. I wrote a table with some field (two of them are x and y coordinates), saved as csv and then I tried to upload it in qgis with the add delimited text option. Problem: numeric filed are read as strings and not as

Re: [Qgis-user] db-manager (temporary tables)

2013-10-22 Thread António M . Rodrigues
In postgres I can use 'create temporary table...' which will create a new object which only exists in the present session. It can only be stored in special schemas (which can be accessed from layer-- add postgis layer), called pg_tmp_'some integer'. I was just saying it would be nice to be able

Re: [Qgis-user] db-manager (temporary tables)

2013-10-22 Thread Andreas Neumann
ok - wasn't aware of that. What is the advantage of using these temp tables? That you do not have to deal with deleting the table? I am not too familiar with the internals of db-manager. Does it establish a session? Probably Giuseppe Sucameli can help. Andreas Am 22.10.2013 14:10, schrieb

Re: [Qgis-user] db-manager (temporary tables)

2013-10-22 Thread António M . Rodrigues
For me the advantage is simple: I have a few plpgsql functions which create tables with variables computed from some quite large tables. I then use these tables as input to create other result tables (with geometry). And yes, the advantage is not to deal with multiple deleting in the end of each

Re: [Qgis-user] Problem with WMS 1.1.1 data providers in QGIS 2.0.1

2013-10-22 Thread Andreas Neumann
. Something in wmsprovider.dll of QGIS 2.0.1? Thanks in advance Miguel Ángel Castro __ Information from ESET Mail Security, version of virus signature database 8948 (20131022) __ The message was checked by ESET Mail Security. http://www.eset.com __ Information

Re: [Qgis-user] Problem with WMS 1.1.1 data providers in QGIS 2.0.1

2013-10-22 Thread Andrea Peri
__ Information from ESET Mail Security, version of virus signature database 8948 (20131022) __ The message was checked by ESET Mail Security. http://www.eset.com __ Information from ESET Mail Security, version of virus signature database 8948 (20131022

Re: [Qgis-user] problem reading csv file (numbers read as strings)

2013-10-22 Thread Alexandre Neto
Hello Matteo, I was able to open without problems a csv file produced in libbreoffice. The coordinates fields were considered doubles. my file was like this: Ponto 1;12,4;0,7 Ponto 2;10;0,9 Ponto 3;11;10 If if it's not a decimal separator issue. Hope this helps. Alexandre On Tue, Oct 22,

Re: [Qgis-user] problem reading csv file (numbers read as strings)

2013-10-22 Thread Ramon Andiñach
True. A couple if lines would be helpful. Generally QGIS 2.0 is fairly good at guessing, so it would be interesting to see what's confusing it. Have you got the put apostrophes around text turned on? If all else fails you can force QGIS to do what you want.

Re: [Qgis-user] Problem with WMS 1.1.1 data providers in QGIS 2.0.1

2013-10-22 Thread Bernhard Ströbl
/ServicioWMS/EspNat) and similar others. Something in wmsprovider.dll of QGIS 2.0.1? Thanks in advance Miguel Ángel Castro __ Information from ESET Mail Security, version of virus signature database 8948 (20131022) __ The message was checked by ESET Mail Security. http

Re: [Qgis-user] Problem with WMS 1.1.1 data providers in QGIS 2.0.1

2013-10-22 Thread Andreas Neumann
fair enough - if users are prevented to access these WMS layers, there should be an option that would allow them to access the layers. Yet another option to the WMS loading dialogue - sigh ... Andreas Am 22.10.2013 15:19, schrieb Bernhard Ströbl: Hi Andreas, Am 22.10.2013 14:44, schrieb

Re: [Qgis-user] Can't Add Oracle Spatial Vector Layer with QGIS 2.0 on Mac OSx

2013-10-22 Thread chris marx
In case anyone wants to earn a bounty over at stackexchange, I've gotten no responses, so I've offered one- http://gis.stackexchange.com/questions/74842/add-oracle-spatial-vector-layer-with-qgis-2-0-on-mac-osx On Fri, Oct 18, 2013 at 5:15 PM, chris marx chrism...@gmail.com wrote: I installed

Re: [Qgis-user] db-manager (temporary tables)

2013-10-22 Thread Jürgen E . Fischer
Hi António, On Tue, 22. Oct 2013 at 13:29:57 +0100, António M. Rodrigues wrote: As you say, perhaps the best is to contact Giuseppe Sucameli to see whether this could be improved (if of course is an useful feature for other users). QGIS and the db_manager use separate sessions. I didn't try,

Re: [Qgis-user] Problem with WMS 1.1.1 data providers in QGIS 2.0.1

2013-10-22 Thread Bernhard Ströbl
. Götz Blankenburg __ Information from ESET Mail Security, version of virus signature database 8949 (20131022) __ The message was checked by ESET Mail Security. http://www.eset.com ___ Qgis-user mailing list Qgis-user@lists.osgeo.org

Re: [Qgis-user] Problem with WMS 1.1.1 data providers in QGIS 2.0.1

2013-10-22 Thread Jukka Rahkonen
Richard Duivenvoorde rdmailings@... writes: On 21-10-13 20:07, Miguel Ángel Castro wrote: I am using QGIS 2.0.1 standalone installed in a Windows 7 64 bits system. Example of WMS datasource: (datasource WMS 1.1.1) EPSG:32628 http://idecan2.grafcan.es/ServicioWMS/EspNat In

Re: [Qgis-user] problem reading csv file (numbers read as strings)

2013-10-22 Thread Matteo Ghetta
Thanks for all the replies. I'm sure that with qgis 1.8 I had no problem in importing a csv file. Anyway, that's my current file: ID X Y 2818/22/0834 3480240 5887204 2818/22/0851 3480183 5887073 2818/22/0853 3480060 5886803 2818/22/0886 3481095 5886981 B0F 3479888 5885731 B12T 3479805

Re: [Qgis-user] Problem with WMS 1.1.1 data providers in QGIS 2.0.1

2013-10-22 Thread Jonathan Moules
For my mind it should be possible to configure QGIS WMS to run in a safe mode and use only those parameters which belong to WMS standard. +1 Thinking about it, what about a dialog where it's possible to configure what a standard WMS request contains? Ignore the fact it looks suspiciously

Re: [Qgis-user] Can't Add Oracle Spatial Vector Layer with QGIS 2.0 on Mac OSx

2013-10-22 Thread William Kyngesburye
I figured someone else would have a good answer. I wasn't aware of the new Oracle driver, and when you mentioned it I thought it was self-contained or used GDAL. But now that I look at it closer, I did not build QGIS with Oracle support (it's direct support, not thru GDAL). I gave up on the

Re: [Qgis-user] Can't Add Oracle Spatial Vector Layer with QGIS 2.0 on Mac OSx

2013-10-22 Thread chris marx
Ok, Thanks for the heads up. I've been using the Oracle instant client as well as Oracle Sql Developer with no problems on my mac. I think the OCI libraries come with the instant client? http://www.oracle.com/technetwork/topics/intel-macsoft-096467.html On Tue, Oct 22, 2013 at 10:18 AM, William

Re: [Qgis-user] problem reading csv file (numbers read as strings)

2013-10-22 Thread Alexandre Neto
Well, let's mess things a bit more... I have opened your csv using this settingshttps://dl.dropboxusercontent.com/u/110618644/Capturar.JPG [1]. And both coordinates fields were read as integer (because they have no decimal part), not texts Cheers, Alexandre [1]

[Qgis-user] reprojection troubles

2013-10-22 Thread Andreas Neumann
Hi, I was trying to convert natural earth 110m layers from EPSG 4326 to EPSG 3857. Two of the layers (ocean and land) fail to convert with the following error: Error 6 Feature write errors: Failed to transform a point while drawing a feature with ID '8'. Writing stopped. (Exception: forward

Re: [Qgis-user] problem reading csv file (numbers read as strings)

2013-10-22 Thread Zirneklitis
Just checked with QGIS 2.0.1 (Linux Mint Debian) - no problems with CSV as a layer. Sorry for that. Dropping to canvas creates text fields indeed. Karlis Matteo Ghetta wrote: .. I'm sure that with qgis 1.8 I had no problem in importing a csv file. Anyway, that's my current file: .. As you

Re: [Qgis-user] problem reading csv file (numbers read as strings)

2013-10-22 Thread matteo
On 22/10/2013 16:50, Alexandre Neto wrote: Well, let's mess things a bit more... I have opened your csv using this settings https://dl.dropboxusercontent.com/u/110618644/Capturar.JPG[1]. And both coordinates fields were read as integer (because they have no decimal part), not texts

Re: [Qgis-user] problem reading csv file (numbers read as strings)

2013-10-22 Thread Zirneklitis
QGIS 2.0.1 on Linux Mint Debian matteo wrote: .. But could you try to add a table (csv file) in the map canvas and see if qgis recognize the numbers as numbers (real or integer, it doesn't matter)? .. attachment: fields.png___ Qgis-user mailing list

Re: [Qgis-user] Qgis-user Digest, Vol 92, Issue 51 Topic 1

2013-10-22 Thread Ian kirk-ellis
-- An HTML attachment was scrubbed... URL: http://lists.osgeo.org/pipermail/qgis-user/attachments/20131022/96aea294/attachment-0001.html -- Message: 2 Date: Tue, 22 Oct 2013 17:01:24 +0200 From: Andreas Neumann a.neum...@carto.net To: qgis-user International qgis-user

Re: [Qgis-user] problem reading csv file (numbers read as strings)

2013-10-22 Thread matteo
You just drag and drop the csv in the map canvas and this is the result?? Because if I want to have the same, I have to save the file as dbf in Libreoffice (no big deal, but unfortunately not everyone has Libreoffice, and Excel is not able to save dbf files..). BTW: I resolved the import of

Re: [Qgis-user] Error loading SIP module.

2013-10-22 Thread Nicholas L. Klein-Baer
Thanks for your help, got it working. Just to follow up, i removed anything pertaining to sip in /usr/local/lib/python2.7/site-packages and re-installed python-sip using apt-get: rm -i /usr/local/lib/python2.7/site-packages/sip* apt-get remove python-sip apt-get install python-sip Thanks!

Re: [Qgis-user] problem reading csv file (numbers read as strings)

2013-10-22 Thread Zirneklitis
CSVT fole solves the issue. Thank You, Ian.kirk-ellis Best Regards, Karlis matteo wrote: You just drag and drop the csv in the map canvas and this is the result?? .. String(12),Integer(7),Integer(7) ___ Qgis-user mailing list

Re: [Qgis-user] PyQGIS: 1.8 to 2.0 upgrades?

2013-10-22 Thread Etienne Tourigny
http://hub.qgis.org/wiki/quantum-gis/API_changes_for_version_20 also see this which is Python specific http://hub.qgis.org/wiki/quantum-gis/Python_plugin_API_changes_from_18_to_20 On Fri, Oct 18, 2013 at 3:50 AM, Derek Hohls dho...@csir.co.za wrote: Hi We have a third-party Python app

Re: [Qgis-user] Multiple lines label in QGIS 2.0 print composer using wrap on character?

2013-10-22 Thread Lene Fischer
Hi The trick is: expression/field|| '\n' || expression/field || is the seperator between fields. Regards Lene Fischer Fra: qgis-user-boun...@lists.osgeo.org [qgis-user-boun...@lists.osgeo.org] på vegne af Alexandre Neto [senhor.n...@gmail.com] Sendt: 22.

Re: [Qgis-user] db-manager (temporary tables)

2013-10-22 Thread António M . Rodrigues
Hi Jürgen, Thanks for that. I did some testing following your e-mail. After creating a layer in db_manager, I tried to load it and got an error: dbname='testes'(...)key='r_table_catalog' table=pg_temp_7.nnn2 sql= is an invalid layer - not loaded I guess I'll have to think of

Re: [Qgis-user] Add Delimited Tex Layer plugin crash

2013-10-22 Thread venerio giuseppe anardu
Thank you to you all. Giuseppe Il Martedì 22 Ottobre 2013 9:53, Nathan Woodrow madman...@gmail.com ha scritto: The Add Delimited Tex Layer is no longer a plugin, it is now a core feature. It was packaged by mistake so just disregard it.  It's been fixed in the new builds. - Nathan On

Re: [Qgis-user] Convert Arc projects (MXD) in QGIS

2013-10-22 Thread Steve G
I have been able to dig into this a bit more (i.e. mxd to qgis). Just want to report another handy tool that I recently found: ArcMap2SLD http://arcmap2sld.geoinform.fh-mainz.de/ArcMap2SLDConverter_Eng.htm . I have just started to use the tool and it works pretty well to create SLD files for

Re: [Qgis-user] Multiple lines label in QGIS 2.0 print composer using wrap on character?

2013-10-22 Thread Carlos López PSIG
Hello Alexandre and everyone, You can use Expresion based label in label properties... For instance: CASE WHEN CRLFPOS1 = 0 THEN TEXT_TOP WHEN CRLFPOS1 0 AND CRLFPOS2 = 0 THEN substr(TEXT_TOP,1,CRLFPOS1-1)||'\n'||substr(TEXT_TOP,CRLFPOS1+1,length(TEXT_TOP)-CRLFPOS1+1) WHEN CRLFPOS1 0 AND

Re: [Qgis-user] Can't Add Oracle Spatial Vector Layer with QGIS 2.0 on Mac OSx

2013-10-22 Thread William Kyngesburye
Now I remember another reason(s) why I stopped supporting Oracle (in GDAL)... Attitude - registration I can deal with, but requiring full business contact info is too much. They STILL don't know how to name OS X libraries. As is, cmake will not find them. Neither will standard configure

Re: [Qgis-user] reprojection troubles

2013-10-22 Thread Jukka Rahkonen
Andreas Neumann a.neumann@... writes: Hi, I was trying to convert natural earth 110m layers from EPSG 4326 to EPSG 3857. Two of the layers (ocean and land) fail to convert with the following error: Error 6 Feature write errors: Failed to transform a point while drawing a feature