Re: [Qgis-user] New QGIS Processing publication

2015-10-22 Thread Filipe Dias
Congratulations Anita and Victor. This paper is going to be an excellent
calling card for maintainers of open source libraries that are considering
the integration of their software in QGIS.
Cheer

On Thu, Oct 22, 2015 at 7:35 PM, Anita Graser  wrote:

> Hi,
>
> It's my pleasure to let you know that Victor's and my paper on the
> Processing framework has been published today in the Open Access Journal
> ISPRS International Journal of Geo-Information
> http://www.mdpi.com/2220-9964/4/4/2219 (Graser, A.; Olaya, V. Processing:
> A Python Framework for the Seamless Integration of Geoprocessing Tools in
> QGIS. ISPRS Int. J. Geo-Inf. 2015, 4, 2219-2245.)
>
> I hope some of you will find it useful!
>
> 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] Copy field definitions from one vector layer to another?

2015-10-22 Thread Luca Lanteri
ok, you are right.

You can import your shapfiles into spatialite using dbmanager, then copy
the definitions of the first layer, add column to the other layer and then
export to shapefile.

Luca


2015-10-22 5:17 GMT+02:00 Richard Males :

> The join works without a common field of any kind, which is what I wanted,
> but unfortunately the field names get prefixed with the join layer.   When
> I export as shape file from the joined layer, I get field names like
> 'exported', 'exported_1', etc.   So I don't think the join will work, since
> what I want to do is preserve field names, just copying them from one layer
> to another.
>
> Maybe some other approach?   I was hoping for an existing plug-in, but
> have not found anything in the repository.   Maybe a python script to
> export field names from existing layer?  I will explore that approach,
> although I am not very familiar with python scripting for QGIS, see if I
> can get started.
>
> Thanks.
>
>
>
> On Tue, Oct 20, 2015 at 2:21 AM, Luca Lanteri  wrote:
>
>> why do you need the same geometry type in order to make a join ?
>> You just need one common field.
>>
>> Luca
>>
>> 2015-10-19 21:44 GMT+02:00 Joris Hintjens :
>>
>>> I’d try “join layers” if they are the same geometry type
>>>
>>> Joris
>>>
>>> Op 17-okt.-2015, om 11:40 heeft Luca Lanteri  het
>>> volgende geschreven:
>>>
>>> You can make a join and then save as layer
>>> I have been looking for a capability (plugin or native QGIS) that will
>>> easily copy the field definitions (not the attribute data) from one layer
>>> to another layer.   To date I have not found it, I may be missing something
>>> obvious.  Any help/advice much appreciated.
>>>
>>> I have a layer with a bunch of fields already defined, and another layer
>>> with geometry but no additional fields.   I would like to add the field
>>> definitions from the first layer to the second layer, and then populate
>>> with the appropriate data for that layer.
>>>
>>> Thanks.
>>>
>>> Dick Males
>>> Cincinnati, Ohio, USA
>>>
>>> ___
>>> 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] qGIS and Avenza pdfMap

2015-10-22 Thread Goyo
2015-10-22 4:31 GMT+02:00 Arvy Dar :
> Hi Laurence,
>
> I have in the past, imported my QGIS data into Global Mapper and used that
> to create GeoPDFs for use with Avenza's wonderful PDFMaps program.  I'll be
> very happy if I can skip that step and do it all in QGIS, but I don't
> understand your step 2 ("Upload the tiff file in QGIS") - upload to where?

You just have to load / open the tiff file in QGIS as a raster layer.
To clarify, all steps can be carried out in the local filesystem, no
need to upload anything to a server.

The tiff file created in step 1 has georeferencing info (which QGIS
will understand) in the world file but you will need to manually tell
QGIS what the CRS is.

Step 3 is exporting the layer as a geotiff file. Geotiff carries
georeferenced data, including CRS, in just one file and hopefully
you'll be able to use it with your application.

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

Re: [Qgis-user] QGIS SQL and Python

2015-10-22 Thread Worth Lutz

With a QGIS plugin.

http://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/plugins.html

*Worth Lutz*


On 10/22/2015 12:05 PM, Emilio S wrote:

Hello,

I have a project with qgis 2.10 and Spatialite. I want to create a 
"button" through python, wich conects with DB, creates a SQL queries 
and incorporate it to the project. I want create a pop-up to choosen a 
date to extract only those records.

How could I do it?

Thanks in advance.
Regards.



___
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] New QGIS Processing publication

2015-10-22 Thread Anita Graser
Hi,

