[Qgis-user] Qgis-user Digest, Vol 101, Issue 26

Banjong Ardkham vet018 at yahoo.com
Wed Jul 16 02:15:15 PDT 2014


อ ลลฃ ปอฃล
เเ
ุีเ
เเ n
แ. Ra#
ี ñnnb
suuu





 

qgis-user-request at lists.osgeo.org เขียนว่า:

>Send Qgis-user mailing list submissions to
>	qgis-user at lists.osgeo.org
>
>To subscribe or unsubscribe via the World Wide Web, visit
>	http://lists.osgeo.org/mailman/listinfo/qgis-user
>or, via email, send a message with subject or body 'help' to
>	qgis-user-request at lists.osgeo.org
>
>You can reach the person managing the list at
>	qgis-user-owner at lists.osgeo.org
>
>When replying, please edit your Subject line so it is more specific
>than "Re: Contents of Qgis-user digest..."
>
>
>Today's Topics:
>
>   1. Re: Segfault when using QgsComposition::exportAsPDF with QGIS
>      2.4 and python (Nyall Dawson)
>   2. Re: relative raster value color table in QGIS (Paolo Cavallini)
>   3. Re: relative raster value color table in QGIS (Otto Dassau)
>   4. Re: relative raster value color table in QGIS (Paolo Cavallini)
>   5. Re: "layer combinations" plugin (skampus)
>   6. GRASS Mask Issue QGIS 2.2 (Ivan Santiago)
>   7. Re: GRASS Mask Issue QGIS 2.2 (Carlos Cerd?n)
>   8. pyQGIS : How to retreive layers 's edits ? (dandrigo)
>   9. GIS Data for Brazil (Joseph Sloop)
>  10. Re: GIS Data for Brazil (George Silva)
>
>
>----------------------------------------------------------------------
>
>Message: 1
>Date: Mon, 14 Jul 2014 10:27:37 +1000
>From: Nyall Dawson <nyall.dawson at gmail.com>
>To: kimaidou <kimaidou at gmail.com>
>Cc: qgis-user <qgis-user at lists.osgeo.org>,	qgis-developer
>	<qgis-developer at lists.osgeo.org>
>Subject: Re: [Qgis-user] Segfault when using
>	QgsComposition::exportAsPDF with QGIS 2.4 and python
>Message-ID:
>	<CAB28Asg9_KjE_JsQ472RaWa+YW=77Mj+6XU=GfTX8Q207s8apw at mail.gmail.com>
>Content-Type: text/plain; charset=UTF-8
>
>On 11 July 2014 03:52, kimaidou <kimaidou at gmail.com> wrote:
>> Hi all,
>>
>> Can anyone confirms this bug happened for your either ? If so, I will create
>> an issue in the hub. I personnaly need this feature to export some data as
>> PDF from a plugin.
>>
>
>I've just tested and it works fine for me under both Windows and
>Ubuntu 14.04. I'm not sure what is occurring here...
>
>Nyall
>
>
>------------------------------
>
>Message: 2
>Date: Mon, 14 Jul 2014 09:29:04 +0200
>From: Paolo Cavallini <cavallini at faunalia.it>
>To: qgis-user at lists.osgeo.org, qgis-developer
>	<qgis-developer at lists.osgeo.org>
>Subject: Re: [Qgis-user] relative raster value color table in QGIS
>Message-ID: <53C386C0.3030201 at faunalia.it>
>Content-Type: text/plain; charset=windows-1252
>
>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
>
>
>------------------------------
>
>Message: 3
>Date: Mon, 14 Jul 2014 11:30:04 +0200
>From: Otto Dassau <dassau at gbd-consult.de>
>To: qgis-user at lists.osgeo.org
>Subject: Re: [Qgis-user] relative raster value color table in QGIS
>Message-ID: <20140714113004.29c7fdca at nature.speedport.ip>
>Content-Type: text/plain; charset=US-ASCII
>
>Hi Paolo,
>
>Am Mon, 14 Jul 2014 09:29:04 +0200
>schrieb Paolo Cavallini <cavallini at 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
>
>
>------------------------------
>
>Message: 4
>Date: Mon, 14 Jul 2014 11:33:52 +0200
>From: Paolo Cavallini <cavallini at faunalia.it>
>To: qgis-user at lists.osgeo.org
>Subject: Re: [Qgis-user] relative raster value color table in QGIS
>Message-ID: <53C3A400.8050008 at faunalia.it>
>Content-Type: text/plain; charset=windows-1252
>
>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
>
>
>------------------------------
>
>Message: 5
>Date: Mon, 14 Jul 2014 04:55:37 -0700 (PDT)
>From: skampus <skampus at gmail.com>
>To: qgis-user at lists.osgeo.org
>Subject: Re: [Qgis-user] "layer combinations" plugin
>Message-ID: <1405338937976-5150892.post at n6.nabble.com>
>Content-Type: text/plain; charset=us-ascii
>
>Done! thank you, olivier.
>
>https://github.com/olivierdalang/layerCombinations/issues/21
>
>stefano
>
>
>
>--
>View this message in context: http://osgeo-org.1560.x6.nabble.com/layer-combinations-plugin-tp5150758p5150892.html
>Sent from the Quantum GIS - User mailing list archive at Nabble.com.
>
>
>------------------------------
>
>Message: 6
>Date: Mon, 14 Jul 2014 14:31:00 +0000
>From: Ivan Santiago <isantiago at ogp.pr.gov>
>To: "qgis-user at lists.osgeo.org" <qgis-user at lists.osgeo.org>
>Subject: [Qgis-user] GRASS Mask Issue QGIS 2.2
>Message-ID:
>	<812A34980F645B4DBD18F2842F7E690F34824260 at OGPEXCHMBX.ogp.local>
>Content-Type: text/plain; charset="iso-8859-1"
>
>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
>
>
>------------------------------
>
>Message: 7
>Date: Mon, 14 Jul 2014 10:03:41 -0500
>From: Carlos Cerd?n <sig.upagu at gmail.com>
>To: "qgis-user at lists.osgeo.org" <qgis-user at lists.osgeo.org>
>Subject: Re: [Qgis-user] GRASS Mask Issue QGIS 2.2
>Message-ID:
>	<CAFvg7WgOy2sruiNiGtudVXKbb3o-hK+Q4LPgdCJoxQAqyz4nLw at mail.gmail.com>
>Content-Type: text/plain; charset="utf-8"
>
>Hola Ivan
>
>Maybe it is related to my recent message "Cannot convert float infinity to
>integer": GRASS don't work with "-inf" values that are produced by QGIS 2.2
>(Maybe 2.0 also) or greater. Leave null values and try zero values for the
>mask, that is, just use zero and one... and tell us.
>
>Saludos desde Per?
>
>Carlos Cerd?n
>
>
>2014-07-14 9:31 GMT-05:00 Ivan Santiago <isantiago at ogp.pr.gov>:
>
>> 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 at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140714/49d3ca01/attachment-0001.html>
>
>------------------------------
>
>Message: 8
>Date: Mon, 14 Jul 2014 09:11:30 -0700 (PDT)
>From: dandrigo <lcelati at latitude-geosystems.com>
>To: qgis-user at lists.osgeo.org
>Subject: [Qgis-user] pyQGIS : How to retreive layers 's edits ?
>Message-ID: <1405354290743-5150946.post at n6.nabble.com>
>Content-Type: text/plain; charset=us-ascii
>
>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.
>
>
>------------------------------
>
>Message: 9
>Date: Mon, 14 Jul 2014 13:44:22 -0400
>From: Joseph Sloop <jbsloop at uncg.edu>
>To: Qgis-user at lists.osgeo.org
>Subject: [Qgis-user] GIS Data for Brazil
>Message-ID:
>	<CAB4Xs-bAUU5LsZ-S-JbPOZeNga43qsxg9+=JuuJZtzLB+_TiqA at mail.gmail.com>
>Content-Type: text/plain; charset="utf-8"
>
>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
>
>jbsloop at uncg.edu
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140714/bd101031/attachment-0001.html>
>
>------------------------------
>
>Message: 10
>Date: Mon, 14 Jul 2014 14:56:49 -0300
>From: George Silva <georger.silva at gmail.com>
>To: Joseph Sloop <jbsloop at uncg.edu>
>Cc: "qgis-user at lists.osgeo.org" <Qgis-user at lists.osgeo.org>
>Subject: Re: [Qgis-user] GIS Data for Brazil
>Message-ID:
>	<CAGyPVTs22cKzi35448HXjh9jb59=8Y4ucnX75YPYNAi+s9tmsw at mail.gmail.com>
>Content-Type: text/plain; charset="utf-8"
>
>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 <jbsloop at 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
>>
>> jbsloop at uncg.edu
>>
>>
>>
>>
>>
>>
>> _______________________________________________
>> Qgis-user mailing list
>> Qgis-user at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>
>
>
>-- 
>George R. C. Silva
>SIGMA Consultoria
>----------------------------
>http://www.consultoriasigma.com.br/
>-------------- next part --------------
>An HTML attachment was scrubbed...
>URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140714/7ee1352d/attachment-0001.html>
>
>------------------------------
>
>_______________________________________________
>Qgis-user mailing list
>Qgis-user at lists.osgeo.org
>http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>End of Qgis-user Digest, Vol 101, Issue 26
>******************************************


More information about the Qgis-user mailing list