Re: [Qgis-user] Project templates

2020-06-16 Thread qgis-user

  
  
On 6/16/2020 4:28 PM, Nyall Dawson
  wrote:


  Actually, I can't reproduce either issue on 3.14

And I can't reproduce on 3.10.5
If I create a new from template and then try to save, the initial
save directory is the template directory (which does seem odd), but
the name field is blank and must be filled in. 
  

___
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] Project templates

2020-06-16 Thread Nyall Dawson
On Wed, 17 Jun 2020 at 08:22, Nyall Dawson  wrote:
>
> On Wed, 17 Jun 2020 at 05:28, Micha Silver  wrote:
> >
> > Even though I've been using QGIS for many years, I'm still confused by the 
> > concept of templates. When I create a basic project (currently using 3.10 
> > on Linux) and choose "Save to..." and select "templates", a *.qgz file is 
> > indeed created in my templates directory. When I restart QGIS and select 
> > "New from template" that template project is opened. But then, any further 
> > changes are saved back to the template unless I explicitly do "Save as...". 
> > I would expect that "New from template" should open a *new* project with 
> > all the elements from the template, but not allowing to alter the original 
> > template.
>
> This definitely sounds like a bug, and a serious one at that! I'll see
> if I can resolve for 3.14...

Actually, I can't reproduce either issue on 3.14

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] Project templates

2020-06-16 Thread Nyall Dawson
On Wed, 17 Jun 2020 at 05:28, Micha Silver  wrote:
>
> Even though I've been using QGIS for many years, I'm still confused by the 
> concept of templates. When I create a basic project (currently using 3.10 on 
> Linux) and choose "Save to..." and select "templates", a *.qgz file is indeed 
> created in my templates directory. When I restart QGIS and select "New from 
> template" that template project is opened. But then, any further changes are 
> saved back to the template unless I explicitly do "Save as...". I would 
> expect that "New from template" should open a *new* project with all the 
> elements from the template, but not allowing to alter the original template.

This definitely sounds like a bug, and a serious one at that! I'll see
if I can resolve for 3.14...

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] How to determine the inner surface on a sphere or ellipsoid

2020-06-16 Thread Nyall Dawson
On Wed, 17 Jun 2020 at 02:10, Richard Duivenvoorde  wrote:
>
> On 6/16/20 4:17 PM, Tudorache, Marian wrote:
> > Hi everyone,
> >
> > I have a list of polygons given by a list of points.
> > The polygons are properly drawn on QGIS canvas by creating the geometries, 
> > the each geometry is used to create a Qgsfeature which are saved on a 
> > shapefile.
> > The problem appears in detecting if a point on the Earth is inside or 
> > outside the polygon.
> > Using pyqgis QgsGeometry intersects function returns proper value.
> > However when I export the polygon to intermaphics from Kongsberg Geospatial 
> > (former Gallium) sometime the point is inside other time is outside the 
> > polygon.
> > I tried to switch the order of the points is QGIS ,but the intersects 
> > function always give me the same result regardless of the order of the 
> > points.
> > In intermaphics the intersection between a polygon and a point varies with 
> > the order of the points which define a polygon.
> > I talked to people from gallium and they confirmed the order of the points 
> > is important.
> > In one direction a inner area of the polygon is the small surface and if I 
> > switch the order the inner area is the outside and it wraps the Earth on 
> > the opposite side.
> >
> > Does QGIS or pyqgis has a similar mechanism to determine which is the inner 
> > part of the polygon on a sphere or ellipsoid?
>
> Hi Marian,
>
> are'nt we here talking about the so called Right Hand Rule?

That's just a convention -- it doesn't change what the boundary
actually represents.

If you want to do analysis based on points which fall outside a
digitized polygon, you should use a "disjoint" relationship. The
alternative is to do what Nicolas suggested and make a polygon which
covers the globe minus a small hole, but you'll get terrible
performance with any analysis using that approach...!

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] Project templates

2020-06-16 Thread Richard Duivenvoorde
On 6/16/20 9:27 PM, Micha Silver wrote:
> Even though I've been using QGIS for many years, I'm still confused by
> the concept of templates. When I create a basic project (currently using
> 3.10 on Linux) and choose "Save to..." and select "templates", a *.qgz
> file is indeed created in my templates directory. When I restart QGIS
> and select "New from template" that template project is opened. But
> then, any further changes are saved back to the template unless I
> explicitly do "Save as...". I would expect that "New from template"
> should open a *new* project with all the elements from the template, but
> not allowing to alter the original template.
> 
> 
> Am I missing something?

Hi Micha,