It's my pleasure to let you know that Victor's and my paper on the
Processing framework has been published today in the Open Access Journal
ISPRS International Journal of Geo-Information
http://www.mdpi.com/2220-9964/4/4/2219 (Graser, A.; Olaya, V. Processing: A
Python Framework for the Seamless Integration of Geoprocessing Tools in
QGIS. ISPRS Int. J. Geo-Inf. 2015, 4, 2219-2245.)

I hope some of you will find it useful!

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

Re: [Qgis-user] SUMMIT elevation map from a DEM ( SRTM)

2015-10-22 Thread Nicolas Cadieux
Or you could try the LecoS landscape ecology plugin There is a max 
statistic there also. 
Nicolas Cadieux M.Sc. 
Les Entreprises Archotec inc. 
8548, rue Saint-Denis Montral H2P 2H2 
Tlphone:514.381.5112 Fax: 514.381.4995 
www.archeotec.ca 
On Oct 22, 2015 05:05, agustin_mac [via OSGeo.org] 
ml-node+s1560n523191...@n6.nabble.com wrote: 

If you have a graticule,  gridstatisticsforpolygons in processing will 
do the trick, if not “creategraticule” and then gridstatisticsforpolygons
Something like these commands in the processing commander but it can be done 
with the gui as well:
processing.runalg(saga:creategraticule,None,”xmin,xmax,ymin,ymax”,1000,1000,1,”/path/towhereyouwantosave/your_graticule)
processing.runalg(saga:gridstatisticsforpolygons”,your_mdt.tif,/path/towhereyour_graticule_is,False,False,True,False,False,False,False,False,0,None)
On 22Oct, 2015, at 7:19 AM, Allan López  [hidden email]  wrote:
 I need to create a SUMMIT elevation map from a DEM ( SRTM). At every 
square km I need to extract : Lat, Long and MAXIMUM elevation ( within that 
square km) and so on for all the grid. Someone suggested topology-algebra but 
that is too much for me !. I will appreciate a receipt or any other 
practical suggestion for QGIS 
 
 Allan López
 ___
 Qgis-user mailing list
 [hidden email] 
 http://lists.osgeo.org/mailman/listinfo/qgis-user 
___
Qgis-user mailing list
[hidden email] 
http://lists.osgeo.org/mailman/listinfo/qgis-user 








If you reply to this email, your message will be added to the 
discussion below: 

http://osgeo-org.1560.x6.nabble.com/SUMMIT-elevation-map-from-a-DEM-SRTM-tp5231827p5231911.html
 


To start a new topic under Quantum GIS - User, email 
ml-nodes1560n4125267h38n6.nabble.com 
To unsubscribe from Quantum GIS - User, click here . 
NAML 




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/SUMMIT-elevation-map-from-a-DEM-SRTM-tp5231827p5232051.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] Editable GeoCSV

2015-10-22 Thread Stefan Keller
Thanks Nathan,
We'll have a look at this.

:Stefan


2015-10-06 1:17 GMT+02:00 Peter Borbely :

> Thanks Nath, this worked
>
> Peter Borbély
> 
> Interactivista
> Fairfax Media
> 1 Darling Island Road, Pyrmont 2009
> +61 2 8596 4745
>
> pborb...@fairfaxmedia.com.au | @datafunk 
>
>
>
>
>
>
> On 5 October 2015 at 13:59, Nathan Woodrow  wrote:
>
>> On Mon, Oct 5, 2015 at 12:20 PM, Peter Borbely <
>> pborb...@fairfaxmedia.com.au> wrote:
>>
>>> QSettings().setValue('locale/userLocale', 'en_AU')
>>>
>>
>>
>> For some reason that setting is null when the plugin asks for it but not
>> in the options which I'm not sure why. This is a external plugin so the
>> author will need that handle that case.
>>
>> Here are some workarounds for now.
>>
>> Run this:
>>
>> from PyQt4.QtCore import *
>> QSettings().setValue('locale/userLocale', 'en_AU')
>>
>> You need to import the module and then use the settings class.
>>
>> Or you can put the attached file into
>> .qgis2\python\plugins\editablegeocsv folder.  I have patched this file so
>> it should work.
>>
>> Regards,
>>
>
>
> The information contained in this e-mail message and any accompanying
> files is or may be confidential. If you are not the intended recipient, any
> use, dissemination, reliance, forwarding, printing or copying of this
> e-mail or any attached files is unauthorised. This e-mail is subject to
> copyright. No part of it should be reproduced, adapted or communicated
> without the written consent of the copyright owner. If you have received
> this e-mail in error please advise the sender immediately by return e-mail
> or telephone and delete all copies. Fairfax Media does not guarantee the
> accuracy or completeness of any information contained in this e-mail or
> attached files. Internet communications are not secure, therefore Fairfax
> Media does not accept legal responsibility for the contents of this message
> or attached files.
>
> ___
> Qgis-user mailing list
> Qgis-user@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] QGIS user group - Edinburgh - 16/11

