[Qgis-user] Date on which a GeoPackage layer was last saved

2020-11-27 Thread Iain
So I have had a bit of a disaster and a project I was working on has
mysteriously disappeared. It is not a huge issue as I was using the project
to edit some vector files (of a railway network). The vector layers are in a
GeoPackage.

 

However I have two layers with similar names and I am not 100% sure which
one I was using - one hasn't been edited since January as it was a prototype
and the other was last edited two days ago. After opening a new project in
QGIS and importing everything from the GeoPackage into the new project I
though I would be able to tell which of these two files was the most
recently edited by looking at the layer properties tab but I cant find where
it was last edited. 

 

I then accessed the GeoPackage view the Browser panel and found the layers -
clicking on individual layers only gives the layer properties or the file
properties which are for the GeoPackage.

 

So how then do I find out the date on which a layer was last saved?? 

 

Cheers

 

Dr Iain Stuart

JCIS Consultants 

P.O. Box 2397

Burwood North

NSW, 2134

 

(02) 9701 0191
(0413) 380116 (m)

 

___
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 polygons from coordinates in graphical modeller

2020-11-27 Thread Grant Boxer
I am sure there is a simple way to do this, but I am trying to write a 
simple graphical modeller model that will allow me to add four 
coordinate points to create a rectangle/polygon. What algorithm do I use 
to go from four x y coordinate points entered as x1, y1, x2, y2 etc to 
create points in a new layer?


Thanks Grant


___
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] Unable to load dwg file.

2020-11-27 Thread krishna Ayyala
I have downloaded the "Visualization - Aerial" file from the following
link. This is AutoCAD 2011 Sample File.

https://knowledge.autodesk.com/support/autocad/downloads/caas/downloads/content/autocad-sample-files.html

I am using QGIS3.16 version. I have created a geopackage. I have added the
dwg file using Project ---> Import/Export---> Import layers from DWG/DXF.

I am getting the following error. Can you help me fix this?

Regards.

[image: image.png]
___
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] Crear Address Locator en Qgis

2020-11-27 Thread chris hermansen
Alberto and list,

On Fri, Nov 27, 2020 at 7:04 AM Seguridad Urbana 
wrote:

> Buenos días, la consulta es la siguiente. Es posible crear un localizador
> de direcciones en Qgis de la misma manera que en Arcgis para
> georreferenciar archivos en excel o access con varios eventos para ubicar?.
> Tenemos cartografía en formato shape actualizada de una provincia Argentina
> y necesitamos ubicar eventos puntuales que los locadores web de google u
> openstreer no consiguen realizar.
> Espero haber sido claro y muchas gracias por su atención.
>
>
Alberto, veo este link recién desde la U de Santa Cruz (California) .
Puede solucionar tu problema en QGIS?

https://guides.library.ucsc.edu/DS/Resources/QGIS

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


Re: [Qgis-user] Does QGIS3 freezes more often than QGIS2 ?

2020-11-27 Thread David Addy
I used to get a lot of similar freezes on QGIS 3.
It was traced to the browser window being full of files that I never would
use for QGIS.
So if your browser window within QGIS has a lot of irrelevant stuff, you
could try clicking on each one and selecting, "Hide from Browser" option.
This should ensure that QGIS is not wasting time looking through a lot of
directories that you would never be using with QGIS anyway.



--
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] Layer copy different sizes

2020-11-27 Thread L.W.

Hi,

I made a copy of a layer from gpkg to postgresql.

I saved the symbol properties to a symbol and 2nd copied the symbology
from old to new layer.

But the 2nd new layer's lines are much bigger than the old ones. Text,
formulares are the same and correct.

What did I missed?

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] Crear Address Locator en Qgis

2020-11-27 Thread Seguridad Urbana
Buenos días, la consulta es la siguiente. Es posible crear un localizador
de direcciones en Qgis de la misma manera que en Arcgis para
georreferenciar archivos en excel o access con varios eventos para ubicar?.
Tenemos cartografía en formato shape actualizada de una provincia Argentina
y necesitamos ubicar eventos puntuales que los locadores web de google u
openstreer no consiguen realizar.
Espero haber sido claro y muchas gracias por su atención.
Saludos.

