Re: [Qgis-user] Add a grid to a map frame

2021-04-12 Thread Charles Dixon-Paver
Try use map.grids().addGrid(map_grid) instead of map_grids =
 QgsLayoutItemMapGridStack(map).addGrid(map_grid) and check your results?


On Mon, 12 Apr 2021 at 20:11, Mayo Rubiano  wrote:

> Hello everyone. I was trying to layout with pyQGIS, and I already have the
> map frame with the layers, but now I need to add a grid, I tried with the
> code written down, but the grid didn't work. I'm new pyQGIS and maybe there
> are errors in the code.
>
> project = QgsProject().instance()
> layer_name = "Curvas de nivel"
> layout_name = "MyLayout"
> layout_page = ["Letter", 0]
> layers = QgsProject.instance().mapLayersByName(layer_name)[0]
>
> for layout in project.layoutManager().printLayouts():
> if layout.name() == layout_name:
>project.layoutManager().removeLayout(layout)
>
> layout = QgsPrintLayout(project)
> page = QgsLayoutItemPage(layout)
> page.setPageSize(layout_page[0], layout_page[1])
> layout.pageCollection().addPage(page)
> map = QgsLayoutItemMap(layout)
> map.attemptMove(QgsLayoutPoint(5,5,0))
> map.attemptResize(QgsLayoutSize(200,200,0))
> map.setExtent(layers.extent())
>
> map_grid =  QgsLayoutItemMapGrid("Grid", map)
> map_grid.setEnabled(True)
> map_grid.setIntervalX(layers.extent().width() / 3)
> map_grid.setIntervalY(layers.extent().width() / 3)
> map_grids =  QgsLayoutItemMapGridStack(map).addGrid(map_grid)
> layout.addLayoutItem(map)
>
>
> layout.setName(layout_name)
> project.layoutManager().addLayout(layout)
> ___
> 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] Sharing SVGs/custom graphics referenced by projects and styles

2021-04-12 Thread Charles Dixon-Paver
It should support authentication for private repos but might currently be a
bit buggy or broken depending on the methods used, but you can use
local/network filepaths or only expose the repository internally. It's
worth going through the available documentation on it though and is a great
method for distributing various assets besides svgs, including things like
scripts and models etc

On Mon, 12 Apr 2021, 20:56 David Galt, 
wrote:

> For our purposes, we would only want to share the repository internally
> within our company. Is this supported with the QGIS repository plugin?
>
> On Mon, Apr 12, 2021 at 10:41 AM Charles Dixon-Paver 
> wrote:
>
>> Usually for individual projects you can embed the svg in the project file
>> itself using the drop down options from the svg path selection area.
>>
>> If you're using the same svgs for multiple files though, I would strongly
>> suggest setting up a repository for them and adding them using the resource
>> sharing plugin.
>>
>> https://github.com/QGIS-Contribution/QGIS-ResourceSharing
>>
>>
>>
>> On Mon, 12 Apr 2021, 19:28 David Galt, 
>> wrote:
>>
>>> In working from home I am presented with the challenge of sharing
>>> project files and data. A central PostGIS database makes it easy to share
>>> data and styles, but the one area that I am struggling with how to
>>> effectively share a massive trove of custom SVG files that are referenced
>>> by my projects and styles.
>>>
>>> One possibility I have explored is putting the files on the web and then
>>> referencing the URL in the style rather than a file-based path. When I do
>>> this, 3 things seem to happen:
>>>
>>> 1. The SVG shape appears correctly under "Text Sample", but in the
>>> path, the font of the URL appears as red indicating that it is in error
>>> .
>>>
>>> 2. Otherwise, it seems to work on the map. The SVGs
>>> are displayed correctly .
>>>
>>> 3. After I save, exit and reload the project file, the graphics still
>>> appear as they should on the map, but the feedback meter on the bottom of
>>> QGIS that churns during ongoing operations never stops churning and when
>>> you click on it, each image that is referenced from a URL is shown as
>>> 100% completed but still "fetching"
>>> .
>>>
>>> Am I doing something wrong? Any recommendations/best practices for
>>> referencing graphics from web addresses rather than local file paths?
>>> ___
>>> 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] Sharing SVGs/custom graphics referenced by projects and styles

