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):

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

to get something like this:

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

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=...

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] Bar menu issues

2021-03-26 Thread Pedro de Greiff
Hello

The menu bar doesn't display the Vector And Raster Menus. It was working
fine, and then the problem appeared. , also the "process" menu does not
appear at all  in the menu.
I have uninstalled and reinstalled many times and the result is the same,
it is 64 bit.

Gracias

Pedro de Greiff G
___
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] Changes in Python versions on QGIS 3.18

2021-03-24 Thread Pedro Camargo
Hello,

I am not sure this is the appropriate mailing list to send this, but here
it goes.

I have noticed that QGIS 3.18 for Windows has shipped with Python 3.9,
after having updated to 3.8 just a couple of versions ago.

As a plugin developer, it becomes very difficult to track things and make
sure plugins are up-to-date in the face of changing Python versions,
especially when the move is to a bleeding edge version such as 3.9 right
now.

What channels should I be plugged into to learn about these changes and
offer input before they happen?  Is there such a channel?

Cheers,
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] Loss of data

2020-11-15 Thread Pedro Machado Monteiro
Hey Vladut:

If you succeed in recovering the previous *dbf* file, you can join it again
to the recent damaged shapefile, by the common field of area, provided your
previous field SUP (area) was actually the area of the geometry elements.


Before joining, recalculate and/or round the area fields, in order to fix
them to the same and appropriate number of decimals (and, if necessary,
convert them to string),  so that you can assure exact matches.

Best regards

Pedro Monteiro












Andrea Peri  escreveu no dia domingo, 15/11/2020 à(s)
11:36:

> Restoring only the dbf will do am error for a shapefile because it is sync
> with shp and shx.
> The retrieve should fo for all three files or nothing.
> The dhx could be recalculate from dbf and shp. But dbf and shp must be
> sync-ed.
>
> A.
>
>
> Il dom 15 nov 2020, 11:37 Yury  ha scritto:
>
>> Windows has a feature called previous versions. Locate the shape files on
>> explorer, look for the dbf file, right click, properties and see if you
>> have any previous versions that you can restore.
>>
>> On Sun, 15 Nov 2020, 10:45 Francesco Pelullo, 
>> wrote:
>>
>>> Ciao Vladut,
>>>
>>> I'm sorry, you have no chanches to recover deleted attributes.
>>>
>>> You need to populate attributes again.
>>>
>>> However, in my mind, this could be not a impossible job.
>>>
>>> SUP (area) attribute is a geometry dependant value, you could calculate
>>> areas again with a simple string in field calculator.
>>>
>>> TIPO (Type) attribute is the real problem, but since I suppose you
>>> extracted it from some public data source, maybe you could use field
>>> calculator again for extract data in minutes.
>>>
>>> Don't worry, these are common experiences that would drive you to a more
>>> prudent jobs management.
>>>
>>> Also hope you will adopt another file format (.gpkg is great) and leave
>>> shapefiles.
>>>
>>> Ciao
>>> Francesco
>>>
>>>
>>>
>>> Il dom 15 nov 2020, 10:12 Vladut Constandoiu  ha
>>> scritto:
>>>
>>>> Good morning,
>>>>
>>>> My name is Vladut Constandoiu, I'm a university student from Trento,
>>>> Italy and I'm using QGis for my master thesis.
>>>> Yesterday I had a very unpleasant experience with QGis. I have a
>>>> shapefile that contains all of the different areas of the
>>>> river's hydrological basin on which I'm doing my project; every element has
>>>> two attributes: type (TIPO) and area (SUP). Somehow I managed to erase
>>>> those attributes from the attribute table and could not do undo (ctrl+z or
>>>> anything else) since the auto-save plug-in activated exatly 2 seconds
>>>> after  my mistake and saved the changes. The shapefile contains about 6900
>>>> elements, and they were all sorted by use, while now they are just areas
>>>> without any information.
>>>> Is there any way to recover a previous version of that shapefile so
>>>> that I don't have to spend uncountable hours putting all the attributes
>>>> back in?
>>>> Here are three pictures of my work, previously and after the loss of
>>>> information.
>>>>
>>>> Before data loss:
>>>> [image: image.png]
>>>>
>>>> After data loss + legend of types of area:
>>>> [image: image.png]
>>>>
>>>> Attribute panel:
>>>> [image: image.png]
>>>>
>>>> I would be enormously grateful to anyone who could help me find a
>>>> solution for this mess.
>>>>
>>>> Thank you very much in advance and have a nice day.
>>>> Sincerely,
>>>> Vladut Constandoiu
>>>> ___
>>>> 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
>
> ___
> 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] Couldn't load SIP module

2020-11-06 Thread Pedro Ferreira
Hi
Had a problem similar last week after upgrading from QGIS 3.14 to 3.16 on my
Linux Mint 19.3 machine. The problem I had was If I needed to opening
properties dialogue for raster, QGIS ended up crashing. After a couple of
tries removing and reinstalling I've ended up with the SIP error. After
reeding this post https://github.com/qgis/QGIS/issues/39628 I've found out
that it could be a Py-Qt5 problem. I've done this:

1. Purged QT5 along with QGIS;
2. In terminal
sudo apt install gnupg and software-properties-common
sudo apt install qgis qgis-plugin-grass
sudo add-apt-repository ppa:beineri/opt-qt-5.14.2-bionic
sudo apt update
sudo apt install qt514-meta-full 
source /opt/qt514/bin/qt514-env.sh
qgis

Hope it helps you.
Pedro



-
Pedro Ferreira
--
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

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-24 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-18 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

[Qgis-user] QGIS Server GetPrint Use Redlining

2018-12-10 Thread Pedro Henriques
 Hello,

I using QGIS Server 3.4 and I'm trying to generate a pdf using Redlining.
When I make a getprint using redlining, it only returns me the pdf with the
drawing sent in the geomeria, that is, the layers that are in the project
qgs do not appear.

   -
   
http://localhost/cgi-bin/qgis_mapserv.fcgi?map=/usr/lib/cgi-bin/eploc/eploc.qgs=WMS=1.3.0=GetPrint=EPSG:3763=application/vnd.ogc.se_inimage=true_GEOM=POLYGON((-38181.2152513194%20-1084.2058541722063,-38202.381960319486%20-1341.7341470065699,-37789.631134817835%20-1292.3451593397056,-37884.881325318216%20-1147.7059811724605,-38181.2152513194%20-1084.2058541722063))_SYMBOL=%3CStyledLayerDescriptor%3E%3CUserStyle%3E%3CName%3EHighlight%3C/Name%3E%3CFeatureTypeStyle%3E%3CRule%3E%3CName%3ESymbol%3C/Name%3E%3CLineSymbolizer%3E%3CStroke%3E%3CSvgParameter%20name=%22stroke%22%3E%23ea1173%3C/SvgParameter%3E%3CSvgParameter%20name=%22stroke-opacity%22%3E1%3C/SvgParameter%3E%3CSvgParameter%20name=%22stroke-width%22%3E5%3C/SvgParameter%3E%3C/Stroke%3E%3C/LineSymbolizer%3E%3C/Rule%3E%3C/FeatureTypeStyle%3E%3C/UserStyle%3E%3C/StyledLayerDescriptor%3E=A4%20-%20Vertical:EXTENT=-40854.07572967957,-2126.5006543812624,-35774.06556965925,604.0048066296604:ROTATION=0:SCALE=2000=pdf=300:_uid:63249544
   - IMG - http://owncloud.cm-ourem.pt/owncloud/index.php/s/8IKcUJgcBZqZTTB

