Re: [Qgis-user] relative raster value color table in QGIS
Il 12/07/2014 12:56, Otto Dassau ha scritto: I would like to create a relative color table for raster data QGIS and save them for other layers. Newly defined gradient color ramps end up in a color table with fix values when I save it for a map. Hi Otto, thanks for raising this question. AFAIK this is not easily done, and it should. In fact, also the reverse should be done: currently when applying a colour ramp to a raster, this gets stretched from min-max, which is not always appropriate (e.g. DTM ramps should be applied as absolute values. In short, I think we should extend our model for ramps, allowing users to define both absolute and relative ramps, both when creating and when applying them. GRASS could be a good guide for this. Better open tickets on this? All the best. -- Paolo Cavallini - www.faunalia.eu Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] relative raster value color table in QGIS
Hi Paolo, Am Mon, 14 Jul 2014 09:29:04 +0200 schrieb Paolo Cavallini cavall...@faunalia.it: Il 12/07/2014 12:56, Otto Dassau ha scritto: I would like to create a relative color table for raster data QGIS and save them for other layers. Newly defined gradient color ramps end up in a color table with fix values when I save it for a map. Hi Otto, thanks for raising this question. AFAIK this is not easily done, and it should. In fact, also the reverse should be done: currently when applying a colour ramp to a raster, this gets stretched from min-max, which is not always appropriate (e.g. DTM ramps should be applied as absolute values. In short, I think we should extend our model for ramps, allowing users to define both absolute and relative ramps, both when creating and when applying them. GRASS could be a good guide for this. Better open tickets on this? All the best. I opened a feature request for it. Maybe you can add your comment as well. https://hub.qgis.org/issues/10886 Regards Otto ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] relative raster value color table in QGIS
Il 14/07/2014 11:30, Otto Dassau ha scritto: I opened a feature request for it. Maybe you can add your comment as well. https://hub.qgis.org/issues/10886 done, thanks -- Paolo Cavallini - www.faunalia.eu Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] GRASS Mask Issue QGIS 2.2
Hello all: I'm currently working with grass plugin using QGIS 2.2. I've been successfully working with raster data but a problem appeared when trying to use a MASK. At the last step of the analysis with raster layers in QGIS/GRASS I tried to apply a mask. First problem: Defining the mask: I rasterized an area/polygon vector layer. It should have values of 1 inside the area and NULL outside the area. When using QGIS/GRASS tools (v.to.rast constant value=1) the program returns a raster layer covering all the region in pink. I was expecting values of 1 and NULL outside, so I used the info (i) tool in QGIS and sampled points inside the box... inside was 1 and outside was NULL or no values shown. Believing that this was OK I applied r.mask using the raster layer mentioned above... Then I ran r.reclass to produce a new raster table/layer but... instead of having just the area inside the original polygon I have computed the whole region. Then... using the GRASS command shell: I ran v.rast and that time it ran and gave me the results I was expecting, painting only the inside area of the original polygon. Ran r.mask option removing the old mask Ran r.reclass from the command shell The reclassed raster came identical, depicting the whole region instead of the area of interest. I do not understand. Is the mask supposed to apply to all read and produced rasters from the moment that a mask is generated? Any help will be appreciated. --- Iván Santiago GIS Specialist Information Technologies Office of Management and Budget 787.725.9420 x 2378 Calle Cruz 254 PO Box 9023228 San Juan, PR 00902-3228 http://gis.pr.gov ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] pyQGIS : How to retreive layers 's edits ?
Hello, I 'm writing a pyqgis script. I succeed in accessing gis vector data (lists) from my remote server (thanks to urllib) . I succed in displaying geometries and attributs. 1/ Now, i would like manage layer 's editions and modifications. I must find a way to know the polygons that were been modified , deleted or added. Could you throw light for me? 2/ In a 2nd time i would like send these editing, these modifications toward the remote server. Could you tell me how to do that please? -- View this message in context: http://osgeo-org.1560.x6.nabble.com/pyQGIS-How-to-retreive-layers-s-edits-tp5150946.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] GIS Data for Brazil
Joseph, You can look at the IBGE website which has a FTP server with that data. ( ftp://geoftp.ibge.gov.br/). Demographics can be found in IBGEs website too, but it's a complex tool, called SIDRA, which can cross data and generate reports and export all of that in CSV form (http://www.sidra.ibge.gov.br/). Take you time. The data is there, it's just a bit hard to find. On Mon, Jul 14, 2014 at 2:44 PM, Joseph Sloop jbsl...@uncg.edu wrote: I am working on a project studying the furniture industry in Brazil (more specifically in the State of Santa Catarina) and I am trying to find some shapefiles to use in QGIS. - Brazilian States - Political jurisdictions (Counties/Municipalities) within each state - Demographic data associated with states and municipalities - Land-cover (Forest vs. Urban) Any and all data would be very much appreciated. Thank you in advance for any and all help! Cheers, Joseph __ Joseph Sloop PhD Candidate University of North Carolina at Greensboro Department of Geography jbsl...@uncg.edu ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user -- George R. C. Silva SIGMA Consultoria http://www.consultoriasigma.com.br/ ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] An outline width in pixel how mm is to have the same video effect ?
Hi, I have a rendering in pixel and need to reproduce better possible in a qgis project. But QGIS don't give the option to use uthe pixel as outline value, but instead it allow the mm width. So is necessary to convert from pixel to mm to have the same rendering. I guess internally qgis convert the mm value in pixel . If this is right, the value used by qgis is 72dpi or other value ? Thx, -- - Andrea Peri . . . . . . . . . qwerty àèìòù - ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
[Qgis-user] GRASS Mask Issue QGIS 2.2
Hello all: Thanks to Carlos Cerdan for his advice. Apparently, QGIS has some issues with integer rasters containing nodata values. When the raster for masking use is floating point, QGIS does not paint nodata cells. On the contrary, when the original raster is integer, QGIS fills nodata cells with pink color (which makes no sense). The big problem/question is why even if the mask exists, further rasters will not have nodata values outside the AOI. Then... Following Carlos' advice, I converted nodata cells to zero using r.null.to Since my purpose is to compute area coverage and percent coverage for risk zones inside a municipality: I multiplied the 1,0 raster layer by the integer risk_index (that is 1to5) Then I used r.null.val to set zero value cells to nodata because I wanted to use r.stats to compute areas and percentages with the option of ignoring nodata cells. Finally (and happily) the r.stats results were more realistic, taking away the area outside the mask. --- Iván Santiago GIS Specialist Information Technologies Office of Management and Budget 787.725.9420 x 2378 Calle Cruz 254 PO Box 9023228 San Juan, PR 00902-3228 http://gis.pr.gov ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] pyQGIS : Way in order to know modifications ?
Following to my previous post , In order to be more explicit, please find the usefull github link showing the plugin : https://github.com/picardie-nature/clicnat-qgis/blob/master/plugin.py -- View this message in context: http://osgeo-org.1560.x6.nabble.com/pyQGIS-Way-in-order-to-know-modifications-tp5150946p5150994.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] GRASS Mask Issue QGIS 2.2
Hello again: Perhaps there is an incompatibility between QGIS and GRASS: now QGIS produces -inf (-infinite) values for null cells, so any operation or function that involves al least one those cells, give us -infinite values (constant + - * / -infinite = - infinite). So, as you get -inf values, then scale of values is so large that finally all is pink color. I think that it must be fixed to get null values again, as in QGIS 1.8 version, because GRASS works with null values, not with -inf... or What do you say, dear developers?. Regards Carlos Cerdán 2014-07-14 16:23 GMT-05:00 Ivan Santiago isanti...@ogp.pr.gov: Hello all: Thanks to Carlos Cerdan for his advice. Apparently, QGIS has some issues with integer rasters containing nodata values. When the raster for masking use is floating point, QGIS does not paint nodata cells. On the contrary, when the original raster is integer, QGIS fills nodata cells with pink color (which makes no sense). The big problem/question is why even if the mask exists, further rasters will not have nodata values outside the AOI. Then... Following Carlos' advice, I converted nodata cells to zero using r.null.to Since my purpose is to compute area coverage and percent coverage for risk zones inside a municipality: I multiplied the 1,0 raster layer by the integer risk_index (that is 1to5) Then I used r.null.val to set zero value cells to nodata because I wanted to use r.stats to compute areas and percentages with the option of ignoring nodata cells. Finally (and happily) the r.stats results were more realistic, taking away the area outside the mask. --- Iván Santiago GIS Specialist Information Technologies Office of Management and Budget 787.725.9420 x 2378 Calle Cruz 254 PO Box 9023228 San Juan, PR 00902-3228 http://gis.pr.gov ___ 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] Splitting file into multiple csv files
Hi fellow QGIS users. I've got a rather large shapefile of point data, the points have a common identifier field that I'd like to use to split each of the features out on. In short: input data single file to output data (multiple files based on column). Is there a plugin that would do this or is it something I'd need to script using gdal? I need to output in csv as well. Thanks for any tips Matt ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user
Re: [Qgis-user] Splitting file into multiple csv files
How many groups do you have in that field? I.e., Is it reasonable to do a process by hand a few times? Or is it an unreasonably large number of groups in that field, where you'll really need to script it? On Jul 14, 2014, at 6:52 PM, Matt Boyd mattsli...@gmail.com wrote: Hi fellow QGIS users. I've got a rather large shapefile of point data, the points have a common identifier field that I'd like to use to split each of the features out on. In short: input data single file to output data (multiple files based on column). Is there a plugin that would do this or is it something I'd need to script using gdal? I need to output in csv as well. Thanks for any tips Matt ___ 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] QGIS Server - filtering a layer for display in QWC or get print request
Hi Everyone, Has anyone worked out a way to pass a filter query to QGIS server via a URL (or otherwise) that will filter a specific layer of the QGIS project that could then be viewed via QWC or used in a print request? here is the scenario: I have a layer in a QGIS project that contains many Project locations When using the QWC to view the layer or the server to print the layer, I want to make sure the user can only see the Project location they are interested in as some times these Project Locations are in close proximity to one another. Thanks! Carlos -- View this message in context: http://osgeo-org.1560.x6.nabble.com/QGIS-Server-filtering-a-layer-for-display-in-QWC-or-get-print-request-tp5151018.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 Web Client - QWC Issues loading map (server loads fine)
I've made progress and I may have encountered a bug (or I'm just naive). Turns out my issue with layers displaying was because of a difference in the layers 'Layer Name' and the 'Displayed Name' (in QGIS 2.4 layer properties/general). If I changed the layer display name by right clicking on the layer in the legend the layer name (in properties) doesn't match exactly to the displayed name. Now this makes sense...however from what I can tell QWC is expecting the layer legend name to match the layer name and if they don't match then it assumes the layer has no features (which also makes sense since XML is case sensitive). Not sure how this can be addressed in QWC. For the meantime, if I change the Layer Name in QGIS Layer Properties form (which then causes both the layer name and displayed name to match) then everything appears to work just fine in QWC. Happy to discuss the issue in more detail in the Hub if it is indeed a bug. Bernhard thanks for the great support! Always appreciated!. Carlos -- View this message in context: http://osgeo-org.1560.x6.nabble.com/QGIS-Web-Client-QWC-Issues-loading-map-server-loads-fine-tp5150233p5151021.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] Splitting file into multiple csv files
It needs a script, I haven't counted the lines but the csv file I used for the input is ~60mb. On Tue, Jul 15, 2014 at 10:24 AM, Mike Treglia mtreg...@gmail.com wrote: How many groups do you have in that field? I.e., Is it reasonable to do a process by hand a few times? Or is it an unreasonably large number of groups in that field, where you'll really need to script it? On Jul 14, 2014, at 6:52 PM, Matt Boyd mattsli...@gmail.com wrote: Hi fellow QGIS users. I've got a rather large shapefile of point data, the points have a common identifier field that I'd like to use to split each of the features out on. In short: input data single file to output data (multiple files based on column). Is there a plugin that would do this or is it something I'd need to script using gdal? I need to output in csv as well. Thanks for any tips Matt ___ 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] Splitting file into multiple csv files
It's in csv so I can probably just script something in with awk or bash. I'm a bit rustyon those. On Tue, Jul 15, 2014 at 11:25 AM, Matt Boyd mattsli...@gmail.com wrote: It needs a script, I haven't counted the lines but the csv file I used for the input is ~60mb. On Tue, Jul 15, 2014 at 10:24 AM, Mike Treglia mtreg...@gmail.com wrote: How many groups do you have in that field? I.e., Is it reasonable to do a process by hand a few times? Or is it an unreasonably large number of groups in that field, where you'll really need to script it? On Jul 14, 2014, at 6:52 PM, Matt Boyd mattsli...@gmail.com wrote: Hi fellow QGIS users. I've got a rather large shapefile of point data, the points have a common identifier field that I'd like to use to split each of the features out on. In short: input data single file to output data (multiple files based on column). Is there a plugin that would do this or is it something I'd need to script using gdal? I need to output in csv as well. Thanks for any tips Matt ___ 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] Splitting file into multiple csv files
Well that's a pretty giant CSV :-) I have no experience scripting in Q... I would have to do it in R myself, which would probably be pretty slow on a job like that... Good luck! Hope somebody else had some thoughts On Jul 14, 2014, at 8:26 PM, Matt Boyd mattsli...@gmail.com wrote: It's in csv so I can probably just script something in with awk or bash. I'm a bit rustyon those. On Tue, Jul 15, 2014 at 11:25 AM, Matt Boyd mattsli...@gmail.com wrote: It needs a script, I haven't counted the lines but the csv file I used for the input is ~60mb. On Tue, Jul 15, 2014 at 10:24 AM, Mike Treglia mtreg...@gmail.com wrote: How many groups do you have in that field? I.e., Is it reasonable to do a process by hand a few times? Or is it an unreasonably large number of groups in that field, where you'll really need to script it? On Jul 14, 2014, at 6:52 PM, Matt Boyd mattsli...@gmail.com wrote: Hi fellow QGIS users. I've got a rather large shapefile of point data, the points have a common identifier field that I'd like to use to split each of the features out on. In short: input data single file to output data (multiple files based on column). Is there a plugin that would do this or is it something I'd need to script using gdal? I need to output in csv as well. Thanks for any tips Matt ___ 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] Licence for QGIS
Hi All, I want to know, the procedure to buy an QGIS(Licenced). Thanks, Sugandha Every 3000 Sheets of paper costs us a tree.. Save trees... Conserve Trees. Don't print this email or any Files unless you really need to Confidentiality Notice The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain confidential or privileged information. If you are not the intended recipient, please notify the sender at Bharat Electronics or supp...@bel.co.in immediately and destroy all copies of this message and any attachments. ___ Qgis-user mailing list Qgis-user@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-user