2021-04-12 Thread David Galt
For our purposes, we would only want to share the repository internally
within our company. Is this supported with the QGIS repository plugin?

On Mon, Apr 12, 2021 at 10:41 AM Charles Dixon-Paver 
wrote:

> Usually for individual projects you can embed the svg in the project file
> itself using the drop down options from the svg path selection area.
>
> If you're using the same svgs for multiple files though, I would strongly
> suggest setting up a repository for them and adding them using the resource
> sharing plugin.
>
> https://github.com/QGIS-Contribution/QGIS-ResourceSharing
>
>
>
> On Mon, 12 Apr 2021, 19:28 David Galt, 
> wrote:
>
>> In working from home I am presented with the challenge of sharing project
>> files and data. A central PostGIS database makes it easy to share data and
>> styles, but the one area that I am struggling with how to effectively share
>> a massive trove of custom SVG files that are referenced by my projects and
>> styles.
>>
>> One possibility I have explored is putting the files on the web and then
>> referencing the URL in the style rather than a file-based path. When I do
>> this, 3 things seem to happen:
>>
>> 1. The SVG shape appears correctly under "Text Sample", but in the path,
>> the font of the URL appears as red indicating that it is in error
>> .
>>
>> 2. Otherwise, it seems to work on the map. The SVGs
>> are displayed correctly .
>>
>> 3. After I save, exit and reload the project file, the graphics still
>> appear as they should on the map, but the feedback meter on the bottom of
>> QGIS that churns during ongoing operations never stops churning and when
>> you click on it, each image that is referenced from a URL is shown as
>> 100% completed but still "fetching"
>> .
>>
>> Am I doing something wrong? Any recommendations/best practices for
>> referencing graphics from web addresses rather than local file paths?
>> ___
>> 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] Add a grid to a map frame

2021-04-12 Thread Mayo Rubiano
Hello everyone. I was trying to layout with pyQGIS, and I already have the
map frame with the layers, but now I need to add a grid, I tried with the
code written down, but the grid didn't work. I'm new pyQGIS and maybe there
are errors in the code.

project = QgsProject().instance()
layer_name = "Curvas de nivel"
layout_name = "MyLayout"
layout_page = ["Letter", 0]
layers = QgsProject.instance().mapLayersByName(layer_name)[0]

for layout in project.layoutManager().printLayouts():
if layout.name() == layout_name:
   project.layoutManager().removeLayout(layout)

layout = QgsPrintLayout(project)
page = QgsLayoutItemPage(layout)
page.setPageSize(layout_page[0], layout_page[1])
layout.pageCollection().addPage(page)
map = QgsLayoutItemMap(layout)
map.attemptMove(QgsLayoutPoint(5,5,0))
map.attemptResize(QgsLayoutSize(200,200,0))
map.setExtent(layers.extent())

map_grid =  QgsLayoutItemMapGrid("Grid", map)
map_grid.setEnabled(True)
map_grid.setIntervalX(layers.extent().width() / 3)
map_grid.setIntervalY(layers.extent().width() / 3)
map_grids =  QgsLayoutItemMapGridStack(map).addGrid(map_grid)
layout.addLayoutItem(map)


layout.setName(layout_name)
project.layoutManager().addLayout(layout)
___
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] Issue with zip library in QGIS 18 / Ubuntu 21.04

2021-04-12 Thread chris hermansen
Hello everyone,

The QGIS 18 version for Ubuntu 21.04 "hirsute" depends on the Ubuntu
package libzip5:

$ apt-cache rdepends libzip5
libzip5
Reverse Depends:
  libqgis-core3.18.0
$

Unfortunately, libzip5 is not packaged in Ubuntu 21.04; instead there is a
> libzip4.  I asked colleagues on the Ubuntu quality control mailing list for
> suggestions.  Thomas Ward writes:
>
> I've done some digging for you on this.  Firstly, `libzip` which holds the
> `libzip5` binary package is in Universe, meaning that it gets patched when
> it has to but for the most part is in line with Debian, except for a
> handful of patches which handle failing package tests.
>
> In Debian, sometime between versions 1.5.x and 1.7.x the package names
> changed from libzip5 to libzip4.  As such, the package is `libzip4` in
> Hirsute now.
>
> There is *no* changelog entry for this that matches this, so I've added
> Ondrej Sury who is one of the uploaders of the package to this as they may
> have insight into what happened here to cause this.
>