However, if you do a getprint, but without the redlining layers already
appear.

   -
   
http://localhost/cgi-bin/qgis_mapserv.fcgi?map=/usr/lib/cgi-bin/eploc/eploc.qgs=WMS=1.3.0=GetPrint=EPSG:3763=application/vnd.ogc.se_inimage=true=A4%20-%20Vertical:EXTENT=-77047.4762001524,-15281.340957581922,-847.3237998475961,25676.24095758192:ROTATION=0:SCALE=2000=pdf=300:_uid:63249544
   - IMG - http://owncloud.cm-ourem.pt/owncloud/index.php/s/Kx0SqCSjrw7CTxw

  What i'm doing something wrong on request?

Cumprimentos
*Pedro Henriques*
___
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

[Qgis-user] Importing Layers from .dxf to .kml

2018-06-05 Thread Pedro Amaro (Infratec)
Hello.



I am trying to create a .kml file with the information contained in a .dxf
file.



I already can upload the .dxf file to QGIS and keep the dxf's layers'
information. Also, QGIS presents the .dxf drawing with its original colours.



I also can create the corresponding .kml file. The problem is that this .kml
file presents every element with one colour only. I can select manually
different colours for different .dxf's layers, but usually I have dozens of
layers and doing so manually takes a really long time. Is there anyway I can
create the .kml file keeping the .dxf's colours, as QGIS presents? I do not
know if it is useful, but I have an attribute that has the RGB colour.



Thanks!



Com os melhores cumprimentos | Best regards | Saludos cordiales



Pedro Amaro



---
Este e-mail foi verificado em termos de vírus pelo software antivírus Avast.
https://www.avast.com/antivirus
___
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 <frippe12...@hotmail.com>:

> 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 <pedrongvenan...@gmail.com>
> *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 <frippe12...@hotmail.com>:
>
>> 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 <frippe12...@hotmail.com>:

> 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 <frippe12...@hotmail.com>:

> 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 <pedrongvenan...@gmail.com>
> *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 <frippe12...@hotmail.com>:
>
>>
>> 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 <pedrongvenan...@gmail.com>
>> *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 <frippe12...@hotmail.com>:
>>
>>> 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 <frippe12...@hotmail.com>:

>
> 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 <pedrongvenan...@gmail.com>
> *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 <frippe12...@hotmail.com>:
>
>> 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 <frippe12...@hotmail.com>:

> 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 <frippe12...@hotmail.com>:

> 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

[Qgis-user] R.sun and the irradiation calc

2017-05-05 Thread Pedro Alcoba Gómez
Hello everyone,



I have a question about the calculation of irradiation for a study area in
QGIS.



This calculation was performed using the GRASS r.sun model integrated in
QGIS.



As input data I use an MDE, and a layer of slopes (in degrees) and
orientations calculated from the MDE.



After performing in analysis, and comparing the irradiation data for the
month of January and August, I get higher levels for January.

The study area is located in the southwest of Spain EPSG: 25830 ETRS1989 30N



In my opinion the result is unreal, since the highest irradiation rates
obtained in the northern hemisphere correspond to the summer months. Does
anyone have any idea that it may be going wrong?



A greeting and thanks in advance


--
Atte. Pedro Alcoba Gómez
___
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 <gioha...@gmail.com>:

> 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

[Qgis-user] Saving Linestring layer to SQLite

2017-01-25 Thread Pedro Camargo
Hi,
I have been struggling for a few days now with importing Linestring
layers into Spatialite.

Every time I save the layers into a sqlite file, they are automatically
converted to MultiLinestring, even though they are perfectly normal
Linestring files in all other formats I tested (SHP and TAB).

Has anybody come across this before?

Cheers,
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

Re: [Qgis-user] Symbolizing a discrete or a boolean raster (Stéphane Henriod)

2017-01-11 Thread Pedro Machado Monteiro
I totally agree. For a simple user like me, directly retrieving unique
values (like ArcGis does), and having direct access to raster tables, would
be a major step to enhance raster work productivity.

All the best

Pedro Monteiro











2017-01-11 3:55 GMT+00:00 Stéphane Henriod <s...@henriod.info>:

> Hi Richard
>
> this is a nice workaround, that I will also probably use in the future!
> Thanks a lot!
>
> However, this becomes unhandy:
>
>- if the raster doesn't contain all values between 1 and 50 (let's
>say, there are only classes 2, 23, 56 and 49) => need to manually remove
>all the unnecessary values
>- if the raster contains a discrete amount of decimal values (2.3, 4.5
>and 12.8)
>- if I don't know in advance the number of classes (which happens
>quite often: I receive a dataset that I don't know much about and want to
>quickly display / style it to explore it)
>
> All the answers in this thread actually justify (IMO) the feature request:
> it is at the moment possible to style discrete rasters in QGIS but only
> using workarounds that are not necessarily adapted in all cases and that
> are completely untransparent for beginners.
>
> All the best
>
> Stéphane
>
>
> Le mardi 10 janvier 2017, Richard McDonnell <richard.mcdonn...@opw.ie> a
> écrit :
>
>> Harrissou,
>>
>> Not sure if this is a solution, or if anyone has already given you this
>> answer, but if you know a classified raster has *50* values, which
>> you wish to style individually, you could try setting
>> *: *
>>
>>- *Colour Interpolation* to *Linear*
>>- *Mode *to* Equal Interval*
>>- *Classes *to* 51 *(one more than the Max)
>>
>> I have only just tested this on a raster with 4 values and its worked for
>> me!
>> Hope this helps!
>> Regards,
>>
>> Richard.
>>
>> On 10/01/2017 09:49, DelazJ wrote:
>>
>> Hi Stéphane,
>>
>> 2017-01-10 4:02 GMT+01:00 Stéphane Henriod <s...@henriod.info>:
>>
>>> Hi Chris
>>>
>>> this is very nice! I indeed didn't know this trick and will certainly
>>> use it again in the future!
>>>
>>> However... :-)
>>>
>>> I am currently teaching QGIS to beginners and this for sure is not an
>>> appropriate method for them (especially in the case you have to generate
>>> the symbology file through a script)!
>>>
>>> Since the user can style continuous rasters with some "button-clicking",
>>> I believe the same option should be available for discrete rasters as well.
>>>
>>> I am thus wondering if anyone else than me sees it as a priority for
>>> QGIS? If yes, how to motivate the developers to take it for the next
>>> release and / or how much would such a development cost? (I unfortunately
>>> don't have the competences to do it myself)
>>>
>>> There have been some work done in the raster properties dialog in the
>> upcoming 3.0. I don't know if your concern was covered though.
>> If you want, you can move the question to the developer's list
>> <http://qgis.org/en/site/getinvolved/mailinglists.html#qgis-developers-list>
>> and discuss whether/how this can be implemented (and its requirements).
>>
>> Regards,
>> Harrissou
>>
>> Thanks again and cheers!
>>>
>>> Stéphane
>>>
>>>
>>> Le mardi 10 janvier 2017, Chris House <house...@gmail.com> a écrit :
>>>
>>>> Hi Stéphane,
>>>>
>>>> I don't know if this is what you are looking for or not but I have a
>>>> method of classifying rasters by color based on a set (standard) colors.  I
>>>> created a spreadsheet that has several required columns, value, red, green,
>>>> blue...and you can have an optional field for a display value.  So say
>>>> value 1 is water you can use that last column to name that value so that in
>>>> the QGIS layer tree and in legend it says Water instead of value 1.
>>>>
>>>> save the spreadsheet as a csv and change the extension to .txt instead
>>>> of .csv.
>>>>
>>>> I then go into the symbology section of the raster choose singleband
>>>> pseudocolor. Use the folder to browse to your text file and click add.
>>>> There is a format for this text file.  It is below.  If you need me to
>>>> email it I will do that in direct email.
>>>>
>>>> # QGIS Generated Color Map Export File
>>>> INTERPOLATION:EXACT
>>>> -999

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 <rjh...@northrivergeographic.com>:

> 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 <j...@norbit.de> 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 <cavall...@faunalia.it>:

> 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=IT=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 <azzurralent...@gmail.com>:

> 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 <nyall.daw...@gmail.com>:
>
>>
>>
>> On 20 Dec 2016 05:06, "Azzurra Lentini" <azzurralent...@gmail.com> 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 ver

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=en=y=_t=pt-PT=UTF-8=http%3A%2F%2Fwww.qgis.pt%2Fblog%2F2014%2F07%2F13%2Ftransformacao-de-coordenadas-e-utilizacao-das-grelhas-ntv2-no-qgis%2F==url

Best regards,
Pedro Venâncio



2016-10-04 11:58 GMT+01:00 Neumann, Andreas <a.neum...@carto.net>:

> 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=en=y=_t=pt-PT=UTF-8=http%3A%2F%2Fqgis.pt%2Fblog%2F2015%2F10%2F02%2Fimportar-fotografias-georreferenciadas-para-o-qgis%2F==url

Best regards,
Pedro Venâncio



2016-06-01 23:12 GMT+01:00 Andrew Mathews <amath...@ucsc.edu>:

>
> 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

[Qgis-user] Function deprecated

2016-03-30 Thread Pedro Camargo
Hi,
I am writing a plugin to style a set of layers and I am getting a
message of deprecation on QGIS 2.14

I read the documentation but I was honestly not able to decipher it.  Can
somebody give me a pointer on how the following *bold* lines of code would
change?



*symbolList = layer.rendererV2().symbols()*...

linkMeta = symLyrReg.instance().symbolLayerMetadata('SimpleMarker')
link = linkMeta.createSymbolLayer(linkStyle)
link.setDataDefinedProperty('angle', 'if ("Dirn" =1,90,270)')
*link.setDataDefinedProperty('size', 'if ("Dirn" = 1,1.8,if ("Dirn" =
3,1.8,0))')*

