[Qgis-user] Populate Title and Abstract metatdata from WMS/WFS?
If I add a WMS layer to QGIS I can see the WMS defined "title" and "abstract" metatdata in the Metadata properties, but the QGIS Title and Abstract at the top are blank. Wouldn't it make sense to populate those with the WMS title and abstract? If I add a WFS layer, I can't even see the wfs defined "title" and "abstract" once the layer is loaded, although they show up when browsing to decide to add the layer. As with the WMS layers, the QGIS Title and Abstract are blank. Am I doing something wrong, can anyone else confirm this? Should I request this as an enhancement/improvement? -- John Abraham j...@hbaspecto.com 403-232-1060 ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] [Qgis-developer] Strange integer column value within SpatiaLite database
Hi, If I understand the manual http://www.sqlite.org/datatype3.html in section 2.2, sqlite/spatialite will consider all INT, INTEGER, TINYINT, SMALLINT, MEDIUMINT, BIGINT, UNSIGNED BIG INT, INT2 and INT8 types, simply as INTEGER. Hence, he considers the value 9100100101 correctly. If the datasource supports datatypes with a length greater than the "normal" INT, then QGIS should show this fields correctly, right? So, there is some way to "force" QGIS to properly handle with these INTEGERS from spatialite databases? Should I fill a ticket? Thanks! Pedro - Original Message - From: Rui Pedro Henriques Hi, the same thing happens here. Using Sqliteman the value looks OK but when using QGis Attribute table it turns into the strange value. Is suspected it had to do with an int (32) conversion and so made a small C test to confirm. If you run the C test in the linked ZIP you'll get the following result when trying to pass 9100100101 as an integer: (Sorry it's in Portuguese but it asks for an integer number and then prints it) Digite um número: 9100100101 O int é 510165509 I've also made another test in python to read the table, but python automatically uses long when the value is unsuitable for int. That was the result I got: the value looks OK but it's type is long, not integer. In the link: the C test, the python test and the error print. Tests: http://ubuntuone.com/4eQMOLf4KvlAbYHKxkqBIY Cheers, Rui. ___ Qgis-developer mailing list qgis-develo...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] How to get attributes of overlaying polygon layers by a spatial query?
I am new to QGIS and would like to merge selected data/attributes out of the attribute tables from overlaying vector objects on different vector layers without creating new additional layers. Is there any standard QGIS operation or QGIS plugin to accomplish this task. Basically to explain it better I have a vector layer with polygons representing buildings and it's assigned attribute table. A second vector layer with polygons represents communal planning zones and it's assigned attribute table. Both layers can not be joined by attributes as there have no corresponding keys. So I would like to perform a spatial query over both vector layers to find all buildings overlapping polygons of the zone layer and write back to the same building layer's attribute table the corresponding zone code from the zone layer's attribute table. Can this be done by a QGIS standard functions or do I have to write a Plugin? I am appreciating any hint. Many thanks in advance -- View this message in context: http://osgeo-org.1560.n6.nabble.com/How-to-get-attributes-of-overlaying-polygon-layers-by-a-spatial-query-tp5022553.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] Metodo per calcolare un'area media occupata da più poligoni
Il 12/12/2012 13:56, Pietro Rossin ha scritto: > Hi Neto > this isn't what I was looking for. > I know I can calculate basic statistic on an attribute field, but I was > looking for a "mean polygon" a shape that is representative of the mean > fluctuation of n-polygons. can't you calculate the area for each and derive average and SD with the stats plugin? all the best. -- Paolo Cavallini - Faunalia www.faunalia.eu Full contact details at www.faunalia.eu/pc Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Metodo per calcolare un'area media occupata da più poligoni
Hi Neto this isn't what I was looking for. I know I can calculate basic statistic on an attribute field, but I was looking for a "mean polygon" a shape that is representative of the mean fluctuation of n-polygons. Thanks anyway Pietro -- View this message in context: http://osgeo-org.1560.n6.nabble.com/How-to-calculate-the-mean-coverage-occupied-by-many-polygons-tp5021901p5022485.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] How to open external links, interpret css or JavaScript from a WMS getFeatureInfo result
Am 12.12.2012 11:41, schrieb Jürgen E. Fischer: > Moin Astrid, > > On Wed, 12. Dec 2012 at 09:35:32 +0100, Astrid Emde wrote: Looks like QGIS ignores the JavaScript Code too? Is there a possibility to enable QGIS to open the links,use the css and interpret JavaScript? >>> Not sure. QGIS uses Qt's internal webkit to render the page. Do you have >>> a public sample server to try that with? >> you could take this WMS to test. >> >> https://lx-gis.stadt.wolfsburg.de/cgi-bin/mapserv?map=/gds/map/stadtteilgrenzen_extern.map&VERSION=1.1.1 >> >> The inforesult should contain an external image. But maybe this already >> works with the master... I did not test with the master yet. > There were two problems with that: External images didn't work at all and > also > references to SSL sites without a verifyable certificate didn't work. > > With c7fb23079 it works now. At the same time I also reworked the context > menu so that the print entry is now added to the default menu (instead of > replacing it completely) and enabled the "Inspect" entry in debug builds. > > > Jürgen > Hello Jürgen, thanks a lot for the Bug fix. I will test the solution an give feedback. -- Best regards Astrid Emde Where2B Konferenz 2012 13. Dezember 2012 in Bonn www.where2b-conference.com Astrid Emde WhereGroup GmbH & Co.KG Eifelstraße 7 53119 Bonn Germany Fon: +49(0)228 90 90 38 - 19 Fax: +49(0)228 90 90 38 - 11 astrid.e...@wheregroup.com www.wheregroup.com Folgen Sie der WhereGroup auf twitter: http://twitter.com/WhereGroup_com Amtsgericht Bonn, HRA 6788 --- Komplementärin: WhereGroup Verwaltungs GmbH vertreten durch: Olaf Knopp, Peter Stamm --- pgp-public key: http://pgp.mit.edu:11371/pks/lookup?search=0x06DA52D72D515284 Signierte und/oder verschlüsselte Nachrichten sind sehr willkommen Signed and/or encrypted mail is highly appreciated ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Sextante - model error
It seems that you have selected "use only selected features", but there is no selection. I really want to get rid of those "use selected feature" fields...I do not think it is a good idea to have that at algorithm-level, but they are inheriteed from the original ftools code. try setting that to false in your model and see what happens. Cheers victor 2012/12/12 Michał Bełcik : > Hi everyone > > I have to use Sextante modeler, and have built a simple model that makes the > buffer for Grass and fTools and overlays them. Unfortunately, the same error > keeps appearing; > > Error executing algorithm 1 > > Traceback (most recent call last): > > File > "C:\OSGeo4W\apps\qgis-dev\python\plugins\sextante\core\GeoAlgorithm.py", > line 117, in execute > > self.processAlgorithm(progress) > > File > "C:\OSGeo4W\apps\qgis-dev\python\plugins\sextante\ftools\FixedDistanceBuffer.py", > line 81, in processAlgorithm > > layer, dissolve, segments) > > File "C:\OSGeo4W\apps\qgis-dev\python\plugins\sextante\ftools\Buffer.py", > line 50, in buffering > > total = 100.0 / float(layer.selectedFeatureCount()) > > ZeroDivisionError: float division by zero > > > Have I made some mistake in the commands? When I make buffers separately for > the both functions, everything seems fine, but I wanted to built such model > for training purposes. > > > Best regards > > > Michal > > > > ___ > 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
Re: [Qgis-user] Sextante - model error
Seems in model you checked "Use only selected features" option while input layer has no selection 2012/12/12 Michał Bełcik : > Hi everyone > > I have to use Sextante modeler, and have built a simple model that makes the > buffer for Grass and fTools and overlays them. Unfortunately, the same error > keeps appearing; > > Error executing algorithm 1 > > Traceback (most recent call last): > > File > "C:\OSGeo4W\apps\qgis-dev\python\plugins\sextante\core\GeoAlgorithm.py", > line 117, in execute > > self.processAlgorithm(progress) > > File > "C:\OSGeo4W\apps\qgis-dev\python\plugins\sextante\ftools\FixedDistanceBuffer.py", > line 81, in processAlgorithm > > layer, dissolve, segments) > > File "C:\OSGeo4W\apps\qgis-dev\python\plugins\sextante\ftools\Buffer.py", > line 50, in buffering > > total = 100.0 / float(layer.selectedFeatureCount()) > > ZeroDivisionError: float division by zero -- Alexander Bruy ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] Sextante - model error
Hi everyone I have to use Sextante modeler, and have built a simple model that makes the buffer for Grass and fTools and overlays them. Unfortunately, the same error keeps appearing; Error executing algorithm 1 Traceback (most recent call last): File "C:\OSGeo4W\apps\qgis-dev\python\plugins\sextante\core\GeoAlgorithm.py", line 117, in execute self.processAlgorithm(progress) File "C:\OSGeo4W\apps\qgis-dev\python\plugins\sextante\ftools\FixedDistanceBuffer.py", line 81, in processAlgorithm layer, dissolve, segments) File "C:\OSGeo4W\apps\qgis-dev\python\plugins\sextante\ftools\Buffer.py", line 50, in buffering total = 100.0 / float(layer.selectedFeatureCount()) ZeroDivisionError: float division by zero Have I made some mistake in the commands? When I make buffers separately for the both functions, everything seems fine, but I wanted to built such model for training purposes. Best regards Michal ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] How to open external links, interpret css or JavaScript from a WMS getFeatureInfo result
Moin Astrid, On Wed, 12. Dec 2012 at 09:35:32 +0100, Astrid Emde wrote: > >> Looks like QGIS ignores the JavaScript Code too? > >> Is there a possibility to enable QGIS to open the links,use the css and > >> interpret JavaScript? > > Not sure. QGIS uses Qt's internal webkit to render the page. Do you have > > a public sample server to try that with? > you could take this WMS to test. > > https://lx-gis.stadt.wolfsburg.de/cgi-bin/mapserv?map=/gds/map/stadtteilgrenzen_extern.map&VERSION=1.1.1 > > The inforesult should contain an external image. But maybe this already > works with the master... I did not test with the master yet. There were two problems with that: External images didn't work at all and also references to SSL sites without a verifyable certificate didn't work. With c7fb23079 it works now. At the same time I also reworked the context menu so that the print entry is now added to the default menu (instead of replacing it completely) and enabled the "Inspect" entry in debug builds. Jürgen -- Jürgen E. Fischer norBIT GmbH Tel. +49-4931-918175-31 Dipl.-Inf. (FH) Rheinstraße 13Fax. +49-4931-918175-50 Software Engineer D-26506 Norden http://www.norbit.de committ(ed|ing) to Quantum GIS IRC: jef on FreeNode -- norBIT Gesellschaft fuer Unternehmensberatung und Informationssysteme mbH Rheinstrasse 13, 26506 Norden GF: Jelto Buurman, HR: Amtsgericht Emden, HRB 5502 ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Sextante tool box problems
Hi Please add your notes to this ticket http://hub.qgis.org/issues/6862 On Wed, Dec 12, 2012 at 10:33 AM, Nick Hopton wrote: > Victor Olaya-3 wrote > > If you go to the SEXTANTE configuration dialog, you will see a "GRASS" > > entry, and there is an option to enable console output logging. Enable > > it, run your GRASS command again...and hopefully you will have > > information about what is happening > > Here is the console output log for grass:v.parallel: > > GRASS execution console output > Cleaning up temporary files ... > Starting GRASS ... > > GRASS_INFO_ERROR(4801,1): MAPSET user not found > GRASS_INFO_END(4801,1) > /home/nick/.qgis//sextante/tempdata/grassdata/temp_location/user: Not a > valid GRASS location > Cleaning up temporary files ... > Starting GRASS ... > > GRASS_INFO_ERROR(4837,1): MAPSET user not found > GRASS_INFO_END(4837,1) > /home/nick/.qgis//sextante/tempdata/grassdata/temp_location/user: Not a > valid GRASS location > > A few days ago I had the problem described here: > > > http://osgeo-org.1560.n6.nabble.com/Re-Qgis-user-python-error-td5020446.html > > and fixed it as suggested (by changing the first line of file __init__.py). > Whether this has anything to do with the problem I don't know. > > Nick. > > > > -- > View this message in context: > http://osgeo-org.1560.n6.nabble.com/Sextante-tool-box-problems-tp5022297p5022430.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 > ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Sextante tool box problems
Victor Olaya-3 wrote > If you go to the SEXTANTE configuration dialog, you will see a "GRASS" > entry, and there is an option to enable console output logging. Enable > it, run your GRASS command again...and hopefully you will have > information about what is happening Here is the console output log for grass:v.parallel: GRASS execution console output Cleaning up temporary files ... Starting GRASS ... GRASS_INFO_ERROR(4801,1): MAPSET user not found GRASS_INFO_END(4801,1) /home/nick/.qgis//sextante/tempdata/grassdata/temp_location/user: Not a valid GRASS location Cleaning up temporary files ... Starting GRASS ... GRASS_INFO_ERROR(4837,1): MAPSET user not found GRASS_INFO_END(4837,1) /home/nick/.qgis//sextante/tempdata/grassdata/temp_location/user: Not a valid GRASS location A few days ago I had the problem described here: http://osgeo-org.1560.n6.nabble.com/Re-Qgis-user-python-error-td5020446.html and fixed it as suggested (by changing the first line of file __init__.py). Whether this has anything to do with the problem I don't know. Nick. -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Sextante-tool-box-problems-tp5022297p5022430.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] Sextante - problems with GRASS tools
Hi I have the same version as Pedro, and GRASS tools are not working. On Wed, Dec 12, 2012 at 12:06 AM, Pedro Venâncio wrote: > Hi Victor, > > I do not know, I've been working well during the last week with Sextante > GRASS tools and only now noticed this issue. I applied the updates released > through ubuntugis unstable, as usual. > > I'll wait for the new update and see if it gets resolved. Then I will give > feedback. > > Thank you very much! > > Best regards, > Pedro > > > > > > - Original Message - > From: Victor Olaya > > Working here for me. There's been a change a week ago, modifying how > the grass mapset is created, but it seems you are not using it, since > it refers to the "user" mapset, and now everything goes into > PERMANENT. Maybe an old version somewhere? > > > > > > 2012/12/11 Pedro Venâncio : > > Hi, > > > > I am not able to run any GRASS tools from Sextante since the last update. > > > > I leave here the logs of r.shaded.relief algorithm: > > > > > sextante.runalg("grass:r.shaded.relief","/home/pedro/Comunicacoes/Encontro_SMPC/Dados_Geograficos/MDT/mdt_rst_5.tif",30,270,1,1,0,"250412.0,322808.0,400555.0,447300.0",0,None) > > > > > > GRASS execution commands > > g.proj -c proj4="+proj=tmerc +lat_0=39.66 +lon_0=1 +k=1 > +x_0=20 +y_0=30 +ellps=intl > +towgs84=-304.046,-60.576,103.64,0,0,0,0 +pm=lisbon +units=m +no_defs" > > r.external > input="/home/pedro/Comunicacoes/Encontro_SMPC/Dados_Geograficos/MDT/mdt_rst_5.tif" > band=1 output=tmp1355265938984 --overwrite -o > > g.region n=447300.0 s=400555.0 e=322808.0 w=250412.0 res=24.9986187845 > > r.shaded.relief map=tmp1355265938984 altitude=30 azimuth=270 zmult=1 > scale=1 units=none shadedmap=shadedmap53696621697a4515859b91ae5914b8e1 > --overwrite > > g.region rast=shadedmap53696621697a4515859b91ae5914b8e1 > > r.out.gdal -c createopt="TFW=YES,COMPRESS=LZW" > input=shadedmap53696621697a4515859b91ae5914b8e1 > output="/home/pedro/.qgis//sextante/tempdata/grassrshadedreliefeb60658e09754b028e2b1d1af83ad5ba.tif" > > > > > > GRASS execution console output > > Cleaning up temporary files ... > > Starting GRASS ... > > > > GRASS_INFO_ERROR(9329,1): MAPSET user não encontrado > > GRASS_INFO_END(9329,1) > > /home/pedro/.qgis//sextante/tempdata/grassdata/temp_location/user: Not a > valid GRASS location > > Cleaning up temporary files ... > > Starting GRASS ... > > > > GRASS_INFO_ERROR(9363,1): MAPSET user não encontrado > > GRASS_INFO_END(9363,1) > > /home/pedro/.qgis//sextante/tempdata/grassdata/temp_location/user: Not a > valid GRASS location > > > > > > > > Anyone confirm? > > > > > > I am using QGIS master version > 1.9.0+git20121208+7841975~precise-ubuntugis1 on Xubuntu 12.04. > > ___ > > 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
Re: [Qgis-user] How to open external links, interpret css or JavaScript from a WMS getFeatureInfo result
Am 07.12.2012 09:06, schrieb Jürgen E. Fischer: > Hi Astrid, > > On Fri, 07. Dec 2012 at 09:50:19 +0100, Astrid Emde wrote: >> I am using WMS in QGIS and get Information about my data through the >> getFeatureInfo-request. In the html-result of the request I have links to >> other websides or scripts and I refer to an external css-file. >> Unfortunately QGIS does not open the links and does not use the css. > Which version are you referring to? In master you should be able to follow > links. You can also print HTML responses. > >> Looks like QGIS ignores the JavaScript Code too? >> Is there a possibility to enable QGIS to open the links,use the css and >> interpret JavaScript? > Not sure. QGIS uses Qt's internal webkit to render the page. Do you have a > public sample server to try that with? > > > Jürgen > Hello Jürgen, you could take this WMS to test. https://lx-gis.stadt.wolfsburg.de/cgi-bin/mapserv?map=/gds/map/stadtteilgrenzen_extern.map&VERSION=1.1.1 The inforesult should contain an external image. But maybe this already works with the master... I did not test with the master yet. -- Best regards Astrid Emde Where2B Konferenz 2012 13. Dezember 2012 in Bonn www.where2b-conference.com Astrid Emde WhereGroup GmbH & Co.KG Eifelstraße 7 53119 Bonn Germany Fon: +49(0)228 90 90 38 - 19 Fax: +49(0)228 90 90 38 - 11 astrid.e...@wheregroup.com www.wheregroup.com Folgen Sie der WhereGroup auf twitter: http://twitter.com/WhereGroup_com Amtsgericht Bonn, HRA 6788 --- Komplementärin: WhereGroup Verwaltungs GmbH vertreten durch: Olaf Knopp, Peter Stamm --- pgp-public key: http://pgp.mit.edu:11371/pks/lookup?search=0x06DA52D72D515284 Signierte und/oder verschlüsselte Nachrichten sind sehr willkommen Signed and/or encrypted mail is highly appreciated ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user