I'm writing to this list regarding this problem, but perhaps this note
should be redirected elsewhere - if anyone has suggestions please let me
know!
-- 
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] Problem to display raster

2021-04-12 Thread Nicolas Cadieux

Hi,

It would help if you gave more information on the error.

Nicolas

On 2021-04-10 1:54 p.m., L.J. Martínez M. wrote:



Dear users, i am using versión qgis 3.18, when i try to display a
raster file to show clases (group values by classes) usign
Singleband pseudocolor, the image does not show the clases and
remains unchanged.

If i use reclassify values (simple) and error appears.

When i use past versions these problems does not ocur.

Best regards

Luis


___
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


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


Re: [Qgis-user] Sharing SVGs/custom graphics referenced by projects and styles

2021-04-12 Thread Charles Dixon-Paver
Usually for individual projects you can embed the svg in the project file
itself using the drop down options from the svg path selection area.

If you're using the same svgs for multiple files though, I would strongly
suggest setting up a repository for them and adding them using the resource
sharing plugin.

https://github.com/QGIS-Contribution/QGIS-ResourceSharing



On Mon, 12 Apr 2021, 19:28 David Galt, 
wrote:

> In working from home I am presented with the challenge of sharing project
> files and data. A central PostGIS database makes it easy to share data and
> styles, but the one area that I am struggling with how to effectively share
> a massive trove of custom SVG files that are referenced by my projects and
> styles.
>
> One possibility I have explored is putting the files on the web and then
> referencing the URL in the style rather than a file-based path. When I do
> this, 3 things seem to happen:
>
> 1. The SVG shape appears correctly under "Text Sample", but in the path,
> the font of the URL appears as red indicating that it is in error
> .
>
> 2. Otherwise, it seems to work on the map. The SVGs
> are displayed correctly .
>
> 3. After I save, exit and reload the project file, the graphics still
> appear as they should on the map, but the feedback meter on the bottom of
> QGIS that churns during ongoing operations never stops churning and when
> you click on it, each image that is referenced from a URL is shown as
> 100% completed but still "fetching"
> .
>
> Am I doing something wrong? Any recommendations/best practices for
> referencing graphics from web addresses rather than local file paths?
> ___
> 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] Sharing SVGs/custom graphics referenced by projects and styles

2021-04-12 Thread David Galt
In working from home I am presented with the challenge of sharing project
files and data. A central PostGIS database makes it easy to share data and
styles, but the one area that I am struggling with how to effectively share
a massive trove of custom SVG files that are referenced by my projects and
styles.

One possibility I have explored is putting the files on the web and then
referencing the URL in the style rather than a file-based path. When I do
this, 3 things seem to happen:

1. The SVG shape appears correctly under "Text Sample", but in the path,
the font of the URL appears as red indicating that it is in error
.

2. Otherwise, it seems to work on the map. The SVGs are displayed correctly
.

3. After I save, exit and reload the project file, the graphics still
appear as they should on the map, but the feedback meter on the bottom of
QGIS that churns during ongoing operations never stops churning and when
you click on it, each image that is referenced from a URL is shown as 100%
completed but still "fetching" 
.

Am I doing something wrong? Any recommendations/best practices for
referencing graphics from web addresses rather than local file paths?
___
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] Shortcut letter for pan up/down/left/right

2021-04-12 Thread Andrea Giudiceandrea
Jorge Gustavo Rocha-3 wrote
> I've checked stack overflow and Fn+W seems to be supported on Windows
> too:
> https://superuser.com/questions/819422/w-a-s-d-keys-are-swapped-with-arrow-keys

Hi all,
I'm on Windows 7 and Fn+W doesn't do anything for my keyboard, so I think
it's a keyboard dependent feature.

Regards.

Andrea



--
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] Editing attribute table