Alberto
___
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] z factor

2020-11-27 Thread Nicolas Cadieux
Hi,

I did suggest it indeed.  Ideally, it would go in the QGIS core every time they 
ask for a z factor. (Like under shading in the layer style).  I will probably 
play around with it just to learn who to make a plugin but if you want to put 
it in your plugin, go ahead.

Nicolas Cadieux
https://gitlab.com/njacadieux

> Le 27 nov. 2020 à 08:43, C Hamilton  a écrit :
> 
> 
> I have a Lat Lon Tools plugin, Field Calculator function that generates the 
> UTM zone.
> 
> Nicolas, you just reminded me that you had suggested this to me earlier as a 
> plugin. Something like that would be easy to add, but I'm not sure it fits 
> within Lat Lon Tools which captures different coordinates, but z-factor is 
> related to the latitude so perhaps it fits.
> 
> Does anyone think it would be worth adding to Lat Lon Tools or should it be a 
> separate plugin?
> 
> Calvin
> 
>> On Fri, Nov 27, 2020 at 4:52 AM Raymond Nijssen  
>> wrote:
>> Hi Nicolas,
>> 
>> It is just a simple formula for calculating the "z-factor" for a given 
>> latitude. What would that look like in a plugin? Where would it go? What 
>> would it do or show?
>> 
>> Last week I had a similar idea for a plugin that could tell you which 
>> UTM zone to pick for your current canvas. I decided it would not be 
>> worth the effort. But maybe these could go together (and be finished at 
>> the end of this "KwakFriday"?
>> 
>> Regards,
>> Raymond
>> 
>> 
>> On 27-11-2020 06:13, Nicolas Cadieux wrote:
>> > Hi,
>> > 
>> > It's just the Z factor needed when you make a hillshade when the x an y 
>> > are in degrees and the z is in feet or meters (like SRTM). You can see 
>> > it if you choose Hillshade under symbology / render type (for a raster 
>> > layer).  It's basically the length of a degree in meters for latitude.
>> > 
>> > https://www.esri.com/arcgis-blog/products/product/imagery/setting-the-z-factor-parameter-correctly/
>> >  
>> > 
>> > 
>> > Nicolas
>> > 
>> > On 2020-11-27 12:08 a.m., Richard Duivenvoorde wrote:
>> >> On 11/27/20 5:28 AM, Nicolas Cadieux wrote:
>> >>> I want to learn to make a QGIS plugin and I was wondering if anybody 
>> >>> new if there is a QGIS plugin or tool that calculates the z factor 
>> >>> for a particular latitude? I thought this would be an easy project to 
>> >>> start with but I don't want to duplicate someone else's work.
>> >> Hi Nicolas,
>> >>
>> >> What do you mean with "calculates the z factor for a particular 
>> >> latitude"?
>> >>
>> >> - z-factor as in x,y,z?
>> >> - Do you mean based on a crs/datum? So more proj-based?
>> >> - Or do you mean based on a known dataset with not enough z-info? So 
>> >> more extra/intrapolation?
>> >> - Raster? Vector?
>> >> - Creating a new dataset (processing)? Or just reporting for one lat 
>> >> (desktop/gui)?
>> >>
>> >> Just trying to get an idea of your idea :-)
>> >>
>> >> 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 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] z factor

2020-11-27 Thread Nicolas Cadieux
Hi,

For now, probably just a box where you entre y and x and an select an 
ellipsoid.  Ideally, you could just pick a raster and the latitude at the 
centre of the file and the project  ellipsoid would be selected.  I have the 
python formula for Proj as I use it in my python script.  I just don’t normally 
use the QGIS API to program.

Thanks for the input.

Nicolas Cadieux
https://gitlab.com/njacadieux