Thanks,

Pedro
___
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=en=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" <pedrongvenan...@gmail.com> 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" <l...@ign.ku.dk> 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" <l...@ign.ku.dk> 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 <ilg...@studioyb.it>:

> 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 <nlou...@ualg.pt>:

> 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] 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. <j...@norbit.de>:

> 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

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 <radim.bla...@gmail.com>:

> 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

[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] extracting the starting point and end point from a linear geometry

2015-07-01 Thread Pedro Jorge de Sousa Ferreira
Hi,
I have a processing model that I hope does what you want. You can download
it form here:
https://meocloud.pt/link/48acc984-0d47-4089-8a31-be4df5cb8a8c/extract_start_end_nodes.model/
Add it to yours Processing Models.

All the best




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/extracting-the-starting-point-and-end-point-from-a-linear-geometry-tp5213530p5213747.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Opengeo (Geoserver) - QGIS 1:n relations

2015-06-15 Thread Pedro
Jonathan Moules-3 wrote
 Hi Pedro,
 Generally speaking GeoServer doesn't do 1:n relationships.
 At the base level, any GeoServer layer represents just one database table.
 
 There are 3 exceptions:
 1) Where GeoServer has been pointed to a View (see Alex's reply)
 2) Where you have a layergroup. As their name suggests these contain many
 layers grouped together to appear as one.
 3) If you're using an SQLView -
 http://docs.geoserver.org/stable/en/user/data/database/sqlview.html
 
 I've not used the OpenGeo plugin so don't know what it's doing when it
 does the 1:n relationship business.
 
 Cheers,
 Jonathan
 
 -Original Message-
 From: 

 qgis-user-bounces@.osgeo

  [mailto:

 qgis-user-bounces@.osgeo

 ] On Behalf Of Pedro
 Sent: Monday, June 08, 2015 3:00 PM
 To: 

 qgis-user@.osgeo

 Subject: [Qgis-user] Opengeo (Geoserver) - QGIS 1:n relations
 
 Hi,
 
 I'm using Opengeo plugin in QGIS top publish at Geoserver.
 Have a problem that I don't know how to handle it.
 
 At QGIS Project Properties established a relationship between two postgis
 tables (1:n).
 So when  when I open an object editor got the information from the two
 tables. (just 1 table have a geometry column).
 
 By submitting the project to the Geoserver (with OpenGeo plugin) it takes
 the individual layers, i.e.,  it lose the relationship between the tables.
 
 Are you aware if there is a way to keep this 1:n relationship in
 Geoserver?
 
 http://lists.osgeo.org/mailman/listinfo/qgis-user

Jonathan and Alex, appreciate your insights.
Based on that I will try to built something that emulate the 1:n
relationship.



Not quite related but another problem emerged when using the OpenGeo
plugin...
I would like to give a different name (alias) to the columns of my tables
and I did that at QGIS Layer Properties, but when I save the style in a .sld
file but such information is not stored in the file (in a .qml style file
all the information is stored).

So, as anyone know if it's possible to give aliases to columns at geoserver
(or any kind of workaround like converting qml file to sld...) ?

Thanks,
Pedro



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Opengeo-Geoserver-QGIS-1-n-relations-tp5209762p5210950.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] Opengeo (Geoserver) - QGIS 1:n relations

2015-06-08 Thread Pedro
Hi,

I'm using Opengeo plugin in QGIS top publish at Geoserver.
Have a problem that I don't know how to handle it.

At QGIS Project Properties established a relationship between two postgis
tables (1:n). 
So when  when I open an object editor got the information from the two
tables. (just 1 table have a geometry column).

By submitting the project to the Geoserver (with OpenGeo plugin) it takes
the individual layers, i.e.,  it lose the relationship between the tables.

Are you aware if there is a way to keep this 1:n relationship in Geoserver?