2021-04-12 Thread Andrea Giudiceandrea
Pat Brown wrote
> As a follow-on to my earlier query, after much digging if found some files
> in this shapefile folder that might answer my question. There are three
> files with exactly the same data as the attribute table. One is a csv
> file,
> one an xls file and one an mdb file. I figured that this is the derived
> data that the attribute table is reading from. How can I tell which one it
> is?

Hi Pat,
if your layer is an ESRI Shapefile, then the alphanumeric attributes of each
feature are stored in the .dbf file of that Shapefile.

The "derived" values you see using the Identify Features tool are derived
from the geometry associated to each feature.

Beat reagards.

Andrea



--
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] how to update QGIS to latest version in Debian Linux (version stretch)

2021-04-12 Thread Andrea Giudiceandrea
wxgis wrote
> I am in Debian Linux (version "stretch")

Hi Steve,
the https://qgis.org/ repositories currently support Debian 10 buster and
Debian sid unstable as you can read in
https://qgis.org/en/site/forusers/alldownloads.html#repositories

Debian 9 stretch is no longer supported in https://qgis.org/ repositories.
AFAIK it's no longer supported by Debian, too.

A way to install a recent version of QGIS (3.18.1 in "stable" branch and
3.16.5 in "lts" brach) on Debian stretch could be e.g. to use Flatpak
following the instructions at
https://qgis.org/en/site/forusers/alldownloads.html#flatpak

Best regards.

Andrea



--
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] Georeferencing old aerial photos

2021-04-12 Thread Christine
Dear Fred,
have transferred your question to a separate topic, because it would
probably get lost in the other topic where you posted your question. 

So, you maybe got quite far with the georeferencing process, but did not
complete it ?
Suppose, you have tried it with the Georeferencer in the Raster menu and
loaded a raster file. Then you assigned the referencing point by first
clicking on the aerial photo and then one from the map canvas as the
reference, then cklicked OK, repeatedly for serveral points distributed on
the aerial map, I guess. 

Did you make any transformation settings like transformation type,
resampling method, srs and perhaps an output file name ? You can check the
box in the last line of the settings dialog to let the referenced raster
load into your project when referencing process is done. You need to start
the georeferencing process with a cklick ohn the *green triangle button*
(start georeferencing) or with menu *File > Start Georeferencing*. 

Regards, Christine


Re: Editing attribute tanle
Apr 11, 2021; 8:58pm — by Fred Meek Fred Meek

Hi

I am a newbee to using qgis 3.16.4

I am trying to georeference old aerial photos on modern maps.  I am getting
the coordinates by clicking on a location on the aerial photo and then the
same location on a map brought in from the web.  The points generated appear
to be good.

The problem is when I go to the raster on my computer and add it to the map
it is not georeferenced. 

Can someone explain how to get the raster displayed on the map
georeferenced?

Thanks, Fred



--
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] Shortcut letter for pan up/down/left/right

2021-04-12 Thread Jorge Gustavo Rocha
Hi Lene (again), hi Richard,

I've noticed now that I've just replied to Lene and not to the list.

My keyboard allows me to switch between the regular arrows keys as WASD
keys, with just Fn+W. This is supported by the keyboard and there is
nothing more simple than this.

Additionally, for more sophisticated key combinations/commands, I use an
app called AutoKey that can do almost anything regarding keyboard
mapping, managing common "phrases", etc.

I've checked stack overflow and Fn+W seems to be supported on Windows
too:
https://superuser.com/questions/819422/w-a-s-d-keys-are-swapped-with-arrow-keys

So, in these cases, I think that it is better to switch keys outside QGIS.

Regards,

Jorge Gustavo

Às 07:41 de 12/04/21, Richard Duivenvoorde escreveu:
> On 4/11/21 9:24 PM, Lene Fischer wrote:
>> Hi
>>
>> While digitizing  I want to use keyboard arrow up/down. But the are on the 
>> right side of my keyboard.
>>
>> How can I assign WADS keys as up/down ect.
> Hi Lene,
>
> I think(!) these are hardcoded:
>
> https://github.com/qgis/QGIS/blob/master/src/gui/qgsmapcanvas.cpp#L1723-L1745
>
> so you cannot change them using 'Settings / Keyboard Shortcuts' (?).
>
> Most actions using keyboard shortcuts are rea 'QActions' so attached to the 
> real activating of an QAction. Your key-clicks are more 'helper' keys, 
> calling mapCanvas.setCenter ...?
>
> Maybe a dev can answer the question: IS it possible to put these kind of 
> PressEvents in the list of Keyboard Shortcuts?
>
> Else maybe something is possible on Operating System level, but that is 
> probably too much...
>
> 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
-- 
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


