[Qgis-user] Using QGIS 3.0 in a python script outside the GUI

2018-05-16 Thread Renaud Burck
Hi All,

I'm trying to create a Windows scheduled task using a python script calling 
QGIS processing algorithms in non-GUI mode.

I read this tutorial http://www.qgistutorials.com/fr/docs/running_qgis_jobs.html

Since it was written for QGIS 2.XX, I used this stackexchange thread to adapt 
the batch file defining Windows environment variables   : 
https://gis.stackexchange.com/questions/268573/environment-variables-for-qgis-3-plugin-development-on-windows

My batch file call a python script which atm only contains :

import sys
from qgis.core import *

# Initialize QGIS Application
QgsApplication.setPrefixPath("C:\\Program Files\\QGIS 3.0\\apps\\qgis", True)
app = QgsApplication([], False)
QgsApplication.initQgis()

print ('Hello QGIS!')

Problem is that I get an error telling me :

This application failed to start because it could not find or load the Qt 
platform plugin "windows"
in "".

I think it's when "app = QgsApplication([], False)" is called. And I don't get 
why

Do you have any idea?

Best regards
Renaud BURCK



[IGN-RVB.wmf]

Renaud BURCK
___
Chef du département de la Photogrammétrie | Service de l'Imagerie et de 
l'Aéronautique
DIRECTION DE LA PRODUCTION DES REFERENTIELS
T + 33(0)3 44 24 90 08
Route de la Forêt de Verneuil-en-Halatte
BP 40125  60107 CREIL cedex 1
ign.fr - geoportail.gouv.fr



___
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 to Web

2018-05-16 Thread Nauwanga Nauwanga
Hello List,

I would like to find out why the QGIS to Web plugin is not used in academic
research of Web GIS? There is no scientific paper that have used QGIS to
Web Plugin to publish their data, are there specific reasons?

Kind regards
Amelia
___
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-it-user] Qgis 2.18 - DWG\DXF Import

2018-05-16 Thread Martina Savarese
Il 14 maggio 2018 17:04, Marco Guiducci
 ha scritto:
>
> Mi aggancio per chiedere se qualcuno ha avuto problemi del tipo che avevo
> segnalato qualche mese fa [1] e se ci sono novità in questo nuovo modo di
> aprire i file di AutoCad. Quindi la domanda è: QGis, importando un dwg o dxf
> senza gdal (cioè l'apertura diretta), legge e tiene di conto del $INSUNITS ?
> Ciao e grazie
>
> [1] https://lists.osgeo.org/pipermail/qgis-it-user/2017-November/003161.html
>

Ho provato con importazione diretta di un DXF con $INSUNITS 0 (cioè
impostato in metri) e lo ha importato correttamente.

A questo punto però mi è sorto un altro problema: il corrispondente
dwg, fornito insieme al dxf , non mi si è aperto, nonostante si tratti
di una versione vecchia (AC1014). Aprendolo con Autodesk Trueview gli
risulta salvato con software
Autocad. Trasformato con Trueview alla 2000 (AC2015) sono riuscita a
fare l'importazione diretta ma i layer non si vedono se non a grande
scala, cioè zoomando più nel dettaglio scompaiono le linee (e NON è
attivo lo zoom dipendente dalla scala). Ricordo che qualcuno aveva
avuto lo stesso problema un po' di tempo fa in altra conversazione ma
non riesco a ritrovarla

Martina
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


[Qgis-user] setout using qgis or qfield or similar

2018-05-16 Thread Michael . Dodd
Is there any way to use qgis or qfield or any other opensource software to 
'setout' points in the field?


This is rather basic functionality for a gps but once you are trying to use an 
external antenna with differential corrections and an android device it becomes 
a lot more difficult it seems. So far have tried quite a number of bits of 
android software that should be able to do this but without success.  I have 
thousands of points recorded to cm level accuracy (using survey grade surveying 
equipment) but now want to transfer them to an android device e.g. smartphone 
or tablet with high accuracy external aerial connected via bluetooth and set 
the points out again.


The high quality aerial can connect to the android device ok but most of the 
bits of software I have tried (other than ESRI collector) won't pick up the 
data from the external aerial properly.
___
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-it-user] Stampa Qgis