> Le 27 nov. 2020 à 04:52, Raymond Nijssen  a écrit :
> 
> Hi Nicolas,
> 
> It is just a simple formula for calculating the "z-factor" for a given 
> latitude. What would that look like in a plugin? Where would it go? What 
> would it do or show?
> 
> Last week I had a similar idea for a plugin that could tell you which UTM 
> zone to pick for your current canvas. I decided it would not be worth the 
> effort. But maybe these could go together (and be finished at the end of this 
> "KwakFriday"?
> 
> Regards,
> Raymond
> 
> 
>> On 27-11-2020 06:13, Nicolas Cadieux wrote:
>> Hi,
>> It's just the Z factor needed when you make a hillshade when the x an y are 
>> in degrees and the z is in feet or meters (like SRTM). You can see it if you 
>> choose Hillshade under symbology / render type (for a raster layer).  It's 
>> basically the length of a degree in meters for latitude.
>> https://www.esri.com/arcgis-blog/products/product/imagery/setting-the-z-factor-parameter-correctly/
>>  Nicolas
>>> On 2020-11-27 12:08 a.m., Richard Duivenvoorde wrote:
>>> On 11/27/20 5:28 AM, Nicolas Cadieux wrote:
 I want to learn to make a QGIS plugin and I was wondering if anybody new 
 if there is a QGIS plugin or tool that calculates the z factor for a 
 particular latitude? I thought this would be an easy project to start with 
 but I don't want to duplicate someone else's work.
>>> Hi Nicolas,
>>> 
>>> What do you mean with "calculates the z factor for a particular latitude"?
>>> 
>>> - z-factor as in x,y,z?
>>> - Do you mean based on a crs/datum? So more proj-based?
>>> - Or do you mean based on a known dataset with not enough z-info? So more 
>>> extra/intrapolation?
>>> - Raster? Vector?
>>> - Creating a new dataset (processing)? Or just reporting for one lat 
>>> (desktop/gui)?
>>> 
>>> Just trying to get an idea of your idea :-)
>>> 
>>> 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 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] z factor

2020-11-27 Thread Nicolas Cadieux
Hi,
Thanks for the heads up. I will check.

Nicolas Cadieux
https://gitlab.com/njacadieux

> Le 27 nov. 2020 à 06:01, Bernd Vogelgesang  a écrit 
> :
> 
> 
>> On 27.11.20 10:52, Raymond Nijssen wrote:
>> ...
>> Last week I had a similar idea for a plugin that could tell you which
>> UTM zone to pick for your current canvas. I decided it would not be
>> worth the effort. But maybe these could go together (and be finished
>> at the end of this "KwakFriday"?
> Isn't that already covered by the "Projestions" plugin?
>> 
>> Regards,
>> Raymond
>> 
>> 
>>> On 27-11-2020 06:13, Nicolas Cadieux wrote:
>>> Hi,
>>> 
>>> It's just the Z factor needed when you make a hillshade when the x an
>>> y are in degrees and the z is in feet or meters (like SRTM). You can
>>> see it if you choose Hillshade under symbology / render type (for a
>>> raster layer).  It's basically the length of a degree in meters for
>>> latitude.
>>> 
>>> https://www.esri.com/arcgis-blog/products/product/imagery/setting-the-z-factor-parameter-correctly/
>>> 
>>> 
>>> Nicolas
>>> 
>>> On 2020-11-27 12:08 a.m., Richard Duivenvoorde wrote:
 On 11/27/20 5:28 AM, Nicolas Cadieux wrote:
> I want to learn to make a QGIS plugin and I was wondering if
> anybody new if there is a QGIS plugin or tool that calculates the z
> factor for a particular latitude? I thought this would be an easy
> project to start with but I don't want to duplicate someone else's
> work.
 Hi Nicolas,
 
 What do you mean with "calculates the z factor for a particular
 latitude"?
 
 - z-factor as in x,y,z?
 - Do you mean based on a crs/datum? So more proj-based?
 - Or do you mean based on a known dataset with not enough z-info? So
 more extra/intrapolation?
 - Raster? Vector?
 - Creating a new dataset (processing)? Or just reporting for one lat
 (desktop/gui)?
 
 Just trying to get an idea of your idea :-)
 
 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 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] QGISOpenDay schedule today