I agree, I also hit this when I create a simple reference map, and use
the 'Set current project as default' and 'create a project from default
project' sometimes (not always) it seems that I have saved (upon close
or so?) my stuff into the template...
Which indeed seems odd.
My guess would be: you create a template, and after that it is more or
less read-only. ONLY if you save a template with the same name, you can
change it...

Another thing in the template world: sometimes (only default profile?) I
have a 'create blank'-template and sometimes it is missing...

Regards,

Richard Duivenvoorde
___
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] How to determine the inner surface on a sphere or ellipsoid

2020-06-16 Thread Richard Duivenvoorde
On 6/16/20 6:29 PM, Tudorache, Marian wrote:
> This might help, however  I forgot to mention that I am using QGIS 2.18.
> The QgsGeometry Class that you sent me is for QGIS 3.
> 
> Do you know something similar on QGIS 2.18?

Hi Marian,

Not that I could quickly find.

But please, please upgrade to at least 3.10 :-)

Else: maybe you can install a local Postgis database and do this in the
database?

Regards,

Richard Duivenvoorde
___
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] Project templates

2020-06-16 Thread Micha Silver

  
  
Even though I've been using QGIS for many years,
I'm still confused by the concept of templates. When I create a
basic project (currently using 3.10 on Linux) and choose "Save
to..." and select "templates", a *.qgz file is indeed created in
my templates directory. When I restart QGIS and select "New from
template" that template project is opened. But then, any further
changes are saved back to the template unless I explicitly do
"Save as...". I would expect that "New from template" should
open a *new* project with all the elements from the template,
but not allowing to alter the original template.

  
Am I missing something? 
  
Thanks
  

  
-- 
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918
https://orcid.org/-0002-1128-1325
  

___
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] Automatically ordering layers & best practice for transferring data

2020-06-16 Thread RMG
Hi Nicolas,

Many thanks. Load Them All looks promising.

Best regards,

Reiko Matsuda Goodwin
Comoé Monkey Project 
Guenon Conservation Community





On Tue, Jun 16, 2020 at 1:23 PM Nicolas Cadieux <
nicolas.cadi...@archeotec.ca> wrote:

> Hi,
>
> See below
> On 2020-06-16 12:39 p.m., RMG wrote:
>
> Hello,
>
> I have a lot of layers that are often similar in names and structures
> (e.g., 2018-01-20_daily-path_length, 2018-01-21_daily-path_length,
> 2018-01-22_daily-path_length ), but not always. Is there a way to
> automatically order the layers by alphabetical order, date, etc.? I am not
> talking about grouping or sub-grouping. I am looking for a function that
> would allow us to sort them by certain specifics (e.g., order by
> modification date, order by rasters then vectors).
>
> There was an experimental  sort layer plugin but I can't find it from QGIS
> 3x. Only on the web site.  Maybe it has not been ported to qgis 3x.
> Anybody???  I believe the "Load them all" plugin could help also.
>
> https://plugins.qgis.org/plugins/SortLayers/
>
> Some code found here could help.
>
>
> https://gis.stackexchange.com/questions/318834/sort-layers-in-table-of-contents-in-qgis-3
>
> Second question. What is the best practice for transferring data from one
> external hard drive to another? A 2TB drive is full with a lot of Landsat
> images and now I would like to transfer the data to a 4TB one. How do I
> make sure that I have a smooth workflow without looking for layers within
> each project?
>
> Regards,
>
> Personally, I used Syncbacks free or SE.
> https://www.2brightsparks.com/welcome/syncback-syncbackse-syncbackpro.html?gclid=CjwKCAjw26H3BRB2EiwAy32zhVgBM3Bb_uJ-H69UvKghHCBr7yB8rDZ3evsXuY1ASKJYsv5O3HT0yxoC5_YQAvD_BwE
>
> You could always just copy and paste from one drive to the other.  This
> can work if you are not accessing the files from the drives at the same
> time.  Never *cut* and paste. That can be messy if things go wrong.  If
> you keep the same file structure, QGIS projects should work on the second
> drive. Your hard drive may also have a free software to do the job.  I
> would keep the first drive as a backup.
>
> Cheers!
>
> Nicolas
>
>
>
> Reiko Matsuda Goodwin
> Comoé Monkey Project 
> Guenon Conservation Community
> 
>
>
>
> ___
> Qgis-user mailing listqgis-u...@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] Automatically ordering layers & best practice for transferring data

2020-06-16 Thread Nicolas Cadieux

Hi,

See below

On 2020-06-16 12:39 p.m., RMG wrote:

Hello,

I have a lot of layers that are often similar in names and structures 
(e.g., 2018-01-20_daily-path_length, 2018-01-21_daily-path_length, 
2018-01-22_daily-path_length ), but not always. Is there a way to 
automatically order the layers by alphabetical order, date, etc.? I am 
not talking about grouping or sub-grouping. I am looking for a 
function that would allow us to sort them by certain specifics (e.g., 
order by modification date, order by rasters then vectors).


There was an experimental  sort layer plugin but I can't find it from 
QGIS 3x. Only on the web site.  Maybe it has not been ported to qgis 
3x.  Anybody???  I believe the "Load them all" plugin could help also.


https://plugins.qgis.org/plugins/SortLayers/

Some code found here could help.

https://gis.stackexchange.com/questions/318834/sort-layers-in-table-of-contents-in-qgis-3

Second question. What is the best practice for transferring data from 
one external hard drive to another? A 2TB drive is full with a lot of 
Landsat images and now I would like to transfer the data to a 4TB one. 
How do I make sure that I have a smooth workflow without looking for 
layers within each project?


Regards,


Personally, I used Syncbacks free or SE. 
https://www.2brightsparks.com/welcome/syncback-syncbackse-syncbackpro.html?gclid=CjwKCAjw26H3BRB2EiwAy32zhVgBM3Bb_uJ-H69UvKghHCBr7yB8rDZ3evsXuY1ASKJYsv5O3HT0yxoC5_YQAvD_BwE 



You could always just copy and paste from one drive to the other.  This 
can work if you are not accessing the files from the drives at the same 
time.  Never *cut* and paste. That can be messy if things go wrong.  If 
you keep the same file structure, QGIS projects should work on the 
second drive. Your hard drive may also have a free software to do the 
job.  I would keep the first drive as a backup.


Cheers!

Nicolas




Reiko Matsuda Goodwin
Comoé Monkey Project 
Guenon Conservation Community 





___
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] data source is invalid

2020-06-16 Thread chris hermansen
Humberto and list

On Mon, Jun 15, 2020 at 7:05 AM Humberto Vargas Espinoza <
hvar...@correos.go.cr> wrote:

> *Buenos días*
>
> *Tengo dos capas de SHAPE una de polígonos y otra de puntos. Deseo pasar
> la información de las tablas de polígono a la de puntos. No puedo usar JOIN*
>

Humberto, normalmente se introduce un nuevo asunto para establecer un nuevo
hilo de conversaciones...

La operación que necesitas para traspasar atributos de los polígonos a los
puntos es "intersección" que se ubica como:

Vector > Geoprocessing Tools > Intersection... (mis disculpas tengo mi
interfaz en inglés y no en castellano).

Se selecciona como "input layer" los puntos y como "overlay layer" los
polígonos.

Bajo Advanced parameters se usa [...] para definir nuevo archivo de
resultado.  Este archivo tendrá geometría de puntos.

En la tabla de atributos del resultado se encuentra los atributos de puntos
y polígonos.

Espero que eso te sirve.
-- 
Chris Hermansen · clhermansen "at" gmail "dot" com

C'est ma façon de parler.
___
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] Automatically ordering layers & best practice for transferring data

2020-06-16 Thread RMG
Hello,

I have a lot of layers that are often similar in names and structures
(e.g., 2018-01-20_daily-path_length, 2018-01-21_daily-path_length,
2018-01-22_daily-path_length ), but not always. Is there a way to
automatically order the layers by alphabetical order, date, etc.? I am not
talking about grouping or sub-grouping. I am looking for a function that
would allow us to sort them by certain specifics (e.g., order by
modification date, order by rasters then vectors).

Second question. What is the best practice for transferring data from one
external hard drive to another? A 2TB drive is full with a lot of Landsat
images and now I would like to transfer the data to a 4TB one. How do I
make sure that I have a smooth workflow without looking for layers within
each project?

Regards,

Reiko Matsuda Goodwin
Comoé Monkey Project 
Guenon Conservation Community

___
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] How to determine the inner surface on a sphere or ellipsoid

2020-06-16 Thread Tudorache, Marian
This might help, however  I forgot to mention that I am using QGIS 2.18.
The QgsGeometry Class that you sent me is for QGIS 3.

Do you know something similar on QGIS 2.18?

Thanks,
Marian

-Original Message-
From: Richard Duivenvoorde 
Sent: Tuesday, June 16, 2020 12:10 PM
To: Tudorache, Marian ; qgis-user@lists.osgeo.org
Subject: [EXT] Re: [Qgis-user] How to determine the inner surface on a sphere 
or ellipsoid