2018-05-16 Thread Roberto Marzocchi
Cosa usi per caricare gli sfondi? QuickMapService? In generale la riproiezione 
al volo dovrebbe funzionare



R





Eng. Roberto Marzocchi, PhD GIS Project Coordinator Gter srl (Unige spin-off) 
Piazza De Marini 3/61 - 16123 Genova P.IVA/CF 01998770992 ph: 010-8694830 - 
mob: 349-8786575 E-mail: roberto.marzoc...@gter.it skype: roberto.marzocchi84 
www.gter.it -- Gter social www.twitter.com/Gteronline - 
www.facebook.com/Gteronline - https://plus.google.com/+GterIt/posts 
www.linkedin.com/company/gter-srl-innovazione-in-geomatica-gnss-e-gis 
- Please 
consider the environment before printing this email! 







 On mer, 16 mag 2018 00:47:45 +0200 Matteo Collimedaglia 
matteo.collimedaglia...@gmail.com wrote 




Buona notte a tutti,

Sto lavorando con alcuni file che hanno coordinate in ED50 per comuni relativi 
alla Valle d'Aosta. Quando utilizzo le basi topografiche di Bing o Google Maps 
la mia selezione di poligoni è spostata. È necessario usare le CTR valdostane 
oppure c'è un metodo per traslare le cartografie di Bing da wgs84 a ed50? 
Grazie, Matteo 


___

QGIS-it-user mailing list

QGIS-it-user@lists.osgeo.org

https://lists.osgeo.org/mailman/listinfo/qgis-it-user






___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


[QGIS-it-user] Plugin line to polygon

2018-05-16 Thread Matteo Collimedaglia
Buona sera a tutti,
Stavo cercando su Qgis 2.18.4 il plugin multi-line to polygons per
convertire le linee in poligoni. Possibile che nella mia versione non ci
sia? Ho cercato tra i plugin ho trovato solo point to polygon.
Grazie mille e buona notte
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


[QGIS-it-user] Join tabellare con due campi di unione

2018-05-16 Thread sarag
Buongiorno a tutti,

vorrei realizzare un join tabellare tra un layer edifici e un file csv di
dati. 
Non ho, però, la colonna univoca di unione relativa agli ID e quindi avevo
pensato di procedere calcolando le coordinate del centroide (info che ho
anche sulla tabella csv). E' possibile realizzare un join impostando due
campi di unione (sia la x che la y del centroide)?
Avevo in alternativa pensato di realizzare sia sul csv che sullo shp una
colonna contenente le due coordinate separate da una virgola: l'unico modo
che mi era venuto in mente era realizzare una terza colonna di attributi su
QGIS operando con la concatenazione dei due campi (x_c e y_c) ma con il
calcolatore di campi non riesco ad ottenere il risultato sperato.

Sarò grata a chiunque riesca ad essermi di aiuto.
Buona giornata! :)



--
Sent from: http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


Re: [QGIS-it-user] Join tabellare con due campi di unione

2018-05-16 Thread Federico Gianoli
Ciao Sara,

io procederei trasformando il  csv in un file puntuale usando le coordinate
dei centroidi che hai nel csv. A quel punto i punti si sovrappongono al
poligono dell'edificio e farei uno spatial join per unire le informazioni.
Un esempio di quello che dico lo puoi trovare qui:
http://www.qgistutorials.com/it/docs/performing_spatial_joins.html  o sul
video https://www.youtube.com/watch?v=eKKhpjtsTEk

Spero di esserti stato utile

Federico



Il giorno mer 16 mag 2018 alle ore 09:58 sarag  ha
scritto:

> Buongiorno a tutti,
>
> vorrei realizzare un join tabellare tra un layer edifici e un file csv di
> dati.
> Non ho, però, la colonna univoca di unione relativa agli ID e quindi avevo
> pensato di procedere calcolando le coordinate del centroide (info che ho
> anche sulla tabella csv). E' possibile realizzare un join impostando due
> campi di unione (sia la x che la y del centroide)?
> Avevo in alternativa pensato di realizzare sia sul csv che sullo shp una
> colonna contenente le due coordinate separate da una virgola: l'unico modo
> che mi era venuto in mente era realizzare una terza colonna di attributi su
> QGIS operando con la concatenazione dei due campi (x_c e y_c) ma con il
> calcolatore di campi non riesco ad ottenere il risultato sperato.
>
> Sarò grata a chiunque riesca ad essermi di aiuto.
> Buona giornata! :)
>
>
>
> --
> Sent from:
> http://osgeo-org.1560.x6.nabble.com/QGIS-Italian-User-f5250612.html
> ___
> QGIS-it-user mailing list
> QGIS-it-user@lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/qgis-it-user
>
___
QGIS-it-user mailing list
QGIS-it-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/qgis-it-user


[Qgis-user] QGIS Hackfest and User Conference - FOSS4G 2018 Program Launch

2018-05-16 Thread Tim Sutton
Hi All

Just a reminder to everyone planning to join the next QGIS hackfest in August 
to please  register for the hackfest on the wiki page:

https://github.com/qgis/QGIS/wiki/DeveloperMeetingZanzibar2018\

You can also find all needed information about the hackfest there.

Also remember that our annual user conference will be co-hosted as part of the 
FOSS4G conference in Dar es Salaam. I’m including an update from the conference 
chair below for your information.

Regards

Tim

> Begin forwarded message:
> 
> From: Mark Iliffe 
> Subject: FOSS4G 2018 Program Launch
> Date: 16 May 2018 at 04:09:04 SAST
> To: OSGeo Discussions 
> Cc: foss4g2018-ch...@osgeo.org
> 
> Dear OSGeo,
> 
> After a very long and challenging selection process, the Dar es Salaam Local 
> Organising Committee (DLOC) has released its conference program: 
> https://2018.foss4g.org/programme/list-of-presentations/ 
> . We are in the 
> very final stages of finalising the workshop program and this will be 
> released within the next few days - our apologies on this but the nature of 
> the good content proposed has really been challenging for us to come up with 
> a balanced workshop program - FOSS4G 2018 this year will not lack good 
> content!!
> 
> Early Bird tickets have been extended until the 5th of June… but get your 
> tickets early!!!
> 
> Conference passes for FOSS4G Dar can be purchased here: 
> https://2018.foss4g.or.tz/EventManagement/public/e/1/foss4g-2018-dar-es-salaam
>  
> .
>  If you have any issues booking your passes, please do not hesitate to 
> contact me directly at foss4g2018-ch...@osgeo.org 
> . You can book hotels through our site and 
> will be able to add extra days and workshops within your conference 
> management page.
> 
> We look forward to welcoming you to the Dar es Salaam sun this August.
> 
> Karibu Sana!! Welcome!!
> 
> Mark Iliffe
> FOSS4G 2018 Co-Chair
> 
> --
> You received this message because you are subscribed to the Google Groups 
> "Dar-FOSS4G" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to dar-foss4g+unsubscr...@googlegroups.com 
> .
> To post to this group, send email to dar-fos...@googlegroups.com 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/dar-foss4g/652243D6-7597-465F-BF47-3828D12A0443%40gmail.com
>  
> .
> For more options, visit https://groups.google.com/d/optout 
> .

—








Tim Sutton

Co-founder: Kartoza
Ex Project chair: QGIS.org

Visit http://kartoza.com  to find out about open source:

Desktop GIS programming services
Geospatial web development
GIS Training
Consulting Services

Skype: timlinux
IRC: timlinux on #qgis at freenode.net



signature.asc
Description: Message signed with OpenPGP
___
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