2020-11-27 Thread Jeff McKenna
A reminder of QGISOpenDay today, with a schedule of live-streamed talks. 
 More details at https://github.com/qgis/QGIS/wiki/QHF-November-2020 
The "QGIS User Group" session is beginning now.


(this is the re-branded #qwakfriday day)  A QGISOpenDay will now happen 
on the last Friday of every month.


Happy Friday all,

-jeff




--
Jeff McKenna
MapServer Consulting and Training Services
co-founder of FOSS4G
http://gatewaygeo.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] z factor

2020-11-27 Thread C Hamilton
I have a Lat Lon Tools plugin, Field Calculator function that generates the
UTM zone.

Nicolas, you just reminded me that you had suggested this to me earlier as
a plugin. Something like that would be easy to add, but I'm not sure it
fits within Lat Lon Tools which captures different coordinates, but
z-factor is related to the latitude so perhaps it fits.

Does anyone think it would be worth adding to Lat Lon Tools or should it be
a separate plugin?

Calvin

On Fri, Nov 27, 2020 at 4:52 AM Raymond Nijssen 
wrote:

> Hi Nicolas,
>
> It is just a simple formula for calculating the "z-factor" for a given
> latitude. What would that look like in a plugin? Where would it go? What
> would it do or show?
>
> Last week I had a similar idea for a plugin that could tell you which
> UTM zone to pick for your current canvas. I decided it would not be
> worth the effort. But maybe these could go together (and be finished at
> the end of this "KwakFriday"?
>
> Regards,
> Raymond
>
>
> On 27-11-2020 06:13, Nicolas Cadieux wrote:
> > Hi,
> >
> > It's just the Z factor needed when you make a hillshade when the x an y
> > are in degrees and the z is in feet or meters (like SRTM). You can see
> > it if you choose Hillshade under symbology / render type (for a raster
> > layer).  It's basically the length of a degree in meters for latitude.
> >
> >
> https://www.esri.com/arcgis-blog/products/product/imagery/setting-the-z-factor-parameter-correctly/
> >
> >
> > Nicolas
> >
> > On 2020-11-27 12:08 a.m., Richard Duivenvoorde wrote:
> >> On 11/27/20 5:28 AM, Nicolas Cadieux wrote:
> >>> I want to learn to make a QGIS plugin and I was wondering if anybody
> >>> new if there is a QGIS plugin or tool that calculates the z factor
> >>> for a particular latitude? I thought this would be an easy project to
> >>> start with but I don't want to duplicate someone else's work.
> >> Hi Nicolas,
> >>
> >> What do you mean with "calculates the z factor for a particular
> >> latitude"?
> >>
> >> - z-factor as in x,y,z?
> >> - Do you mean based on a crs/datum? So more proj-based?
> >> - Or do you mean based on a known dataset with not enough z-info? So
> >> more extra/intrapolation?
> >> - Raster? Vector?
> >> - Creating a new dataset (processing)? Or just reporting for one lat
> >> (desktop/gui)?
> >>
> >> Just trying to get an idea of your idea :-)
> >>
> >> 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 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] z factor

2020-11-27 Thread Raymond Nijssen

Isn't that already covered by the "Projestions" plugin?


Yes, something like that! I didn't know it. It doesn't give me any utm 
zone though..


___
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] z factor

2020-11-27 Thread Bernd Vogelgesang


On 27.11.20 10:52, Raymond Nijssen wrote:

...
Last week I had a similar idea for a plugin that could tell you which
UTM zone to pick for your current canvas. I decided it would not be
worth the effort. But maybe these could go together (and be finished
at the end of this "KwakFriday"?

Isn't that already covered by the "Projestions" plugin?


Regards,
Raymond


On 27-11-2020 06:13, Nicolas Cadieux wrote:

Hi,

It's just the Z factor needed when you make a hillshade when the x an
y are in degrees and the z is in feet or meters (like SRTM). You can
see it if you choose Hillshade under symbology / render type (for a
raster layer).  It's basically the length of a degree in meters for
latitude.

https://www.esri.com/arcgis-blog/products/product/imagery/setting-the-z-factor-parameter-correctly/


Nicolas

On 2020-11-27 12:08 a.m., Richard Duivenvoorde wrote:

On 11/27/20 5:28 AM, Nicolas Cadieux wrote:

I want to learn to make a QGIS plugin and I was wondering if
anybody new if there is a QGIS plugin or tool that calculates the z
factor for a particular latitude? I thought this would be an easy
project to start with but I don't want to duplicate someone else's
work.

Hi Nicolas,

What do you mean with "calculates the z factor for a particular
latitude"?

- z-factor as in x,y,z?
- Do you mean based on a crs/datum? So more proj-based?
- Or do you mean based on a known dataset with not enough z-info? So
more extra/intrapolation?
- Raster? Vector?
- Creating a new dataset (processing)? Or just reporting for one lat
(desktop/gui)?

Just trying to get an idea of your idea :-)

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 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] z factor

2020-11-27 Thread Raymond Nijssen

Hi Nicolas,

It is just a simple formula for calculating the "z-factor" for a given 
latitude. What would that look like in a plugin? Where would it go? What 
would it do or show?


Last week I had a similar idea for a plugin that could tell you which 
UTM zone to pick for your current canvas. I decided it would not be 
worth the effort. But maybe these could go together (and be finished at 
the end of this "KwakFriday"?


Regards,
Raymond


On 27-11-2020 06:13, Nicolas Cadieux wrote:

Hi,

It's just the Z factor needed when you make a hillshade when the x an y 
are in degrees and the z is in feet or meters (like SRTM). You can see 
it if you choose Hillshade under symbology / render type (for a raster 
layer).  It's basically the length of a degree in meters for latitude.


https://www.esri.com/arcgis-blog/products/product/imagery/setting-the-z-factor-parameter-correctly/ 



Nicolas

On 2020-11-27 12:08 a.m., Richard Duivenvoorde wrote:

On 11/27/20 5:28 AM, Nicolas Cadieux wrote:
I want to learn to make a QGIS plugin and I was wondering if anybody 
new if there is a QGIS plugin or tool that calculates the z factor 
for a particular latitude? I thought this would be an easy project to 
start with but I don't want to duplicate someone else's work.

Hi Nicolas,

What do you mean with "calculates the z factor for a particular 
latitude"?


- z-factor as in x,y,z?
- Do you mean based on a crs/datum? So more proj-based?
- Or do you mean based on a known dataset with not enough z-info? So 
more extra/intrapolation?

- Raster? Vector?
- Creating a new dataset (processing)? Or just reporting for one lat 
(desktop/gui)?


Just trying to get an idea of your idea :-)

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] z factor

2020-11-27 Thread Priv. Doz. Dr. Maria Shinoto
Nicolas, 

that would be helpful indeed! Yet I do it manually each time...

Maria



> Am 27.11.2020 um 14:13 schrieb Nicolas Cadieux :
> 
> Hi,
> 
> It's just the Z factor needed when you make a hillshade when the x an y are 
> in degrees and the z is in feet or meters (like SRTM). You can see it if you 
> choose Hillshade under symbology / render type (for a raster layer).  It's 
> basically the length of a degree in meters for latitude.
> 
> https://www.esri.com/arcgis-blog/products/product/imagery/setting-the-z-factor-parameter-correctly/
> 
> Nicolas
> 
> On 2020-11-27 12:08 a.m., Richard Duivenvoorde wrote:
>> On 11/27/20 5:28 AM, Nicolas Cadieux wrote:
>>> I want to learn to make a QGIS plugin and I was wondering if anybody new if 
>>> there is a QGIS plugin or tool that calculates the z factor for a 
>>> particular latitude? I thought this would be an easy project to start with 
>>> but I don't want to duplicate someone else's work.
>> Hi Nicolas,
>> 
>> What do you mean with "calculates the z factor for a particular latitude"?
>> 
>> - z-factor as in x,y,z?
>> - Do you mean based on a crs/datum? So more proj-based?
>> - Or do you mean based on a known dataset with not enough z-info? So more 
>> extra/intrapolation?
>> - Raster? Vector?
>> - Creating a new dataset (processing)? Or just reporting for one lat 
>> (desktop/gui)?
>> 
>> Just trying to get an idea of your idea :-)
>> 
>> Regards,
>> 
>> Richard Duivenvoorde
>> 
>> 
>> 
> -- 
> Nicolas Cadieux
> https://gitlab.com/njacadieux
> 
> ___
> 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] Polygon from 4 points