2015-10-22 Thread McDonaldR
Tickets are now available for the QGIS user group meeting in Edinburgh on 16th 
November

http://www.eventbrite.com/e/uk-qgis-user-group-scotland-tickets-19194628651


Ross McDonald | GIS Data Coordinator | Resources Department, IT Division | 
Angus Council, Angus House, Orchardbank Business Park, Forfar, DD8 1AT
T: 01307 476419 | F: 01307 476401 | E: 
mcdona...@angus.gov.uk



This message is strictly confidential. If you have received this in error, 
please inform the sender and remove it from your system. If received in error 
you may not copy, print, forward or use it or any attachment in any way. This 
message is not capable of creating a legal contract or a binding representation 
and does not represent the views of Angus Council. Emails may be monitored for 
security and network management reasons. Messages containing inappropriate 
content may be intercepted. Angus Council does not accept any liability for any 
harm that may be caused to the recipient system or data on it by this message 
or any attachment.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user

[Qgis-user] API : how to rename legend items?

2015-10-22 Thread Bastien Breteau
Hi,


I need to rename legend items using the qGIS API for python.
The legend items are related to a raster layer displayed in pseudocolor. Is
there any way to set a label for each value of the legend using the API?

Best Regards.

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

Re: [Qgis-user] SUMMIT elevation map from a DEM ( SRTM)

2015-10-22 Thread Agustin
If you have a graticule,  gridstatisticsforpolygons in processing will do the 
trick, if not “creategraticule” and then gridstatisticsforpolygons
Something like these commands in the processing commander but it can be done 
with the gui as well:
processing.runalg("saga:creategraticule",None,”xmin,xmax,ymin,ymax”,1000,1000,1,”/path/towhereyouwantosave/your_graticule")
processing.runalg("saga:gridstatisticsforpolygons”,"your_mdt.tif","/path/towhereyour_graticule_is",False,False,True,False,False,False,False,False,0,None)

On 22Oct, 2015, at 7:19 AM, Allan López  wrote:

> I need to create a SUMMIT elevation map from a DEM ( SRTM). At every square 
> km I need to extract : Lat, Long and MAXIMUM elevation ( within that square 
> km) and so on for all the grid. Someone suggested topology-algebra but that 
> is too much for me !. I will appreciate a "receipt" or any other practical 
> suggestion for QGIS 
> 
> Allan López
> ___
> 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] Unable to save project/export

2015-10-22 Thread Nathan Woodrow
Where do you normally try and save to?  Your home folder?

On Fri, Oct 23, 2015 at 2:30 PM, Orontes Mauricio Mejia <
mejiaoron...@hotmail.com> wrote:

> I have OS X Yosemite 10.10.5… my laptop has 8GB RAM if that matters, using
> QGIS 2.10.1… installed the GDAL complete 1.11, NumPy and
> matplotlib-1.4.3-1.. then the QGIS program…
> So since I’ve started using it… I’ve never been able save a project or use
> save as or even export as dxf…
> Either it says failed to export or Unable to save /xxx.extension ….
> I’ve tried rummaging around for people who have had similar problems but
> nothing…
> Someone please help me!.. If there’s no solution… I guess I’ll just use it
> to view shape files and tifs… and save as image… since that’s pretty much
> the only way I can use at this moment…
> and use ArcGIS if need be… *sobbing in a corner*
>
> ___
> 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] Unable to save project/export

2015-10-22 Thread Orontes Mauricio Mejia
I have OS X Yosemite 10.10.5… my laptop has 8GB RAM if that matters, using QGIS 
2.10.1… installed the GDAL complete 1.11, NumPy and matplotlib-1.4.3-1.. then 
the QGIS program…
So since I’ve started using it… I’ve never been able save a project or use save 
as or even export as dxf…
Either it says failed to export or Unable to save /xxx.extension ….
I’ve tried rummaging around for people who have had similar problems but 
nothing…
Someone please help me!.. If there’s no solution… I guess I’ll just use it to 
view shape files and tifs… and save as image… since that’s pretty much the only 
way I can use at this moment…
and use ArcGIS if need be… *sobbing in a corner*

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