Re: [Qgis-user] Limit lines to orthogonal directions

2020-03-09 Thread Thayer Young
Two ways I can think of:
(I) If you use Web Mercator (EPSG 3857, coordinates in meters from prime 
meridian at equator)          or WGS84 projection (EPSG 4326, coordinates in 
degrees from prime meridian at equator)    or similar CRS that has straight 
meridians, you can do the calculations yourself and write the coordinates in a 
text file as well known text (see wikipedia for more detail) and import it into 
QGIS using the 'Delimited Text' option in the Data Source Manager.   In a text 
editor (Notepad, Text Edit, GEdit, etc.) write your details like the example 
below, where your field names are on the first line and your lines are on each 
additional line of text. Separate fields with commas, designate text with 
"double quotes".  Note that the x value does not change only the y, also note 
that the order is start point: longitude latitude, end point: longitude 
latitude:
 id, description, wkt1, "Prime Meridian", "LINESTRING(0.0 -90.0, 
0.0 90.0)"2, "north of Baltimore", "LINESTRING(-76.61241 39.29068, 
-76.61241 90.0)"
  Save it as text (not a Word document, .doc, and not an .RTF) with the 
extension .CSV. Import it into QGIS using the 'Delimited Text' option in the 
Data Source Manager. For the example set the coordinate system to 4326. Export 
the data into your desired CRS and format.

(II) You can use a plugin like those described here:
https://gis.stackexchange.com/questions/119133/how-to-draw-a-polygon-given-a-distance-and-bearing-in-qgis#119148

-Thayer
--

Message: 6
Date: Mon, 9 Mar 2020 09:09:07 -0700
From: John Bethel 
To: "qgis-user@lists.osgeo.org" 
Subject: [Qgis-user] Limit lines to orthogonal directions
Message-ID: <5e6672a4.1c69fb81.9e33c.0...@mx.google.com>
Content-Type: text/plain; charset="utf-8"
___
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] Limit lines to orthogonal directions

2020-03-09 Thread John Bethel
I’m a novice QGIS user. I’m trying to draw a line to true north ( zero degrees) and haven’t been able to sort out a method. I’m running 3.4.5-Madeira.  Thank you! Sent from Mail for Windows 10 

	

		Virus-free. www.avast.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

Re: [Qgis-user] sharing qgis project networking

2020-03-09 Thread Saulteau Don
Hey Cecilia,

when connecting over LAN, by default, the host is your computer name, and
the port is 5432 if it hadn't been changed in the postgresql.conf and your
firewall has to have that port open.

If users are connecting via WAN, then your router also has to forward that
port to your machine and users need to enter your WAN IP as the host (could
also use a DNS for external users if you don't have a static IP).

There's a little bit of config required to get it working right and also
consider using SSL to encrypt user logins over the WAN.

For users, they should ideally have their own login and password because
maybe you don't want everyone making permanent changes to the project in
the database.

There's a postgresql mailing list for help and lots of online resources for
configuring postgresql.

On Mon., Mar. 9, 2020, 06:20 Maria Cecilia Zalazar, <
zalazarmariaceci...@gmail.com> wrote:

> Dear Donovan. Thanks for your answer.
> A postgresql database to host the project could be a great idea to share
> it.
> If the database is hosted in my local-computer, remote users can access
> just creating a new connection. But, what should the host and port be (in
> remote connection)?
> Is just the name, the user and password owners of the database?
> Regards.
>
> [image: image.png]
>
>
>
>
> El sáb., 7 de mar. de 2020 a la(s) 13:40, Saulteau Don (
> sault@gmail.com) escribió:
>
>> Can you explain the workflow a little bit?
>>
>> For example, you can have a postgresql database to host the project[1]
>> that other users can access over the network...
>>
>> Permissions for changing the master project could be controlled by the
>> database and maybe even setup triggers to track any changes to the project.
>>
>> [1]
>> https://www.bostongis.com/blog/index.php?/archives/271-New-in-QGIS-3.2-Save-Project-to-PostgreSQL.html
>>
>>
>>
>> SaultDon (Donovan)
>>
>> On Sat., Mar. 7, 2020, 08:47 Maria Cecilia Zalazar, <
>> zalazarmariaceci...@gmail.com> wrote:
>>
>>> Dear, is there any way to carry out a QGIS project as a form of
>>> networking among collaborators?
>>> Thanks you! regards
>>> ___
>>> 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] Create GeoPackage from scratch using python ?

2020-03-09 Thread Alessandro Pasotti
You can try QgsVectorLayerExporter

Cheers



On Mon, Mar 9, 2020 at 11:53 AM Bo Victor Thomsen
 wrote:
>
> Is there a method to create a GeoPackage file from scratch using QGIS
> and python (but not manually creating a layer using "create layer" in
> the user interface)
>
> Perhaps using the PyQt 5 QtSQL.QSqlDatabase method ??
>
>
> --
> Med venlig hilsen / Kind regards
>
> Bo Victor Thomsen
>
> ___
> 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



-- 
Alessandro Pasotti
w3:   www.itopen.it
___
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] Create GeoPackage from scratch using python ?

2020-03-09 Thread Bo Victor Thomsen
Is there a method to create a GeoPackage file from scratch using QGIS 
and python (but not manually creating a layer using "create layer" in 
the user interface)


Perhaps using the PyQt 5 QtSQL.QSqlDatabase method ??


--
Med venlig hilsen / Kind regards

Bo Victor Thomsen

___
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] sqlcli installation on 32bit and resulting pyodbc error

2020-03-09 Thread Jürgen E . Fischer
Hi Paul,

On Mon, 09. Mar 2020 at 09:39:34 +, Paul Wittle wrote:
> When I then load the application one of my plugins (the one requiring 32bit) 
> gives the error:
> ModuleNotFoundError: No module named 'pyodbc'

Did you install pyodbc?  It's not a dependencies of qgis and hence an optional
install - but also a dependency of qgis*-full.


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 Nordenhttps://www.norbit.de
QGIS release manager (PSC)  GermanyIRC: jef on FreeNode


signature.asc
Description: PGP signature
___
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] Traduzione sw

2020-03-09 Thread Studio Multiservice s.s.
Ciao Stefano

scusa ma causa notizie varie su coronavirus ho perso la trebisonda.

Le quattro stringhe sono, in pratica, le voci che trovi nella finestra
Proprietà vettore>Digitalizzazione alla voce [Controlli topologici].

Nello specifico:

Gap
Allowed Gaps:
Missing Vertex
Overlap

Grazie

Alberto



Il sab 7 mar 2020, 13:08 Stefano Campus  ha scritto:

> Grazie mille per la segnalazione.
> Il numero delle stringhe è mutevole a causa dell'aggiornamento.
> Mi dici quali parole ci sono così le cerco?
>
> Grazie mille
>
> s.
>
> Il sab 7 mar 2020, 12:58 Studio Multiservice s.s. <
> studio.multiservice.mant...@gmail.com> ha scritto:
>
>> Buongiorno a tutti
>>
>> ho notato che nella finestra
>>
>> *Proprietà Vettore | Digitalizzazione*
>>
>> alla voce " Controlli topologici", la traduzione in italiano non è
>> completa.
>>
>> Ho provato, su transifex, a rimediare
>>
>> Ho tradotto le seguenti poche stringhe
>>
>> 2408
>> 13398
>> 13941
>> 21467
>>
>> Buttate un occhio cortesemente?
>>
>> Grazie
>>
>> Alberto
>>
>>
>> ___
>> 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] sqlcli installation on 32bit and resulting pyodbc error

2020-03-09 Thread Paul Wittle
Hi,

I’m trying to install QGIS 3.10 32bit but I’m getting an error when it tries to 
install the Microsoft SQL Server 2012 Native Client. The error reads 
“Installation of this product failed because it is not supported on this 
operating system. For information on supported configurations, see the product 
documentation.”

It worked fine on my 64bit installation and I should note that I’m attempting 
to run both a 32bit and 64bit version side by side.

When I then load the application one of my plugins (the one requiring 32bit) 
gives the error:
ModuleNotFoundError: No module named 'pyodbc'

I assume this is because the native client failed to install but has anyone 
else had this issue and is there a flag I can set in the advanced installer to 
get the native client to install correctly?

Thank you to Bo Victor Thomsen and Jürgen E. Fischer for answering my earlier 
question because that got me a working version of 3.10.3 64bit which is great 

Many thanks,

Paul
This e-mail and any files transmitted with it are intended solely for the use 
of the individual or entity to whom they are addressed. It may contain 
unclassified but sensitive or protectively marked material and should be 
handled accordingly. Unless you are the named addressee (or authorised to 
receive it for the addressee) you may not copy or use it, or disclose it to 
anyone else. If you have received this transmission in error please notify the 
sender immediately. All traffic may be subject to recording and/or monitoring 
in accordance with relevant legislation. Any views expressed in this message 
are those of the individual sender, except where the sender specifies and with 
authority, states them to be the views of Dorset Council. Dorset Council does 
not accept service of documents by fax or other electronic means. Virus 
checking: Whilst all reasonable steps have been taken to ensure that this 
electronic communication and its attachments whether encoded, encrypted or 
otherwise supplied are free from computer viruses, Dorset Council accepts no 
liability in respect of any loss, cost, damage or expense suffered as a result 
of accessing this message or any of its attachments. For information on how 
Dorset Council processes your information, please see 
www.dorsetcouncil.gov.uk/416433
___
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