Thanks,
Pedro



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Opengeo-Geoserver-QGIS-1-n-relations-tp5209762.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] 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 mcole...@gmail.com:

 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
 https://sea.ucar.edu/event/python-qgis-plugin-tweeter-analysis-during-emergencies.
 I apologize for the out of sync audio, and that I wandered from the podium
 during the closing QA 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 alexander.b...@gmail.com:

 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 l...@ign.ku.dk:
  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 pedrongvenan...@gmail.com:

 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.45W, 40d59'35.67N)
 Lower Left ( 50410.245, 100555.124) ( 7d32'16.02W, 40d34'20.37N)
 Upper Right ( 122802.920, 147300.394) ( 6d40'25.89W, 40d59' 8.02N)
 Lower Right ( 122802.920, 100555.124) ( 6d40'58.94W, 40d33'53.13N)
 Center ( 86606.582, 123927.759) ( 7d 6'25.74W, 40d46'47.18N)
 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
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. j...@norbit.de:

 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] 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 anitagra...@gmx.at:


 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] [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=pttl=enjs=yprev=_thl=pt-PTie=UTF-8u=http%3A%2F%2Fqgis.pt%2Fblog%2F2014%2F07%2F13%2Ftransformacao-de-coordenadas-e-utilizacao-das-grelhas-ntv2-no-qgis%2Fedit-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 insertupdate data in PostGis Views

2014-11-27 Thread Pedro
kimaidou wrote
 Hi Pedro
 
 Sorry for the late answer. I will answer the issue on github too.
 
 You are right, you should normally be able to edit your view in Lizmap
 too.
 I doubt this is a user problem, as Lizmap read the datasource in QGIS for
 each edition layer and so use the same user.
 
 I will have a look at the error reported in github issue. Could you report
 there 
*
 [1]  version of QGIS do you use as desktop and server ?
*
 
 
 Regards
 Michael

Hi Michael,

Thanks for your reply.
I've update the github issue with the information you ask for (QGIS Sever:
2.6.0.1 ; QGIS Desktop: 2.6 and 2.4 ).

Few days ago I've opened another github issue (#107): when identifying a
feature, the form don't have the configuration that we define at QGIS |Edit
Widget but with the edit form it have the same configuration define in QGIS
| Edit Widget (like it should).


I take this opportunity to mention other issues that seems to me are not
with a fine tuning at Lizmap (its more some kind of improvement tasks):

1. It would be helpful if, at Lizmap Plugin, we can define which is the Base
Layer we want to see at entrance on Lizmap Web client (in my case I would
like to make the empty base layer the layer of entrance in the lizmap web)


2. If you have a Google Base Layer it change the font in the identify form.
http://osgeo-org.1560.x6.nabble.com/file/n5175256/base_layers.png 



Thank you for your time,
Pedro




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Lizmap-can-t-insert-update-data-in-PostGis-Views-tp5174737p5175256.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Lizmap - can't insertupdate data in PostGis Views

2014-11-26 Thread 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


Re: [Qgis-user] Lizmap - can't insertupdate 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 pedro.fe...@gmail.com:

 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] Lizmap - can't insertupdate data in PostGis Views

2014-11-26 Thread Pedro
I'm using the Lizmap user 'admin'.
I didn't check but I imagine that all the permissions are in a yes mode

Now you talk about it I will check.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Lizmap-can-t-insert-update-data-in-PostGis-Views-tp5174737p5175020.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Lizmap - can't insertupdate data in PostGis Views

2014-11-26 Thread Pedro
Alexandre Neto wrote
 On Wed, Nov 26, 2014 at 9:53 AM, Pedro Venâncio lt;

 pedrongvenancio@

 gt;
 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

Re: [Qgis-user] Lizmap - can't insertupdate 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 pedro.fe...@gmail.com:

 Alexandre Neto wrote
  On Wed, Nov 26, 2014 at 9:53 AM, Pedro Venâncio lt;

  pedrongvenancio@

  gt;
  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 insertupdate data in PostGis Views

2014-11-26 Thread Pedro
Yes, the user to access the Postgresql is the same in QGIS and Lizmap.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Lizmap-can-t-insert-update-data-in-PostGis-Views-tp5174737p5175038.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] 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 filipesd...@gmail.com:

 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 andre+jo...@nurfuerspam.de
 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] [QGIS-pt] error in XML qgis layer style

2014-10-21 Thread Pedro Costa

I am using qgis but also tried with  a query.
I add what you said but do not work to.



Em 21-10-2014 09:12, Luigi Pirelli escreveu:

are you saving using sql or qgis functionalities? it seems you have an
already prepared XML and you want to insert in postgres styles table
using sql. If it so, add

SET XML OPTION DOCUMENT;

before the update or insert statement

regards, Luigi Pirelli

On 21 October 2014 09:57, Pedro Costa pedrocostaa...@sapo.pt wrote:

Sorry I write it in portuguese by mistake.
I'm trying to save a qgis style in postgresql database but i receive this
error.
I think it's an error on XML document and tried to find in XML validator but
i get no errors.
Any tip about how to fix that or what is the problem?

Thanks


Em 21-10-2014 08:38, Luigi Pirelli escreveu:

are you trying to restore a pgdump?
estas probando a reimportar un dump de postgres?

a presto Luigi Pirelli

2014-10-20 18:26 GMT+02:00 Pedro Costa pedrocostaa...@sapo.pt:

Boa tarde pessoal,

Estou a tentar gravar um ficheiro de estilo numa BD postgres mas recebo o
seguinte erro na query:

ERRO:  invalid XML document
DETAIL:  Entity: line 1: parser error : Unfinished System or Public ID 
or
' expected
!DOCTYPE qgis PUBLIC http://mrcc.com/qgis.dtd; SYSTEM


Pelos vistos é um erro no documento XML do INSERT da query:

INSERT INTO (...)

XMLPARSE(DOCUMENT

'!DOCTYPE qgis PUBLIC ''http://mrcc.com/qgis.dtd'' ''SYSTEM''
qgis version=2.4.0-Chugiak minimumScale=-4.65661e-10
maximumScale=1e+08 simplifyDrawingHints=0 minLabelScale=0
maxLabelScale=1e+08 simplifyDrawingTol=1 simplifyMaxScale=1
hasScaleBasedVisibilityFlag=0 simplifyLocal=1
scaleBasedLabelVisibilityFlag=0
   renderer-v2 symbollevels=0 type=singleSymbol...

(...)




Alguém já se deparou com ele ou tem uma dica para o contornar? Já
coloquei
no XML Validator que não encontrou nada.

OS Win7 64 bits
Qgis 2.4

Abraços

___
QGIS-pt mailing list
qgis...@lists.osgeo.org
http://lists.osgeo.org/cgi-bin/mailman/listinfo/qgis-pt


___
QGIS-pt mailing list
qgis...@lists.osgeo.org
http://lists.osgeo.org/cgi-bin/mailman/listinfo/qgis-pt


___
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] erro no XML de estilo

2014-10-20 Thread Pedro Costa

Boa tarde pessoal,

Estou a tentar gravar um ficheiro de estilo numa BD postgres mas recebo 
o seguinte erro na query:


ERRO:  invalid XML document
DETAIL:  Entity: line 1: parser error : Unfinished System or Public ID  
or ' expected

!DOCTYPE qgis PUBLIC http://mrcc.com/qgis.dtd; SYSTEM


Pelos vistos é um erro no documento XML do INSERT da query:

INSERT INTO (...)