On 6/16/20 4:17 PM, Tudorache, Marian wrote:
> Hi everyone,
>
> I have a list of polygons given by a list of points.
> The polygons are properly drawn on QGIS canvas by creating the geometries, 
> the each geometry is used to create a Qgsfeature which are saved on a 
> shapefile.
> The problem appears in detecting if a point on the Earth is inside or outside 
> the polygon.
> Using pyqgis QgsGeometry intersects function returns proper value.
> However when I export the polygon to intermaphics from Kongsberg Geospatial 
> (former Gallium) sometime the point is inside other time is outside the 
> polygon.
> I tried to switch the order of the points is QGIS ,but the intersects 
> function always give me the same result regardless of the order of the points.
> In intermaphics the intersection between a polygon and a point varies with 
> the order of the points which define a polygon.
> I talked to people from gallium and they confirmed the order of the points is 
> important.
> In one direction a inner area of the polygon is the small surface and if I 
> switch the order the inner area is the outside and it wraps the Earth on the 
> opposite side.
>
> Does QGIS or pyqgis has a similar mechanism to determine which is the inner 
> part of the polygon on a sphere or ellipsoid?

Hi Marian,

are'nt we here talking about the so called Right Hand Rule?

https://urldefense.com/v3/__https://postgis.net/docs/ST_ForceRHR.html__;!!P0kg3YazkQ!SxE0ZFgaBrgWRAqxjyrcC27wO_4FSfOZJ6YSW3RdPYb1VIj6V3RbX2nWprVt5PDgB1KFJfl8$
says:

In particular, the exterior ring is orientated in a clockwise direction and the 
interior rings in a counter-clockwise direction.

QGIS has this also:

https://urldefense.com/v3/__https://github.com/qgis/QGIS/blob/master/src/core/geometry/qgsgeometry.cpp*L2651__;Iw!!P0kg3YazkQ!SxE0ZFgaBrgWRAqxjyrcC27wO_4FSfOZJ6YSW3RdPYb1VIj6V3RbX2nWprVt5PDgB0hgkj92$

With pyqgis you can als use forceRHR:

https://urldefense.com/v3/__https://qgis.org/pyqgis/3.12/core/QgsGeometry.html?highlight=qgsgeometry*qgis.core.QgsGeometry.forceRHR__;Iw!!P0kg3YazkQ!SxE0ZFgaBrgWRAqxjyrcC27wO_4FSfOZJ6YSW3RdPYb1VIj6V3RbX2nWprVt5PDgBwHQeTsL$

I do know that QGIS is not so good when a geometry crosses the world-dateline 
though... but I do not think that is your case is it?

Or do I misunderstand you question?

Regards,

Richard Duivenvoorde









This electronic message, as well as any transmitted files included in the 
electronic message, may contain privileged or confidential information and is 
intended solely for the use of the individual(s) or entity to which it is 
addressed. If you have received this electronic message in error please notify 
the sender immediately and delete the electronic message. Any unauthorized 
copying, disclosure or distribution of the electronic message is strictly 
forbidden. NAV CANADA accepts no liability for any damage caused by any virus 
and/or other malicious code transmitted by this electronic communication.

Le présent message électronique et tout fichier qui peut y être joint peuvent 
contenir des renseignements privilégiés ou confidentiels destinés à l’usage 
exclusif des personnes ou des organismes à qui ils s’adressent. Si vous avez 
reçu ce message électronique par erreur, veuillez en informer l’expéditeur 
immédiatement et supprimez le. Toute reproduction, divulgation ou distribution 
du présent message électronique est strictement interdite. NAV CANADA n’assume 
aucune responsabilité en cas de dommage causé par tout virus ou autre programme 
malveillant transmis par ce message électronique.
___
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] How to determine the inner surface on a sphere or ellipsoid

2020-06-16 Thread Richard Duivenvoorde
On 6/16/20 4:17 PM, Tudorache, Marian wrote:
> Hi everyone,
> 
> I have a list of polygons given by a list of points.
> The polygons are properly drawn on QGIS canvas by creating the geometries, 
> the each geometry is used to create a Qgsfeature which are saved on a 
> shapefile.
> The problem appears in detecting if a point on the Earth is inside or outside 
> the polygon.
> Using pyqgis QgsGeometry intersects function returns proper value.
> However when I export the polygon to intermaphics from Kongsberg Geospatial 
> (former Gallium) sometime the point is inside other time is outside the 
> polygon.
> I tried to switch the order of the points is QGIS ,but the intersects 
> function always give me the same result regardless of the order of the points.
> In intermaphics the intersection between a polygon and a point varies with 
> the order of the points which define a polygon.
> I talked to people from gallium and they confirmed the order of the points is 
> important.
> In one direction a inner area of the polygon is the small surface and if I 
> switch the order the inner area is the outside and it wraps the Earth on the 
> opposite side.
> 
> Does QGIS or pyqgis has a similar mechanism to determine which is the inner 
> part of the polygon on a sphere or ellipsoid?