Re: [Qgis-user] authomatic georeferencing or positioning of a feature

2021-04-12 Thread Philip Barlow
Hi Mary,

If you use the ‘import geotagged photos’ processing tool, yes. It will create a 
point from the GPS coordinates in the image header. How accurate it will be 
will be dependent on your device and how good the GPS signal was.

Phil

From: Qgis-user  On Behalf Of Mary Neale
Sent: 12 April 2021 08:58
To: qgis-user@lists.osgeo.org
Subject: Re: [Qgis-user] authomatic georeferencing or positioning of a feature

Hi there

If I were to Take a photo on a mobile phone with geolocation turned on, could I 
then upload the data into Qgis to accurately plot it?

Many thanks Mary

On 11/04/2021 19:36, Bernd Vogelgesang wrote:

Hi Paddy,

you have to understand the concept, that attributes of a feature have noting to 
do with its geometry.

The attributes table can hold any kind of information, in case of point layer 
of course its coordinates as well, but those values will not change when you 
change the geometry nor vice versa They are simply some numbers filled into 
that table.

So you could e.g. drag the wrong positioned points to their correct locations 
(node tool) and then fill in the coordinates via the field calculator ($y and 
$x, see the documentation), but this is more or less only "cosmetic" as this 
information is in most cases not really helpfull.

In case of towns, there is actually no such thing as a "correct" coordinate of 
a representing point, or it is at least pseudo-correct.

Cheers,

Bernd


On 11.04.21 19:28, Pat Brown wrote:

Hi

I am having a problem with changing co-ordinate in my attribute table.

I am using QGIS 3.18 on WIN 97,so far without any issues.

   It is a point layer with towns and their co-ordinates. Three of these

data points had empty co-ordinate records and they displayed way out of

position. This was already a mystery as I couldn't figure out how it could

display without these. I then filled in the correct co-ordinates but the

points are still displaying incorrectly.

   Then I noticed that on the "identify feature" panel there is a subunit

called (Derived) and it says (clicked coordinate X and Y). How do I edit

this or get rid of this?



Many thanks,



Paddy





___

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



Mae'r Awdurdod yn hapus i gyfathrebu yn Gymraeg neu yn Saesneg

The Authority is happy to communicate in Welsh or English


*** 
Website www.pembrokeshirecoast.wales
Follow us on Twitter 
Join us on Facebook
Watch us on Youtube 
Look at us on Flickr


This email and any attached files should only be read by those persons to whom
they are addressed and be used by them only for their intended purpose.
If you are not the intended recipient please destroy all copies and inform the
sender by return email.

Please note that the contents of this email may be subject to public disclosure 
under the Freedom of Information Act 2000 and therefore the confidentiality of 
this message and any reply cannot be guaranteed.

Click here to view PCNPA Privacy Notice � Keeping your Information Safe

For further information on the PCNPA please visit our website at 
www.pembrokeshirecoast.wales

Please consider the environment before printing this email.

Dim ond y personau hynny yr anfonwyd yr e-bost hwn atynt ac unrhyw ffeiliau 
sydd 
ynghlwm ddylid eu darllen, a dim ond hwy ddylid eu defnyddio at y diben y 
bwriadwyd hwy. 
Os nad y chi yw'r person y bwriadwyd eu derbyn a fyddech gystal � dinistrio pob 
copi a rhoi 
gwybod i'r anfonwr gyda throad yr e-bost.

Noder os gwelwch yn dda y gall cynnwys yr e-bost hwn orfod cael ei ddatgelu i'r 
cyhoedd o 
dan Deddf Rhyddid Gwybodaeth 2000 ac felly ni ellir gwarantu cyfrinachedd y 
neges hon 
nac unrhyw ateb. 

Cliciwch yma i weld Hysbysiad Preifatrwydd APCAP - Cadw eich Gwybodaeth yn 
Ddiogel 