XMLPARSE(DOCUMENT

'!DOCTYPE qgis PUBLIC ''http://mrcc.com/qgis.dtd'' ''SYSTEM''
qgis version=2.4.0-Chugiak minimumScale=-4.65661e-10
maximumScale=1e+08 simplifyDrawingHints=0 minLabelScale=0 
maxLabelScale=1e+08 simplifyDrawingTol=1 simplifyMaxScale=1 
hasScaleBasedVisibilityFlag=0 simplifyLocal=1 
scaleBasedLabelVisibilityFlag=0

 renderer-v2 symbollevels=0 type=singleSymbol...

(...)




Alguém já se deparou com ele ou tem uma dica para o contornar? Já 
coloquei no XML Validator que não encontrou nada.


OS Win7 64 bits
Qgis 2.4

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

Re: [Qgis-user] Zoom does not go smaller than 1:2.256

2014-10-08 Thread Pedro
I have the same problem.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Zoom-does-not-go-smaller-than-1-2-256-tp5166440p5166454.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Error when installing on Centos 6

2014-09-30 Thread José Pedro Santos
For sure was a missing library but nice job you did. 
Regards,
José Santos 

From: alextoqi...@hotmail.com
To: zpsant...@hotmail.com
CC: qgis-user@lists.osgeo.org
Subject: RE: [Qgis-user] Error when installing on Centos 6
Date: Sun, 28 Sep 2014 10:16:22 +0800




After a week trouble-shooting, I finally get QGIS installed after I installed 
PostgreSQL (sudo rpm -ivh 
http://yum.postgresql.org/9.3/redhat/rhel-6-x86_64/pgdg-centos93-9.3-1.noarch.rpm).
 Also, I've re-installed my Centos before I succeeed. I don't know if other's 
Centos has already got PostgreSQL, but for my case, I need to install it in 
order to install QGIS. Otherwise the I get the error: Package: 
gdal-libs-1.9.2-1.ceda.el6.x86_64 Requires: libarmadillo.so.3.
Thank you José Santos for your help.
Alex
From: zpsant...@hotmail.com
To: alextoqi...@hotmail.com
Subject: RE: [Qgis-user] Error when installing on Centos 6
Date: Sat, 27 Sep 2014 17:11:37 +




Hi, 
Seems ok to me. Did you enable ELGIS 6? another thing, ELGIS 6 have the QGIS 
1.8 installed by default. 
Try to install Yum Extender: http://www.yumex.dk/p/about.html and look for QGIS 
there. Alternative check here: 
http://gis.stackexchange.com/questions/37111/how-to-install-qgis-on-centos-6
Good Luck.
Regards,José Santos 
From: alextoqi...@hotmail.com
To: zpsant...@hotmail.com; qgis-user@lists.osgeo.org
Subject: RE: [Qgis-user] Error when installing on Centos 6
Date: Fri, 26 Sep 2014 10:48:26 +0800




Hi José Santos ,
Thanks for your reply. I checked yum repolist, it shows the following repos:
repo id  repo name
statusbase CentOS-6 - Base  
4,802elgisEL GIS 6 - i386   
  99epel Extra Packages for Enterprise Linux 6 - i386 
9,169extras   CentOS-6 - Extras 
  13google-chromegoogle-chrome  
  3updates  CentOS-6 - Updates   
1,125repolist: 15,211
I think it has everything needed for installing QGIS. There might be something 
wrong with the epel repository. But I don't know how to fix. The following is 
the content of my epel.repo file. I don't know what's wrong with this repo and 
how to fix it.

[epel]name=Extra Packages for Enterprise Linux 6 - 
$basearch#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearchmirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-6arch=$basearchfailovermethod=priorityenabled=1gpgcheck=1gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6
[epel-debuginfo]name=Extra Packages for Enterprise Linux 6 - $basearch - 
Debug#baseurl=http://download.fedoraproject.org/pub/epel/6/$basearch/debugmirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-debug-6arch=$basearchfailovermethod=priorityenabled=0gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-6gpgcheck=1
[epel-source]name=Extra Packages for Enterprise Linux 6 - $basearch - 
Source#baseurl=http://download.fedoraproject.org/pub/epel/6/SRPMSmirrorlist=https://mirrors.fedoraproject.org/metalink?repo=epel-source-6arch=$basearchfailovermethod=priority


From: zpsant...@hotmail.com
To: alextoqi...@hotmail.com; qgis-user@lists.osgeo.org
Subject: RE: [Qgis-user] Error when installing on Centos 6
Date: Thu, 25 Sep 2014 17:36:51 +




Hey Alex, 
Try to check your Yum repolist: yum repolist 
Did you used these steps: yum install qgis qgis-python ? 
Regards,José Santos 


From: alextoqi...@hotmail.com
To: qgis-user@lists.osgeo.org
Date: Thu, 25 Sep 2014 02:52:19 +0800
Subject: [Qgis-user] Error when installing on Centos 6




I followed the installation guide on 
http://www.qgis.org/en/site/forusers/alldownloads.html#linux, but keep getting 
the same error when I install QGIS on my Centos 6 linux:

===Error message==Downloading 
Packages:qgis-2.0.1-1.el6.i386.rpm|  20 MB 
00:13 http://fedora.vitu.ch/EL/6/i386/qgis-2.0.1-1.el6.i386.rpm: [Errno -1] 
Package does not match intended download. Suggestion: run yum --enablerepo=qgis 
clean metadataTrying other mirror.

Error Downloading Packages:  qgis-2.0.1-1.el6.i386: failure: 
qgis-2.0.1-1.el6.i386.rpm from qgis: [Errno 256] No more mirrors to try.
==End of error message=
I did enable EPEL and ELGIS before installing. I also tried cleaning metadata.  
Did I miss something?

Thanks in advance for your help!
Alex  

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


  

Re: [Qgis-user] Error when installing on Centos 6

2014-09-25 Thread José Pedro Santos
Hey Alex, 
Try to check your Yum repolist: yum repolist 
Did you used these steps: yum install qgis qgis-python ? 
Regards,José Santos 


From: alextoqi...@hotmail.com
To: qgis-user@lists.osgeo.org
Date: Thu, 25 Sep 2014 02:52:19 +0800
Subject: [Qgis-user] Error when installing on Centos 6




I followed the installation guide on 
http://www.qgis.org/en/site/forusers/alldownloads.html#linux, but keep getting 
the same error when I install QGIS on my Centos 6 linux:

===Error message==Downloading 
Packages:qgis-2.0.1-1.el6.i386.rpm|  20 MB 
00:13 http://fedora.vitu.ch/EL/6/i386/qgis-2.0.1-1.el6.i386.rpm: [Errno -1] 
Package does not match intended download. Suggestion: run yum --enablerepo=qgis 
clean metadataTrying other mirror.

Error Downloading Packages:  qgis-2.0.1-1.el6.i386: failure: 
qgis-2.0.1-1.el6.i386.rpm from qgis: [Errno 256] No more mirrors to try.
==End of error message=
I did enable EPEL and ELGIS before installing. I also tried cleaning metadata.  
Did I miss something?

Thanks in advance for your help!
Alex  

___
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] OpenLayers available in 2.4?

2014-08-06 Thread Pedro
Pedro wrote
 From what I remember it was accurate enough, for my needs at least.
 
 Now, with this version of openlayers (I have v. 1.3.3) I can't get any
 maps from google, bing, osm closer than 1:1150.
 
 
 The openlayers should be, by far, the most used plugin in QGIS, and this
 represents a significant setback in the quality of cartographic
 information available. 
 
 Probably have been the suppliers of maps to place this restriction but it
 is a pity that this particular function is worse than in previous
 versions.


Something that is quiet strange is even with data from the open source
project Open Street Map we can't get maps closer than 1:1150.

So I have to suppose that the problem isn't related with some restrictions
from the data providers but is a limitation of the OpenLayers plugin that
wasn't there in the previous versions...



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/OpenLayers-available-in-2-4-tp5153299p5155250.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] OpenLayers available in 2.4?