Hi Marian,

are'nt we here talking about the so called Right Hand Rule?

https://postgis.net/docs/ST_ForceRHR.html
says:

In particular, the exterior ring is orientated in a clockwise direction
and the interior rings in a counter-clockwise direction.

QGIS has this also:

https://github.com/qgis/QGIS/blob/master/src/core/geometry/qgsgeometry.cpp#L2651

With pyqgis you can als use forceRHR:

https://qgis.org/pyqgis/3.12/core/QgsGeometry.html?highlight=qgsgeometry#qgis.core.QgsGeometry.forceRHR

I do know that QGIS is not so good when a geometry crosses the
world-dateline though... but I do not think that is your case is it?

Or do I misunderstand you question?

Regards,

Richard Duivenvoorde






___
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] How to determine the inner surface on a sphere or ellipsoid

2020-06-16 Thread Nicolas Cadieux
Hi,

To my knowledge no.  The second option would be a polygone that covers the 
earth but that has a hole in it.  That is the Generally accepted topology in 
GIS.  

Nicolas Cadieux
Ça va bien aller!

> Le 16 juin 2020 à 10:28, Tudorache, Marian  a 
> écrit :
> 
> Hi everyone,
> 
> I have a list of polygons given by a list of points.
> The polygons are properly drawn on QGIS canvas by creating the geometries, 
> the each geometry is used to create a Qgsfeature which are saved on a 
> shapefile.
> The problem appears in detecting if a point on the Earth is inside or outside 
> the polygon.
> Using pyqgis QgsGeometry intersects function returns proper value.
> However when I export the polygon to intermaphics from Kongsberg Geospatial 
> (former Gallium) sometime the point is inside other time is outside the 
> polygon.
> I tried to switch the order of the points is QGIS ,but the intersects 
> function always give me the same result regardless of the order of the points.
> In intermaphics the intersection between a polygon and a point varies with 
> the order of the points which define a polygon.
> I talked to people from gallium and they confirmed the order of the points is 
> important.
> In one direction a inner area of the polygon is the small surface and if I 
> switch the order the inner area is the outside and it wraps the Earth on the 
> opposite side.
> 
> Does QGIS or pyqgis has a similar mechanism to determine which is the inner 
> part of the polygon on a sphere or ellipsoid?
> 
> Thanks,
> Marian
> 
> 
> 
> This electronic message, as well as any transmitted files included in the 
> electronic message, may contain privileged or confidential information and is 
> intended solely for the use of the individual(s) or entity to which it is 
> addressed. If you have received this electronic message in error please 
> notify the sender immediately and delete the electronic message. Any 
> unauthorized copying, disclosure or distribution of the electronic message is 
> strictly forbidden. NAV CANADA accepts no liability for any damage caused by 
> any virus and/or other malicious code transmitted by this electronic 
> communication.
> 
> Le présent message électronique et tout fichier qui peut y être joint peuvent 
> contenir des renseignements privilégiés ou confidentiels destinés à l’usage 
> exclusif des personnes ou des organismes à qui ils s’adressent. Si vous avez 
> reçu ce message électronique par erreur, veuillez en informer l’expéditeur 
> immédiatement et supprimez le. Toute reproduction, divulgation ou 
> distribution du prése
___
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] shapefiles