Am ragor o wybodaeth am APCAP ymwelwch �'n gwefan ar www.arfordirpenfro.cymru 

Ystyrier yr amgylchedd cyn argraffu'r e-bost hwn os gwelwch yn dda.
___
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] authomatic georeferencing or positioning of a feature

2021-04-12 Thread Saber Razmjooei
Hi Mary,

Depends on whether you have turned your geolocation on in your camera
settings.

Recently we have added the function in https://inputapp.io (a mobile app
based on QGIS) which records location and direction of the photos you take:
https://twitter.com/lutraconsulting/status/1380811414932164610

I hope it helps.

Kind regards
Saber


On Mon, 12 Apr 2021 at 09:06, Mary Neale  wrote:

> Hi there
>
> If I were to Take a photo on a mobile phone with geolocation turned on,
> could I then upload the data into Qgis to accurately plot it?
>
> Many thanks Mary
>
> On 11/04/2021 19:36, Bernd Vogelgesang wrote:
>
> Hi Paddy,
>
> you have to understand the concept, that attributes of a feature have
> noting to do with its geometry.
>
> The attributes table can hold any kind of information, in case of point
> layer of course its coordinates as well, but those values will not change
> when you change the geometry nor vice versa They are simply some numbers
> filled into that table.
>
> So you could e.g. drag the wrong positioned points to their correct
> locations (node tool) and then fill in the coordinates via the field
> calculator ($y and $x, see the documentation), but this is more or less
> only "cosmetic" as this information is in most cases not really helpfull.
>
> In case of towns, there is actually no such thing as a "correct"
> coordinate of a representing point, or it is at least pseudo-correct.
>
> Cheers,
>
> Bernd
>
>
> On 11.04.21 19:28, Pat Brown wrote:
>
> Hi
> I am having a problem with changing co-ordinate in my attribute table.
> I am using QGIS 3.18 on WIN 97,so far without any issues.
>It is a point layer with towns and their co-ordinates. Three of these
> data points had empty co-ordinate records and they displayed way out of
> position. This was already a mystery as I couldn't figure out how it could
> display without these. I then filled in the correct co-ordinates but the
> points are still displaying incorrectly.
>Then I noticed that on the "identify feature" panel there is a subunit
> called (Derived) and it says (clicked coordinate X and Y). How do I edit
> this or get rid of this?
>
> Many thanks,
>
> Paddy
>
>
>
> ___
> 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 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
>


-- 
Saber Razmjooei
www.lutraconsulting.co.uk
___
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] authomatic georeferencing or positioning of a feature

2021-04-12 Thread Mary Neale

Hi there

If I were to Take a photo on a mobile phone with geolocation turned on, 
could I then upload the data into Qgis to accurately plot it?


Many thanks Mary

On 11/04/2021 19:36, Bernd Vogelgesang wrote:


Hi Paddy,

you have to understand the concept, that attributes of a feature have 
noting to do with its geometry.


The attributes table can hold any kind of information, in case of 
point layer of course its coordinates as well, but those values will 
not change when you change the geometry nor vice versa They are simply 
some numbers filled into that table.


So you could e.g. drag the wrong positioned points to their correct 
locations (node tool) and then fill in the coordinates via the field 
calculator ($y and $x, see the documentation), but this is more or 
less only "cosmetic" as this information is in most cases not really 
helpfull.


In case of towns, there is actually no such thing as a "correct" 
coordinate of a representing point, or it is at least pseudo-correct.


Cheers,

Bernd


On 11.04.21 19:28, Pat Brown wrote:

Hi
 I am having a problem with changing co-ordinate in my attribute table.
I am using QGIS 3.18 on WIN 97,so far without any issues.
It is a point layer with towns and their co-ordinates. Three of these
data points had empty co-ordinate records and they displayed way out of
position. This was already a mystery as I couldn't figure out how it could
display without these. I then filled in the correct co-ordinates but the
points are still displaying incorrectly.
Then I noticed that on the "identify feature" panel there is a subunit
called (Derived) and it says (clicked coordinate X and Y). How do I edit
this or get rid of this?

Many thanks,

Paddy


___
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