2014-08-04 Thread Pedro
One difference between the QGIS 2.4 OpenLayers  and the previous one is the
zoom level where I can get the maps. 

For example, in previous version of QGIS, with maps from google or bing I
had maps up to scales of 1:100, with openlayers in QGIS 2.4 nothing less
than 1:1150 ... a big difference. 

Is it configurable in some QGIS option?

Thanks,
Pedro



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/OpenLayers-available-in-2-4-tp5153299p5154967.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] OpenLayers available in 2.4?

2014-08-04 Thread Pedro
From what I remember it was accurate enough, for my needs at least.

Now, with this version of openlayers (I have v. 1.3.3) I can't get any maps
from google, bing, osm closer than 1:1150.


The openlayers should be, by far, the most used plugin in QGIS, and this
represents a significant setback in the quality of cartographic information
available. 

Probably have been the suppliers of maps to place this restriction but it is
a pity that this particular function is worse than in previous versions.



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/OpenLayers-available-in-2-4-tp5153299p5154986.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] OGR2Layers

2014-07-22 Thread Pedro
Andre Joost wrote
 Am 18.07.2014 11:31, schrieb Pedro:
 

 Even after simplified the geometries I still don't see the layer.
 I must be doing some very basic mistake 

 Can you please look at the screenshots from my first post and see if
 there
 is something wrong;
 
 I don't see anything wrong.
 
 
 Do I need any software installed on the PC for it to run properly?
 
 Definitely no. Although Internet Explorer does not like Javascript by 
 default, and the layer does not show up for me. Forefox should be ok, 
 even older ones.
 
 To speed things up, I have created centroids from your ploygons, and 
 made the ogr2layers from that:
 
 http://home.arcor.de/andre.joost/centroids.zip
 
 This is really usable fast, but IE still does not like it.
 
 HTH,
 André Joost

Hi André,

It´s exactly that, the file generated by the OGR2Layers only open the qgis
layer correctly in Firefox!
With IE or Chrome I can never see the qgis layer.

It's a limitation in the plugin but it works.


Thanks once more for your help,
Pedro




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/OGR2Layers-tp5151128p5152384.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] OGR2Layers

2014-07-22 Thread Pedro
Andre Joost wrote
 Am 18.07.2014 11:31, schrieb Pedro:
 

 Even after simplified the geometries I still don't see the layer.
 I must be doing some very basic mistake 

 Can you please look at the screenshots from my first post and see if
 there
 is something wrong;
 
 I don't see anything wrong.
 
 
 Do I need any software installed on the PC for it to run properly?
 
 Definitely no. Although Internet Explorer does not like Javascript by 
 default, and the layer does not show up for me. Forefox should be ok, 
 even older ones.
 
 To speed things up, I have created centroids from your ploygons, and 
 made the ogr2layers from that:
 
 http://home.arcor.de/andre.joost/centroids.zip
 
 This is really usable fast, but IE still does not like it.
 
 HTH,
 André Joost

Hi André,

It´s exactly that, the file generated by the OGR2Layers only open the qgis
layer correctly in Firefox!
With IE or Chrome I can never see the qgis layer.

It's a limitation in the plugin but it works.


Thanks once more for your help,
Pedro




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/OGR2Layers-tp5151128p5152389.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] OGR2Layers

2014-07-18 Thread Pedro
Andre Joost wrote
 That works for me too, but the geojson file gets rather big, and Firefox 
 asks me several times if I want to stop the script.
 
 If you can't find simplified polygons, using QGIS server or an export to 
 mapserver might be a better solution. That would prevent the browser 
 from loading data he does not need.

Even after simplified the geometries I still don't see the layer.
I must be doing some very basic mistake  

Can you please look at the screenshots from my first post and see if there
is something wrong; 
Do I need any software installed on the PC for it to run properly?

thanks for your time,
Pedro




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/OGR2Layers-tp5151128p5151694.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] OGR2Layers

2014-07-17 Thread Pedro
Andre Joost wrote
 
 It works for me if all vector layers are in EPSG:3857.
 
 HTH,
 André Joost


Thanks for your answer André.

But I still having the same problem after change the layers to EPSG:3857.

If you have time and patience could you please try with my data that is this
link:
https://www.dropbox.com/sh/dm0l52xvhaolep7/AADZ7uD--yfL9CKu87P8xx4Ta

Thanks,
Pedro



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/OGR2Layers-tp5151128p5151577.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] OGR2Layers

2014-07-15 Thread Pedro
Hi,

I'm trying to produce an html map from my QGIS Desktop map.

For what I saw the plugin OGR2Layers is the most suitable for my case.
But I’m having a major problem and cannot make that my QGIS map appear on
the html file.
This is my map at QGIS Desktop
http://osgeo-org.1560.x6.nabble.com/file/n5151128/1.png 

On OGR2Layers editor I proceed as follows
http://osgeo-org.1560.x6.nabble.com/file/n5151128/2.png 

The file has been created
http://osgeo-org.1560.x6.nabble.com/file/n5151128/3.png 



But when open the created file (index.html) only have the google base map
and my qgis map is not shown (although the box on / off is there).
http://osgeo-org.1560.x6.nabble.com/file/n5151128/4.png 



Do you any idea where I'm going wrong? 

QGIS2.4; Win7 

Thanks,
Pedro




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/OGR2Layers-tp5151128.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] New QGIS PT Users Group

2014-04-11 Thread José Pedro Santos
Congratulations for the initiative. 

I'm available to help Alexandre. 

Regards,
José Santos 

 To: qgis-user@lists.osgeo.org; senhor.n...@gmail.com
 Date: Thu, 10 Apr 2014 20:20:05 +0200
 From: anitagra...@gmx.at
 Subject: Re: [Qgis-user] New QGIS PT Users Group
 
 Great news, thanks for sharing!
 I'll add the date to the event list on qgis.org.
 Best wishes,
 Anita
 
 
 Am 10.04.2014, 17:46 Uhr, schrieb Alexandre Neto senhor.n...@gmail.com:
 
  It's with an enormous pleasure that we announce what we believe to be a
  very important step for the QGIS Portuguese speaking community, the
  creation of the QGIS PT users group.
 
  The QGIS PT users group arise from the notorious growth of QGIS usage in
  Portugal, aiming to be a platform for sharing information and experiences
  among the portuguese speaking QGIS users.
  We have created a webpage about the group (in portuguese):
 
  www.qgis.pt
 
  There is also a new mailing list available. it's named  
  qgis...@osgeo.org, that
  you can subscribe here:
 
  http://lists.osgeo.org/cgi-bin/mailman/listinfo/qgis-pt
 
  As a starting point in the group activities we are also organizing the  
  2nd
  Portuguese Users Meeting that will be held at the Faculdade de  
  Ciências e
  Tecnologia da Universidade de Coimbra, in Coimbra, Portugal, in the June
  2nd of 2014.
 
  http://qgis.pt/eventos.html
 
  Whether you are a QGIS user or just curious about this amazing Open  
  Source
  Software for GIS (and you understand Portuguese) feel free to join the  
  QGIS
  PT!!
 
 
 -- 
 anitagraser.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