2020-06-16 Thread Jim McGannon
I thought so…thank you all!  Jim McGannonForestry/Landscape Consultant, LLCFrom: Raymond NijssenSent: Tuesday, June 16, 2020 12:08 AMTo: forestermcgannon; qgis-user@lists.osgeo.orgSubject: Re: [Qgis-user] shapefiles Ah, you'll need to change the layer order. Just drag and drop them at the right spot in the layer panel, left from your map. This is actually quite basic qgis knowledge, so you might consider following some (online) tutorials to get started quickly. Regards,Raymond   On 16-06-2020 07:55, forestermcgannon wrote:> when I "uncheck" the ortho layer, the property boundary (the shapefile) > appears. When I display the ortho imagery again, no boundary. It is like > the shapefile is "under" the ortho image, when I of course want it to > show "on" the ortho image. most seems like a vector display issue to me.> What do you think?> Thanks> Jim> > > > Jim McGannon> Forestry Landscape Consultant, LLC> Coloradotreearborist.com> 303-526-1118> > >  Original message > From: Raymond Nijssen > Date: 6/15/20 11:35 PM (GMT-07:00)> To: qgis-user@lists.osgeo.org> Subject: Re: [Qgis-user] shapefiles> > Hi Jim,> > That sounds a lot like a projection issue.> > Are your layers completely misaligned, like not overlapping at all? Or> are they overlapping but with just a few (hundred) meters shift?> > An easy trick is adding the world layer and see which of your layers> appears at the expected spot. You can do this by typing "world" in the> coordinate bar beneath the map.> > Good luck!> > Raymond> > > On 16-06-2020 05:24, forestermcgannon wrote:>  > Why is my shapefile that I imported into project, not showing up with my>  > orthoimage. The shapefile is a property line boundary.>  > Thanks>  > Jim>  >>  >>  >>  > ___>  > 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] How to determine the inner surface on a sphere or ellipsoid

2020-06-16 Thread Tudorache, Marian
Hi everyone,

I have a list of polygons given by a list of points.
The polygons are properly drawn on QGIS canvas by creating the geometries, the 
each geometry is used to create a Qgsfeature which are saved on a shapefile.
The problem appears in detecting if a point on the Earth is inside or outside 
the polygon.
Using pyqgis QgsGeometry intersects function returns proper value.
However when I export the polygon to intermaphics from Kongsberg Geospatial 
(former Gallium) sometime the point is inside other time is outside the polygon.
I tried to switch the order of the points is QGIS ,but the intersects function 
always give me the same result regardless of the order of the points.
In intermaphics the intersection between a polygon and a point varies with the 
order of the points which define a polygon.
I talked to people from gallium and they confirmed the order of the points is 
important.
In one direction a inner area of the polygon is the small surface and if I 
switch the order the inner area is the outside and it wraps the Earth on the 
opposite side.

Does QGIS or pyqgis has a similar mechanism to determine which is the inner 
part of the polygon on a sphere or ellipsoid?

Thanks,
Marian



This electronic message, as well as any transmitted files included in the 
electronic message, may contain privileged or confidential information and is 
intended solely for the use of the individual(s) or entity to which it is 
addressed. If you have received this electronic message in error please notify 
the sender immediately and delete the electronic message. Any unauthorized 
copying, disclosure or distribution of the electronic message is strictly 
forbidden. NAV CANADA accepts no liability for any damage caused by any virus 
and/or other malicious code transmitted by this electronic communication.

Le présent message électronique et tout fichier qui peut y être joint peuvent 
contenir des renseignements privilégiés ou confidentiels destinés à l’usage 
exclusif des personnes ou des organismes à qui ils s’adressent. Si vous avez 
reçu ce message électronique par erreur, veuillez en informer l’expéditeur 
immédiatement et supprimez le. Toute reproduction, divulgation ou distribution 
du présent message électronique est strictement interdite. NAV CANADA n’assume 
aucune responsabilité en cas de dommage causé par tout virus ou autre programme 
malveillant transmis par ce message électronique.
___
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] exporting data

2020-06-16 Thread Nicolas Cadieux
Hi,
I used qpackage for that.  I imagine it’s also made for QGIS 3x.

https://gis.stackexchange.com/questions/33327/is-there-an-automatic-function-in-qgis-to-package-all-files-in-a-project-for-tra

If you have all your files in the same folder structure, you can also just send 
the folder.  That is not always possible because it can lead to the 
multiplication of identical files but if I know I will export something, that 
is usually the way to go.

You can have multiple sub folders in the folder structure.  QGIS normally uses 
relative paths so the project will be able to find the files.

Nicolas Cadieux
Ça va bien aller!

> Le 16 juin 2020 à 08:59, Boaz Bar Ilan  a écrit :
> 
> 
> hi everyone
> 
> i need to send  work which i did to another gis system
> 
> what is the best way to do it and how
> 
>  i tried export shapefile but it dont keep the definitions
>  i tried save as layer definition file and it doesnt work
>  i tried save feature as geopackage and it didnt work
>   can someone help in this ?
> 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

Re: [Qgis-user] QGis Server:

2020-06-16 Thread Jorge Gustavo Rocha
Hi Rachel,

Use a MAP property in the requests, instead of editing the environment
variable. If you try something like:

http://localhost/cgi-bin/qgis_mapserv.fcgi?MAP=/your/project/path.qgz=WMS=1.3.0=GetCapabilities