2020-11-27 Thread Raymond Nijssen

Hi Ryan,

I think you could create a python QgsVectorDataProvider for your data 
and setup a QGIS server for hosting a wms.


https://www.itopen.it/qgis-vector-data-provider-python/

But I would probably just go for a simple script that converts the csv 
file into a polygon dataset (gpkg, shp, postgis, ..) and create a wms 
based on that.


Kind regards,
Raymond

On 26-11-2020 19:10, Ryan Peel wrote:
Extending this thought a little.  Is there a way to create a WMS service 
from this so that the WMS reads a csv file, automatically creates the 
polygons using the expression that Toto recommended, so that it (on the 
fly) creates the polygons from adding the WMS to a map so I can share 
with my co-workers so that we are all using the updated data (rather 
than having to share a shp file).


Long question, hoping for maybe an easy solution.

Ryan
VB Fiber

On Thu, Nov 26, 2020 at 12:59 PM Ujaval Gandhi 
mailto:uja...@spatialthoughts.com>> wrote:


Totò - really great solution! Didn't know about Geometry by
Expression and it will come in handy for sure.
Logo    
Ujaval Gandhi
Spatial Thoughts
mobile: +91-8095684687
email: uja...@spatialthoughts.com 
LinkedIn icon  Twitter
icon 




On Thu, Nov 26, 2020 at 8:33 PM Totò Fiandaca
mailto:pigrecoinfin...@gmail.com>> wrote:

 From Processing:

search for Geometry by Expression:
1. as input layer put your file with the coordinates
2. and write this expression:

   make_polygon (
   make_line (
   make_point ("x1", "y1"),
   make_point ("x2", "y2"),
   make_point ("x3", "y3"),
   make_point ("x4", "y4")
   ))

and launch the geoprocess.

I used QGIS 3.16 Hannover

Il giorno gio 26 nov 2020 alle ore 15:48 Ryan Peel
mailto:ryanp...@gmail.com>> ha scritto:

I have a csv/table that has a single row that contains some
metadata as well as four SEPARATE columns, x1, y1, x2, y2,
x3, y3, x4, y4 of decimal degree coordinates.

I want to import all of this data into QGIS and create a
polygon from the four points as a vector layer.

What is the best way to do this?  I'm not a programmer or
scripter really and fairly new to QGIS.

Thanks!


*Ryan Peel*

___
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



-- 
*Ing. Salvatore Fiandaca*

*mobile*.:+39 327.493.8955
*m*: *pigrecoinfin...@gmail.com *
*C.F*.: FNDSVT71E29Z103G
*P.IVA*: 06597870820
*membro QGIS Italia - http://qgis.it/*
*socio GFOSS.it - *http://gfoss.it/
*blog:** https://pigrecoinfinito.com/

FB: Co-admin -
https://www.facebook.com/qgis.it/**
*
*TW:**https://twitter.com/totofiandaca*

43°51'0.54"N  10°34'27.62"E - EPSG:4326

“Se la conoscenza deve essere aperta a tutti,
perchè mai limitarne l’accesso?”
R. Stallman

Questo documento, allegati inclusi, contiene informazioni di
proprietà di FIANDACA SALVATORE e deve essere utilizzato
esclusivamente dal destinatario in relazione alle finalità per
le quali è stato ricevuto. E' vietata qualsiasi forma di
riproduzione o divulgazione senza l'esplicito consenso di
FIANDACA SALVATORE. Qualora fosse stato ricevuto per errore si
prega di informare tempestivamente il mittente e distruggere la
copia in proprio possesso.


___
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