[Qgis-user] error saving style on postgis db

2014-03-28 Thread Pedro Costa

Hi people,

I have a postgis DB (postgres 9.1.4 - postgis2.0.0) with some tables and 
I'm making a few layer styles to save there. My problem is that i got an 
error saving the style [ss attached].


I'm already execute 'GRANT ALL' to 'layer_style' table and to schema but 
nothing works. The owner of table is also the user of connection. If I 
try a manual insert on table works so I'm not understanding the problem. 
Anybody knows if is a bug or if its me forgotting something?



Thanks
attachment: error.png___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] Plugins documentation

2014-03-27 Thread Pedro Jorge de Sousa Ferreira
Hi,
For those who don't have, I would like to suggest to the developers of new,
or existing plugins available in the plugin repository to produce some sort
of documentation explaining how to use their plugin. It's annoying and some
times frustrating, trying to figure out how a plugin works, simply because
there is no documentation explaining how to use it. An online link (in QGIS
Plugins home page) would be suffice.
All the best,
Pedro



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Plugins-documentation-tp5131633.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] PostGIS raster access in QGIS using DBManager (or wktraster)

2014-03-07 Thread José Pedro Santos
Ciao Guido,

DBManager is only for vector layers..In the version 1.8 existed a plugin for 
importing raster layers but wasn't update for this new version. 

Regards,
José Santos 

From: guido.lemo...@jrc.ec.europa.eu
To: qgis-user@lists.osgeo.org
Date: Fri, 7 Mar 2014 07:51:33 +0100
Subject: [Qgis-user] PostGIS raster access in QGIS using DBManager (or  
wktraster)

Dear QGIS users,

[This was posted on QGIS developer as well, but maybe I should seek the 
solution here]
I am using QGIS 2.2 .0 (Valmiera) and trying to load a raster query result via 
DBManager, using the following query:

select 1 as rid, st_union(st_band(rast, '4,3,2') ) as rast
from o_8_lc81970232013202lgn00_all_rds_sub, municipalities
where municipalities.wkb_geometry  rast
and munname = 'Veendam' 

(in short: Band 4,3,2 of a raster2pgsql-loaded Landsat-8 image (overview 8 
version) for a municipality polygon (administrative commune boundary).

Execute (F5) correctly returns a single row (and I can save the union result 
with ST_AsTIFF() to file in a script)

When I try to Load as a new layer to visualise the result in QGIS, I get the 
following error message:

Erroneous query: SELECT DISTINCT upper(geometrytype(rast)),st_srid(rast) 
FROM (select 1 as rid, st_union(st_band(rast, '4,3,2') ) as rast
from o_8_lc81970232013202lgn00_all_rds_sub, gemeentegebieden
where gemeentegebieden.wkb_geometry  rast
and gemnaam = 'Veendam' 
) AS subQuery_0 returned 7 [ERROR:  function geometrytype(raster) does not 
exist
LINE 1: SELECT DISTINCT upper(geometrytype(rast)),st_srid(rast) ...
  ^
HINT:  No function matches the given name and argument types. You might need to 
add explicit type casts.
]

Apparently, my query get wrapped  in the SELECT DISTINCT outer query above 
(which obviously does not work).

Is this a known issue, and, if so, can it be modified, for instance by 
providing explicitly geometrytype and srid (and if so, how?).

I also checked out the wktraster plugin, but that does not work for 2.2. Is an 
upgrade expected soon [or should I try writing it myself].

Thanks for all the wonderful stuff,

Guido Lemoine  
___
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 2.2 on ubuntugis-unstable for Raring?

2014-03-07 Thread Pedro Jorge de Sousa Ferreira
Alex Mandel-2 wrote
 What version did it give you?
 
 Thanks,
 Alex

Hi,
It installed QGIS 2.0.1-Dufor

Thanks
Pedro




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/qgis-2-2-on-ubuntugis-unstable-for-Raring-tp5107636p5117290.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] qgis 2.2 on ubuntugis-unstable for Raring?

2014-03-06 Thread Pedro Jorge de Sousa Ferreira
Etienne Tourigny-3 wrote
 Not all of us have the luxury, time and inclination to update our linux
 installation, but want to upgrade to latest stable QGIS + gdal.  And using
 the master builds is not great in a stable environment.
 
 It's a shame non-lts ubuntu releases are supported for such a short period
 by ubuntugis.
 
 Hence the need to have stable qgis releases in qgis.org, with updated
 dependencies from ubuntugis.
 
 thanks,
 Etienne

I totally agree! qgis.org  should be more flexible and allow upgrades to the
latest stable QGIS + dependencies for young distributions. Raring still
doesn't have 1 year old. 

Pedro



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/qgis-2-2-on-ubuntugis-unstable-for-Raring-tp5107636p5107881.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] qgis 2.2 on ubuntugis-unstable for Raring?

2014-03-06 Thread Pedro Jorge de Sousa Ferreira
Alex Mandel-2 wrote
 I see Raring:
 
 deb http://qgis.org/debian raring main
 deb-src http://qgis.org/debian raring main
 
 If it wasn't obvious the only difference is to change the distro name in
 that line.
 
 Thanks,
 Alex

Hi!
I've tested those deb-lines. They (still) don't install QGIS2.2

Pedro



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/qgis-2-2-on-ubuntugis-unstable-for-Raring-tp5107636p5107902.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] Plugin Error - WPS Client

2014-03-05 Thread José Pedro Santos
Dear all, 

When I try to install the plugin WPS Client in QGIS 2.2 I have the following 
error: No module name QtSql

I'm using Ubuntu 12.04 LTS and I have all the python dependences already 
installed. 

This is a plugin bug? 

Best Regards,
José Santos 
  ___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] Plugin Error - WPS Client

2014-03-05 Thread José Pedro Santos
Hi Saber, 

Thanks for the quick reply. In fact, I didn't have that plugin installed...I 
probably miss that one. Now is working perfectly. 

Thanks.