what happens? Are you able to receive a proper GetCapabilities document?

Regards,

Jorge Gustavo

On 16/06/20 13:09, rluethi wrote:
> Dear all,
>
> I installed QGIS Server on a fresh Debian installation based on  this
>  
>  
> tutorial.
>
> I added one *.qgs to publish a WMTS service. I could then access the WMTS.
> Afterwards I added additional projects and changed the name of the initial
> project. The Env variable QGIS_PROJECT_FILE in the qgis.demo.conf file has
> been adapted accordingly.
>
> Now I cannot access the WMTS and get the following errors:
>
> QGIS log file:
> No server python plugins are available
>
> Apache log file:
> Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment
> variable.
> Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment
> variable.
> Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP environment
> variable.
> Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment
> variable.
> Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP environment
> variable.
>
> Browser:
> http://www.opengis.net/ogc; version="1.3.0">
> Service unknown or
> unsupported
> 
>
> Has anyone an idea how to debug that?
>
> Best regards,
> Rachel
>
>
>
> --
> 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
-- 
Email Signature
Logo  
*Geomaster*
*Jorge Gustavo Rocha* | Software Engineer
*e:*j...@geomaster.pt | *m:*+351 910 333 888
*g:*41.54094,-8.40490 | *v: *510 906 109
*a: * Rua António Cândido Pinto, 67, 4715-400 Braga

___
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] exporting data

2020-06-16 Thread Boaz Bar Ilan
hi everyone

i need to send  work which i did to another gis system

what is the best way to do it and how

 i tried export shapefile but it dont keep the definitions
 i tried save as layer definition file and it doesnt work
 i tried save feature as geopackage and it didnt work
  can someone help in this ?
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

Re: [Qgis-user] shapefiles

2020-06-16 Thread Randal Hale
Yeah - that's a layer order issue. Just drag that line above your ortho 
over in the layers panel. Select the layer and drag it up. You can move 
stuff around pretty easily in that panel.


If you ever dump a shapefile out of some custom Forestry software it 
could (like something to COGO boundaries or do cruises) it can become a 
projection issue easily. BUT - you're on the right track!


Randy

On 6/16/20 2:08 AM, Raymond Nijssen wrote:
Ah, you'll need to change the layer order. Just drag and drop them at 
the right spot in the layer panel, left from your map.


This is actually quite basic qgis knowledge, so you might consider 
following some (online) tutorials to get started quickly.


Regards,
Raymond



On 16-06-2020 07:55, forestermcgannon wrote:
when I "uncheck" the ortho layer, the property boundary (the 
shapefile) appears. When I display the ortho imagery again, no 
boundary. It is like the shapefile is "under" the ortho image, when I 
of course want it to show "on" the ortho image. most seems like a 
vector display issue to me.

What do you think?
Thanks
Jim



Jim McGannon
Forestry Landscape Consultant, LLC
Coloradotreearborist.com
303-526-1118


 Original message 
From: Raymond Nijssen 
Date: 6/15/20 11:35 PM (GMT-07:00)
To: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] shapefiles

Hi Jim,

That sounds a lot like a projection issue.

Are your layers completely misaligned, like not overlapping at all? Or
are they overlapping but with just a few (hundred) meters shift?

An easy trick is adding the world layer and see which of your layers
appears at the expected spot. You can do this by typing "world" in the
coordinate bar beneath the map.

Good luck!

Raymond


On 16-06-2020 05:24, forestermcgannon wrote:
 > Why is my shapefile that I imported into project, not showing up 
with my

 > orthoimage. The shapefile is a property line boundary.
 > Thanks
 > Jim
 >
 >
 >
 > ___
 > 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


--
Randal Hale
rjh...@northrivergeographic.com
(p) 423.653.3611
http://www.northrivergeographic.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] QGis Server:

2020-06-16 Thread rluethi
Dear all,

I installed QGIS Server on a fresh Debian installation based on  this
  
tutorial.

I added one *.qgs to publish a WMTS service. I could then access the WMTS.
Afterwards I added additional projects and changed the name of the initial
project. The Env variable QGIS_PROJECT_FILE in the qgis.demo.conf file has
been adapted accordingly.

Now I cannot access the WMTS and get the following errors:

QGIS log file:
No server python plugins are available

Apache log file:
Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment
variable.
Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment
variable.
Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP environment
variable.
Warning 1: Unable to find driver ECW to unload from GDAL_SKIP environment
variable.
Warning 1: Unable to find driver JP2ECW to unload from GDAL_SKIP environment
variable.

