Re: [Qgis-user] Export to SQL Server plugin

2022-11-30 Thread Pedro Venâncio via Qgis-user
Hi Rikesh,

As Andrea said, you need to installgdal-mssandmsodbcsqlfrom OSGeo4W (
https://github.com/PedroVenancio/export_to_sql_server/issues/2#issuecomment-1240675079)
or any other way, if you have used the standalone installer.

Best regards,
Pedro



Andrea Giudiceandrea via Qgis-user  escreveu no
dia quarta, 30/11/2022 à(s) 15:18:

> *Rikesh Lad*
> *Wed Nov 30 04:12:40 PST 2022*
> --
>
> GDAL command output:
> ERROR 1: Unable to find driver `MSSQLSpatial'.
>
>
> Hi Rikesh,
> it seems the error is quite self-explanatory: the MSSQLSpatial driver for
> the GDAL/OGR library is missing.
> I suppose you are using QGIS on Windows installed via OSGeo4W (the
> "standalone" or the "network" installer).
> Please open the OSGeo4W Shell and execute the command: ogrinfo --formats
> That command will list all supported vector format: very likely
> MSSQLSpatial is not among them. Such GDAL/OGR driver is not installed by
> default on Windows / OSGeo4W.
> In this case I think that installing the MSSQLSpatial GDAL/OGR driver
> using the OSGeo4W Setup program will fix the issue. This task could be a
> little bit difficult if you have installed QGIS using the standalone
> installer.
>
> Best regards.
>
> Andrea Giudiceandrea
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Passing parameters to ArcGIS REST Server Connections

2022-09-15 Thread Pedro Venâncio via Qgis-user
Hi all,

I'm trying to load Sentinel-2 images from ESRI Living Atlas, and it works
just fine with the default rendering rule, using

https://sentinel.arcgis.com/arcgis/rest/services/Sentinel2/ImageServer

But to use another color composite, it needs an additional parameter
(renderingRule):

&renderingRule={"rasterFunction":"Color Infrared with DRA"}

to get something like this:

https://sentinel.arcgis.com/arcgis/rest/services/Sentinel2/ImageServer/exportImage?f=image&bandIds=&renderingRule=%7B%22rasterFunction%22%3A%22Color%20Infrared%20with%20DRA%22%7D&bbox=-836244.2018886498%2C4956831.174231473%2C-723346.715967%2C4997342.799222562&imageSR=102100&bboxSR=102100&size=1477%2C530&token=.
..

The problem is that the additional parameter cannot be passed to ArcGIS
REST Server Connection URL
https://sentinel.arcgis.com/arcgis/rest/services/Sentinel2/ImageServer?renderingRule={"rasterFunction":"Color
Infrared with DRA"}

because it always adds "/exportImage" to the end of the connection URL:

https://sentinel.arcgis.com/arcgis/rest/services/Sentinel2/ImageServer?renderingRule=%7B%22rasterFunction%22:%22Color
Infrared with DRA%22%7D/exportImage&bbox=...

Any hint to overcome this?

Thanks!

Best regards,
Pedro
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Rendering layers from MSSQL Server fail

2021-03-09 Thread Pedro Venâncio
Hi all,

I don't have too much experience in MSSQL Server, but I've created some
views that get some points (GPS positions) and convert them to lines.

Everything works fine, MSSQL Server shows the geometries correctly.

When I load them in QGIS, some of the lines simply don't show up on canvas,
but they are listed in the attribute table.

If I convert the binary geometry column to WKT, and put the WKT of the
geometries that does not render in QuickWKT plugin, they are rendered fine.

If I select, in the attribute table, the records that does not render and
run Extract Selected Features, they export fine and all geometries show up
as expected.

I also have run the Check Validity and here is the interesting thing:

 1) Using the GEOS method, all geometries are classified as valid and all
of them render as expected. Invalid and error output layers are empty.

 2) Using the QGIS method, all geometries are classified as invalid and
stay in the Invalid output layer. However, they are all rendered! The
errors are of two types: 'segments 47 and 69 of line 0 intersect at
-7.27335, 40.5264' and 'line 1 contains 2 duplicate nodes starting at
vertex 13'.

So, those errors does not seem to be a reason to not render the geometries,
since they are rendered in another formats.

Any hint about what can be happening?

Thank you very much!

Best regards,
Pedro Venâncio
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] A nice task for a community member: revamping the QGIS github landing page

2021-02-11 Thread Pedro Venâncio
I agree with Nyall.

I think WebODM landing page is also a great source of inspiration:
https://github.com/OpenDroneMap/WebODM

Best regards,
Pedro


Nyall Dawson  escreveu no dia quinta, 11/02/2021
à(s) 22:11:

> Hi all!
>
> If someone's been looking for a great introductory task to start
> contributing to QGIS, I'd like to put a call out for a volunteer to
> have a go at re-working the landing page (the README) that you see
> when you visit
>
> https://github.com/qgis/QGIS
>
> While the current text is all accurate, it's very dry and technical,
> hasn't had a major update in years, and doesn't really paint QGIS in
> an "exciting" light! I'd love to see this revamped into something more
> visual which really showcases QGIS' capabilities. I'm thinking
> something more like what you see for the alternative QGIS albireo
> frontend at https://github.com/kadas-albireo/kadas-albireo2...
>
> It'd be a great task for someone who is well familiar with QGIS'
> capabilities and has a good English writing style, and it doesn't
> require any technical capabilities between simple markdown editing.
>
> Thanks in advance!
> Nyall
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Import .laz file in Qgis

2021-01-20 Thread Pedro Venâncio
I've opened a ticket, just as a kind reminder! :)

https://trac.osgeo.org/osgeo4w/ticket/658

Hopefully Jürgen can take care of it soon.

Best regards
Pedro

A quarta, 20/01/2021, 11:46, Saber Razmjooei <
saber.razmjo...@lutraconsulting.co.uk> escreveu:

> Ahh, something Jurgen is probably still working on. It should be available
> for Linux and macOS users.
>
> Kind regards
> Saber
>
>
> On Wed, 20 Jan 2021 at 11:24, Pedro Venâncio 
> wrote:
>
>> Hi Saber,
>>
>> I was trying it on QGIS master from OSGeo4W, but it seems that QGIS
>> master is not compiled against PDAL 1.8 that is available
>>
>> QGIS version 3.17.0-Master
>> QGIS code revision 740c41f5a8
>> Compiled against Qt 5.11.2
>> Running against Qt 5.11.2
>> Compiled against GDAL/OGR 3.1.4
>> Running against GDAL/OGR 3.3.0dev
>> Compiled against GEOS 3.8.1-CAPI-1.13.3
>> Running against GEOS 3.8.1-CAPI-1.13.3
>> Compiled against SQLite 3.29.0
>> Running against SQLite 3.29.0
>> PostgreSQL Client Version 11.5
>> SpatiaLite Version 4.3.0
>> QWT Version 6.1.3
>> QScintilla2 Version 2.10.8
>> Compiled against PROJ 8.0.0
>> Running against PROJ Rel. 8.0.0, March 1st, 2021
>> OS Version Windows 10 (10.0)
>>
>> Do you know a way to fix that? Maybe asking in OSGeo4W?
>>
>> Thanks!
>> Pedro
>>
>>
>> Saber Razmjooei  escreveu no dia
>> quarta, 20/01/2021 à(s) 11:13:
>>
>>> Hi,
>>>
>>> You can drag and drop your laz file in QGIS 3.17 (current master and
>>> soon to be 3.18). Testing and feedback is highly appreciated.
>>>
>>> https://twitter.com/lutraconsulting/status/1334173708542480398
>>>
>>> Kind regards
>>> Saber
>>>
>>>
>>> On Wed, 20 Jan 2021 at 09:18, Gereon Bargeman - Kien Ontwerp <
>>> ger...@kienontwerp.nl> wrote:
>>>
>>>> Dear Qgis users,
>>>>
>>>> I work with Qgis 3.10.11-A Coruña. I want to import an .laz file and
>>>> export is as an dxf file (3D) that I will use in Vectorworks.
>>>>
>>>> I tried to import it or connect it to an new layer, but it does not
>>>> work. I get the message (in Dutch): Ongeldige Data: 
>>>> /Users/gereon/Downloads/26gn2.laz
>>>> is geen geldige of herkende databron. (In English: ...is not a valid or
>>>> recognized data source)
>>>>
>>>> Is there anybody who can explain to me if it is possible to ‘import’ an
>>>> .laz file and how I can import it?
>>>>
>>>> Kind regards
>>>>
>>>> Gereon Bargeman
>>>> ___
>>>> Qgis-user mailing list
>>>> Qgis-user@lists.osgeo.org
>>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>>>
>>>
>>>
>>> --
>>> Saber Razmjooei
>>> www.lutraconsulting.co.uk
>>> +44 (0)7568 129733
>>> ___
>>> Qgis-user mailing list
>>> Qgis-user@lists.osgeo.org
>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>>
>>
>
> --
> Saber Razmjooei
> www.lutraconsulting.co.uk
> +44 (0)7568 129733
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Import .laz file in Qgis

2021-01-20 Thread Pedro Venâncio
Hi Saber,

I was trying it on QGIS master from OSGeo4W, but it seems that QGIS master
is not compiled against PDAL 1.8 that is available

QGIS version 3.17.0-Master
QGIS code revision 740c41f5a8
Compiled against Qt 5.11.2
Running against Qt 5.11.2
Compiled against GDAL/OGR 3.1.4
Running against GDAL/OGR 3.3.0dev
Compiled against GEOS 3.8.1-CAPI-1.13.3
Running against GEOS 3.8.1-CAPI-1.13.3
Compiled against SQLite 3.29.0
Running against SQLite 3.29.0
PostgreSQL Client Version 11.5
SpatiaLite Version 4.3.0
QWT Version 6.1.3
QScintilla2 Version 2.10.8
Compiled against PROJ 8.0.0
Running against PROJ Rel. 8.0.0, March 1st, 2021
OS Version Windows 10 (10.0)

Do you know a way to fix that? Maybe asking in OSGeo4W?

Thanks!
Pedro


Saber Razmjooei  escreveu no dia
quarta, 20/01/2021 à(s) 11:13:

> Hi,
>
> You can drag and drop your laz file in QGIS 3.17 (current master and soon
> to be 3.18). Testing and feedback is highly appreciated.
>
> https://twitter.com/lutraconsulting/status/1334173708542480398
>
> Kind regards
> Saber
>
>
> On Wed, 20 Jan 2021 at 09:18, Gereon Bargeman - Kien Ontwerp <
> ger...@kienontwerp.nl> wrote:
>
>> Dear Qgis users,
>>
>> I work with Qgis 3.10.11-A Coruña. I want to import an .laz file and
>> export is as an dxf file (3D) that I will use in Vectorworks.
>>
>> I tried to import it or connect it to an new layer, but it does not work.
>> I get the message (in Dutch): Ongeldige Data: 
>> /Users/gereon/Downloads/26gn2.laz
>> is geen geldige of herkende databron. (In English: ...is not a valid or
>> recognized data source)
>>
>> Is there anybody who can explain to me if it is possible to ‘import’ an
>> .laz file and how I can import it?
>>
>> Kind regards
>>
>> Gereon Bargeman
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>
>
> --
> Saber Razmjooei
> www.lutraconsulting.co.uk
> +44 (0)7568 129733
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Problem with QGIS3 closing down when adding a raster data layer

2021-01-15 Thread Pedro Venâncio
Hi Shannon,

That was an known issue of 3.16.0 that was fixed some time ago. Please
update to 3.16.2.

Best regards,
Pedro Venâncio

A sexta, 15/01/2021, 18:09, Shannon  escreveu:

> Hi, of course, sorry I forgot to add at the end.
>
> I'm using Qgis desktop 3.16.0 and Windows 10 pc. I will try creating a new
> profile.
>
> Thank you.
>
> Shannon.
>
> On Fri, 15 Jan 2021, 4:50 pm Alexandre Neto, 
> wrote:
>
>> Hi shannon,
>>
>> A few questions/requests.
>>
>> What version of QGIS are you using?
>> What operating system?
>> Can you try creating a new profile? (Settings > user profiles > new user
>> profile).
>> If that doesn't work, can you provide a sample of your data?
>>
>> Thanks,
>>
>> Alexandre Neto
>> www.qcooperative.net
>>
>> A sexta, 15/01/2021, 12:56, Shannon  escreveu:
>>
>>> Hi, hope someone can help.
>>>
>>> I am planning on using QGIS for my dissertation and am in the planning
>>> stages of the proposal. I currently have a lightmap data set available for
>>> download with 12 files for the year I'm interested in. My problem is that
>>> when I am following a guidance video from YouTube and inputting the data as
>>> a raster layer, the QGIS software once I click add and as expected go to
>>> set my WGIS co-ords closes down with no reason.
>>>
>>>
>>>
>>> Within the video I am using, it has GMT Net cdf grid format (*nc *.NC),
>>> while my laptop is showing the GMT Net cdf grid format. Could this be the
>>> problem? When I look at the 2 files I have downloaded so far the type is
>>> NC. My supervisor has told me to stick with QGIS and to sort out the
>>> problem.
>>>
>>>
>>>
>>> Hoping someone can help me troubleshoot the problem, I previously used Q
>>> during a summer course to learn the software and in loading maps so unsure
>>> why I’m having issues with a raster layer.
>>>
>>>
>>>
>>> Thanks.
>>> ___
>>> Qgis-user mailing list
>>> Qgis-user@lists.osgeo.org
>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>>
>> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Sum a list os raster

2021-01-12 Thread Pedro Venâncio
Hi Igor,

You can use the brand new Cell Statistics algorithm (from QGIS 3.16):
https://changelog.qgis.org/en/qgis/version/3.16/#feature-add-native-cell-statistics-algorithm

Best regards,
Pedro Venâncio


Igor Oliveira Ribeiro  escreveu no dia terça,
12/01/2021 à(s) 17:18:

> Hi,
> I have a list with 15 raster. I would like to make a simple sum of these
> raster. I know about raster calculation tool, but the expression would be
> too long. Is there a way to replace this expression
> (raster1+raster2+...+raster15) by sum(raster1,raster2,...,raster15) for
> example?
> Thanks
>
> --
>
> See our last paper:  <https://doi.org/10.1016/j.envpol.2020.114029>
>
> Impact of biomass burning on a metropolitan area in the Amazon during the
> 2015 El Niño: The enhancement of carbon monoxide and levoglucosan
> concentrations. <https://doi.org/10.1016/j.envpol.2020.114029>
>
> Igor Oliveira Ribeiro
>
> Post-Doc on Regional Climate Change, Vulnerability, Impacts and Adaptation
> - IPCC/Cuomo/UEA
>
> +55 92 98103 7136 | skype: igorflorestal
>
> Universidade do Estado do Amazonas | Instituto Nacional de Pesquisas da
> Amazônia
>
> Visite: www.geoescrita.com.br
>
> <https://www.linkedin.com/in/igoroliveiraribeiro/>
> <https://www.instagram.com/geoescrita/>
> <https://www.researchgate.net/profile/Igor_Oliveira_Ribeiro>
> <http://lattes.cnpq.br/3909691804095045>
> <https://orcid.org/-0002-3529-0525> <https://www.geoescrita.com.br/>
>
> Think globally, act locally!
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Problems to upload *.nc files in QGIS ver 3.16

2020-11-12 Thread Pedro Venâncio
It was already fixed in OGeo4W Carolina:
https://github.com/qgis/QGIS/issues/39729

Standalone shall be fixed in the next point release, next week.

Best regards,
Pedro


Carolina Lang  escreveu no dia quinta, 12/11/2020
à(s) 22:30:

>
>
>
>
>
>
>
> *Hello Everyone, I´m working on QGIS version 3.16.0. And I´m having
> problems to upload *.nc files ( SeaSurfaceTemperature from satellite data),
> and cannot do it, Is someone dealing with the same issue, or someone has
> any idea how to fix it?. Any comment I´ll appreciate it, I have a couple of
> days working on this without results!!Thanks*
>
> Carolang
>
>
>
>
>
>
>
> C*ertificación ISO 9001/2015*: Sistema de Datos
> Biológico-Pesqueros (Arica, Iquique, Coquimbo, Valparaíso, San Antonio,
> Talcahuano y Calbuco, pesquerías industriales y artesanales)
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Opening properties of WMS or XYZ-Tile layer crashing QGIS

2020-11-04 Thread Pedro Venâncio
 Bernd,

It should be related to https://github.com/qgis/QGIS/issues/39693 and
several others already reported.

Can you post your case there?

Best regards,
Pedro


Bernd Vogelgesang  escreveu no dia quarta,
4/11/2020 à(s) 13:17:

> Hi Alexandre,
>
> Brand new in the sense of creating a new project and adding the layer
> again? Yes, still crashing.
>
> But now some strange news: In my new profile, opening the properties
> works. But now I tried to change a property -> Crash as well! Same error
> in terminal
>
> :(
>
> On 04.11.20 14:12, Alexandre Neto wrote:
> > Hi Bernd,
> >
> > What about if you create a brand new connection? Does it still happen?
> >
> > Alexandre Neto
> > QGIS Support
> > www.qcooperative.net
> >
> > A quarta, 4/11/2020, 12:39, Bernd Vogelgesang 
> > escreveu:
> >
> >> Hi,
> >>
> >> all in sudden in my default profile, each attempt to open the properties
> >> of WMS layer or XYZ leads to an immediate crash of QGIS. (3.16 Linux
> Mint)
> >>
> >> Starting QGIS from terminal it shows this while crashing:
> >>
> >> QGIS died on signal 11Could not attach to process.  If your uid matches
> >> the uid of the target
> >> process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try
> >> again as the root user.  For more details, see
> /etc/sysctl.d/10-ptrace.conf
> >> ptrace: Vorgang nicht zulässig.
> >> No thread selected
> >> No stack.
> >> gdb returned 0
> >>
> >> In a relatively new and clean profile, this does not happen.
> >>
> >> I so far uninstalled some lately installed plugin but to no avail, then
> >> I at least deactivated all other plugins. No change in behaviour.
> >>
> >> Can anyone point me to the source of the problem?
> >>
> >>
> >> Cheers,
> >>
> >> Bernd
> >>
> >> ___
> >> Qgis-user mailing list
> >> Qgis-user@lists.osgeo.org
> >> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> >> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS 3.16

2020-10-25 Thread Pedro Venâncio
Hi Krishna,

You can get it from https://qgis.org/downloads/

Best regards,
Pedro


krishna Ayyala  escreveu no dia domingo,
25/10/2020 à(s) 14:45:

> As per the following weblink QGIS 3.16 is supposed to be released on
> 2020-10-23. Where can I download this version?
>
> Regards.
>
>
> https://qgis.org/en/site/getinvolved/development/roadmap.html#location-of-prereleases-nightly-builds
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] clip raster by mask layer (gdalwarp with -cutline option) enormously bloats file size

2020-06-12 Thread Pedro Venâncio
Can you share the output of gdalinfo of your original file?



karsten  escreveu no dia sábado, 13/06/2020 à(s)
00:13:

> Hi Pedro,
>
> using your suggestion I came up with this command :
>
> gdal_translate -co COMPRESS=DEFLATE -co PREDICTOR=2 -co ZLEVEL=9 -ot Byte
> -of GTiff -tr 1.0 -1.0 -a_nodata 0 input.tif output.tif
>
> and got the 5GB file cut result raster from before down to 43 MB !
>
> Thanks
> Karsten
> ------
> *From:* Pedro Venâncio [mailto:pedrongvenan...@gmail.com]
> *Sent:* Friday, June 12, 2020 13:19
> *To:* karsten
> *Cc:* QGIS User
> *Subject:* Re: [Qgis-user] clip raster by mask layer (gdalwarp with
> -cutline option) enormously bloats file size
>
> Hi Karsten,
>
> First you have to ensure that the output data type is also Byte:
> -ot Byte
>
> Second, your original raster must be some kind of compression. You can see
> it with gdalinfo. So, you need to apply compression to the output file, for
> instance with:
>
> -co COMPRESS=DEFLATE -co PREDICTOR=2 -co ZLEVEL=9
>
>
> Best regards,
>
> Pedro Venâncio
>
>
>
> karsten  escreveu no dia sexta, 12/06/2020 à(s)
> 21:09:
>
>> Hi All,
>>
>> I have a large *.tif raster data set ( 92000 * 69000 cells of one meter,
>> projection EPSG:25832 - ETRS89 / UTM zone 32N )
>> It contains integer values 1 to 20 and has a file size of  about 100 MB
>> in "Byte - Eight bit unsigned integer" format.
>> Now the result is a rectangle and I wanted to cut it down to the area of
>> interest (via cutline gdal option) using a shape polygon file (with one
>> continuous polygon inside) to and set all values outside the area of
>> interest of that rectangle to NULL values (for example setting 0 as NULL
>> data values). I used the QGIS ( QGIS v 3.12 on windows) Menu RASTER >
>> Extraction > Clip Raster by mask Layer which is based on gdalwarp.
>> That is when I am running into the problem that the 'cut' file size
>> increases enormously and I ended up wit 50 times bigger file ( 5 GB size
>> ! ) when I was actually expecting a smaller file size than before.
>> I have not really an idea why the file becomes so enormously bloated. The
>> same is the cass when I try gdalwarp directly on the command line or when
>> using the QGIS Raster calculator or any other method I tried so far.
>>
>> How can I manage to get a smaller file size ( aka the 100 MB file size I
>> started of with ) and which tools or formats are recommended  to achieve
>> this ?
>> Cheers
>> Karsten
>>
>> Karsten Vennemann
>> www.terragis.net
>>
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] clip raster by mask layer (gdalwarp with -cutline option) enormously bloats file size

2020-06-12 Thread Pedro Venâncio
Hi Karsten,

First you have to ensure that the output data type is also Byte:
-ot Byte

Second, your original raster must be some kind of compression. You can see
it with gdalinfo. So, you need to apply compression to the output file, for
instance with:

-co COMPRESS=DEFLATE -co PREDICTOR=2 -co ZLEVEL=9


Best regards,

Pedro Venâncio



karsten  escreveu no dia sexta, 12/06/2020 à(s) 21:09:

> Hi All,
>
> I have a large *.tif raster data set ( 92000 * 69000 cells of one meter,
> projection EPSG:25832 - ETRS89 / UTM zone 32N )
> It contains integer values 1 to 20 and has a file size of  about 100 MB
> in "Byte - Eight bit unsigned integer" format.
> Now the result is a rectangle and I wanted to cut it down to the area of
> interest (via cutline gdal option) using a shape polygon file (with one
> continuous polygon inside) to and set all values outside the area of
> interest of that rectangle to NULL values (for example setting 0 as NULL
> data values). I used the QGIS ( QGIS v 3.12 on windows) Menu RASTER >
> Extraction > Clip Raster by mask Layer which is based on gdalwarp.
> That is when I am running into the problem that the 'cut' file size
> increases enormously and I ended up wit 50 times bigger file ( 5 GB size
> ! ) when I was actually expecting a smaller file size than before.
> I have not really an idea why the file becomes so enormously bloated. The
> same is the cass when I try gdalwarp directly on the command line or when
> using the QGIS Raster calculator or any other method I tried so far.
>
> How can I manage to get a smaller file size ( aka the 100 MB file size I
> started of with ) and which tools or formats are recommended  to achieve
> this ?
> Cheers
> Karsten
>
> Karsten Vennemann
> www.terragis.net
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Isochrones

2020-05-26 Thread Pedro Venâncio
Hi,

Besides Ujaval suggestions, you have also:

- Hqgis, using Here API:
https://plugins.qgis.org/plugins/Hqgis/

- v.net.* algorithms from GRASS, inside Processing, if you have your own
network:
https://grass.osgeo.org/grass78/manuals/v.net.html
Some examples here (unfortunately only in Portuguese):
https://pt.slideshare.net/mobile/PedroNGV/anlise-de-redes-com-qgis


Best regards,
Pedro


A terça, 26/05/2020, 23:44, Ujaval Gandhi 
escreveu:

> Yes! If you have your own network data, QNEAT3 plugin has Iso-Area
> algorithms. Otherwise, the ORS Tools plugin allows you to create isochrones
> using OpenStreetMap data
>
> http://www.qgistutorials.com/en/docs/3/service_area_analysis.html
>
> Ujaval Gandhi
> Spatial Thoughts
>
> On Wed, May 27, 2020, 3:54 AM Riccardo D'Alvito 
> wrote:
>
>> Hi!
>>
>> I would like to know is there is a way to create isochorones (for
>> instance - 5 minutes) on QGIS starting from a point and following a road
>> network with a certain speed.
>>
>> Thank you.
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Error in Zonal statistic ?

2020-05-07 Thread Pedro Venâncio
Hi Lene,

Can you share a sample dataset?

I think it can be possible if the pixels have all different values, and so,
Zonal Statistics choose the minimum value as minority and majority, but it
could choose any other value, because any pixel value can be considered the
less and most represented, as they are all different.

Best regards,
Pedro Venâncio

A quinta, 7/05/2020, 09:34, Lene Fischer  escreveu:

> Hi
>
> I´m trying to calculate values in multi spectral images.
>
> When I use Zonal statistic I get the same result for _min, _minority and
> _majority
>
> Example:
>
>
>
> fid
>
> _count
>
> _mean
>
> _median
>
> _min
>
> _max
>
> _minority
>
> _majority
>
>
>
> 57
>
> 44
>
> 0.06883086238733747
>
> 0.06847017258405685
>
> 0.062062818557024
>
> 0.07621321827173233
>
> 0.062062818557024
>
> 0.062062818557024
>
>
>
> Can you confirm this error – then I´ll make a bugreport J
>
>
>
> Regards
>
>
>
>
>
> *Lene Fischer*
>
> Associate Professor
>
>
>
> *University of Copenhagen*
>
> Department of Geosciences and Natural Resource Management
>
> Forest and Landscape College
>
> Nødebovej 77a
>
> 3480 Fredensborg
>
>
>
> MOB +45 40115084
>
> l...@ign.ku.dk
>
>
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] [QGIS-Developer] Drill-down forms with multiple selections option

2019-11-23 Thread Pedro Venâncio
Hi Alexandre,

You are the man!

For the record, I leave the filter expression from Alexandre Neto, that
work like a charm:

eval(' "di" in' + replace(current_value(
'DISTRITOS'),array('{','}','"'),array('(',')','\'')))

Thank you very much Alex!

Best regards,
Pedro


Alexandre Neto  escreveu no dia sábado, 23/11/2019
à(s) 16:58:

> Hi Pedro,
>
> Can't you check if  "di" is present in the {Value1,Value2,...} set?
>
> If needed, you can replace the curly brackets by curved ones and run the
> all expression by eval()
>
> Alexandre Neto
>
> A sábado, 23/11/2019, 13:48, Pedro Venâncio 
> escreveu:
>
>> Hi all,
>>
>> I'm building a form with two fields of "Value Relation Widgets", one
>> depending on the other.
>>
>> This works really well as explained here https://youtu.be/ipezh4KXrgo by
>> Alessandro, but I would like that both fields have the multiple selections
>> option.
>>
>> Here is a sample project:
>> https://cld.pt/dl/download/db1a1787-0adc-4633-a0c9-356c41f269eb/drilldown_multiple.zip
>>
>> In that project, I have two shapefiles (one configured without and
>> another configured with 'Allow multiple selections') and two csv files
>> (Value Relation sources).
>>
>> So, without multiple selections option, I simply use
>> "di" = current_value( 'DISTRITOS')
>> as filter expression.
>>
>> This does not work with multiple selections, because this option saves
>> the multiple values between braces: {Value1,Value2,...}.
>>
>> So, how could I use the filter here, to have the second field filtered by
>> the options selected in the first field?
>>
>> Thank you very much!
>>
>> Best regards,
>> Pedro Venâncio
>> ___
>> QGIS-Developer mailing list
>> qgis-develo...@lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
>
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Drill-down forms with multiple selections option

2019-11-23 Thread Pedro Venâncio
Hi all,

I'm building a form with two fields of "Value Relation Widgets", one
depending on the other.

This works really well as explained here https://youtu.be/ipezh4KXrgo by
Alessandro, but I would like that both fields have the multiple selections
option.

Here is a sample project:
https://cld.pt/dl/download/db1a1787-0adc-4633-a0c9-356c41f269eb/drilldown_multiple.zip

In that project, I have two shapefiles (one configured without and another
configured with 'Allow multiple selections') and two csv files (Value
Relation sources).

So, without multiple selections option, I simply use
"di" = current_value( 'DISTRITOS')
as filter expression.

This does not work with multiple selections, because this option saves the
multiple values between braces: {Value1,Value2,...}.

So, how could I use the filter here, to have the second field filtered by
the options selected in the first field?

Thank you very much!

Best regards,
Pedro Venâncio
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Get SAGA running on Ubuntu?

2019-11-10 Thread Pedro Venâncio
Hi Bernd,

Same problem here.

There is another SAGA plugin that support SAGA 7.3:

https://plugins.bruy.me/processing-saga.html

But I have some issues with raster algorithms in 3.10:

https://github.com/alexbruy/processing-saga/issues/3

They should be fixed in master, as said by Alex, but not for 3.10.

Best regards,
Pedro


A domingo, 10/11/2019, 21:51, Bernd Vogelgesang 
escreveu:

> Hi,
>
> seems I am again lost in the SAGA-QGIS-Version-Game. Got no working SAGA
> at the moment. Ubuntugis-unstable delivers SAGA 7.3, and I have no idea
> which version is currently supported by QGIS 3.10. There is a plugin for
> SAGA nextgen ... but for 7.2.
> Seems the version hops are too frequent to be covered.
>
> Anyway, anyone an idea how to get a working SAGA instance within QGIS
> 3.10 on Ubuntu bionic?
>
> Cheers,
> Bernd
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] CRS selector

2019-09-23 Thread Pedro Venâncio
That seems to be like this report:

https://github.com/qgis/QGIS/issues/31753

Best regards,
Pedro

A terça, 24/09/2019, 07:13, Christoph Jung  escreveu:

> Hi Nyall,
>
> I have QGIS 3.4 under macOS (without problems) and windows (with grayed
> CRS selector). A newer version under windows is not yet available in my
> company, maybe to the end of this year ^^
>
> Christoph
>
> > Am 24.09.2019 um 00:49 schrieb Nyall Dawson :
> >
> >> On Mon, 23 Sep 2019 at 21:58, Christoph Jung 
> wrote:
> >>
> >> Hello everyone,
> >>
> >> I have a strange problem. My plugin Offline-MapMatching has a standard
> CRS selector. On my development machine I can change the CRS without
> problems. But on another pc, the selector is completely gray. The QGIS log
> and the python console do not show any problems when I open the CRS
> selector. Does anybody had this issue before too?
> >
> > Which versions are installed?
> >
> > Nyall
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Can't print large QGIS file

2019-07-17 Thread Pedro Venâncio
The problem is like this one?

https://github.com/qgis/QGIS/issues/29064

Best regards,
Pedro Venâncio


A qui, 18/07/2019, 07:21, Genene Schumacher <
genene.schumac...@citywestwater.com.au> escreveu:

> I'm not sure of the RAM. We run on a network.  I will go see our IT dept.
>
> Regards,
> Genene
>
>
>
>
>
>
> -Original Message-
> From: Qgis-user [mailto:qgis-user-boun...@lists.osgeo.org] On Behalf Of
> Bernhard Ströbl
> Sent: Thursday, 18 July 2019 4:08 PM
> To: qgis-user@lists.osgeo.org
> Subject: Re: [Qgis-user] Can't print large QGIS file
>
> Hi,
>
> could that be a RAM problem? I remember that (in times of QGIS2) running
> 32bit QGIS on Windows the RAM limit per application (I remember 4 GB) made
> it impossible to print larger maps (large in sense of large paper format
> with many features).
> What system are you running QGIS on?
>
> Bernhard
>
> Am 18.07.2019 um 07:47 schrieb Genene Schumacher:
> > I am using QGIS 3.4.1   I have a map of the water & sewer assets for
> > the authorities region.
> >
> > I have a list of about 20 maps created and showing in Layout Manager.
> > Most maps print but the one with lots of data (pipes) showing won’t
> > export to pdf. QGIS crashes every time.
> >
> > Any ideas how to get it into a pdf ?
> >
> > Regards,
> >
> > *Genene*
> >
> >
> > --
> > --
> >
> > This e-mail, including any attachments, is confidential and for the
> > sole use of the intended recipient(s). It may contain copyright and/or
> > legally privileged material and/or personal information. If you are
> > not the intended recipient, you are not authorised to disclose, copy,
> > use, distribute or in any other way make use of the information
> > contained in it, and such activities are prohibited. If you have
> > received this e-mail in error, please notify the sender by reply
> > e-mail, delete the document and destroy all copies of the original
> message.
> >
> > There is no warranty that this email is error or virus free. Please
> > consider the environment before printing.
> >
> >
> > __ Information from ESET Mail Security, version of virus
> > signature database 19705 (20190718) __
> >
> > The message was checked by ESET Mail Security.
> > http://www.eset.com
> >
> > ___
> > Qgis-user mailing list
> > Qgis-user@lists.osgeo.org
> > List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> > Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
> >
>
>
>
> __ Information from ESET Mail Security, version of virus signature
> database 19705 (20190718) __
>
> The message was checked by ESET Mail Security.
> http://www.eset.com
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
> 
>
> This e-mail, including any attachments, is confidential and for the sole
> use of the intended recipient(s). It may contain copyright and/or legally
> privileged material and/or personal information. If you are not the
> intended recipient, you are not authorised to disclose, copy, use,
> distribute or in any other way make use of the information contained in it,
> and such activities are prohibited. If you have received this e-mail in
> error, please notify the sender by reply e-mail, delete the document and
> destroy all copies of the original message.
>
> There is no warranty that this email is error or virus free. Please
> consider the environment before printing.
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] [QGIS-Developer] QGIS Processing "R" Provider -- 3.x beta available

2018-11-26 Thread Pedro Venâncio
Awesome Nyall, I confirm, it's fixed now!

Thank you very much!

Pedro



Nyall Dawson  escreveu no dia segunda, 26/11/2018
à(s) 02:54:

> On Fri, 16 Nov 2018 at 20:29, Pedro Venâncio 
> wrote:
>
> >
> > I tried to install it on Windows 10, but I'm always getting this, when
> running the test script:
> >
> > This algorithm cannot be run :-(
> > This algorithm requires R to be run. Unfortunately, it seems that R is
> not installed in your system, or it is not correctly configured to be used
> from QGIS
> > Click here to know more about how to install and configure R to be used
> with QGIS
> >
> > I've R 3.5.1 (64bits) installed in my users folder
> (C:\Users\username\Documents\R\R-3.5.1), I put this path in R folder
> setting, without success. I've already tried to add the R path to
> environment variables, but again without success.
> >
> > R works well with RStudio in same machine.
> >
> > I'm with QGIS 3.4.1 from OSGeo4W 64bits.
> >
> > Do you have any hint?
>
> Thanks for reporting this -- it's fixed in version 0.0.3. You can
> fetch this here:
> https://github.com/north-road/qgis-processing-r/releases/tag/0.0.3
>
> Nyall
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Which Version QGIS works with Windows XP

2018-07-09 Thread Pedro Venâncio
No, this one:

https://qgis.org/downloads/QGIS-OSGeo4W-2.14.2-2-Setup-x86.exe


A seg, 9/07/2018, 17:44, loki  escreveu:

> Thanks - so this one? "QGIS-OSGeo4W-2.14.22-1-Setup-x86.exe" on
> http://download.osgeo.org/qgis/win32/
>
>
>
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Which Version QGIS works with Windows XP

2018-07-09 Thread Pedro Venâncio
Hi Loki,

I had the same doubt last week and QGIS 2.14.2-2 32bits [0] works on WinXP.

Best regards,
Pedro Venâncio

[0] https://qgis.org/downloads/QGIS-OSGeo4W-2.14.2-2-Setup-x86.exe



loki  escreveu no dia segunda, 9/07/2018 à(s) 16:46:

> Which version of QGIS works with Windows XP.  I am trying to install it,
> and
> having difficulty. I got a response that the lasted QT (platform for the
> program) no longer supports XP, but no information on which version of QGIS
> used the QT platform that did work under XP...
>
>
>
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-User-f4125267.html
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] raster calculator issues

2017-07-21 Thread Pedro Venâncio
Hi Eugenio,

It should be in the installation folder, most probably on

/usr/share/qgis/python/plugins/processing/algs/saga

Best regards,
Pedro





2017-07-21 14:46 GMT+01:00 Eugenio Trumpy :

> Hi Pedro,
>
>
> I cannot find SagaAlgorithm.py in .Qgis2/python/plugins/processi
> ng/algs/saga/SagaAlgorithm.py
> I installed qgis from apt. Version 2.18.10
>
> How can I change the file you suggested me?
>
> E.
>
> ------
> *Da:* Pedro Venâncio 
> *Inviato:* venerdì 21 luglio 2017 15:30
> *A:* frippe12573
> *Cc:* qgis-user
> *Oggetto:* Re: [Qgis-user] raster calculator issues
>
> It was already fixed Eugenio:
>
> https://github.com/qgis/QGIS/commit/74042a2dc061aba0f8c5ecc15efa11
> 1153c97bb0
>
> <https://github.com/qgis/QGIS/commit/74042a2dc061aba0f8c5ecc15efa53c97bb0>
> [processing] Correctly call TYPE_RASTER constant · qgis/QGIS@74042a2
> <https://github.com/qgis/QGIS/commit/74042a2dc061aba0f8c5ecc15efa53c97bb0>
> github.com
> Fixes #16786
>
>
>
> Best regards,
> Pedro
>
>
>
>
> 2017-07-21 14:11 GMT+01:00 frippe12573 :
>
>> hi all,
>>
>>
>> I'm using qgis 2.18.10 (code59e0f78) installed from repo in my Ubuntu
>> 17.04.
>> I have problem with raster calculators algorithms. In particular:
>> saga (2.3.1) raster calculator - it gives me this error, both using this
>> algorithm in a process and alone:
>> Error executing algorithm reservoir_effective 'module' object has no
>> attribute 'TYPE_RASTER' See log for more details
>>
>> gdal/ogr raster calculator - it gives this error:
>> GDAL command output:
>> Error! Dimensions of file /home/condivisa_A_E/calcoli/1000_ET_pos.tif
>> (600,
>> 562) are different from other files (473, 562). Cannot proceed
>> r.mapcalc - it doesn't show a filed to set the name of the output file,
>> but
>> only the folder. However it gives this error on the console: ERROR 4:
>> /home/IGG/condivisa_A_E/calcoli/1000_ET_pos.tif;/home/layer_
>> prodotti_da_caricare/Z90_ly.tif:
>> No such file or directory
>>
>>
>> The only algorithm currently running seems to be the raster calculator of
>> gdal available as first item in the raster menu.
>>
>>
>> Thank you for any hint you can give me
>>
>>
>> E.
>>
>>
>>
>>
>> --
>> View this message in context: http://osgeo-org.1560.x6.nabbl
>> e.com/raster-calculator-issues-tp5328659.html
>> Sent from the QGIS - User mailing list archive at Nabble.com.
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] raster calculator issues

2017-07-21 Thread Pedro Venâncio
It was already fixed Eugenio:

https://github.com/qgis/QGIS/commit/74042a2dc061aba0f8c5ecc15efa53c97bb0

Best regards,
Pedro




2017-07-21 14:11 GMT+01:00 frippe12573 :

> hi all,
>
>
> I'm using qgis 2.18.10 (code59e0f78) installed from repo in my Ubuntu
> 17.04.
> I have problem with raster calculators algorithms. In particular:
> saga (2.3.1) raster calculator - it gives me this error, both using this
> algorithm in a process and alone:
> Error executing algorithm reservoir_effective 'module' object has no
> attribute 'TYPE_RASTER' See log for more details
>
> gdal/ogr raster calculator - it gives this error:
> GDAL command output:
> Error! Dimensions of file /home/condivisa_A_E/calcoli/1000_ET_pos.tif
> (600,
> 562) are different from other files (473, 562). Cannot proceed
> r.mapcalc - it doesn't show a filed to set the name of the output file, but
> only the folder. However it gives this error on the console: ERROR 4:
> /home/IGG/condivisa_A_E/calcoli/1000_ET_pos.tif;/home/
> layer_prodotti_da_caricare/Z90_ly.tif:
> No such file or directory
>
>
> The only algorithm currently running seems to be the raster calculator of
> gdal available as first item in the raster menu.
>
>
> Thank you for any hint you can give me
>
>
> E.
>
>
>
>
> --
> View this message in context: http://osgeo-org.1560.x6.
> nabble.com/raster-calculator-issues-tp5328659.html
> Sent from the QGIS - User mailing list archive at Nabble.com.
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Wrong result with Saga Raster calculator

2017-06-02 Thread Pedro Venâncio
Hi Eugenio,

I've opened a ticket in QGIS bug tracker, to try to identify the source of
the problem:

https://issues.qgis.org/issues/16646

Please see the recent findings and give your feedback there.

Thanks!

Best regards,

Pedro Venâncio





2017-06-01 8:43 GMT+01:00 Eugenio Trumpy :

> Hi Pedro,
>
>
> I did the same for 5 pixels in the test raster I shared with you yesterday.
>
> The different seems to be a little bit greater.
>
> See the attached sheet.
>
>
> I don't know if the version of saga, 2.3.1 the mine vs 2.3.2 the yours
> could generate this error,
>
> or if the problem is in qgis process model.
>
>
> E.
>
>
>
>
>
>
> --
> *Da:* Pedro Venâncio 
> *Inviato:* mercoledì 31 maggio 2017 22:16
> *A:* Eugenio Trumpy
> *Cc:* qgis-user; qgis-developer
> *Oggetto:* Re: [Qgis-user] Wrong result with Saga Raster calculator
>
> Hi Eugenio,
>
> I've created a sample processing model (attached), that works ok, except a
> small error in the result (decimals).
>
> For instance:
>
> *Raster* *ID* *Pixel value*
> Z_top_res a 1202,03510276
> t_top_res b 53,6123428345
> topo c1 -182,584899902
> SAGA Result 1 c 15,1783676147
> SAGA Result 2 d 31,9437332153 *Diff*
> Expected Result 1
> 15,1783679504 0,00335741
> Expected Result 2
> 31,974087 0,0303540069
> *Formula*
> 1 ifelse(c1>0,-(0.0065*c1-16),(0.0045*c1+16))
> 2 ifelse(a<500,0,((b-c)/a)*1000)
> Using SAGA GUI there is no error.
>
> Could this be because of some roundings in the input / output? (I'm
> sending for the developer's list also).
>
> Thanks!
>
> Best regards,
> Pedro Venâncio
>
>
>
> 2017-05-31 10:56 GMT+01:00 Eugenio Trumpy :
>
>>
>> Hi Pedro,
>>
>> thank you very much to have tested the computation with my test data!
>> You are right, I checked again the computation and actually it works.
>>
>> However, I was using Saga raster calculation in a processing modeler, and
>> one of the layer I share with you
>> is the resulting from a previous computation.
>>
>> In other word the raster layer c=temp_recal.tif comes from a previous
>> computation (raster calculator):
>> ifelse(a>0,-(0.0065*a-16),(0.0045*a+16))
>> where a is the layer attached, and hence c of the previous  formula is
>> the resulting of this first computation.
>>
>> E.
>>
>> --
>> *Da:* Pedro Venâncio 
>> *Inviato:* mercoledì 31 maggio 2017 11:37
>> *A:* frippe12573; qgis-user
>> *Oggetto:* Re: [Qgis-user] Wrong result with Saga Raster calculator
>>
>> Hi Eugenio,
>>
>> The result with SAGA Raster Calculator seems ok here, on QGIS 2.18.9,
>> SAGA 2.3.2, both from OSGeo4W64 (result attached).
>>
>> Z_top_res.tif have values from 724.403 to 1423.553, and so, the first
>> condition is never true. Then, it always make ((b-c)/a)*1000, and the
>> result seems ok to me.
>>
>>
>> Pedro
>>
>>
>>
>> 2017-05-31 10:19 GMT+01:00 frippe12573 :
>>
>>> Hi Paolo,
>>>
>>> the raster have the same size and origin.
>>> The pixels are precisely overlapped.
>>>
>>> I tried also r.mapcalc, but I got a worst result.
>>> Here the output of the log:
>>> https://pastebin.com/jNyyzHgf
>>>
>>> E.
>>>
>>>
>>>
>>> --
>>> View this message in context: http://osgeo-org.1560.x6.nabbl
>>> e.com/Wrong-result-with-Saga-Raster-calculator-tp5322429p5322442.html
>>> Sent from the QGIS - User mailing list archive at Nabble.com.
>>> ___
>>> Qgis-user mailing list
>>> Qgis-user@lists.osgeo.org
>>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>>
>>
>>
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Wrong result with Saga Raster calculator

2017-05-31 Thread Pedro Venâncio
Hi Eugenio,

I've created a sample processing model (attached), that works ok, except a
small error in the result (decimals).

For instance:

*Raster* *ID* *Pixel value*
Z_top_res a 1202,03510276
t_top_res b 53,6123428345
topo c1 -182,584899902
SAGA Result 1 c 15,1783676147
SAGA Result 2 d 31,9437332153 *Diff*
Expected Result 1
15,1783679504 0,00335741
Expected Result 2
31,974087 0,0303540069
*Formula*
1 ifelse(c1>0,-(0.0065*c1-16),(0.0045*c1+16))
2 ifelse(a<500,0,((b-c)/a)*1000)
Using SAGA GUI there is no error.

Could this be because of some roundings in the input / output? (I'm sending
for the developer's list also).

Thanks!

Best regards,
Pedro Venâncio



2017-05-31 10:56 GMT+01:00 Eugenio Trumpy :

>
> Hi Pedro,
>
> thank you very much to have tested the computation with my test data!
> You are right, I checked again the computation and actually it works.
>
> However, I was using Saga raster calculation in a processing modeler, and
> one of the layer I share with you
> is the resulting from a previous computation.
>
> In other word the raster layer c=temp_recal.tif comes from a previous
> computation (raster calculator):
> ifelse(a>0,-(0.0065*a-16),(0.0045*a+16))
> where a is the layer attached, and hence c of the previous  formula is the
> resulting of this first computation.
>
> E.
>
> --
> *Da:* Pedro Venâncio 
> *Inviato:* mercoledì 31 maggio 2017 11:37
> *A:* frippe12573; qgis-user
> *Oggetto:* Re: [Qgis-user] Wrong result with Saga Raster calculator
>
> Hi Eugenio,
>
> The result with SAGA Raster Calculator seems ok here, on QGIS 2.18.9, SAGA
> 2.3.2, both from OSGeo4W64 (result attached).
>
> Z_top_res.tif have values from 724.403 to 1423.553, and so, the first
> condition is never true. Then, it always make ((b-c)/a)*1000, and the
> result seems ok to me.
>
>
> Pedro
>
>
>
> 2017-05-31 10:19 GMT+01:00 frippe12573 :
>
>> Hi Paolo,
>>
>> the raster have the same size and origin.
>> The pixels are precisely overlapped.
>>
>> I tried also r.mapcalc, but I got a worst result.
>> Here the output of the log:
>> https://pastebin.com/jNyyzHgf
>>
>> E.
>>
>>
>>
>> --
>> View this message in context: http://osgeo-org.1560.x6.nabbl
>> e.com/Wrong-result-with-Saga-Raster-calculator-tp5322429p5322442.html
>> Sent from the QGIS - User mailing list archive at Nabble.com.
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>
>


teste_saga_ifelse.model
Description: Binary data
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Wrong result with Saga Raster calculator

2017-05-31 Thread Pedro Venâncio
Hi Eugenio,

The result with SAGA Raster Calculator seems ok here, on QGIS 2.18.9, SAGA
2.3.2, both from OSGeo4W64 (result attached).

Z_top_res.tif have values from 724.403 to 1423.553, and so, the first
condition is never true. Then, it always make ((b-c)/a)*1000, and the
result seems ok to me.


Pedro



2017-05-31 10:19 GMT+01:00 frippe12573 :

> Hi Paolo,
>
> the raster have the same size and origin.
> The pixels are precisely overlapped.
>
> I tried also r.mapcalc, but I got a worst result.
> Here the output of the log:
> https://pastebin.com/jNyyzHgf
>
> E.
>
>
>
> --
> View this message in context: http://osgeo-org.1560.x6.
> nabble.com/Wrong-result-with-Saga-Raster-calculator-tp5322429p5322442.html
> Sent from the QGIS - User mailing list archive at Nabble.com.
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>

  

  
29.95432654062907
48.85810670216878
225
0
0
1|1|0|1|1|1|2|0|0|3|0|2|1|1|1|1|4|2|3|3|1|6|5|7|4|5|7|9|3|2|2|4|1|3|7|3|5|2|2|3|3|4|2|2|3|2|1|2|5|1|3|2|0|3|4|2|6|0|2|0|0|3|2|2|0|1|3|3|2|4|4|0|2|1|5|1|2|2|3|1|1|1|0|1|0|0|1|0|1|0|0|1|0|0|1|2|0|1|0|0|1|0|1|0|0|0|0|1|0|0|1|0|0|0|1|0|0|1|0|0|0|0|2|0|0|0|1|0|0|0|0|0|0|0|1|0|0|0|0|0|0|1|0|0|1|0|0|0|0|0|0|0|0|0|0|1|0|1|0|0|0|0|0|0|0|0|0|0|1|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|1|0|0|1|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|0|1
  


  48.816284179688
  34.189738354153
  29.99614906311
  2.9834617207553

  

___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Wrong result with Saga Raster calculator

2017-05-31 Thread Pedro Venâncio
Hi Eugenio,

What SAGA version are you using?

Can you share some sample data?

Best regards,
Pedro



2017-05-31 9:27 GMT+01:00 frippe12573 :

> Hi all,
>
> I'm in trouble with Saga Raster Calculator in QGIS 2.18.9 3a16a4e installed
> via deb package on ubuntu 17.04.
> I set this operation on three raster layers:
>
> ifelse(a<500,0,((b-c)/a)*1000)
>
> I got the resulting map, but checking the computation the pixels have no
> correct values.
>
> I tested the same operation in a proprietary software, and with
> astonishment, I see that the computation
> works fine. I cannot believe that! So I think I'm wrong somewhere in the
> raster calculator module.
>
> Can you help me?
>
> Eugenio
>
>
>
> --
> View this message in context: http://osgeo-org.1560.x6.
> nabble.com/Wrong-result-with-Saga-Raster-calculator-tp5322429.html
> Sent from the QGIS - User mailing list archive at Nabble.com.
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Runtime errore R6025 - pure virtual function call on Windows

2017-03-28 Thread Pedro Venâncio
Hi,

I'm getting this runtime error since the update to QGIS 2.18.5 (OSGeo4W
64bits), every time I close QGIS.

Did you solve the problem Giovanni?

Best regards,
Pedro



2017-02-14 22:09 GMT+00:00 G. Allegri :

> Hi all,
> the above Runtime error happens frequently on various Windows machines,
> starting at least from QGIS 2.14.11.
> On my test machine I have Windows 10 64 bit. The error appears when QGIS
> is going to be closed.
> Some other users reported a similar error while loading plugins.
>
> I don't know if it's related to an unusal busy use of CPU. It didn't
> happen with previous versions. Since I upgraded to QGIS 2.14.11 on this PC
> I face a lot of CPU usage (with the fan working very hard to wamr the pc!).
>
> Is it something already mentioned? Is anybody experiencing the same
> problem?
>
> All the best,
> Giovanni
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] DWG import

2017-01-01 Thread Pedro Venâncio
Hi,

With this Randal's question, I've found something that can be a bug. When I
import the DWG, I can edit the layers created in the geopackage. Then, if I
save the group as Layer Definition File (to preserve the style and
symbology), close QGIS, and then add the QLR with Layer -> Add from Layer
Definition File..., the edit mode (Toggle Editing button) is disabled.

Anyone confirm?

I've tested the same process (save and open as Layer Definition File) with
other layers, and the edit mode works ok.

Thanks.

Best regards,
Pedro Venâncio



2017-01-01 15:06 GMT+00:00 Randal Hale :

> and there they are. Wow. Good deal - not to play around with this some
> more.
>
> Thanks so much for the help.
>
> Randy
>
>
> On 01/01/2017 06:28 AM, Nyall Dawson wrote:
>
>> On 1 January 2017 at 20:25, Jürgen E. Fischer  wrote:
>>
>>> Hi Randal,
>>>
>>> On Sat, 31. Dec 2016 at 09:24:54 -0500, Randal Hale wrote:
>>>
>>>> I've been testing the DWG Import - one question. I imported a 3D DWG
>>>> file and all the data data is imported (yay) but there isn't a
>>>> elevation attached anywhere.
>>>>
>>> It should be in the geometry - >2D isn't used widely in QGIS yet - so
>>> that
>>> isn't visible everywhere.  Did you check the nodetool?
>>>
>> Another option is the identify tool - this will also show z values if
>> they are present and you click near a node.
>>
>> Nyall
>>
>>
>>> Jürgen
>>>
>>> --
>>> 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-user mailing list
>>> Qgis-user@lists.osgeo.org
>>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
>>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>>>
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>
> --
> -
> Randal Hale
> North River Geographic Systems, Inc
> http://www.northrivergeographic.com
> 423.653.3611 rjh...@northrivergeographic.com
> twitter:rjhale
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Connecting QGIS to an Android GPS

2016-12-26 Thread Pedro Venâncio
Hi Paolo,

I've no problem to connect an Android phone (Nexus 4) to a Linux Mint /
Ubuntu laptop, both with ShareGPS [0] or GPS over BT [1] apps.

For instance, for ShareGPS, Add a new connection, Type standard NMEA
format, connection over bluetooth, auto find and connect to the laptop
bluetooth. Then click on 'bluetooth icon' on ShareGPS, to make the
smartphone visible to others by 180 seconds, and on laptop (where I've gpsd
deamon running), the steps are exactly the ones pointed by Richard:

$ hcitool scan
(here you will get the MAC address - xx:xx:xx:xx:xx:xx)


$ sdptool records xx:xx:xx:xx:xx:xx

In your case the answer is:

Service Name: ShareGPS
Service RecHandle: 0x10011
Service Class ID List:
  "Serial Port" (0x1101)
Protocol Descriptor List:
  "L2CAP" (0x0100)
  "RFCOMM" (0x0003)
Channel: 2

So, you do:

$ sudo rfcomm bind 0 xx:xx:xx:xx:xx:xx 2

and you will get the /dev/rfcomm0.

Then run QGIS with root, and connect GPS to /dev/rfcomm0.

It is working fine here.

Best regards,
Pedro Venâncio


[0] https://play.google.com/store/apps/details?id=com.jillybunch.shareGPS
[1] https://play.google.com/store/apps/details?id=com.Saenko.GpsOverBt



2016-12-26 8:06 GMT+00:00 Paolo Cavallini :

> Il 25/12/2016 11:06, Richard Duivenvoorde ha scritto:
>
> > I did fiddle around a little with a bluetooth dongle some time ago:
> >
> > http://zuidt.nl/blog/html/2014/06/12/use_your_gps_dongle_with_qgis.html
> >
> > not sure if it is of use though.
>
> Thanks Richard. I do not have particular problems with GPS loggers; what
> I'm finding difficult is connecting to an Android phone.
> Thanks anybody for hints.
> All the best.
>
> --
> Paolo Cavallini - www.faunalia.eu
> QGIS & PostGIS courses: http://www.faunalia.eu/training.html
> https://www.google.com/trends/explore?date=all&geo=IT&q=qgis,arcgis
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Fwd: different buffer distance for each side

2016-12-19 Thread Pedro Venâncio
Hi Azzurra,

Are you sure that you aren't using Offset Curve (ST_OffsetCurve) operation,
instead of Singe Side Buffer (ST_SingleSidedBuffer) operation?

By the way, Offset Curve operation is broken in QGIS 2.18.x. If you want,
you can overwrite
../python/plugins/processing/algs/gdal/ogr2ogronesidebuffer.py file by the
one attached to this email.

This problem was already fixed in master by Alexander Bruy, using a
different approach than mine, spliting the operations. I think this change
should be backported Alexander, what you think? Or should I make a pull
request to QGIS 2.18.x with this change on ogr2ogronesidebuffer?

Best regards,
Pedro Venâncio




2016-12-19 21:44 GMT+00:00 Azzurra Lentini :

> Thanks Nyall.
>
> I dont know why but  GDAL SINGLE SIDED BUFFER it doesnt work really well.
> The result of this buffer is a line and not a polygone (the line is the
> same of the input file!!)
>
> I just put my input file and 150 m for the distance buffer for the left
> side.
> Thanks,
> ​A.L.​
>
>
> 2016-12-19 20:19 GMT+01:00 Nyall Dawson :
>
>>
>>
>> On 20 Dec 2016 05:06, "Azzurra Lentini"  wrote:
>>
>> Dear all I have a layer shapefile lines with around 30 lines.
>>
>> I need a buffer of one of these  lines with 2 different values of buffer
>> distance: 150 m on the left and 30 m on the right.
>>
>> Which kind of buffer option can I use??
>>
>> I know only single sided buffers but with this option I need to  repeat
>> the buffer for every side.
>>
>>
>> Buffer the left and right sides separately using single sided buffer,
>> then merge the resulting output and dissolve them based on a unique
>> identifier.
>>
>> Nyall
>>
>>
>>
>>
>> Thanks to all, A.L:
>>
>> --
>> Dr. Hydrogeologist
>> AZZURRA LENTINI
>> Expert of evaluation environmental hazards
>> GIS application
>> Haity Mobile Tel: 0050946057393 <+509%2046%2005%207393>
>> ++
>> Italy Mobile Tel.: **(39) 338 24 40 676
>> ++
>> SKYPE azzurrahydro
>> ++
>> azzurralent...@gmail.com
>> ++
>> *Par respect pour l'environnement,*
>>
>> *n'imprimez ce mail qu'en cas d'absolue nécessité*
>>
>>
>>
>>
>>
>>
>>
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>>
>>
>
>
> --
> Dr. Hydrogeologist
> AZZURRA LENTINI
> Expert of evaluation environmental hazards
> GIS application
> Haity Mobile Tel: 0050946057393 <+509%2046%2005%207393>
> ++
> Italy Mobile Tel.: **(39) 338 24 40 676
> ++
> SKYPE azzurrahydro
> ++
> azzurralent...@gmail.com
> ++
> *Par respect pour l'environnement,*
>
> *n'imprimez ce mail qu'en cas d'absolue nécessité*
>
>
>
>
>
>
>
>
>
> --
> Dr. Hydrogeologist
> AZZURRA LENTINI
> Expert of evaluation environmental hazards
> GIS application
> Haity Mobile Tel: 0050946057393 <+509%2046%2005%207393>
> ++
> Italy Mobile Tel.: **(39) 338 24 40 676
> ++
> SKYPE azzurrahydro
> ++
> azzurralent...@gmail.com
> ++
> *Par respect pour l'environnement,*
>
> *n'imprimez ce mail qu'en cas d'absolue nécessité*
>
>
>
>
>
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
# -*- coding: utf-8 -*-

"""
***
ogr2ogronesidebuffer.py
-
Date : Janaury 2015
Copyright: (C) 2015 by Giovanni Manghi
Email: giovanni dot manghi at naturalgis dot pt
***
* *
*   This program is free software; you can redistribute it and/or modify  *
*   it under the terms of the GNU General Public License as published by  *
*   the Free Software Foundation; either version 2 of the License, or *
* 

Re: [Qgis-user] Struggling with datum transformations and grid shift files

2016-10-04 Thread Pedro Venâncio
Hi Andreas,

Some time ago, I wrote a text (in the QGIS portuguese user group blog)
about the use of coordinate transformations and NTv2 grids in QGIS. It's in
portuguese, but maybe google translator can help you get the idea. I hope
it helps.

https://translate.google.pt/translate?sl=pt&tl=en&js=y&prev=_t&hl=pt-PT&ie=UTF-8&u=http%3A%2F%2Fwww.qgis.pt%2Fblog%2F2014%2F07%2F13%2Ftransformacao-de-coordenadas-e-utilizacao-das-grelhas-ntv2-no-qgis%2F&edit-text=&act=url

Best regards,
Pedro Venâncio



2016-10-04 11:58 GMT+01:00 Neumann, Andreas :

> Hi,
>
> I am struggling in QGIS 2x with datum transformations.
>
> The manual is not explicit how to handle this correctly.
>
> Here are the steps I tried:
>
> 1. As far as I understand, I have to copy the gsb file to the directory
> where proj stores the gsb files, in my case "C:\Program
> Files\OSGeo4W64\share\proj". Alternatively, one could set another folder
> and adjust the PROJ_LIB env variable accordingly.
>
> 2. In "Settings" --> "Options" --> "CRS" I can define default datum
> transformations. I tried to enter 21781 (Source CRS), 2056 (Destination
> CRS), +nadgrids=CHENYX06a.gsb (Source datum transfomation). Destionation
> datum has been left empty.
>
> 3. I would expect that whenever this combination 21781 --> 2056 shows up
> that QGIS would ask me to pick one the defaults specified in 2.
>
> The problem is that 2. does not work. When I close the dialogue and reopen
> it, my modifications are gone ... and I never have the chance to select my
> datum transformation option.
>
> Can you help me what I am doing things wrong?
>
> Thank you,
>
> Andreas
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] installing photo2shape plugin

2016-06-02 Thread Pedro Venâncio
Hi Andrew,

I did a photo2shape installation guide in the QGIS portuguese user group
blog. It is in Portuguese, but maybe the translator can help:

http://qgis.pt/blog/2015/10/02/importar-fotografias-georreferenciadas-para-o-qgis/

https://translate.google.pt/translate?sl=pt&tl=en&js=y&prev=_t&hl=pt-PT&ie=UTF-8&u=http%3A%2F%2Fqgis.pt%2Fblog%2F2015%2F10%2F02%2Fimportar-fotografias-georreferenciadas-para-o-qgis%2F&edit-text=&act=url

Best regards,
Pedro Venâncio



2016-06-01 23:12 GMT+01:00 Andrew Mathews :

>
> Dear All,
> I apologize if this is a very stupid question- I am familiar with GIS, but
> not at all with Python, which seems to be the problem.
>
> When I installed the latest version of QGIS (due to a flash drive crash),
> Photo2Shape, which used to work perfectly, no longer works.
> Instead, I get an error message “The Plugin is broken. Python said: No
> module named exifread”.
>
> I have been through the documentation for the module, and although there
> are quite detailed instructions, I really can’t figure out how to install
> exifread.
> Does anyone have a suggestion or experience with this?
>
> Many thanks for your help and patience,
>
> Andrew Mathews
>
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
> Andrew S. Mathews
> Associate Professor
> Department of Anthropology
> Room 325, Social Sciences Building 1
> University of California
> Santa Cruz, CA 95064
> Tel: 831-459-2080
> Fax: 831-459-5900
> Office Hours: Spring ’15 Fridays 1:00-4:00 p.m.
>
> https://amathews.sites.ucsc.edu
>
> Book Published November 18, 2011 "Instituting Nature: Authority,
> Expertise, and Power in Mexican Forests", MIT Press, 2011.
>
> http://www.amazon.com/Instituting-Nature-Authority-Expertise-Environment/dp/0262516446
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] New Grass 7 in Processing

2016-03-13 Thread Pedro Venâncio
I wrote a small introduction to v.net.* on portuguese QGIS user group blog:

https://translate.google.pt/translate?hl=pt-PT?sl=pt&tl=en&u=http%3A//qgis.pt/blog/2016/02/21/analise-de-redes-com-o-qgis/

Best regards,
Pedro
Em 13/03/2016 09:44, "Pedro Venâncio"  escreveu:

> Hi Lene,
>
> Just uninstall Processing 2.12.2 from Plugins Manager. You will get
> Processing 2.12.99, that is shiped with QGIS 2.14. And there are the
> v.net.* modules.
>
> But note that if you have created modules or scripts, they can become
> broken.
>
> Best regards,
>
> Pedro
> Em 13/03/2016 09:26, "Lene Fischer"  escreveu:
>
>> Hi,
>>
>> I want to use the new GRASS 7 (V.net)  functions in Processing. But I
>> can´t find them. I can find the functions in a folder called ‘ext’.
>>
>> Then I have tried to change the options in providers folder – but still –
>> no new functions. Any suggestions to solve this problem.
>>
>>
>>
>> Regards
>>
>> Lene Fischer
>>
>> ___
>> Qgis-user mailing list
>> Qgis-user@lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] New Grass 7 in Processing

2016-03-13 Thread Pedro Venâncio
Hi Lene,

Just uninstall Processing 2.12.2 from Plugins Manager. You will get
Processing 2.12.99, that is shiped with QGIS 2.14. And there are the
v.net.* modules.

But note that if you have created modules or scripts, they can become
broken.

Best regards,

Pedro
Em 13/03/2016 09:26, "Lene Fischer"  escreveu:

> Hi,
>
> I want to use the new GRASS 7 (V.net)  functions in Processing. But I
> can´t find them. I can find the functions in a folder called ‘ext’.
>
> Then I have tried to change the options in providers folder – but still –
> no new functions. Any suggestions to solve this problem.
>
>
>
> Regards
>
> Lene Fischer
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] ntv2_transformations - QGIS 2.14

2016-03-11 Thread Pedro Venâncio
ntv2_transformations plugin is now only available to work with Processing
2.12.99.

changelog:
0.12 - Plugin update to work on QGIS >= 2.14. The plugin nows also work
only with Processing shipped with QGIS >= 2.14

Just uninstall Processing 2.12.2 from Plugins Manager. You will get
Processing 2.12.99, that is shiped with QGIS 2.14.

But note that if you have created modules or scripts, they can become
broken.

Best regards,
Pedro



2016-03-11 15:04 GMT+00:00 ilgovi :

> Impossibile caricare il plugin 'ntv2_transformations'
>
> ImportError: cannot import name ogrConnectionString
>
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 281, in 
> loadPlugin
> __import__(packageName)
>   File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 572, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
>   File "/home/druido/.qgis2/python/plugins/ntv2_transformations/__init__.py", 
> line 28, in
> from ntv2_transformations.DETransformProviderPlugin import \
>   File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 572, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
>   File 
> "/home/druido/.qgis2/python/plugins/ntv2_transformations/DETransformProviderPlugin.py",
>  line 35, in
> from ntv2_transformations.DETransformProvider import DETransformProvider
>   File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 572, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
>   File 
> "/home/druido/.qgis2/python/plugins/ntv2_transformations/DETransformProvider.py",
>  line 36, in
> from ntv2_transformations.VectorDE_GK3ETRS8932NDirInv import 
> VectorDE_GK3ETRS8932NDirInv
>   File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 572, in _import
> mod = _builtin_import(name, globals, locals, fromlist, level)
>   File 
> "/home/druido/.qgis2/python/plugins/ntv2_transformations/VectorDE_GK3ETRS8932NDirInv.py",
>  line 50, in
> from processing.tools.vector import ogrConnectionString, ogrLayerName
> ImportError: cannot import name ogrConnectionString
>
> Versione Python: 2.7.6 (default, Jun 22 2015, 18:01:27) [GCC 4.8.2] Versione
> di QGIS: 2.14.0-Essen Essen, exported
>
> Path di Python:
>
>- /home/druido/.qgis2/python/plugins/processing
>- /usr/share/qgis/python
>- /home/druido/.qgis2/python
>- /home/druido/.qgis2/python/plugins
>- /usr/share/qgis/python/plugins
>- /usr/lib/python2.7
>- /usr/lib/python2.7/plat-x86_64-linux-gnu
>- /usr/lib/python2.7/lib-tk
>- /usr/lib/python2.7/lib-old
>- /usr/lib/python2.7/lib-dynload
>- /usr/local/lib/python2.7/dist-packages
>- /usr/lib/python2.7/dist-packages
>- /usr/lib/python2.7/dist-packages/PILcompat
>- /usr/lib/python2.7/dist-packages/gtk-2.0
>- /usr/lib/pymodules/python2.7
>- /usr/lib/python2.7/dist-packages/ubuntu-sso-client
>- /usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode
>- /home/druido/.qgis2//python
>- /home/druido/.qgis2/python/plugins/gearthview/ext-libs
>- /home/druido/.qgis2/python/plugins/DigitizingTools/tools
>- /usr/share/qgis/python/plugins/fTools/tools
>
> --
> Dott. For. Giorgio Govi
> 3470977917
>
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Photo2Shape plugin

2015-12-08 Thread Pedro Venâncio
Hi Nuno,

I've created a post (in portuguese) in QGIS Portuguese User Group blog,
with the steps for installation of photo2shape on Linux and Windows. Maybe
this can help.

http://qgis.pt/blog/2015/10/02/importar-fotografias-georreferenciadas-para-o-qgis/


Best regards,
Pedro Venâncio



2015-12-08 21:38 GMT+00:00 Nuno de Santos Loureiro :

> Hello all,
>
> I am trying to install the plugin Photo2Shape on QGIS 2.12.1-Lyon running
> on a Mac with OS X Yosemite 10.10.5.
>
> However I can't load the plugin and I receive the following message:
>
> The plugin is broken. Python said:
> No module named exifread
>
> Can somebody send me some tips to fix the problem?
>
>
> Many thanks in advance,
>
> Nuno
>
>
> -x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-
> Nuno de Santos Loureiro (PhD)
> Faculdade de Ciências e Tecnologia - DCTMA - Ed. 8
> Universidade do Algarve
> Campus de Gambelas
> 8005-139 FARO   (Portugal)
> -x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-x-
>
>
> 
> This message was sent using IMP, the Internet Messaging Program.
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] [GRASS-user] GRASS Plugin ready

2015-11-01 Thread Pedro Venâncio
Hi Radim,

Excelent job!

Thank you very much! Great result!


Best regards,
Pedro




2015-11-01 21:09 GMT+00:00 Radim Blazek :

> Hi all,
>
> I would like to formally conclude the upgrade of the GRASS Plugin in
> QGIS. Everything specified in the crowdfunding campaign is implemented
> in recently released QGIS 2.12. The source code supports both GRASS 6
> and 7. Version(s) supported in binary distributions may vary and
> depend on packagers' decision.
>
> screenshots:
> http://www.gissula.eu/qgis-grass-plugin-crowdfunding/screenshots.html
> videos: http://www.gissula.eu/qgis-grass-plugin-crowdfunding/videos.html
> summary:
> http://www.gissula.eu/qgis-grass-plugin-crowdfunding/progress.html
> documentation:
> http://docs.qgis.org/testing/en/docs/user_manual/grass_integration/grass_integration.html
>
> Thanks to Pedro Venâncio, Stefan Blumentrath and Andrew McAninch who
> helped with upgrade of modules' configuration. Especially Pedro also
> did great work doing extensive testing. Thanks to Jürgen Fischer for
> patient fixing of Windows builds, Paolo Cavallini for documentation
> review and to everybody who contributed to the campaign.
>
> If you find a problem, please create a new issue:
> https://hub.qgis.org/issues/, set Category to GRASS and assign it to
> me (Radim Blazek). Unfortunately I have found  already two issues:
> https://hub.qgis.org/issues/13725,  https://hub.qgis.org/issues/13726,
> both are fixed in master and backported to 2.12 (will be in 2.12.1 if
> it'll ever be released).
>
> Radim
> ___
> grass-user mailing list
> grass-u...@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-user
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] QGIS 2.12 packaging for Ubuntu 14.04?

2015-11-01 Thread Pedro Venâncio
Hi Jurgen,


2015-11-01 16:48 GMT+00:00 Jürgen E. :

> Hi Giovanni,
>
> On Fri, 30. Oct 2015 at 11:49:34 +0100, G. Allegri wrote:
> > AFAICS the ubuntugis dist doesn't contain QGIS 2.12 for Ubuntu Trusty.
> > Is the packaging going to be created or will it be available for Precise
> > only?
>
> Check again please.
>
>
>

Tested the 32 bits version. All ok now!

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

[Qgis-user] Fwd: Edit vertex using DMS coordinates Plugin?

2015-09-09 Thread Pedro Venâncio
Hi Alexandre,


Anyone know if it's possible or if there is a plugin that allow one to
> introduce
>

Have you tried NumericalDigitize plugin?




> and modify vertex using introducing Degree, Minutes and Seconds (or any
> other variation) values.
>
>
For editing, we have in QGIS master the new Node editor widget [0], which
has the Vertex editor list (i).

I don't know if you can work with Degrees, Minutes and Seconds in any of
them, but with decimal degrees they work well.


Best regards,
Pedro Venâncio

[0] https://github.com/qgis/QGIS/pull/2217
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] FYI, recently gave talk regarding QuantumGIS

2015-04-20 Thread Pedro Venâncio
Great Mark, thanks for sharing! Very interesting stuff!


Best regards,

Pedro




2015-04-20 23:01 GMT+01:00 Mark Coletti :

> Last week I gave a talk at the UCAR Software Engineering Assembly in
> Boulder, Colorado, USA regarding writing a qgis plugin to read tweets.  The
> slides and video of the talk are here
> .
> I apologize for the out of sync audio, and that I wandered from the podium
> during the closing Q&A portion.  I didn't know that the talk was being
> recorded, so didn't know to either grab a microphone to answer questions,
> or to use the podium mic.  (Oops.)
>
> I had a number of folks approach me afterwards saying that they were
> interested in learning more about qgis -- a few even downloaded the latest
> version to play with during the rest of the conference.  Progress!
>
> Cheers!
>
> Mark
> --
> mcole...@gmail.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] [Qgis-developer] QGIS and GRASS 7.0.0

2015-03-08 Thread Pedro Venâncio
Hi Radim,


The new GRASS vector editing tool preview screencast:
> https://www.youtube.com/watch?v=PPno1aLYHFE
>
>
It looks really really great!


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

Re: [Qgis-user] Tutorial for new Enable Advandec digitizing in 2.8

2015-03-03 Thread Pedro Venâncio
Hi Lene,

There is also this quick tip from Klas Karlsson:

https://www.youtube.com/watch?v=QsjmLa16obs


Best regards,
Pedro


2015-03-03 18:14 GMT+00:00 Alexander Bruy :

> Hi Lene,
>
> AFAIK there is no tutorial for this functionality. But as it is based on
> CADinput plugin you can look at the plugin demo https://vimeo.com/85052231
> to get some hints. Also some information available in README
> in the plugin GitHub repo https://github.com/olivierdalang/CadInput
>
> Hope this helps
>
>
>
> 2015-03-03 20:08 GMT+02:00 Lene Fischer :
> > Hi
> > I´m got a gift in the new Enable Advanced Digitizing tool :-)
> >
> > Does anyone know if there is a tutorial online - or can someone give me
> a quick guided tour - so I can make a tutorial.
> >
> > Regards
> >
> >
> > Lene Fischer
> > Associate Professor
> >
> > Department of Geosciences and Natural Resource Management
> > University of Copenhagen
> >
> >
> > MOB +45 40115084
> > l...@ign.ku.dk
> >
> >
> >
> >
> >
> >
> >
> > ___
> > Qgis-user mailing list
> > Qgis-user@lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
>
> --
> Alexander Bruy
> ___
> 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] raster calculator - no file produced

2015-02-26 Thread Pedro Venâncio
This is already fixed (tested on master) and backported to 2.8.

https://github.com/qgis/QGIS/commit/0ccc07af0eacd56986fbf01418aa6d3a701e231e

Thanks Jurgen!

Pedro



2015-02-23 16:47 GMT+00:00 Pedro Venâncio :

> Same test on Windows produces a raster file with all pixel values zero,
> like Anita.
>
>
> - Metadata:
>
> Driver
> GDAL provider
> GTiff
> GeoTIFF
> Dataset Description
> D:\Testes\mdt.tif
> AREA_OR_POINT=Area
> Band 1
> STATISTICS_MAXIMUM=0
> STATISTICS_MEAN=0
> STATISTICS_MINIMUM=0
> STATISTICS_STDDEV=0
> Dimensions
> X: 2896 Y: 1870 Bands: 1
> Origin
> 50410.2,147300
> Pixel Size
> 24.9975,-24.9975
> No Data Value
> *NoDataValue not set*
> Data Type
> Float32 - Thirty two bit floating point
> Pyramid overviews
> Layer Spatial Reference System
> +proj=tmerc +lat_0=39.668258 +lon_0=-8.1331084 +k=1 +x_0=0
> +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs
> Layer Extent (layer original source projection)
> 50410.245009987287,100555.123890025751 :
> 122802.919680063377,147300.393790018999
> Band
> Band 1
> Band No
> 1
> No Stats
> No stats collected yet
>
>
> - gdalinfo:
>
> Algorithm Information starting...
> GDAL command:
> gdalinfo D:\Testes\mdt.tif
> GDAL command output:
> Driver: GTiff/GeoTIFF
> Files: D:\Testes\mdt.tif
> Size is 2896, 1870
> Coordinate System is:
> PROJCS["ETRS89 / Portugal TM06",
> GEOGCS["ETRS89",
> DATUM["European_Terrestrial_Reference_System_1989",
> SPHEROID["GRS 1980",6378137,298.2572221010002,
> AUTHORITY["EPSG","7019"]],
> TOWGS84[0,0,0,0,0,0,0],
> AUTHORITY["EPSG","6258"]],
> PRIMEM["Greenwich",0],
> UNIT["degree",0.0174532925199433],
> AUTHORITY["EPSG","4258"]],
> PROJECTION["Transverse_Mercator"],
> PARAMETER["latitude_of_origin",39.668258],
> PARAMETER["central_meridian",-8.1331084],
> PARAMETER["scale_factor",1],
> PARAMETER["false_easting",0],
> PARAMETER["false_northing",0],
> UNIT["metre",1,
> AUTHORITY["EPSG","9001"]],
> AUTHORITY["EPSG","3763"]]
> Origin = (50410.24500999000,147300.3937900)
> Pixel Size = (24.997470535220998,-24.997470534759358)
> Metadata:
> AREA_OR_POINT=Area
> Image Structure Metadata:
> INTERLEAVE=BAND
> Corner Coordinates:
> Upper Left ( 50410.245, 147300.394) ( 7d32' 2.45"W, 40d59'35.67"N)
> Lower Left ( 50410.245, 100555.124) ( 7d32'16.02"W, 40d34'20.37"N)
> Upper Right ( 122802.920, 147300.394) ( 6d40'25.89"W, 40d59' 8.02"N)
> Lower Right ( 122802.920, 100555.124) ( 6d40'58.94"W, 40d33'53.13"N)
> Center ( 86606.582, 123927.759) ( 7d 6'25.74"W, 40d46'47.18"N)
> Band 1 Block=2896x1 Type=Float32, ColorInterp=Gray
>
>
>
> Pedro
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] raster calculator - no file produced

2015-02-22 Thread Pedro Venâncio
I also get this error message

Warning: QFileInfo :: AbsolutePath: Constructed with empty filename

when I double click in the "Raster band" to add the raster to "Raster
calculator expression".

After that, I don't get any other error, but I also don't get any result.

Best regards,
Pedro




2015-02-22 21:31 GMT+00:00 Anita Graser :

>
>> On Sun, 22. Feb 2015 at 21:11:54 +0100, Claas Leiner wrote:
>> > I've just installed QGIS 2.8 and noticed that the raster calculator
>> > writes any files on Ubuntu 12.04. The formula you typed was valid.
>> > The following error message is displayed in the console:
>> > Warning: QFileInfo :: AbsolutePath: Constructed with empty filename
>> > Has anyone seen something similar?
>>
>
> ​I can confirm that there's some issue. On Windows, a file is created in
> the specified path but all raster values are zero when loaded. So it
> probably fails to write the raster calc results.
>
> Best wishes,
> Anita
> ​
>
>
>
> ___
> 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] raster calculator - no file produced

2015-02-22 Thread Pedro Venâncio
Hi Claas and Jurgen,

I just tested with a simple expression

"dem_srtm_pttm06_80m@1" * 2

and I can confirm that there is no result, both on 2.8 and 2.9 (master).

Same expression, on the same machine (Xubuntu 12.04 32bits), with QGIS 2.4
and 2.6, Raster calculator works as expected.



Pedro Venâncio






2015-02-22 20:38 GMT+00:00 Jürgen E. :

> Hi Claas,
>
> On Sun, 22. Feb 2015 at 21:11:54 +0100, Claas Leiner wrote:
> > I've just installed QGIS 2.8 and noticed that the raster calculator
> > writes any files on Ubuntu 12.04. The formula you typed was valid.
> > The following error message is displayed in the console:
> > Warning: QFileInfo :: AbsolutePath: Constructed with empty filename
> > Has anyone seen something similar?
>
> And that didn't happen when you tested 2.7?
>
>
> Jürgen
>
> --
> 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
>
> ___
> 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] [Qgis-developer] Transformation using NTv2 grids

2015-02-17 Thread Pedro Venâncio
Hi Bernd,

Here [0] we have an explanation of how the coordinate systems works in
general, and in particular in QGIS. You also find solutions to use the NTv2
grids with QGIS. Unfortunately, the text is in portuguese, but perhaps
Google Translate can help [1].

This is a way that each user must do individually. To make life easier for
portuguese users, as we also have a lot of information that needs to be
transformed to ETRS89, portuguese QGIS User Group developed the plugin that
Giovanni told you [2], which greatly simplifies things, because it is
integrated into Processing Toolbox and already provides the NTv2 grids.

As Giovanni said, if there is interest from other countries and if we can
freely redistribute the NTv2 grids, we can expand the plugin.


Best regards,
Pedro Venâncio


[0]
http://qgis.pt/blog/2014/07/13/transformacao-de-coordenadas-e-utilizacao-das-grelhas-ntv2-no-qgis/

[1]
https://translate.google.pt/translate?sl=pt&tl=en&js=y&prev=_t&hl=pt-PT&ie=UTF-8&u=http%3A%2F%2Fqgis.pt%2Fblog%2F2014%2F07%2F13%2Ftransformacao-de-coordenadas-e-utilizacao-das-grelhas-ntv2-no-qgis%2F&edit-text=&act=url

[2] http://www.qgis.pt/plugins/plugins.xml
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Lizmap - can't insert&update data in PostGis Views

2014-11-26 Thread Pedro Venâncio
I do not know Lizmap, but I refer to the PostgreSQL user that Lizmap are
using to access the database (not the Lizmap user). This user is the same
that you are using in QGIS to access the database? This is because
PostgreSQL user must have permissions to run the triggers.


Best regards,

Pedro Venâncio




2014-11-26 12:23 GMT+00:00 Pedro :

> Alexandre Neto wrote
> > On Wed, Nov 26, 2014 at 9:53 AM, Pedro Venâncio <
>
> > pedrongvenancio@
>
> > >
> > wrote:
> >
> >> Hi Pedro,
> >>
> >> The database user that you are using in QGIS is the same that you are
> >> using in Lizmap? Or has the same privileges?
> >>
> >
> > This must be the problem,
> *
> > the lizmap user must have trigger permission over
> > the tables.
> *
>
> I was searching for something like that at the user permissions in Lizmap
> and can't find it.
>
> Do you know what exact permissions should I enable/disable that ?
>
> thanks,
> Pedro
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/Lizmap-can-t-insert-update-data-in-PostGis-Views-tp5174737p5175030.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] Lizmap - can't insert&update data in PostGis Views

2014-11-26 Thread Pedro Venâncio
Hi Pedro,

The database user that you are using in QGIS is the same that you are using
in Lizmap? Or has the same privileges?


Best regards,
Pedro Venâncio



2014-11-26 9:49 GMT+00:00 Pedro :

> Thanks Alexandre and Sergio for yours insights.
>
> My postgis views were built in way that is possible to make updates,
> inserts
> and deletes (through triggers) at the original tables.
> Thats why I said that I make the same actions on the original project at
> QGIS and it works fine.
>
> The problem is that in Lizmap I can't make the same actions that I do at
> QGIS with the postgis views. (it's a big problem for my project)
>
>
> thanks,
> Pedro
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/Lizmap-can-t-insert-update-data-in-PostGis-Views-tp5174737p5174991.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] CAD Digitize

2014-11-07 Thread Pedro Venâncio
Hi Loïc and others,

I think this bug http://hub.qgis.org/issues/9293 is also present in CAD
Digitize.

Someone confirm?

It's happened to me twice after installing CAD Digitize.


Best regards,
Pedro Venâncio
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Plugin Rectangles, Ovals and Diamonds (not digitizing)

2014-11-05 Thread Pedro Venâncio
Filipe,

Please try the new CAD Digitize (Fork of Rectangles Ovals Digitizing):
http://plugins.qgis.org/plugins/CADDigitize/


Best regards,

Pedro Venâncio




2014-11-05 17:44 GMT+00:00 Filipe Dias :

> Thanks André. I've created a feature request and uploaded the .zip you
> provided.
>
> http://hub.qgis.org/issues/11575
>
> On Wed, Nov 5, 2014 at 4:11 PM, Andre Joost 
> wrote:
>
>> Am 05.11.2014 um 13:06 schrieb Filipe Dias:
>>
>>> Hi,
>>>
>>> The plugin Rectangles, Ovals and Diamonds was available in QGIS a few
>>> versions ago. I would like to create a feature request for a tool that
>>> implements this plugin's functionality but I can't find the repository.
>>>
>>>
>>> Does anyone have the email of the author and/or the url of the
>>> repository?
>>>
>>>
>> The plugin was in the old contributed repository http://pyqgis.org/repo/
>> contributed which is down now.
>>
>> I have made a copy way back in 2012, and it is still working with QGIS
>> 1.8 Lisboa. It will however not work with any QGIS 2.x version due to the
>> API changes. The author (same as rectangles ovals digitizing) seems to have
>> no interest to keep both running.
>>
>> You can download it temporarily from
>> <http://home.arcor.de/andre.joost/rectovaldiams.zip>
>> You have to expand it to your .qgis/python/plugins folder (not .qgis2!).
>>
>> If you open a ticket on hub.qgis.org, I could add the zip file there too.
>>
>> HTH,
>> André Joost
>>
>>
>>
>> ___
>> 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] The Publish to web plugin

2014-10-26 Thread Pedro Venâncio
Hi Mats,

Are you talking about one of these:

- Export to OpenLayers 3 (Victor Olaya)
https://plugins.qgis.org/plugins/ol3/
https://github.com/volaya/qgis-ol3

- qgis2leaf (Riccardo Klinger)
https://plugins.qgis.org/plugins/qgis2leaf/
https://github.com/Geolicious/qgis2leaf

Best regards,
Pedro Venâncio
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Coordinates in map corners

2014-09-13 Thread Pedro Venâncio
Excellent Alexandre!

Maybe these functions can be integrated into Expression dialog, given their 
relevance.

Can you make a proposal?


Best regards,
Pedro Venâncio




>
> DE: Alexandre Neto 
>Assunto: [Qgis-user] Coordinates in map corners
> 
>
>
>I have been trying to put coordinates at the map's corners that automatically 
>update if the map's extent changed. With some help, a came up with this:
>http://sigsemgrilhetas.wordpress.com/2014/09/09/coordenadas-dos-cantos-do-mapa-em-qgis-map-corner-coordinates-in-qgis/
>I hope it's useful for others.
>Alexandre Neto
>___
>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 set posgis default sequential value in a QGIS "editable" view?

2014-02-28 Thread Pedro Venâncio
Olá Alexandre!

If the gid field is serial, you can not just omit it in the Rule - Insert Into 
statement?

CREATE OR REPLACE RULE "_INSERT" AS ON INSERT TO "PGHP".infra_portoes DO INSTEAD
INSERT INTO "PGHP"."infraestruturas_pontos" ("classe","nome","geom")
VALUES ('portoes',NEW."nome",NEW."geom");

That way, Postgresql follows the sequence smoothly. 

Or I did not realize the problem right?


Best regards,
Pedro Venâncio

 




>
> DE: Alexandre Neto 
>Para: QGIS User  
>Enviadas: Sexta-feira, 28, Fevereiro 2014 16:03:37
>Assunto: [Qgis-user] How to set posgis default sequential value in a QGIS  
>"editable" view?
> 
>
>
>Hello all,
>
>
>I have posted this question in gis.stackexchage, does anyone have a solution 
>for it? 
>
>
>Thanks
>
>http://goo.gl/Bp6xZN
>
>
>Introduction
>In a QGIS project I have a VIEW, that I want to became editable (I'm trying to 
>replicate the versioning system used DB Manager with some tweeks). Therefore I 
>created a few rules to make is so (see below). I'm able to delete and update 
>the features without problems, but while inserting new features, I'm not being 
>able to use postgis default value (sequence) for gid (that in this case is not 
>a primary key) but has a NOT NULL constraint. So, if the user don't fill the 
>gid value, qgis is not be able to commit the changes, if it does... we neve 
>know where thing going to get wrong.
>The question
>Is there a way I can prepare my view or set qgis form to read the default 
>value?
>What I got
>-- The original tableCREATETABLE"PGHP".infraestruturas (gid serial,nome 
>character varying(40),classe character varying(40),geom 
>geometry(POINT,3763),"id_hist"serial 
>primarykey,"time_start"timestamp,"time_end"timestamp,"user_update"character 
>varying(40));-- Creating the viewCREATEORREPLACE VIEW"PGHP".infra_portoes 
>ASSELECT"gid","nome","geom"::Geometry(POINT,3763),"time_start","user_update"FROM"PGHP"."infraestruturas_pontos"WHERE"classe"='portoes'AND"time_end"ISNULL;--
> Make the view editableCREATEORREPLACE 
>RULE"_DELETE"ASONDELETETO"PGHP".infra_portoes DO INSTEAD 
>DELETEFROM"PGHP"."infraestruturas_pontos"WHEREgid =old.gid;CREATEORREPLACE 
>RULE"_INSERT"ASONINSERTTO"PGHP".infra_portoes DO INSTEAD 
>INSERTINTO"PGHP"."infraestruturas_pontos"("gid","classe","nome","geom")VALUES(NEW."gid",'portoes',NEW."nome",NEW."geom");CREATEORREPLACE
> RULE"_UPDATE"ASONUPDATETO"PGHP".infra_portoes DO INSTEAD
 
UPDATE"PGHP"."infraestruturas"SET"gid"=NEW."gid","classe"='portoes',"nome"=NEW."nome","geom"=NEW."geom"WHEREgid
 =NEW.gid;
>
>
>___
>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] QGis version 2.2.0

2014-02-22 Thread Pedro Venâncio
Olá Victor,

The binary files are on the way. Please read here:
http://osgeo-org.1560.x6.nabble.com/Announcing-the-release-of-QGIS-2-2-td5105238.html
 

In OSGeo4W installer are now available.


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


[Qgis-user] Set Drag and Drop Forms windows size on QGIS 2.0

2013-09-25 Thread Pedro Venâncio
Hi,

I know that in QGIS 2.0 it is possible to define the window size of custom 
forms in the designer, and QGIS will respect that. 

But is there any way to set the form size, in the case of drag and drop forms? 
Every time the form opens, returns to the default (width/height) window size.

Thanks!


Best regards,
Pedro

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


Re: [Qgis-user] SAGA GIS dependency problem

2013-09-24 Thread Pedro Venâncio
Hi Matteo,

The problem is that ubuntugis-unstable provides GDAL 1.10, which has changes in 
libgdal package. Until GDAL 1.9.x, this package was called libgdal1. Starting 
from GDAL 1.10.x, this package became libgdal1h. 

Most likely, SAGA 2.0.8 that is in ubuntugis-unstable was compiled with GDAL 
1.9.x, taking libgdal1 as dependency. And Johan PPA should be under the same 
conditions.

Thus, there are two alternatives. Or downgrading to GDAL 1.9.x (for example, 
with ubuntugis-stable PPA), or we have to wait for someone to compile SAGA with 
GDAL 1.10.x.


Pedro






- Original Message -
From: matteo

Il 24/09/2013 11:42, Pedro Venâncio ha scritto:
> You can use Johan's ppa:
>
> https://launchpad.net/~johanvdw/+archive/saga-gis
>
I'm afraid this repository doesn't solve the problem. The dependency 
problem (or conflict between gdal libraries) is still there.

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


Re: [Qgis-user] SAGA GIS dependency problem

2013-09-24 Thread Pedro Venâncio
You can use Johan's ppa:

https://launchpad.net/~johanvdw/+archive/saga-gis 



Best regards,
Pedro





- Original Message -
From: matteo 

Il 24/09/2013 07:15, SaekBinko ha scritto:
> Hey
> I can't install SagaGIS on Ubuntu 13.04 32bit. I'm using ppa
> ubuntugis-unstable and there is a problem with dependencies.
> saga : Wymaga: libgdal1 (>= 1.9.0) ale nie zostanie zainstalowany
>          Wymaga: liblas1 ale nie zostanie zainstalowany
>
> Do You have any ideas how to install Saga?
>
>
I have the same problem. I'm afraid that the only way to install saga is 
to compile it from source...
If anybody has an alternative solution it would be great.

Cheers

Matteo
___
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] SEXTANTE modules with a non-administrator user on windows

2013-08-20 Thread Pedro Venâncio
Hi,

I installed QGIS master in windows 7 with OSGeo4W, but I am having problems 
trying to run SEXTANTE GRASS and SAGA modules, when I use a user without 
administrative privileges.

If I "run as administrator", it works fine, but if I run with a normal user, 
all GRASS and SAGA modules gives this error:

Missing dependency.This algorithm cannot be run :-(
This algorithm requires GRASS to be run.Unfortunately, it seems that GRASS is 
not installed in your system, or it is not correctly configured to be used from 
QGIS
Click here to know more about how to install and configure GRASS to be used 
with SEXTANTE

Just doing "run as administrator" and using an admin user and everything works 
fine.

In SEXTANTE logs does not appear any more information.

Initially I did the installation with an administrator account, but I 
uninstalled everything (including deleted OSGeo and QGIS entries in the 
registry), reinstalled with a non-administrator user, but the same happens.

Does anyone have any idea about what may be happening? Apparently this only 
happens with SEXTANTE GRASS and SAGA tools.


Thanks!


Best regards,
Pedro Venâncio

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


Re: [Qgis-user] Qgis 2.0, Sextante and Saga GIS

2013-08-17 Thread Pedro Venâncio
Hi Filipe,

I asked Jerome Larouche (UbuntuGIS) to update the SAGA package in UbuntuGIS 
during his GSoC, and he already put this task in the schedule:

"Suggestions (Improvement for UbuntuGIS):

  * Make a new SAGA package."



Pedro



From: Filipe Dias 

Hi
Have the developers reached a decision on which SAGA GIS version should Linux 
(Ubuntu) users use in Sextante? 

SAGA 2.10 still causes problems in Sextante and SAGA 2.8 is not available in 
any repo for Ubuntu users
Regards
F.

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


Re: [Qgis-user] sextante & saga

2013-08-01 Thread Pedro Venâncio
I also agree, and continues to make me some confusion having different versions 
of SAGA in the SEXTANTE background.



Best regards,
Pedro





- Original Message -
From: matteo 

Hi Giovanni,

> Even if it worked we need anyway a better solution as most of the
> users need a simpler and more straightforward way to install the
> packages.

I totally agree with you!

Cheers

Matteo

___
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 & saga

2013-07-29 Thread Pedro Venâncio
Hi Victor,

So the decision to use saga 2.0.8 on Linux is already definite? Because in this 
ticket http://hub.qgis.org/issues/8301 it was placed the issue of 
interoperability of models and scripts between SO.



Best regards,
Pedro




- Original Message -
From: Victor Olaya 

Matteo,on linux, SEXTANTE uses 2.0.8, not 2.1. This has been discussed
here in the list, and in IRC, and it seems that it is a bit soon to
force users to change to 2.1, since it uses a development version of
wxWidgets

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


[Qgis-user] Keep the scale fixed on the print composer

2013-07-14 Thread Pedro Venâncio
Hi,

Is it possible to define and maintain fixed the map scale on the print 
composer? Typically, we add the map (composer map) and when we increases or 
decreases the size of the map, the scale is updated/changed. Is there a way to 
do the opposite, that is, set the scale and when increasing or decreasing the 
composer map, the scale remains fixed and only change the bbox visible?

Thanks!

Best regards,
Pedro

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


[Qgis-user] Topology checker red markers

2013-07-07 Thread Pedro Venâncio
Hi,

I have a problem with the topology checker that I had already reported in this 
ticket http://hub.qgis.org/issues/8095.

However, I continue with the following problem. If I click on some of the 
errors in the list, when I make "New project", the last error that was clicked, 
do not disappear. All other disappear as expected. 

The last clicked only disappears if I click 'Validate all' again.

Please see the screencast: http://goo.gl/9fIJV


Apparently this problem does not happen with everyone, and may even be a local 
problem. Can someone test to see if it is necessary to open a new ticket?


Thank you very much!


Best regards,

Pedro

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


Re: [Qgis-user] [Qgis-developer] Another compiling error at 48 percent

2013-06-05 Thread Pedro Venâncio
Hi Matthias,

Thank you for the tip, but this problem was simply lack of space in the virtual 
machine. My fault, sorry...


Hi Jürgen,

I was using the -d option because initially it was always rising errors with 
some libreoffice packages, and I did not remember to remove it at this time. 
The truth is that I was having some problems and conflicts with some 
dependencies: grass-dev, qgis-dev and python-central.

And sorry for the crossposting, I initially thought it was a general error, and 
sent to the devs list, but there was no answer, and tried in the users list. 
After all, it seems that it is a local problem, although it occurs on multiple 
machines. I leave here the record for those who are faced with the same 
problems.

Thank you and sorry for the noise.

Best regards,
Pedro

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


Re: [Qgis-user] Another compiling error at 48 percent

2013-06-04 Thread Pedro Venâncio
Hi Etienne,

You were right, I created a symlink to the file /usr/lib/libpython2.7.so

ln -sf /usr/lib/libpython2.7.so /usr/lib/i386-linux-gnu/libpython2.7.so

and it passed that stage.

But stopped again almost at the end:

(...)
-- Installing: 
/home/pedro/sextante_github/Quantum-GIS-master/debian/tmp/usr/share/qgis/doc/api/classQgsCptCityDataItem.html
-- Installing: 
/home/pedro/sextante_github/Quantum-GIS-master/debian/tmp/usr/share/qgis/doc/api/classQgsExpression_1_1NodeUnaryOperator.html
-- Installing: 
/home/pedro/sextante_github/Quantum-GIS-master/debian/tmp/usr/share/qgis/doc/api/qgsmanageconnectionsdialog_8h__incl.map
-- Installing: 
/home/pedro/sextante_github/Quantum-GIS-master/debian/tmp/usr/share/qgis/doc/api/classQgsErrorItem__coll__graph.md5
-- Installing: 
/home/pedro/sextante_github/Quantum-GIS-master/debian/tmp/usr/share/qgis/doc/api/qgsprovidermetadata_8h__dep__incl.png
-- Installing: 
/home/pedro/sextante_github/Quantum-GIS-master/debian/tmp/usr/share/qgis/doc/api/classQgsRendererV2Metadata__coll__graph.png
-- Installing: 
/home/pedro/sextante_github/Quantum-GIS-master/debian/tmp/usr/share/qgis/doc/api/qgsnumericscalebarstyle_8cpp__incl.png
-- Installing: 
/home/pedro/sextante_github/Quantum-GIS-master/debian/tmp/usr/share/qgis/doc/api/classQgsErrorItem__inherit__graph.map
-- Installing: 
/home/pedro/sextante_github/Quantum-GIS-master/debian/tmp/usr/share/qgis/doc/api/inherit_graph_176.md5
-- Installing: 
/home/pedro/sextante_github/Quantum-GIS-master/debian/tmp/usr/share/qgis/doc/api/inherit_graph_30.md5
-- Installing: 
/home/pedro/sextante_github/Quantum-GIS-master/debian/tmp/usr/share/qgis/doc/api/globals_func_0x64.html
-- Installing: 
/home/pedro/sextante_github/Quantum-GIS-master/debian/tmp/usr/share/qgis/doc/api/qgsmapcanvasmap_8h__dep__incl.md5
-- Installing: 
/home/pedro/sextante_github/Quantum-GIS-master/debian/tmp/usr/share/qgis/doc/api/classQgsCRSCache__coll__graph.png
-- Installing: 
/home/pedro/sextante_github/Quantum-GIS-master/debian/tmp/usr/share/qgis/doc/api/classQgsComposerLegendItem.html
CMake Error at doc/cmake_install.cmake:60 (FILE):
  file INSTALL cannot copy file
  
"/home/pedro/sextante_github/Quantum-GIS-master/debian/build/doc/api/html/classQgsComposerLegendItem.html"
  to
  
"/home/pedro/sextante_github/Quantum-GIS-master/debian/tmp/usr/share/qgis/doc/api/classQgsComposerLegendItem.html".
Call Stack (most recent call first):
  cmake_install.cmake:48 (INCLUDE)

make[1]: ** [install] Erro 1
make[1]: Saindo do diretório 
`/home/pedro/sextante_github/Quantum-GIS-master/debian/build'
make: ** [install] Erro 2
dpkg-buildpackage: erro: debian/rules binary deu erro de saída estado 2



What do you think?

Thank you very much! 


Best regards,
Pedro






From: Etienne Tourigny 



sorry, I don't build .deb packages.

looks like your are missing the python-devel package or similar, or there is a 
version mismatch in your python packages... (missing 
/usr/lib/i386-linux-gnu/libpython2.7.so)
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Another compiling error at 48 percent

2013-06-01 Thread Pedro Venâncio
Hi Etienne,

Thank you very much for your help!

I usually do not compile directly, I use the alternative of creating .deb 
packages with dpkg-buildpackage -us -uc -b -d -j4

In fact, it can be a local problem, maybe with some update, because it began to 
happen in the past weekend.

To test, I did a clean install on a virtual machine and it passes the 48%, even 
after applying all updates, but gives error at 83%...

[ 83%] Building CXX object src/python/CMakeFiles/qgispython.dir/qgispython.cpp.o
cd /home/pedro/sextante_github/Quantum-GIS-master/debian/build/src/python && 
/usr/bin/c++   -Dqgispython_EXPORTS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_SVG_LIB 
-DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_TEST_LIB -DQT_XML_LIB -DQT_SQL_LIB 
-DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NO_CAST_TO_ASCII -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security 
-D_FORTIFY_SOURCE=2 -O2  -Wall -Wextra -Wno-long-long -Wformat-security 
-Wno-strict-aliasing -fPIC -I/usr/include/qt4 -I/usr/include/qt4/QtOpenGL 
-I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtGui 
-I/usr/include/qt4/QtTest -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql 
-I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtCore 
-I/home/pedro/sextante_github/Quantum-GIS-master/debian/build 
-I/home/pedro/sextante_github/Quantum-GIS-master/src/python/../core 
-I/home/pedro/sextante_github/Quantum-GIS-master/src/python/../core/raster
 -I/home/pedro/sextante_github/Quantum-GIS-master/src/python/../gui 
-I/usr/include/python2.7    -DCORE_EXPORT= -DGUI_EXPORT= -DPYTHON_EXPORT= 
-DANALYSIS_EXPORT= -DPYTHON_EXPORT= -o 
CMakeFiles/qgispython.dir/qgispython.cpp.o -c 
/home/pedro/sextante_github/Quantum-GIS-master/src/python/qgispython.cpp
/usr/bin/cmake -E cmake_progress_report 
/home/pedro/sextante_github/Quantum-GIS-master/debian/build/CMakeFiles 
[ 83%] Building CXX object 
src/python/CMakeFiles/qgispython.dir/qgspythonutilsimpl.cpp.o
cd /home/pedro/sextante_github/Quantum-GIS-master/debian/build/src/python && 
/usr/bin/c++   -Dqgispython_EXPORTS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_SVG_LIB 
-DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_TEST_LIB -DQT_XML_LIB -DQT_SQL_LIB 
-DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NO_CAST_TO_ASCII -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security 
-D_FORTIFY_SOURCE=2 -O2  -Wall -Wextra -Wno-long-long -Wformat-security 
-Wno-strict-aliasing -fPIC -I/usr/include/qt4 -I/usr/include/qt4/QtOpenGL 
-I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtGui 
-I/usr/include/qt4/QtTest -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql 
-I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtCore 
-I/home/pedro/sextante_github/Quantum-GIS-master/debian/build 
-I/home/pedro/sextante_github/Quantum-GIS-master/src/python/../core 
-I/home/pedro/sextante_github/Quantum-GIS-master/src/python/../core/raster
 -I/home/pedro/sextante_github/Quantum-GIS-master/src/python/../gui 
-I/usr/include/python2.7    -DCORE_EXPORT= -DGUI_EXPORT= -DPYTHON_EXPORT= 
-DANALYSIS_EXPORT= -DPYTHON_EXPORT= -o 
CMakeFiles/qgispython.dir/qgspythonutilsimpl.cpp.o -c 
/home/pedro/sextante_github/Quantum-GIS-master/src/python/qgspythonutilsimpl.cpp
make[3]: *** Sem regra para processar o alvo 
`/usr/lib/i386-linux-gnu/libpython2.7.so', necessário por 
`output/lib/libqgispython.so.1.9.0'.  Pare.
make[3]: Saindo do diretório 
`/home/pedro/sextante_github/Quantum-GIS-master/debian/build'
make[2]: ** [src/python/CMakeFiles/qgispython.dir/all] Erro 2
make[2]: Saindo do diretório 
`/home/pedro/sextante_github/Quantum-GIS-master/debian/build'
make[1]: ** [all] Erro 2
make[1]: Saindo do diretório 
`/home/pedro/sextante_github/Quantum-GIS-master/debian/build'
make: ** [build-stamp] Erro 2
dpkg-buildpackage: erro: debian/rules build deu erro de saída estado 2
pedro@pedro-vbox:~/sextante_github/Quantum-GIS-master$ 



What could be the reason? I know these problems are also happening to other 
people who use the creation of .debs packages.

Thank you very much!

Best regards,
Pedro





From: Etienne Tourigny 



most probably a local problem... I can build latest master without problem. Try 
getting latest code, do a make clean, remove CMakeCache.txt, run cmake again 
and build
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Another compiling error at 48 percent

2013-05-31 Thread Pedro Venâncio
Hi,

Sorry to insist, but I'd like to hear your opinion on this issue.
It will be a local problem? Or should I open a ticket?

Thanks.

Best regards,
Pedro







- Original Message -
From: Pedro Venâncio 
Sent: Tuesday, May 28, 2013 10:45 PM
Subject: Re: Another compiling error at 48 percent

Hi,

This problem persists. I've done tests on two machines and I know that is also 
happening to other people.

I'm using Xubuntu 12.04.

Anyone else confirm? Should I fill out a ticket?

Thanks!
Pedro






- Original Message -----
From: Pedro Venâncio
To: qgis-developer
Sent: Sunday, May 26, 2013 5:56 PM
Subject: Another compiling error at 48 percent

Hi,

I'm trying to compile QGIS master and it gives me an error at 48%: 

[ 48%] Building CXX object 
src/gui/CMakeFiles/qgis_gui.dir/moc_qgsfilterlineedit.cxx.o
cd /home/pedro/sextante_github/Quantum-GIS-master/debian/build/src/gui && 
/usr/bin/c++   -Dqgis_gui_EXPORTS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_SVG_LIB 
-DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_TEST_LIB -DQT_XML_LIB -DQT_SQL_LIB 
-DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NO_CAST_TO_ASCII -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security 
-D_FORTIFY_SOURCE=2 -O2  -Wall -Wextra -Wno-long-long -Wformat-security 
-Wno-strict-aliasing -fPIC -I/usr/include/qt4 -I/usr/include/qt4/QtOpenGL 
-I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtGui 
-I/usr/include/qt4/QtTest -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql 
-I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtCore 
-I/home/pedro/sextante_github/Quantum-GIS-master/debian/build 
-I/usr/include/qt4/QtUiTools 
-I/home/pedro/sextante_github/Quantum-GIS-master/src/gui 
-I/home/pedro/sextante_github/Quantum-GIS-master/src/gui/symbology-ng
-I/home/pedro/sextante_github/Quantum-GIS-master/src/gui/attributetable 
-I/home/pedro/sextante_github/Quantum-GIS-master/src/gui/../core 
-I/home/pedro/sextante_github/Quantum-GIS-master/src/gui/../core/composer 
-I/home/pedro/sextante_github/Quantum-GIS-master/src/gui/../core/raster 
-I/home/pedro/sextante_github/Quantum-GIS-master/src/gui/../core/symbology-ng 
-I/home/pedro/sextante_github/Quantum-GIS-master/debian/build/src/gui 
-I/home/pedro/sextante_github/Quantum-GIS-master/debian/build/src/gui/../ui 
-I/usr/include/qwt-qt4 -I/usr/include/gdal    -DCORE_EXPORT= -DGUI_EXPORT= 
-DPYTHON_EXPORT= -DANALYSIS_EXPORT= -o 
CMakeFiles/qgis_gui.dir/moc_qgsfilterlineedit.cxx.o -c 
/home/pedro/sextante_github/Quantum-GIS-master/debian/build/src/gui/moc_qgsfilterlineedit.cxx
Linking CXX shared library ../../output/lib/libqgis_gui.so
cd /home/pedro/sextante_github/Quantum-GIS-master/debian/build/src/gui && 
/usr/bin/cmake -E cmake_link_script CMakeFiles/qgis_gui.dir/link.txt 
--verbose=YES
/usr/bin/c++  -fPIC -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -O2  -Wall 
-Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing  
-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,--no-undefined -shared 
-Wl,-soname,libqgis_gui.so.1.9.0 -o ../../output/lib/libqgis_gui.so.1.9.0 
CMakeFiles/qgis_gui.dir/raster/qgsrasterminmaxwidget.cpp.o 
CMakeFiles/qgis_gui.dir/raster/qgsrasterrendererwidget.cpp.o 
CMakeFiles/qgis_gui.dir/raster/qgsmultibandcolorrendererwidget.cpp.o 
CMakeFiles/qgis_gui.dir/raster/qgspalettedrendererwidget.cpp.o 
CMakeFiles/qgis_gui.dir/raster/qgssinglebandgrayrendererwidget.cpp.o 
CMakeFiles/qgis_gui.dir/raster/qgssinglebandpseudocolorrendererwidget.cpp.o 
CMakeFiles/qgis_gui.dir/raster/qgsrasterhistogramwidget.cpp.o 
CMakeFiles/qgis_gui.dir/symbology-ng/qgsbrushstylecombobox.cpp.o 
CMakeFiles/qgis_gui.dir/symbology-ng/qgscolorrampcombobox.cpp.o
CMakeFiles/qgis_gui.dir/symbology-ng/qgsdashspacedialog.cpp.o 
CMakeFiles/qgis_gui.dir/symbology-ng/qgsdatadefinedsymboldialog.cpp.o 
CMakeFiles/qgis_gui.dir/symbology-ng/qgspenstylecombobox.cpp.o 
CMakeFiles/qgis_gui.dir/symbology-ng/qgssymbollayerv2widget.cpp.o 
CMakeFiles/qgis_gui.dir/symbology-ng/qgsrendererv2widget.cpp.o 
CMakeFiles/qgis_gui.dir/symbology-ng/qgssinglesymbolrendererv2widget.cpp.o 
CMakeFiles/qgis_gui.dir/symbology-ng/qgscategorizedsymbolrendererv2widget.cpp.o 
CMakeFiles/qgis_gui.dir/symbology-ng/qgsgraduatedsymbolrendererv2widget.cpp.o 
CMakeFiles/qgis_gui.dir/symbology-ng/qgsrulebasedrendererv2widget.cpp.o 
CMakeFiles/qgis_gui.dir/symbology-ng/qgsrendererv2propertiesdialog.cpp.o 
CMakeFiles/qgis_gui.dir/symbology-ng/qgsstylev2managerdialog.cpp.o 
CMakeFiles/qgis_gui.dir/symbology-ng/qgssymbollevelsv2dialog.cpp.o 
CMakeFiles/qgis_gui.dir/symbology-ng/qgssymbolv2selectordialog.cpp.o
CMakeFiles/qgis_gui.dir/symbology-ng/qgsvectorgradientcolorrampv2dialog.cpp.o 
CMakeFiles/qgis_gui.dir/symbology-ng/qgsvectorrandomcolorrampv2dialog.cpp.o 
CMakeFiles/qgis_gui.dir/symbology-ng/qgsvectorcolorbrewercolorrampv2dialog.cpp.o
 CMakeFiles/qgis_gui.dir/symbology-ng/qgscptcitycolorrampv2d

Re: [Qgis-user] Another compiling error at 48 percent

2013-05-28 Thread Pedro Venâncio
Hi,

This problem persists. I've done tests on two machines and I know that is also 
happening to other people.

I'm using Xubuntu 12.04.

Anyone else confirm? Should I fill out a ticket?

Thanks!
Pedro






- Original Message -----
From: Pedro Venâncio
To: qgis-developer
Sent: Sunday, May 26, 2013 5:56 PM
Subject: Another compiling error at 48 percent

Hi,

I'm trying to compile QGIS master and it gives me an error at 48%: 

[ 48%] Building CXX object 
src/gui/CMakeFiles/qgis_gui.dir/moc_qgsfilterlineedit.cxx.o
cd /home/pedro/sextante_github/Quantum-GIS-master/debian/build/src/gui && 
/usr/bin/c++   -Dqgis_gui_EXPORTS -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_SVG_LIB 
-DQT_WEBKIT_LIB -DQT_GUI_LIB -DQT_TEST_LIB -DQT_XML_LIB -DQT_SQL_LIB 
-DQT_NETWORK_LIB -DQT_CORE_LIB -DQT_NO_CAST_TO_ASCII -g -O2 -fstack-protector 
--param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security 
-D_FORTIFY_SOURCE=2 -O2  -Wall -Wextra -Wno-long-long -Wformat-security 
-Wno-strict-aliasing -fPIC -I/usr/include/qt4 -I/usr/include/qt4/QtOpenGL 
-I/usr/include/qt4/QtSvg -I/usr/include/qt4/QtWebKit -I/usr/include/qt4/QtGui 
-I/usr/include/qt4/QtTest -I/usr/include/qt4/QtXml -I/usr/include/qt4/QtSql 
-I/usr/include/qt4/QtNetwork -I/usr/include/qt4/QtCore 
-I/home/pedro/sextante_github/Quantum-GIS-master/debian/build 
-I/usr/include/qt4/QtUiTools 
-I/home/pedro/sextante_github/Quantum-GIS-master/src/gui 
-I/home/pedro/sextante_github/Quantum-GIS-master/src/gui/symbology-ng
-I/home/pedro/sextante_github/Quantum-GIS-master/src/gui/attributetable 
-I/home/pedro/sextante_github/Quantum-GIS-master/src/gui/../core 
-I/home/pedro/sextante_github/Quantum-GIS-master/src/gui/../core/composer 
-I/home/pedro/sextante_github/Quantum-GIS-master/src/gui/../core/raster 
-I/home/pedro/sextante_github/Quantum-GIS-master/src/gui/../core/symbology-ng 
-I/home/pedro/sextante_github/Quantum-GIS-master/debian/build/src/gui 
-I/home/pedro/sextante_github/Quantum-GIS-master/debian/build/src/gui/../ui 
-I/usr/include/qwt-qt4 -I/usr/include/gdal    -DCORE_EXPORT= -DGUI_EXPORT= 
-DPYTHON_EXPORT= -DANALYSIS_EXPORT= -o 
CMakeFiles/qgis_gui.dir/moc_qgsfilterlineedit.cxx.o -c 
/home/pedro/sextante_github/Quantum-GIS-master/debian/build/src/gui/moc_qgsfilterlineedit.cxx
Linking CXX shared library ../../output/lib/libqgis_gui.so
cd /home/pedro/sextante_github/Quantum-GIS-master/debian/build/src/gui && 
/usr/bin/cmake -E cmake_link_script CMakeFiles/qgis_gui.dir/link.txt 
--verbose=YES
/usr/bin/c++  -fPIC -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -O2  -Wall 
-Wextra -Wno-long-long -Wformat-security -Wno-strict-aliasing  
-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,--no-undefined -shared 
-Wl,-soname,libqgis_gui.so.1.9.0 -o ../../output/lib/libqgis_gui.so.1.9.0 
CMakeFiles/qgis_gui.dir/raster/qgsrasterminmaxwidget.cpp.o 
CMakeFiles/qgis_gui.dir/raster/qgsrasterrendererwidget.cpp.o 
CMakeFiles/qgis_gui.dir/raster/qgsmultibandcolorrendererwidget.cpp.o 
CMakeFiles/qgis_gui.dir/raster/qgspalettedrendererwidget.cpp.o 
CMakeFiles/qgis_gui.dir/raster/qgssinglebandgrayrendererwidget.cpp.o 
CMakeFiles/qgis_gui.dir/raster/qgssinglebandpseudocolorrendererwidget.cpp.o 
CMakeFiles/qgis_gui.dir/raster/qgsrasterhistogramwidget.cpp.o 
CMakeFiles/qgis_gui.dir/symbology-ng/qgsbrushstylecombobox.cpp.o 
CMakeFiles/qgis_gui.dir/symbology-ng/qgscolorrampcombobox.cpp.o
CMakeFiles/qgis_gui.dir/symbology-ng/qgsdashspacedialog.cpp.o 
CMakeFiles/qgis_gui.dir/symbology-ng/qgsdatadefinedsymboldialog.cpp.o 
CMakeFiles/qgis_gui.dir/symbology-ng/qgspenstylecombobox.cpp.o 
CMakeFiles/qgis_gui.dir/symbology-ng/qgssymbollayerv2widget.cpp.o 
CMakeFiles/qgis_gui.dir/symbology-ng/qgsrendererv2widget.cpp.o 
CMakeFiles/qgis_gui.dir/symbology-ng/qgssinglesymbolrendererv2widget.cpp.o 
CMakeFiles/qgis_gui.dir/symbology-ng/qgscategorizedsymbolrendererv2widget.cpp.o 
CMakeFiles/qgis_gui.dir/symbology-ng/qgsgraduatedsymbolrendererv2widget.cpp.o 
CMakeFiles/qgis_gui.dir/symbology-ng/qgsrulebasedrendererv2widget.cpp.o 
CMakeFiles/qgis_gui.dir/symbology-ng/qgsrendererv2propertiesdialog.cpp.o 
CMakeFiles/qgis_gui.dir/symbology-ng/qgsstylev2managerdialog.cpp.o 
CMakeFiles/qgis_gui.dir/symbology-ng/qgssymbollevelsv2dialog.cpp.o 
CMakeFiles/qgis_gui.dir/symbology-ng/qgssymbolv2selectordialog.cpp.o
CMakeFiles/qgis_gui.dir/symbology-ng/qgsvectorgradientcolorrampv2dialog.cpp.o 
CMakeFiles/qgis_gui.dir/symbology-ng/qgsvectorrandomcolorrampv2dialog.cpp.o 
CMakeFiles/qgis_gui.dir/symbology-ng/qgsvectorcolorbrewercolorrampv2dialog.cpp.o
 CMakeFiles/qgis_gui.dir/symbology-ng/qgscptcitycolorrampv2dialog.cpp.o 
CMakeFiles/qgis_gui.dir/symbology-ng/characterwidget.cpp.o 
CMakeFiles/qgis_gui.dir/symbology-ng/qgsstylev2exportimportdialog.cpp.o 
CMakeFiles/qgis_gui.dir/symbology-ng/qgsellipsesymbollayerv2widget.cpp.o 
CMakeFiles/qgis_gui.dir/symbology-ng/qgspointdisplacementrendererwidget.cpp.o 
CMake

Re: [Qgis-user] Volume between two surfaces

2013-03-06 Thread Pedro Venâncio
Hi Stefano,

What a great plugin [0]! As a geologist, I do not know how I had not noticed 
this plugin yet... 

Although for the the present case I can not take great advantage of it, I 
predict that it can be very useful on other occasions!

Thank you very much!


Best regards,
Pedro Venâncio


[0] 
http://translate.google.pt/translate?sl=it&tl=en&js=n&prev=_t&hl=pt-PT&ie=UTF-8&eotf=1&u=http%3A%2F%2Fgisoftw.blogspot.pt%2F2011%2F12%2Fintersezioni-tra-dem-e-superfici.html&authuser=0
 








- Original Message -
From: skampus 

hi, maybe this plugin can help you

qgSurf: a Python program for the interactive determination of intersections
between DEM and planes

http://www.malg.eu/gsurf_en.php

in a slope stability analysis this information is essential; so it could be
very useful to calculate a volume having as input the dip and dip direction
of planes that isolate a rock volume.



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Volume-between-two-surfaces-tp5038657p5038743.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] Volume between two surfaces

2013-03-05 Thread Pedro Venâncio
Hi Carlos,

Thank you for your great tip!

I was thinking... creating masks to separate the negative valuesfrom the 
positive values​​of the raster 'Hight', I can get the excavation and landfill 
volumes, right?


Thanks!
Pedro





- Original Message -
From: Carlos Cerdán 
To: qgis-user@lists.osgeo.org
Cc: 
Sent: Tuesday, March 5, 2013 11:16 PM
Subject: Re: [Qgis-user] Volume between two surfaces

One idea:

Use calculator on GRASS and do:

Surface 1 - Surface 2 = Hight

We have the heigth value on each cell, so now use r.sum:

Volume = r.sum (of Hight) * side of pixel ^2 (if cells are squares)

Of course, you must use a mask to boundary your area of interest

Carlos Cerdán


El 05/03/13 17:49, Pedro Venâncio escribió:
> Hi all,
>
> Is there any way to calculate the volume between two surfaces (two DEM 
> rasters)?
>
> There are ways to calculate the volume between a surface and a particular 
> height value (GRASS r.volume or SAGA Grid Volume) but I can not find how to 
> calculate the volumes (landfill / excavation) between two DEM.
>
> Any tips?
>
> Thank you very much!
>
> Best regards,
> Pedro Venâncio
>
> ___
> 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


[Qgis-user] Volume between two surfaces

2013-03-05 Thread Pedro Venâncio
Hi all,

Is there any way to calculate the volume between two surfaces (two DEM rasters)?

There are ways to calculate the volume between a surface and a particular 
height value (GRASS r.volume or SAGA Grid Volume) but I can not find how to 
calculate the volumes (landfill / excavation) between two DEM.

Any tips?

Thank you very much!

Best regards,
Pedro Venâncio

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


Re: [Qgis-user] Composer and transparency

2013-03-04 Thread Pedro Venâncio
Hi Cascafico,

I have also a problem with Composer on QGIS 1.8. When I use rasters with 
transparency along with other layers, some horizontal stripes appear without 
transparency.

Normally I make the union of MDT with Shaded Relief. To combine the MDT with 
the Shaded Relief, I use the r.his function, placing the MDT as HUE and Shaded 
Relief as Intensity, resulting in a set of three rasters corresponding to the 
three RGB channels. Then I use r.composite to create the final RGB image.


Best regards,
Pedro Venâncio



From: Cascafico Giovanni 
To: qgis-user@lists.osgeo.org 
Sent: Monday, March 4, 2013 10:46 AM
Subject: [Qgis-user] Composer and transparency


Hello valuable list!
Qgis composer has a known bug in managing raster layers with  transparency.
So I need a workaround to merge rgb relief with single band DEM.
Is there a pret-a-porter expression for raster calculator?
Or I need to convert rgb to hsv before? If so,  how?
___
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] QGIS Master, Sextante toolbox problem

2013-02-06 Thread Pedro Venâncio
It was already reported:


http://hub.qgis.org/issues/7109 







- Original Message -
From: Nick Hopton 

Hi All,

This morning's update of debian-nightly Master has left me without a working
Sextante toolbox. At startup I get the Python error messages shown below.

Ubuntu 12.04 amd64.

I'm very fond of the Sextante toolbox and pine for it when it goes away. 

Nick.

Messages=
Couldn't load plugin 'sextante' from ['/usr/share/qgis/python',
'/home/nick/.qgis//python', '/home/nick/.qgis//python/plugins',
'/usr/share/qgis/python/plugins', '/usr/lib/python2.7',
'/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk',
'/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload',
'/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL',
'/usr/lib/pymodules/python2.7/gtk-2.0',
'/usr/lib/python2.7/dist-packages/gst-0.10',
'/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7',
'/usr/lib/python2.7/dist-packages/ubuntu-sso-client',
'/usr/lib/python2.7/dist-packages/ubuntuone-client',
'/usr/lib/python2.7/dist-packages/ubuntuone-control-panel',
'/usr/lib/python2.7/dist-packages/ubuntuone-couch',
'/usr/lib/python2.7/dist-packages/ubuntuone-installer',
'/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol',
'/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode',
'/usr/share/qgis/python/plugins/fTools/tools']

Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 182, in
loadPlugin
    __import__(packageName)
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 452, in
_import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/usr/share/qgis/python/plugins/sextante/__init__.py", line 20, in 
    from sextante.core.Sextante import runalg, runandload, alghelp, alglist,
algoptions, load, loadFromAlg, extent, getObjectFromName, getObjectFromUri,
features
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 452, in
_import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "/usr/share/qgis/python/plugins/sextante/core/Sextante.py", line 43,
in 
    from sextante.algs.QGISAlgorithmProvider import QGISAlgorithmProvider
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 452, in
_import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File
"/usr/share/qgis/python/plugins/sextante/algs/QGISAlgorithmProvider.py",
line 61, in 
    from sextante.algs.mmqgisx.MMQGISXAlgorithms import 
(mmqgisx_delete_columns_algorithm,
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 452, in
_import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File
"/usr/share/qgis/python/plugins/sextante/algs/mmqgisx/MMQGISXAlgorithms.py",
line 29, in 
    from sextante.algs.mmqgisx.mmqgisx_library import *
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 452, in
_import
    mod = _builtin_import(name, globals, locals, fromlist, level)
ImportError: No module named mmqgisx_library

Python version:
2.7.3 (default, Aug  1 2012, 05:25:23) 
[GCC 4.6.3]


QGIS version:
1.9.0-Master Master, exported

Python path: ['/usr/share/qgis/python', '/home/nick/.qgis//python',
'/home/nick/.qgis//python/plugins', '/usr/share/qgis/python/plugins',
'/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2',
'/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old',
'/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages',
'/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL',
'/usr/lib/pymodules/python2.7/gtk-2.0',
'/usr/lib/python2.7/dist-packages/gst-0.10',
'/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7',
'/usr/lib/python2.7/dist-packages/ubuntu-sso-client',
'/usr/lib/python2.7/dist-packages/ubuntuone-client',
'/usr/lib/python2.7/dist-packages/ubuntuone-control-panel',
'/usr/lib/python2.7/dist-packages/ubuntuone-couch',
'/usr/lib/python2.7/dist-packages/ubuntuone-installer',
'/usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol',
'/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode',
'/usr/share/qgis/python/plugins/fTools/tools']
==



--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/QGIS-Master-Sextante-toolbox-problem-tp5032588.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 - problems with GRASS tools

2012-12-21 Thread Pedro Venâncio
Windows was also affected.

After this fix, the problems were solved (at least on QGIS master from OSGeo4W).

But I confess I do not know how the fixes have been applied to the stable 
version (1.8).





- Original Message -
From: magerlin 

Hi

http://hub.qgis.org/issues/6862 refers to problems only existing in Linux
and Mac - I am running windows?



-
Regards Morten

Qgis 1.8.0 Stand alone installer in Win7 64 bit
--
View this message in context: 
http://osgeo-org.1560.n6.nabble.com/Sextante-problems-with-GRASS-tools-tp5022349p5024346.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 - problems with GRASS tools

2012-12-21 Thread Pedro Venâncio
Hi Morten,

This was a Sextante problem that is already corrected in the last updates of 
QGIS master:
http://hub.qgis.org/issues/6862 



Pedro




- Original Message -
From: magerlin

Just to add på my previous post: I uninstalled and reinstalled the Sextante
plugin to be sure to have the latest version (1.08)
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Problem with pyspatialite

2012-12-20 Thread Pedro Venâncio
Hi,

I solved installing python-pyspatialite from

http://pkgs.org/debian-wheezy/debian-main-i386/python-pyspatialite_3.0.1-2_i386.deb/download/ 


Thanks,
Pedro




- Original Message -
From: Pedro Venâncio 

Hi,

I was using QGIS master from nightly repository and it had been working well.

Today I have been compiling the version from github and I have a problem with 
pyspatialite. It was installed before, but now it does not appear in the 
repositories (Xubuntu 12.04).

Here is the error that appears when installing the compiled version:

dpkg: problemas com dependências impedem a configuração de python-qgis:
 python-qgis depende de python-pyspatialite; no entanto:
  O pacote python-pyspatialite não está instalado.
dpkg: erro ao processar python-qgis (--install):
 problemas com dependências - a deixar por configurar
A instalar python-qgis-common (1.9.0) ...
(...)
ldconfig deferred processing now taking place
Foram encontrados erros enquanto processava:
 python-qgis


python-qgis appears as "Broken" on Synaptic.


When I start QGIS, some plugins complain about the lack of pyspatialite:

ImportError: No module named pyspatialite



I've also tried to install pyspatialite with pip and easy_install, but without 
success.

sudo pip install pyspatialite

Downloading/unpacking pyspatialite
  Running setup.py egg_info for package pyspatialite
Installing collected packages: pyspatialite
  Running setup.py install for pyspatialite
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
-Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c /tmp/iconvb2Ux5M.c -o 
tmp/iconvb2Ux5M.o
    /tmp/iconvb2Ux5M.c:1:1: warning: return type defaults to ‘int’ 
[-Wreturn-type]
    /tmp/iconvb2Ux5M.c: In function ‘main’:
    /tmp/iconvb2Ux5M.c:2:5: warning: implicit declaration of function ‘iconv’ 
[-Wimplicit-function-declaration]
    /tmp/iconvb2Ux5M.c:3:1: warning: control reaches end of non-void function 
[-Wreturn-type]
    gcc -pthread tmp/iconvb2Ux5M.o -o a.out
    building 'pyspatialite._spatialite' extension
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
-Wstrict-prototypes -fPIC -DMODULE_NAME="spatialite.dbapi2" -DVERSION="3.0.1" 
-DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_RTREE=1 
-DSQLITE_ENABLE_COLUMN_METADATA=1 -DOMIT_FREEXL=1 
-I/Library/Frameworks/GEOS.framework/unix/include/ 
-I/Library/Frameworks/PROJ.framework/unix/include/ -Iamalgamation 
-I/usr/include/python2.7 -c src/module.c -o 
build/temp.linux-i686-2.7/src/module.o
    In file included from src/module.c:24:0:
    src/connection.h:36:5: error: conflicting types for ‘spatialite_init’
    /usr/include/spatialite.h:92:29: note: previous declaration of 
‘spatialite_init’ was here
    error: command 'gcc' failed with exit status 1
    Complete output from command /usr/bin/python -c "import 
setuptools;__file__='/home/pedro/build/pyspatialite/setup.py';exec(compile(open(__file__).read().replace('\r\n',
 '\n'), __file__, 'exec'))" install --single-version-externally-managed 
--record /tmp/pip-MO3kIB-record/install-record.txt:
    running install
running build
running build_py
running build_ext
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
-Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c /tmp/iconvb2Ux5M.c -o 
tmp/iconvb2Ux5M.o
/tmp/iconvb2Ux5M.c:1:1: warning: return type defaults to ‘int’ [-Wreturn-type]
/tmp/iconvb2Ux5M.c: In function ‘main’:
/tmp/iconvb2Ux5M.c:2:5: warning: implicit declaration of function ‘iconv’ 
[-Wimplicit-function-declaration]
/tmp/iconvb2Ux5M.c:3:1: warning: control reaches end of non-void function 
[-Wreturn-type]
gcc -pthread tmp/iconvb2Ux5M.o -o a.out
building 'pyspatialite._spatialite' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
-Wstrict-prototypes -fPIC -DMODULE_NAME="spatialite.dbapi2" -DVERSION="3.0.1" 
-DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_RTREE=1 
-DSQLITE_ENABLE_COLUMN_METADATA=1 -DOMIT_FREEXL=1 
-I/Library/Frameworks/GEOS.framework/unix/include/ 
-I/Library/Frameworks/PROJ.framework/unix/include/ -Iamalgamation 
-I/usr/include/python2.7 -c src/module.c -o 
build/temp.linux-i686-2.7/src/module.o
In file included from src/module.c:24:0:
src/connection.h:36:5: error: conflicting types for ‘spatialite_init’
/usr/include/spatialite.h:92:29: note: previous declaration of 
‘spatialite_init’ was here

error: command 'gcc' failed with exit status 1

Command /usr/bin/python -c "import 
setuptools;__file__='/home/pedro/build/pyspatialite/setup.py';exec(compile(open(__file__).read().replace('\r\n',
 '\n'), __file__, 'exec'))" install --single-version-externally-managed 
--record /tmp/pip-MO3kIB-record/install-record.txt failed with error code 1
Storing complete log in /home/pedro/.pip/pip.log



sudo easy_insta

[Qgis-user] Problem with pyspatialite

2012-12-20 Thread Pedro Venâncio
Hi,

I was using QGIS master from nightly repository and it had been working well.

Today I have been compiling the version from github and I have a problem with 
pyspatialite. It was installed before, but now it does not appear in the 
repositories (Xubuntu 12.04).

Here is the error that appears when installing the compiled version:

dpkg: problemas com dependências impedem a configuração de python-qgis:
 python-qgis depende de python-pyspatialite; no entanto:
  O pacote python-pyspatialite não está instalado.
dpkg: erro ao processar python-qgis (--install):
 problemas com dependências - a deixar por configurar
A instalar python-qgis-common (1.9.0) ...
(...)
ldconfig deferred processing now taking place
Foram encontrados erros enquanto processava:
 python-qgis


python-qgis appears as "Broken" on Synaptic.


When I start QGIS, some plugins complain about the lack of pyspatialite:

ImportError: No module named pyspatialite



I've also tried to install pyspatialite with pip and easy_install, but without 
success.

sudo pip install pyspatialite

Downloading/unpacking pyspatialite
  Running setup.py egg_info for package pyspatialite
Installing collected packages: pyspatialite
  Running setup.py install for pyspatialite
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
-Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c /tmp/iconvb2Ux5M.c -o 
tmp/iconvb2Ux5M.o
    /tmp/iconvb2Ux5M.c:1:1: warning: return type defaults to ‘int’ 
[-Wreturn-type]
    /tmp/iconvb2Ux5M.c: In function ‘main’:
    /tmp/iconvb2Ux5M.c:2:5: warning: implicit declaration of function ‘iconv’ 
[-Wimplicit-function-declaration]
    /tmp/iconvb2Ux5M.c:3:1: warning: control reaches end of non-void function 
[-Wreturn-type]
    gcc -pthread tmp/iconvb2Ux5M.o -o a.out
    building 'pyspatialite._spatialite' extension
    gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
-Wstrict-prototypes -fPIC -DMODULE_NAME="spatialite.dbapi2" -DVERSION="3.0.1" 
-DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_RTREE=1 
-DSQLITE_ENABLE_COLUMN_METADATA=1 -DOMIT_FREEXL=1 
-I/Library/Frameworks/GEOS.framework/unix/include/ 
-I/Library/Frameworks/PROJ.framework/unix/include/ -Iamalgamation 
-I/usr/include/python2.7 -c src/module.c -o 
build/temp.linux-i686-2.7/src/module.o
    In file included from src/module.c:24:0:
    src/connection.h:36:5: error: conflicting types for ‘spatialite_init’
    /usr/include/spatialite.h:92:29: note: previous declaration of 
‘spatialite_init’ was here
    error: command 'gcc' failed with exit status 1
    Complete output from command /usr/bin/python -c "import 
setuptools;__file__='/home/pedro/build/pyspatialite/setup.py';exec(compile(open(__file__).read().replace('\r\n',
 '\n'), __file__, 'exec'))" install --single-version-externally-managed 
--record /tmp/pip-MO3kIB-record/install-record.txt:
    running install
running build
running build_py
running build_ext
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
-Wstrict-prototypes -fPIC -I/usr/include/python2.7 -c /tmp/iconvb2Ux5M.c -o 
tmp/iconvb2Ux5M.o
/tmp/iconvb2Ux5M.c:1:1: warning: return type defaults to ‘int’ [-Wreturn-type]
/tmp/iconvb2Ux5M.c: In function ‘main’:
/tmp/iconvb2Ux5M.c:2:5: warning: implicit declaration of function ‘iconv’ 
[-Wimplicit-function-declaration]
/tmp/iconvb2Ux5M.c:3:1: warning: control reaches end of non-void function 
[-Wreturn-type]
gcc -pthread tmp/iconvb2Ux5M.o -o a.out
building 'pyspatialite._spatialite' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O2 -Wall 
-Wstrict-prototypes -fPIC -DMODULE_NAME="spatialite.dbapi2" -DVERSION="3.0.1" 
-DSQLITE_ENABLE_FTS3=1 -DSQLITE_ENABLE_RTREE=1 
-DSQLITE_ENABLE_COLUMN_METADATA=1 -DOMIT_FREEXL=1 
-I/Library/Frameworks/GEOS.framework/unix/include/ 
-I/Library/Frameworks/PROJ.framework/unix/include/ -Iamalgamation 
-I/usr/include/python2.7 -c src/module.c -o 
build/temp.linux-i686-2.7/src/module.o
In file included from src/module.c:24:0:
src/connection.h:36:5: error: conflicting types for ‘spatialite_init’
/usr/include/spatialite.h:92:29: note: previous declaration of 
‘spatialite_init’ was here

error: command 'gcc' failed with exit status 1

Command /usr/bin/python -c "import 
setuptools;__file__='/home/pedro/build/pyspatialite/setup.py';exec(compile(open(__file__).read().replace('\r\n',
 '\n'), __file__, 'exec'))" install --single-version-externally-managed 
--record /tmp/pip-MO3kIB-record/install-record.txt failed with error code 1
Storing complete log in /home/pedro/.pip/pip.log



sudo easy_install pyspatialite

Searching for pyspatialite
Reading http://pypi.python.org/simple/pyspatialite/
Reading http://pyspatialite.googlecode.com/
Reading http://code.google.com/p/pyspatialite/downloads/list
Best match: pyspatialite 3.0.1
Downloading 
http://pypi.python.org/packages/source/p/pyspatialite/pyspatialite-3.0.1.tar.gz#md5=28a6ab34b5003772e9468f2712100586
Processing pyspatialite-3.0.1.tar.gz
Running pyspatiali

Re: [Qgis-user] [Qgis-developer] Strange integer column value within SpatiaLite database

2012-12-12 Thread Pedro Venâncio
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


Re: [Qgis-user] Sextante - problems with GRASS tools

2012-12-11 Thread Pedro Venâncio
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] Sextante - problems with GRASS tools

2012-12-11 Thread 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] Strange integer column value within SpatiaLite database

2012-12-09 Thread Pedro Venâncio
Hi,

I found something strange with data in a table within a SpatiaLite database.

As you can see in this image [1], viewing the table in QSpatiaLite, the column 
GEO_COD (integer) appears well. The same column, when viewed in the QGIS 
attribute table, appears with values ​totally different.

Can anyone find an explanation?

I leave the database in question in order to test [2].

I'm using QGIS master on Xubuntu 12.04.


Best regards,
Pedro Venâncio

[1] http://goo.gl/s8toX 
[2] http://goo.gl/RNRmb 

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


[Qgis-user] Change transparency with new symbology - segmentation fault

2012-12-05 Thread Pedro Venâncio
I found a problem to assign transparency to a vector layer, using the new 
symbology -> Graduated style. When I do 'Change transparency', I get a 
segmentation fault (core dumped).

Anyone confirm? 

To replicate, simply add a vector layer, apply a Graduated symbology with the 
new symbology engine; then click with the right mouse button over the classes 
-> Change transparency.

I tried with spatialite and shapefiles, both with the same results 
(segmentation fault).

I am using QGIS master (ubuntugis) on Xubuntu 12.04.


Thanks.


Best regards,
Pedro Venâncio

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


Re: [Qgis-user] python error

2012-12-04 Thread Pedro Venâncio
Hi,

I think the problem was with python-qgis-common


pedro@fujitsu:~$ sudo apt-get upgrade 
A ler as listas de pacotes... Pronto
A construir árvore de dependências   
A ler a informação de estado... Pronto
0 pacotes actualizados, 0 pacotes novos instalados, 0 a remover e 0 não 
actualizados.
2 pacotes não totalmente instalados ou removidos.
Após esta operação, serão utilizados 0 B adicionais de espaço em disco.
Deseja continuar [Y/n]? y
A instalar python-qgis-common (1.9.0+git20121201+80fa7aa~precise-ubuntugis1) ...
A processar 'triggers' para python-central ...
A instalar python-qgis (1.9.0+git20121201+80fa7aa~precise-ubuntugis1) ...
A processar 'triggers' para python-central ...
A processar 'triggers' para libc-bin ...
ldconfig deferred processing now taking place
pedro@fujitsu:~$


For some reason the update did not work well, but now everything is ok.


Best regards,
Pedro Venâncio





- Original Message -
From: Pedro Venâncio 

Hi,


Yesterday I reported that problem with 
/usr/share/qgis/python/plugins/sextante/admintools/httplib2/__init__.py in dev 
mailinglist: 

http://osgeo-org.1560.n6.nabble.com/Couldn-t-load-plugin-ogrprocessing-after-upgrading-Sextante-from-github-td5020192.html
 


but the problem in starting QGIS is different and it just showed up today here, 
after upgrading to version 1.9.0+git20121201+80fa7aa~precise-ubuntugis1.

The error:

Couldn't load PyQGIS.
Python support will be disabled.

Traceback (most recent call last):
  File "", line 1, in 
ImportError: No module named qgis.core

Python version:
2.7.3 (default, Aug  1 2012, 05:27:35) 
[GCC 4.6.3]

QGIS version:
1.9.0-Master 'Master', exported

Python path:
['/usr/share/qgis/python', '/home/pedro/.qgis//python', 
'/home/pedro/.qgis//python/plugins', '/usr/share/qgis/python/plugins', 
'/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', 
'/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', 
'/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', 
'/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL', 
'/usr/lib/python2.7/dist-packages/gst-0.10', 
'/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7', 
'/usr/lib/python2.7/dist-packages/ubuntu-sso-client', 
'/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode']



Will be a problem with some dependency?

Thanks,
Pedro





From: Matteo Ghetta 

Ok I solved the problem..
During the updating thw first line of the file __init__.py (stored in 
/usr/share/qgis/python/plugins/sextante/admintools/httplib2) "from __future__ 
import generators" moved to the 26th line of the same file. I really don't 
understand why, but after moving it back to the right place, it seems that 
python (and the plugins) works correctly. 

Cheers

___
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] python error

2012-12-03 Thread Pedro Venâncio
Hi,


Yesterday I reported that problem with 
/usr/share/qgis/python/plugins/sextante/admintools/httplib2/__init__.py in dev 
mailinglist: 

http://osgeo-org.1560.n6.nabble.com/Couldn-t-load-plugin-ogrprocessing-after-upgrading-Sextante-from-github-td5020192.html
 


but the problem in starting QGIS is different and it just showed up today here, 
after upgrading to version 1.9.0+git20121201+80fa7aa~precise-ubuntugis1.

The error:

Couldn't load PyQGIS.
Python support will be disabled.

Traceback (most recent call last):
  File "", line 1, in 
ImportError: No module named qgis.core

Python version:
2.7.3 (default, Aug  1 2012, 05:27:35) 
[GCC 4.6.3]

QGIS version:
1.9.0-Master 'Master', exported

Python path:
['/usr/share/qgis/python', '/home/pedro/.qgis//python', 
'/home/pedro/.qgis//python/plugins', '/usr/share/qgis/python/plugins', 
'/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', 
'/usr/lib/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', 
'/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', 
'/usr/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages/PIL', 
'/usr/lib/python2.7/dist-packages/gst-0.10', 
'/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7', 
'/usr/lib/python2.7/dist-packages/ubuntu-sso-client', 
'/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode']



Will be a problem with some dependency?

Thanks,
Pedro





From: Matteo Ghetta 

Ok I solved the problem..
During the updating thw first line of the file __init__.py (stored in 
/usr/share/qgis/python/plugins/sextante/admintools/httplib2) "from __future__ 
import generators" moved to the 26th line of the same file. I really don't 
understand why, but after moving it back to the right place, it seems that 
python (and the plugins) works correctly. 

Cheers

___
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] qgis and Large Format Print

2012-11-25 Thread Pedro Venâncio
Oh sorry Andreas, I forgot to mention that, it is 32bit:

pedro@fujitsu:~$ uname -a
Linux fujitsu 3.2.0-33-generic #52-Ubuntu SMP Thu Oct 18 16:19:45 UTC 2012 i686 
i686 i386 GNU/Linux
pedro@fujitsu:~$ file /bin/bash | cut -d' ' -f3
32-bit

I must also say that this is my working QGIS, with lots of plugins, it is not a 
clean installation.


Best regards,
Pedro




- Original Message -
From: Andreas Neumann 

Hi Pedro,

Was this on a 32bit or 64bit Linux system?

Andreas

Am 25.11.2012 20:15, schrieb Pedro Venâncio:
> Hi Régis,
> 
> I did here some tests with your data, your project and your composer 
> (project_qgismaster_2613cf6.qgs).
> 
> I did exports to pdf vector up to 1200dpi (the generated pdf got 99.1MB) 
> without any problems (nor tiling, nor crashes).
> 
> Regarding the export to pdf raster, everything worked well up to 500dpi (the 
> generated pdf got 21.1MB). The three times I tried with 600dpi, qgis crashed.
> 
> I'm with QGIS master on Xubuntu 12.04, on a 6 years old laptop (Intel Core2 
> T5500@1.66GHz CPU and 2x1GB DDR2@533 SDRAM).
> 
> The processor was several times at 100% and RAM in export to pdf raster was 
> also close to 100%.
> 
> 
> 
> Best regards,
> Pedro Venâncio

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


Re: [Qgis-user] qgis and Large Format Print

2012-11-25 Thread Pedro Venâncio
Hi Régis,

I did here some tests with your data, your project and your composer 
(project_qgismaster_2613cf6.qgs).

I did exports to pdf vector up to 1200dpi (the generated pdf got 99.1MB) 
without any problems (nor tiling, nor crashes).

Regarding the export to pdf raster, everything worked well up to 500dpi (the 
generated pdf got 21.1MB). The three times I tried with 600dpi, qgis crashed.

I'm with QGIS master on Xubuntu 12.04, on a 6 years old laptop (Intel Core2 
T5500@1.66GHz CPU and 2x1GB DDR2@533 SDRAM).

The processor was several times at 100% and RAM in export to pdf raster was 
also close to 100%.



Best regards,
Pedro Venâncio





- Original Message -
From: haubourg 

Hi All,
I tried to create a common environnement to help us test and reproduce
thoses crashes. 
Please find a zip  (220Mo) with datas and qgs projects here, complete test
report and screen captures of CPU/Memory state:
https://www.dropbox.com/sh/zg4zidwab83ym0d/VpxPA3euLI/QGIS_CRASH_COMPOSER
<https://www.dropbox.com/sh/zg4zidwab83ym0d/VpxPA3euLI/QGIS_CRASH_COMPOSER>  

here are my firsts conclusions:

- Making a fresh install of latest master with no plugin or setting *do not
often lead to crash (once only for 20-30 exports), since when pdf or image
raster if resolution is > 300 dpi, then printing just.. does nothing except
creating an empty pdf.* 
Two months ago, I had QGis computing several minutes and leading to a crash.
*Something has changed! No crash, but still no usable export *

- PDF Vector export has a 'tiling' issue of raster background. It seems to
consume less ressources than raster printing. 

- image export do warn user if memory usage is high. PDF export should do
the same. BUT, image export warns you, and does nothing.. just like pdf
export. no image is generated 


I would be pleased to have some feedbacks on your platforms and versions..
We reallly need to consolidate exports. Mapping in QGIS is really often
dedicated to export and printing.. We need it stable. 
Régis
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] transparent labels

2012-11-15 Thread Pedro Venâncio
Hi Andreas,

Great! I have QGIS master on another machine, so I'll use it for that.

Thank you very much!

Best regards,
Pedro




- Original Message -
From: Andreas Neumann 

Hi Pedro,

This is possible in QGIS master - so please either wait for QGIS 2.0 or
install QGIS master if you need this feature.

Andreas

Am 15.11.2012 13:59, schrieb Pedro Venâncio:
> Hi,
> 
> This was an old thread, but this question came to me now. It's possible to 
> apply transparency to the layer's labels?
> 
> The transparency that is applied to the layer is not 'replicated' in its 
> label and I can not find a way to apply transparency to the labels (on QGIS 
> 1.8).
> 
> 
> Thank you very much!
> 
> Best regards,
> Pedro
> 
> 
> 
> 
>> Tue Oct 20 14:10:14 EDT 2009
>>
>>
>> I'm working on a map of selected U.S. DMA areas and would like to show
>> labels on the DMA regions. However, I also need all the county names
>> to be readable when the map is rendered. Can I make a layer's labels
>> be transparent?
>>
>> There is a transparency option in the data-defined style settings, but
>> that would seem to apply to layer objects and not labels. So far I've
>> rendered map and labels separately, and composited them in an external
>> image editor to get the transparency effect. These are large image
>> files and my system is not exactly top-of-the-line, so I'm looking for
>> a better technique : )
>>
>> Geofrey Sanders
>> Weather Call Customer Care
>> geofrey at weathercall.net
>> voicemail: 1 (800) 260-6695
> ___
> 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] transparent labels

2012-11-15 Thread Pedro Venâncio
Hi,

This was an old thread, but this question came to me now. It's possible to 
apply transparency to the layer's labels?

The transparency that is applied to the layer is not 'replicated' in its label 
and I can not find a way to apply transparency to the labels (on QGIS 1.8).


Thank you very much!

Best regards,
Pedro




>Tue Oct 20 14:10:14 EDT 2009
>
>
>I'm working on a map of selected U.S. DMA areas and would like to show
>labels on the DMA regions. However, I also need all the county names
>to be readable when the map is rendered. Can I make a layer's labels
>be transparent?
>
>There is a transparency option in the data-defined style settings, but
>that would seem to apply to layer objects and not labels. So far I've
>rendered map and labels separately, and composited them in an external
>image editor to get the transparency effect. These are large image
>files and my system is not exactly top-of-the-line, so I'm looking for
>a better technique : )
>
>Geofrey Sanders
>Weather Call Customer Care
>geofrey at weathercall.net
>voicemail: 1 (800) 260-6695
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Problem installing Profile plugin

2012-11-12 Thread Pedro Venâncio
>> I tested with polylines from external files, not with polylines created by 
>> qgis, not sure where the problem lies.

I've also tried it with shapefiles created in gvSIG, and the same happens.


>> yes, sorry I didn't specify

Ok, done!

Thanks Etienne!


Best regards,
Pedro

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


Re: [Qgis-user] Problem installing Profile plugin

2012-11-12 Thread Pedro Venâncio
Hi Etienne,

>> Does this happen just with a 2-point polyline (when initially created)? How 
>> about if you first create (and save) a 3-point polyline before using the 
>> plugin?

It's the same, the plugin can not create the profile for the last segment of a 
polyline (if the polyline has only one segment, then it creates nothing).

Should I fill the tickets in http://hub.qgis.org/projects/profiletool/issues ?

Thanks!


Regards,
Pedro





- Original Message -
From: Etienne Tourigny 

On Sun, Nov 11, 2012 at 7:54 PM, Pedro Venâncio
 wrote:
> Hi Etienne,
>
> I'm also having some problems with the Profile Plugin. I'm using Linux 
> (Xubuntu) and QGIS master.
>
> The first problem is this with matplotlib (I'm also using matplotlib 
> 1.1.1~rc1):
>
> Traceback (most recent call last):
>   File "/home/pedro/.qgis//python/plugins/profiletool/profileplugin.py", line 
>278, in changePlotLibrary
>     self.wdg.addPlotWidget(self.plotlibrary)
>   File "/home/pedro/.qgis//python/plugins/profiletool/ui/ui_ptdockwidget.py", 
>line 143, in addPlotWidget
>     self.plotWdg = PlottingTool().changePlotWidget("Matplotlib", 
>self.frame_for_plot)
>   File "/home/pedro/.qgis//python/plugins/profiletool/tools/plottingtool.py", 
>line 82, in changePlotWidget
>     fig = Figure( (1.0, 1.0), linewidth=0.0, subplotpars = 
>figure.SubplotParams(left=0, bottom=0, right=1, top=1, wspace=0, hspace=0) )
> NameError: global name 'figure' is not defined

I think this is due to major differences between 1.0 and 1.1 - I'll
try to look into this and probably just disable the matplotlib version
unless it's 1.0.
Unless someone has a fix for this...

>
>
> Using Qwt5 it works, but with some problems.
>
> On one hand, if I close the Profile Plugin before closing QGIS, the button in 
> Plugins toolbar remains "clicked", and when closing QGIS, it shows this error:
>
> Error while unloading plugin profiletool
> Traceback (most recent call last):
>   File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 237, in 
>unloadPlugin
>     plugins[packageName].unload()
>   File "/home/pedro/.qgis//python/plugins/profiletool/profileplugin.py", line 
>80, in unload
>     self.wdg.close()
> RuntimeError: underlying C/C++ object has been deleted

probably a problem in plugin unloading.  Please file a bug report.

>
>
>
> In use, the Plugin displays a strange behavior.
> Using the Selection "Temporary polyline" option, everything works fine.
> However, with the Selection "Selected polyline" option, if the polyline has 
> only 2 points (start and end), it does not create the profile. If I add 
> another point, the Plugin only creates the profile for the first segment. If 
> I create a fourth point, it just creates a profile for the first and second 
> segments. And so on.

Does this happen just with a 2-point polyline (when initially
created)? How about if you first create (and save) a 3-point polyline
before using the plugin?

Please file another bug report for this issue.

>
> I leave a screencast showing these problems: http://goo.gl/0tMwk
>
>
>
> Thanks!
>
> Best regards,
> Pedro Venâncio

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


Re: [Qgis-user] Problem installing Profile plugin

2012-11-11 Thread Pedro Venâncio
Hi Etienne,

I'm also having some problems with the Profile Plugin. I'm using Linux 
(Xubuntu) and QGIS master.

The first problem is this with matplotlib (I'm also using matplotlib 1.1.1~rc1):

Traceback (most recent call last):
  File "/home/pedro/.qgis//python/plugins/profiletool/profileplugin.py", line 
278, in changePlotLibrary
    self.wdg.addPlotWidget(self.plotlibrary)
  File "/home/pedro/.qgis//python/plugins/profiletool/ui/ui_ptdockwidget.py", 
line 143, in addPlotWidget
    self.plotWdg = PlottingTool().changePlotWidget("Matplotlib", 
self.frame_for_plot)
  File "/home/pedro/.qgis//python/plugins/profiletool/tools/plottingtool.py", 
line 82, in changePlotWidget
    fig = Figure( (1.0, 1.0), linewidth=0.0, subplotpars = 
figure.SubplotParams(left=0, bottom=0, right=1, top=1, wspace=0, hspace=0) )
NameError: global name 'figure' is not defined


Using Qwt5 it works, but with some problems.

On one hand, if I close the Profile Plugin before closing QGIS, the button in 
Plugins toolbar remains "clicked", and when closing QGIS, it shows this error:

Error while unloading plugin profiletool
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/qgis/utils.py", line 237, in 
unloadPlugin
    plugins[packageName].unload()
  File "/home/pedro/.qgis//python/plugins/profiletool/profileplugin.py", line 
80, in unload
    self.wdg.close()
RuntimeError: underlying C/C++ object has been deleted



In use, the Plugin displays a strange behavior.
Using the Selection "Temporary polyline" option, everything works fine.
However, with the Selection "Selected polyline" option, if the polyline has 
only 2 points (start and end), it does not create the profile. If I add another 
point, the Plugin only creates the profile for the first segment. If I create a 
fourth point, it just creates a profile for the first and second segments. And 
so on.

I leave a screencast showing these problems: http://goo.gl/0tMwk 



Thanks!

Best regards,
Pedro Venâncio







- Original Message -
From: JLancaster 


matplotlib 1.1.1. I used the Kyngchaos installer. 

Thanks for your work on this. An essential tool for my work. 

JD


Etienne Tourigny-3 wrote
> uhh ...
> 
> please, what is you matplotlib version?
> 
> thanks
> Etienne
> 
> On Tue, Nov 6, 2012 at 7:03 PM, JD Lancaster <

> jllancast@

> > wrote:
>>> Hi,
>>> sorry for the delay... I have just uploaded version 0.5.0
>>> (profiletool) which fixes this issue, as well as 1.9 compatibility and
>>> other UI fixes.
>>> You need to enable Experimental plugins to get this new version -
>>> please test it and give me your feedback.
>>> Regards,
>>> Etuenne

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 reproject vectors with Sextante?

2012-10-17 Thread Pedro Venâncio
Hi, 


I confirm Anita's observations.

Reproject Layer is now working well on Modeler, the resulting shapefile is well 
reprojected, but is added to the project with the project CRS.

Best regards,
Pedro





- Original Message -
From: Anita Graser 

Hi,

Reprojection works now. Thank you!

The only issue is that - while the layer is correctly reprojected - it
is added to the project with wrong CRS settings. (Seems like project
CRS is picked no matter what was picked as a target CRS.)

Best wishes,

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


Re: [Qgis-user] How to reproject vectors with Sextante?

2012-10-14 Thread Pedro Venâncio
Hi,

Modeler is working again! At least with the little testing I've done, it's 
working well!

But Reproject Layer is still giving an error in Modeler:


Traceback (most recent call last):
  File 
"/usr/share/qgis/python/plugins/sextante/modeler/ModelerParametersDialog.py", 
line 692, in okPressed
    if self.setParamValues():
  File 
"/usr/share/qgis/python/plugins/sextante/modeler/ModelerParametersDialog.py", 
line 503, in setParamValues
    if not self.setParamValue(param, self.valueItems[param.name]):
  File 
"/usr/share/qgis/python/plugins/sextante/modeler/ModelerParametersDialog.py", 
line 681, in setParamValue
    self.values[name] = str(widget.getText())
AttributeError: 'QLineEdit' object has no attribute 'getText'

Python version:
2.7.3 (default, Aug  1 2012, 05:27:35)
[GCC 4.6.3]



Best regards,
Pedro

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


Re: [Qgis-user] How to reproject vectors with Sextante?

2012-10-13 Thread Pedro Venâncio
Hi Alexander,

I made that, but keep going with an error:

Traceback (most recent call last):
  File "/usr/share/qgis/python/plugins/sextante/modeler/ModelerDialog.py", line 
313, in addAlgorithm
    dlg = ModelerParametersDialog(alg, self.alg)
  File 
"/usr/share/qgis/python/plugins/sextante/modeler/ModelerParametersDialog.py", 
line 68, in __init__
    self.setupUi()
  File 
"/usr/share/qgis/python/plugins/sextante/modeler/ModelerParametersDialog.py", 
line 133, in setupUi
    self.iterateButtons[param.name] = button
AttributeError: 'ModelerParametersDialog' object has no attribute 
'iterateButtons'

Python version:
2.7.3 (default, Aug  1 2012, 05:27:35)
[GCC 4.6.3]



Thanks!

Best regards,
Pedro





- Original Message -
From: Alexander Bruy 

Just download file and replace existing one.

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


Re: [Qgis-user] How to reproject vectors with Sextante?

2012-10-13 Thread Pedro Venâncio
Hi Alexander,

Thank you!! 

I already have the file corrected
https://raw.github.com/qgis/Quantum-GIS/master/python/plugins/sextante/modeler/ModelerParametersDialog.py

Is there any easy way to test it directly, as was the case before the sextant 
was placed as core plugin?

Thanks!




- Original Message -
From: Alexander 

Fixed in 600888f

2012/10/13 Alexander Bruy :
> Hi Pedro,
>
> this error is not related to Reproject Layer tool itself, there is missing
> import in SEXTANTE modeller. I'll look at it.

-- 
Alexander Bruy

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


Re: [Qgis-user] How to reproject vectors with Sextante?

2012-10-13 Thread Pedro Venâncio
Oops, I think the error is from Modeler, because it is happening with every 
tool.

Anyone confirm?


Best regards,
Pedro Venâncio




- Original Message -
From: Pedro Venâncio 

Hi Alexander,

On Linux I already have the revision with Reproject Layer, and by the tests I 
did, it's working well! 

But when I try to use it integrated in Modeler, I get this error:

An error has occured while executing Python code:

Traceback (most recent call last):
  File "/usr/share/qgis/python/plugins/sextante/modeler/ModelerDialog.py", line 
313, in addAlgorithm
    dlg = ModelerParametersDialog(alg, self.alg)
  File 
"/usr/share/qgis/python/plugins/sextante/modeler/ModelerParametersDialog.py", 
line 65, in __init__
    self.setupUi()
  File 
"/usr/share/qgis/python/plugins/sextante/modeler/ModelerParametersDialog.py", 
line 123, in setupUi
    icon = QtGui.QIcon(os.path.dirname(__file__) + "/../images/iterate.png")
NameError: global name 'os' is not defined

Python version:
2.7.3 (default, Aug  1 2012, 05:27:35) 
[GCC 4.6.3]


QGIS version:
1.9.0-Master Master, exported

Python path: ['/usr/share/qgis/python/plugins/sextante', 
'/home/pedro/.qgis//python/plugins/ogrprocessing', '/usr/share/qgis/python', 
'/home/pedro/.qgis//python', '/home/pedro/.qgis//python/plugins', 
'/usr/share/qgis/python/plugins', '/usr/lib/python2.7', 
'/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', 
'/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', 
'/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', 
'/usr/lib/python2.7/dist-packages/PIL', 
'/usr/lib/python2.7/dist-packages/gst-0.10', 
'/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7', 
'/usr/lib/python2.7/dist-packages/ubuntu-sso-client', 
'/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode', 
'/home/pedro/.qgis/python/plugins/mmqgis/forms', 
'/home/pedro/.qgis/python/plugins/qgis2kml', 
'/home/pedro/.qgis/python/plugins/qgis2kml', 
'/usr/share/qgis/python/plugins/fTools/tools']


Thanks!

Best regards,
Pedro Venâncio




From: Alexander Bruy

Thanks. So, revison is dd67935. Reproject tool was added after
this commit.

In another thread Jürgen said that there were problems with
nightly builds, and as result latest changes still not available.
As I understand now this is fixed and next build will include
it.

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


Re: [Qgis-user] How to reproject vectors with Sextante?

2012-10-13 Thread Pedro Venâncio
Hi Alexander,

On Linux I already have the revision with Reproject Layer, and by the tests I 
did, it's working well! 

But when I try to use it integrated in Modeler, I get this error:

An error has occured while executing Python code:

Traceback (most recent call last):
  File "/usr/share/qgis/python/plugins/sextante/modeler/ModelerDialog.py", line 
313, in addAlgorithm
    dlg = ModelerParametersDialog(alg, self.alg)
  File 
"/usr/share/qgis/python/plugins/sextante/modeler/ModelerParametersDialog.py", 
line 65, in __init__
    self.setupUi()
  File 
"/usr/share/qgis/python/plugins/sextante/modeler/ModelerParametersDialog.py", 
line 123, in setupUi
    icon = QtGui.QIcon(os.path.dirname(__file__) + "/../images/iterate.png")
NameError: global name 'os' is not defined

Python version:
2.7.3 (default, Aug  1 2012, 05:27:35) 
[GCC 4.6.3]


QGIS version:
1.9.0-Master Master, exported

Python path: ['/usr/share/qgis/python/plugins/sextante', 
'/home/pedro/.qgis//python/plugins/ogrprocessing', '/usr/share/qgis/python', 
'/home/pedro/.qgis//python', '/home/pedro/.qgis//python/plugins', 
'/usr/share/qgis/python/plugins', '/usr/lib/python2.7', 
'/usr/lib/python2.7/plat-linux2', '/usr/lib/python2.7/lib-tk', 
'/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', 
'/usr/local/lib/python2.7/dist-packages', '/usr/lib/python2.7/dist-packages', 
'/usr/lib/python2.7/dist-packages/PIL', 
'/usr/lib/python2.7/dist-packages/gst-0.10', 
'/usr/lib/python2.7/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.7', 
'/usr/lib/python2.7/dist-packages/ubuntu-sso-client', 
'/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode', 
'/home/pedro/.qgis/python/plugins/mmqgis/forms', 
'/home/pedro/.qgis/python/plugins/qgis2kml', 
'/home/pedro/.qgis/python/plugins/qgis2kml', 
'/usr/share/qgis/python/plugins/fTools/tools']


Thanks!

Best regards,
Pedro Venâncio




From: Alexander Bruy

Thanks. So, revison is dd67935. Reproject tool was added after
this commit.

In another thread Jürgen said that there were problems with
nightly builds, and as result latest changes still not available.
As I understand now this is fixed and next build will include
it.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


  1   2   >