Kind Regards,
José Santos 

 From: saber.razmjo...@lutraconsulting.co.uk
 To: qgis-user@lists.osgeo.org
 Date: Wed, 5 Mar 2014 10:28:39 +
 Subject: Re: [Qgis-user] Plugin Error - WPS Client
 
 Hi Jose,
 
 
 Do you have:
 
  python-qt4-sql
 
 installed?
 
 Cheers,
 Saber
 
 
 
 -Original Message-
 From: José Pedro Santos zpsant...@hotmail.com
 To: QGIS Mailing List qgis-user@lists.osgeo.org
 Subject: [Qgis-user] Plugin Error - WPS Client
 Date: Wed, 5 Mar 2014 10:20:06 +
 
 Dear all, 
 
 When I try to install the plugin WPS Client in QGIS 2.2 I have the
 following error: No module name QtSql
 
 I'm using Ubuntu 12.04 LTS and I have all the python dependences already
 installed. 
 
 This is a plugin bug? 
 
 Best Regards,
 José Santos 
 
 ___
 Qgis-user mailing list
 Qgis-user@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/qgis-user
 
 
 --
 This email and any files transmitted with it are confidential and intended 
 solely for the use of the individual or entity to whom they are addressed.
 If you have received this email in error please notify the system manager. 
 This message contains confidential information and is intended only for the
 individual named. If you are not the named addressee you should not 
 disseminate, distribute or copy this e-mail. Please notify the sender 
 immediately
 by e-mail if you have received this e-mail by mistake and delete this e-mail 
 from your system. If you are not the intended recipient you are notified
 that disclosing, copying, distributing or taking any action in reliance on 
 the contents of this information is strictly prohibited.
 
 Whilst reasonable care has been taken to avoid virus transmission, no 
 responsibility for viruses is taken and it is your responsibility to carry out
 such checks as you feel appropriate.
 
 If this email contains a quote or offer to sell products, carry out work or 
 perform services then our standard terms and conditions (which can be found 
 at 
 http://www.lutraconsulting.co.uk/downloads/Lutra%20Consulting%20Standard%20Terms%20and%20Conditions.pdf
  shall apply unless explicitly stated otherwise.
 
 Saber Razmjooei and Peter Wells trading as Lutra Consulting.
 ___
 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 2.2 on ubuntugis-unstable for Raring?

2014-03-05 Thread Pedro Jorge de Sousa Ferreira
Jürgen E. Fischer wrote
 Hi Agustin,
 
 On Wed, 05. Mar 2014 at 11:40:47 +0100, Agustin Lobo wrote:
 qgis 2.2 is available in ubuntugis-unstable for versions Saucy and
 Precise, but not for Raring.
 
 It would be there if launchpad wouldn't reject raring builds.
 
 Is qgis 2.2 goint to be available for Raring? Otherwise, is it possible
 (and
 sensible) to install the binary version for Precise on Raring?
 
 On qgis.org there is a raring build (stable w/o ubuntugis and master w/
 and
 w/o).

Hi Jürgen
In qgis.org, for stable release, I only see deb-lines for Trusty, Saucy and
Precise . If it's possible to install QGIS2.2 on Raring, can you show us
how?

Pedro



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/qgis-2-2-on-ubuntugis-unstable-for-Raring-tp5107636p5107743.html
Sent from the Quantum GIS - User mailing list archive at Nabble.com.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

Re: [Qgis-user] How to 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 senhor.n...@gmail.com
Para: QGIS User qgis-user@lists.osgeo.org 
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 tableCREATETABLEPGHP.infraestruturas (gid serial,nome 
character varying(40),classe character varying(40),geom 
geometry(POINT,3763),id_histserial 
primarykey,time_starttimestamp,time_endtimestamp,user_updatecharacter 
varying(40));-- Creating the viewCREATEORREPLACE VIEWPGHP.infra_portoes 
ASSELECTgid,nome,geom::Geometry(POINT,3763),time_start,user_updateFROMPGHP.infraestruturas_pontosWHEREclasse='portoes'ANDtime_endISNULL;--
 Make the view editableCREATEORREPLACE 
RULE_DELETEASONDELETETOPGHP.infra_portoes DO INSTEAD 
DELETEFROMPGHP.infraestruturas_pontosWHEREgid =old.gid;CREATEORREPLACE 
RULE_INSERTASONINSERTTOPGHP.infra_portoes DO INSTEAD 
INSERTINTOPGHP.infraestruturas_pontos(gid,classe,nome,geom)VALUES(NEW.gid,'portoes',NEW.nome,NEW.geom);CREATEORREPLACE
 RULE_UPDATEASONUPDATETOPGHP.infra_portoes DO INSTEAD
 
UPDATEPGHP.infraestruturasSETgid=NEW.gid,classe='portoes',nome=NEW.nome,geom=NEW.geomWHEREgid
 =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


Re: [Qgis-user] Spatialite VIEW in QGIS question

2014-02-19 Thread Pedro Machado Monteiro
Hello Bernd,

In QGis 1.8 and 1.7, perhaps this will help (exporting *shp* to *csv* with *wkt
*geometry, also your observation entries to *csv*, and linking both*; *not
very productive, I suppose)

http://gis.stackexchange.com/questions/10788/how-to-join-multiple-records-to-single-feature

following,

http://gis.stackexchange.com/questions/43129/create-a-csv-with-geometry-as-wkt-in-qgis-and-choosing-the-field-delimiter

Good luck



Pedro Monteiro












2014-02-18 20:29 GMT+00:00 Bernd Vogelgesang bernd.vogelges...@gmx.de:

 Hi folks,

 I'm quite desperate, cause I do not seem to understand what I'm doing
 wrong, or if it's just not possible to do.

 I have a polygon layer in my spatialite database and a normal table with
 bird observations. There are many observation entries for each item in the
 polygons.
 They share the simple field id.

 I created dozens of view, following strictly http://www.gaia-gis.it/
 spatialite-3.0.0-BETA/spatialite-cookbook/html/sp-view.html (and i REALLY
 can't find any other tutorials).

 When i query SELECT * FROM test17 in Spatialite GUI, it shows all the
 lines with different observation entries for each polygon id, when i load
 the VIEW in QGIS, it doesn't but duplicates the first matching observation
 for one polygon over and over.

 The idea is to quickly identify all observations when selecting a polygon,
 and then go to the attribute table to see which species are there.

 Is it possible to create a one-to-many spatial VIEW with Spatialite GUI  ?
 if yes
 Whats the trick?
 if no
 Is QGIS just not able to show the views table correctly?
 if no
 Whats the trick?

 Wasted many days on that now, and time is running away.

 Please, someone, help

 Bernd




 ___
 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 2.0 is crashing with loading of vector and raster files

2014-02-11 Thread José Pedro Santos
Hi Ariel, 

I use the same version of SO and QGIS and I don't have any problem with 
that..can you open your files in another GIS software? 

Regards,
José Santos 

Date: Sun, 9 Feb 2014 22:22:53 +0100
From: arielro...@gmail.com
To: qgis-user@lists.osgeo.org
Subject: [Qgis-user] QGIS 2.0 is crashing with loading of vector and raster 
files


  


  
  
Dear friends:



Please, do someone know how to fix QGIS 2.0 from a bug that
don't allow the opening of files (vectors and raster); but is
allowing to open csv files.



QGIS 2.0 has been working well, until now, but, suddenly, it is
crashing sistematically in every trial to open a file. 



I remember the same problem in the previous version of QGIS. I
fixed it, but now I don't remember...!



No message is leaving after the crash.



My OS is Ubuntu 12.04 LTS.



Thank you.



Ariel
  


___
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] Interprocess communication

2014-02-07 Thread José Pedro Santos
Hi Gang, 

Can you be more specific with your question please. 

Basically you want to connect other program with QGIS?! 

Kind Regards,
José Santos 

From: gang.y...@freenet.de
To: qgis-user@lists.osgeo.org
Date: Thu, 6 Feb 2014 18:40:23 +0100
Subject: [Qgis-user] Interprocess communication

Hi, I’m new to QGIS and now using QGIS 2.0.1 on Windows PC (Windows 8). I have 
a question about QGIS communication with other application on the same machine, 
concretely, I would like to send some data to qgis from another program and let 
qgis, for example, zoom to the corresponding object. I’ve searched in the 
documentation and in internet. But I’ve found no proper answer. I hope someone 
can point me to a right direction.  Thank you in advance and best regards Gang
___
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

  1   2   3   >