Browser:
http://www.opengis.net/ogc; version="1.3.0">
Service unknown or
unsupported


Has anyone an idea how to debug that?

Best regards,
Rachel



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

2020-06-16 Thread shrawan tripathi
Dear jim, please keep shapefile layer above orthoimage in layer panel

On Tue, 16 Jun, 2020, 1:20 PM forestermcgannon, 
wrote:

> when I "uncheck" the ortho layer, the property boundary (the shapefile)
> appears. When I display the ortho imagery again, no boundary. It is like
> the shapefile is "under" the ortho image, when I of course want it to show
> "on" the ortho image. most seems like a vector display issue to me.
> What do you think?
> Thanks
> Jim
>
>
>
> Jim McGannon
> Forestry Landscape Consultant, LLC
> Coloradotreearborist.com
> 303-526-1118
>
>
>  Original message 
> From: Raymond Nijssen 
> Date: 6/15/20 11:35 PM (GMT-07:00)
> To: qgis-user@lists.osgeo.org
> Subject: Re: [Qgis-user] shapefiles
>
> Hi Jim,
>
> That sounds a lot like a projection issue.
>
> Are your layers completely misaligned, like not overlapping at all? Or
> are they overlapping but with just a few (hundred) meters shift?
>
> An easy trick is adding the world layer and see which of your layers
> appears at the expected spot. You can do this by typing "world" in the
> coordinate bar beneath the map.
>
> Good luck!
>
> Raymond
>
>
> On 16-06-2020 05:24, forestermcgannon wrote:
> > Why is my shapefile that I imported into project, not showing up with my
> > orthoimage. The shapefile is a property line boundary.
> > Thanks
> > Jim
> >
> >
> >
> > ___
> > 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-it-user] Incontri estivi GFOSS - 4 giugno-10 luglio 2020

2020-06-16 Thread Stefano Campus
Buongiorno a tutti, segnalo che sono aperte le iscrizioni per i prossimi
Webinar nell'ambito degli Incontri Estivi della Associazione GFOSS.it.

Strumenti di analisi speditiva per la valutazione della pericolosità da
caduta massi in ambiente QGIS (Marta Castelli, 19/6/2020)

Introduzione ai database geospaziali (Enrico Ferreguti, Rocco Pispico, Luca
Lanteri, 20/6/2020)

Urbanistica e QGIS: primi passi (Alberto Grava, Amedeo Fadini, 24/6/2020)

OpenStreetMap (Marco Minghini, Alessandro Sarretta, 25/6/2020)

Info ed Iscrizioni:

https://www.gfoss.it/index.php/novita/eventi/incontri-estivi-gfoss



--
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-user] shapefiles

2020-06-16 Thread Jan-Eric Oskarsson

Hi, Jim!

Is't in the same projection/coordinatesystem as the project?

If you rightclick on the layer and choose zoom to layer, is't showing then?

/Jan-Eric

Den 2020-06-16 kl. 05:24, skrev forestermcgannon:
Why is my shapefile that I imported into project, not showing up with 
my orthoimage. The shapefile is a property line boundary.

Thanks
Jim



___
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] shapefiles

2020-06-16 Thread Raymond Nijssen
Ah, you'll need to change the layer order. Just drag and drop them at 
the right spot in the layer panel, left from your map.


This is actually quite basic qgis knowledge, so you might consider 
following some (online) tutorials to get started quickly.


Regards,
Raymond



On 16-06-2020 07:55, forestermcgannon wrote:
when I "uncheck" the ortho layer, the property boundary (the shapefile) 
appears. When I display the ortho imagery again, no boundary. It is like 
the shapefile is "under" the ortho image, when I of course want it to 
show "on" the ortho image. most seems like a vector display issue to me.

What do you think?
Thanks
Jim



Jim McGannon
Forestry Landscape Consultant, LLC
Coloradotreearborist.com
303-526-1118


 Original message 
From: Raymond Nijssen 
Date: 6/15/20 11:35 PM (GMT-07:00)
To: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] shapefiles

Hi Jim,

That sounds a lot like a projection issue.

Are your layers completely misaligned, like not overlapping at all? Or
are they overlapping but with just a few (hundred) meters shift?

An easy trick is adding the world layer and see which of your layers
appears at the expected spot. You can do this by typing "world" in the
coordinate bar beneath the map.

Good luck!

Raymond


On 16-06-2020 05:24, forestermcgannon wrote:
 > Why is my shapefile that I imported into project, not showing up with my
 > orthoimage. The shapefile is a property line boundary.
 > Thanks
 > Jim
 >
 >
 >
 > ___
 > 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