Re: [Qgis-user] After deleting points, attribute rows persist

2019-01-09 Thread Micha Silver

  
  

On 09/01/2019 23:58, Nyall Dawson
  wrote:


  On Tue, 8 Jan 2019 at 18:45, Havard Tveite  wrote:

  

We have a tool ("Move Features") for moving a geometry.
For consistency, that tool should be used also for moving points.
A new tool ("Move feature part") would eliminate the need for
overloading the "Vertex Tool".  The "Vertex Tool" would then be
used only for modifying the shape of lines (including polygon
outlines).
Overloading the vertex tool may be convenient for many users and
perhaps developers, but will probably be confusing for most
users (even if it is renamed to "Vertex / Point Tool").  So
overloading should be avoided.

  
  
I don't really see the issue here -- the "move" and "delete" tools
work with points, just like they do with other geometries. So you're
free to use these to modify point features. Why do we need to restrict
the vertex tool and prevent using it for points?

Nyall



I agree. I would not want to see different behavior for points
  vs. vertices.



  

  

A side note: To raise the awareness of the distinction between
multi and non-multi geometry layers, could it be an idea to
indicate that a layer is a multi-geometry layer in the Layers
panel.  Either by adding a multi-symbol, or by making new
symbols for multi-points, multi-lines and multi-polygons.

Håvard

On 08. jan. 2019 09:21, Matthias Kuhn wrote:


  On point layers, I was always thinking of points being composed of a
single node. On multi point layers, I was thinking of each part being
composed of a single node, so I wasn't thinking of "either a node or a
point" but both. With this concept in mind, the whole set of available
tools works fine and predictable for me.

Moving parts is supported now via the node tool by selecting all nodes
of a part. It's also possible to delete a part on a
multiline/multipolygon layer with the node tool. So also with respect to
this it doesn't do anything special for point layers.

I can see, that it may lead to confusion sometimes as described in the
original email here. I am not able to say how often this happens in
comparison to how often the node tool is used consciously.

The node tool even gives a hint on the message bar, that "the geometry
has been cleared, please use the add part tool to set the geometry for
this feature". So it's trying to not be too obscure. Maybe the whole
confusion can be ironed out by polishing this text a bit?

Considering the separate tool for moving parts of multi-geometries, I
agree it sounds like a valid tool to have, but I am a bit concerned of
the clutter to benefit ratio. Does anyone have an idea how often this
would be useful in reality?

Thanks

Matthias

On 1/8/19 9:02 AM, Havard Tveite wrote:

  
I agree that disabling the vertex tool for point layers is a good
idea.  It will improve consistency and avoid confusion.
A separate tool for moving a part of a multi-geometry would be
useful.

Håvard

On 08. jan. 2019 07:53, Bernhard Ströbl wrote:


  Hi Saber,

Delete a single point (part) in a multi-point layer with remove part
tool (as you would with e.g. a multi-polygon layer).
Move single point in a multi-point layer: There is no option to move
a part in a multi-line or multi-polygon layer either (or I am not
aware of it). Why is it different for multi-point? If there is a need
to move parts in a multi-* layer, a dedicated tool should be
established IMHO covering all cases.

Do not misunderstand me, I really do not bother but I started
thinking about the tool's behaviour for point layers during this
thread and IMHO the behaviour is not consistent:
1) the tool is called _node_ but it works on _points_, too
2) It can be used to move/delete single point geometries or parts of
multi-points, but it cannot be used to move parts when editing lines
or polygons (neither single nor multi), furthermore for deleting
parts there is another tool that does exactly the same.

Bernhard

Am 07.01.2019 um 16:59 schrieb Saber Razmjooei:

  
Hi Bernhard,

How about multi-point layer? All the features will move/delete with
the other tools.

Regards
Saber

On Mon, 7 Jan 2019 at 15:55, Bernhard Ströbl
 wrote:

Maybe the node tool shouldn't be available when editing a point
layer?
Anything one may want to do with points can be done using the other
tools (move, delete part). I was always wondering why it is there
because AFAIU nodes are not individual features, they only exist as
part
of a line or polygon boundary, but points in a point layer are
individual features themselves.

Bernhard

Am 07.01.2019 um 16:25 schrieb DelazJ:
 > Hi Micha,
 >
 > The Node Tool is not meant to remove features, but to
edit/remove
their
 > geometries. Your feature persists in your dataset through their
 > attributes and you can 

Re: [Qgis-user] After deleting points, attribute rows persist

2019-01-09 Thread Nyall Dawson
On Tue, 8 Jan 2019 at 18:45, Havard Tveite  wrote:
>
> We have a tool ("Move Features") for moving a geometry.
> For consistency, that tool should be used also for moving points.
> A new tool ("Move feature part") would eliminate the need for
> overloading the "Vertex Tool".  The "Vertex Tool" would then be
> used only for modifying the shape of lines (including polygon
> outlines).
> Overloading the vertex tool may be convenient for many users and
> perhaps developers, but will probably be confusing for most
> users (even if it is renamed to "Vertex / Point Tool").  So
> overloading should be avoided.

I don't really see the issue here -- the "move" and "delete" tools
work with points, just like they do with other geometries. So you're
free to use these to modify point features. Why do we need to restrict
the vertex tool and prevent using it for points?

Nyall


>
> A side note: To raise the awareness of the distinction between
> multi and non-multi geometry layers, could it be an idea to
> indicate that a layer is a multi-geometry layer in the Layers
> panel.  Either by adding a multi-symbol, or by making new
> symbols for multi-points, multi-lines and multi-polygons.
>
> Håvard
>
> On 08. jan. 2019 09:21, Matthias Kuhn wrote:
> > On point layers, I was always thinking of points being composed of a
> > single node. On multi point layers, I was thinking of each part being
> > composed of a single node, so I wasn't thinking of "either a node or a
> > point" but both. With this concept in mind, the whole set of available
> > tools works fine and predictable for me.
> >
> > Moving parts is supported now via the node tool by selecting all nodes
> > of a part. It's also possible to delete a part on a
> > multiline/multipolygon layer with the node tool. So also with respect to
> > this it doesn't do anything special for point layers.
> >
> > I can see, that it may lead to confusion sometimes as described in the
> > original email here. I am not able to say how often this happens in
> > comparison to how often the node tool is used consciously.
> >
> > The node tool even gives a hint on the message bar, that "the geometry
> > has been cleared, please use the add part tool to set the geometry for
> > this feature". So it's trying to not be too obscure. Maybe the whole
> > confusion can be ironed out by polishing this text a bit?
> >
> > Considering the separate tool for moving parts of multi-geometries, I
> > agree it sounds like a valid tool to have, but I am a bit concerned of
> > the clutter to benefit ratio. Does anyone have an idea how often this
> > would be useful in reality?
> >
> > Thanks
> >
> > Matthias
> >
> > On 1/8/19 9:02 AM, Havard Tveite wrote:
> >> I agree that disabling the vertex tool for point layers is a good
> >> idea.  It will improve consistency and avoid confusion.
> >> A separate tool for moving a part of a multi-geometry would be
> >> useful.
> >>
> >> Håvard
> >>
> >> On 08. jan. 2019 07:53, Bernhard Ströbl wrote:
> >>> Hi Saber,
> >>>
> >>> Delete a single point (part) in a multi-point layer with remove part
> >>> tool (as you would with e.g. a multi-polygon layer).
> >>> Move single point in a multi-point layer: There is no option to move
> >>> a part in a multi-line or multi-polygon layer either (or I am not
> >>> aware of it). Why is it different for multi-point? If there is a need
> >>> to move parts in a multi-* layer, a dedicated tool should be
> >>> established IMHO covering all cases.
> >>>
> >>> Do not misunderstand me, I really do not bother but I started
> >>> thinking about the tool's behaviour for point layers during this
> >>> thread and IMHO the behaviour is not consistent:
> >>> 1) the tool is called _node_ but it works on _points_, too
> >>> 2) It can be used to move/delete single point geometries or parts of
> >>> multi-points, but it cannot be used to move parts when editing lines
> >>> or polygons (neither single nor multi), furthermore for deleting
> >>> parts there is another tool that does exactly the same.
> >>>
> >>> Bernhard
> >>>
> >>> Am 07.01.2019 um 16:59 schrieb Saber Razmjooei:
>  Hi Bernhard,
> 
>  How about multi-point layer? All the features will move/delete with
>  the other tools.
> 
>  Regards
>  Saber
> 
>  On Mon, 7 Jan 2019 at 15:55, Bernhard Ströbl
>  mailto:bernhard.stro...@jena.de>> wrote:
> 
>  Maybe the node tool shouldn't be available when editing a point
>  layer?
>  Anything one may want to do with points can be done using the other
>  tools (move, delete part). I was always wondering why it is there
>  because AFAIU nodes are not individual features, they only exist as
>  part
>  of a line or polygon boundary, but points in a point layer are
>  individual features themselves.
> 
>  Bernhard
> 
>  Am 07.01.2019 um 16:25 schrieb DelazJ:
>   > Hi Micha,
>   >
>   > The Node Tool is not 

Re: [Qgis-user] After deleting points, attribute rows persist

2019-01-09 Thread Patrick Dunford
The way it's implemented now, the node tool is the most convenient way 
of moving a point in a point layer. One click, as opposed to two steps, 
selecting a point and then using the move tool to move it.


On 8/01/19 9:02 PM, Havard Tveite wrote:

I agree that disabling the vertex tool for point layers is a good
idea.  It will improve consistency and avoid confusion.
A separate tool for moving a part of a multi-geometry would be
useful.

Håvard

On 08. jan. 2019 07:53, Bernhard Ströbl wrote:

Hi Saber,

Delete a single point (part) in a multi-point layer with remove part 
tool (as you would with e.g. a multi-polygon layer).
Move single point in a multi-point layer: There is no option to move 
a part in a multi-line or multi-polygon layer either (or I am not 
aware of it). Why is it different for multi-point? If there is a need 
to move parts in a multi-* layer, a dedicated tool should be 
established IMHO covering all cases.


Do not misunderstand me, I really do not bother but I started 
thinking about the tool's behaviour for point layers during this 
thread and IMHO the behaviour is not consistent:

1) the tool is called _node_ but it works on _points_, too
2) It can be used to move/delete single point geometries or parts of 
multi-points, but it cannot be used to move parts when editing lines 
or polygons (neither single nor multi), furthermore for deleting 
parts there is another tool that does exactly the same.





___
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] After deleting points, attribute rows persist

2019-01-08 Thread Bernhard Ströbl

Hi Matthias

Am 08.01.2019 um 09:21 schrieb Matthias Kuhn:
On point layers, I was always thinking of points being composed of a 
single node. On multi point layers, I was thinking of each part being 
composed of a single node, so I wasn't thinking of "either a node or a 
point" but both. With this concept in mind, the whole set of available 
tools works fine and predictable for me.


Well, in GIS a vertex is normally defined as a point being part of a 
line [1], [2] therefore calling a tool "vertex tool" and making it 
working on points seems inconsistent to me (in the previous mail I 
called it "node tool", that was my mistake, I know saw it is in fact 
called "vertex tool"), although, as I said, I do not really care, just 
pointing out.




Moving parts is supported now via the node tool by selecting all nodes 
of a part. It's also possible to delete a part on a 
multiline/multipolygon layer with the node tool. So also with respect to 
this it doesn't do anything special for point layers.


Oh, I was not aware of this, although selecting only the nodes of one 
part can be impossible with the new vertex tool (see my related mail 
last month), so the use is limited.




I can see, that it may lead to confusion sometimes as described in the 
original email here. I am not able to say how often this happens in 
comparison to how often the node tool is used consciously.


The delete part tool can lead to confusion, too. I regularly have users 
that click delete part instead of delete feature and end up with 
geometryless datasets. Concerning the original question I think the 
behaviour to not delete the feature is definitely ok.




The node tool even gives a hint on the message bar, that "the geometry 
has been cleared, please use the add part tool to set the geometry for 
this feature". So it's trying to not be too obscure. Maybe the whole 
confusion can be ironed out by polishing this text a bit?


Considering the separate tool for moving parts of multi-geometries, I 
agree it sounds like a valid tool to have, but I am a bit concerned of 
the clutter to benefit ratio. Does anyone have an idea how often this 
would be useful in reality?


I did never have any need for it in the last couple years :-)

Bernhard

[1] https://gisgeography.com/gis-dictionary-definition-glossary/#V
[2] https://portal.opengeospatial.org/files/?artifact_id=25354 page 24


On 1/8/19 9:02 AM, Havard Tveite wrote:

I agree that disabling the vertex tool for point layers is a good
idea.  It will improve consistency and avoid confusion.
A separate tool for moving a part of a multi-geometry would be
useful.

Håvard

On 08. jan. 2019 07:53, Bernhard Ströbl wrote:

Hi Saber,

Delete a single point (part) in a multi-point layer with remove part 
tool (as you would with e.g. a multi-polygon layer).
Move single point in a multi-point layer: There is no option to move 
a part in a multi-line or multi-polygon layer either (or I am not 
aware of it). Why is it different for multi-point? If there is a need 
to move parts in a multi-* layer, a dedicated tool should be 
established IMHO covering all cases.


Do not misunderstand me, I really do not bother but I started 
thinking about the tool's behaviour for point layers during this 
thread and IMHO the behaviour is not consistent:

1) the tool is called _node_ but it works on _points_, too
2) It can be used to move/delete single point geometries or parts of 
multi-points, but it cannot be used to move parts when editing lines 
or polygons (neither single nor multi), furthermore for deleting 
parts there is another tool that does exactly the same.


Bernhard

Am 07.01.2019 um 16:59 schrieb Saber Razmjooei:

Hi Bernhard,

How about multi-point layer? All the features will move/delete with 
the other tools.


Regards
Saber

On Mon, 7 Jan 2019 at 15:55, Bernhard Ströbl 
mailto:bernhard.stro...@jena.de>> wrote:


    Maybe the node tool shouldn't be available when editing a point 
layer?

    Anything one may want to do with points can be done using the other
    tools (move, delete part). I was always wondering why it is there
    because AFAIU nodes are not individual features, they only exist as
    part
    of a line or polygon boundary, but points in a point layer are
    individual features themselves.

    Bernhard

    Am 07.01.2019 um 16:25 schrieb DelazJ:
 > Hi Micha,
 >
 > The Node Tool is not meant to remove features, but to 
edit/remove

    their
 > geometries. Your feature persists in your dataset through their
 > attributes and you can later use the "Add part" tool to 
create a new

 > geometry.
 >
https://docs.qgis.org/testing/en/docs/user_manual/working_with_vector/editing_geometry_attributes.html#vertex-tool 

 > For full deletion (data + geometry), you should use the the 
"Delele

 > selected" tool, with a red bin.
 >
 > Regards,
 > Harrissou
 >
 > Le lun. 7 janv. 2019 à 16:15, Micha Silver mailto:tsvi...@gmail.com>
 > 

Re: [Qgis-user] After deleting points, attribute rows persist

2019-01-08 Thread Havard Tveite

We have a tool ("Move Features") for moving a geometry.
For consistency, that tool should be used also for moving points.
A new tool ("Move feature part") would eliminate the need for
overloading the "Vertex Tool".  The "Vertex Tool" would then be
used only for modifying the shape of lines (including polygon
outlines).
Overloading the vertex tool may be convenient for many users and
perhaps developers, but will probably be confusing for most
users (even if it is renamed to "Vertex / Point Tool").  So
overloading should be avoided.

A side note: To raise the awareness of the distinction between
multi and non-multi geometry layers, could it be an idea to
indicate that a layer is a multi-geometry layer in the Layers
panel.  Either by adding a multi-symbol, or by making new
symbols for multi-points, multi-lines and multi-polygons.

Håvard

On 08. jan. 2019 09:21, Matthias Kuhn wrote:
On point layers, I was always thinking of points being composed of a 
single node. On multi point layers, I was thinking of each part being 
composed of a single node, so I wasn't thinking of "either a node or a 
point" but both. With this concept in mind, the whole set of available 
tools works fine and predictable for me.


Moving parts is supported now via the node tool by selecting all nodes 
of a part. It's also possible to delete a part on a 
multiline/multipolygon layer with the node tool. So also with respect to 
this it doesn't do anything special for point layers.


I can see, that it may lead to confusion sometimes as described in the 
original email here. I am not able to say how often this happens in 
comparison to how often the node tool is used consciously.


The node tool even gives a hint on the message bar, that "the geometry 
has been cleared, please use the add part tool to set the geometry for 
this feature". So it's trying to not be too obscure. Maybe the whole 
confusion can be ironed out by polishing this text a bit?


Considering the separate tool for moving parts of multi-geometries, I 
agree it sounds like a valid tool to have, but I am a bit concerned of 
the clutter to benefit ratio. Does anyone have an idea how often this 
would be useful in reality?


Thanks

Matthias

On 1/8/19 9:02 AM, Havard Tveite wrote:

I agree that disabling the vertex tool for point layers is a good
idea.  It will improve consistency and avoid confusion.
A separate tool for moving a part of a multi-geometry would be
useful.

Håvard

On 08. jan. 2019 07:53, Bernhard Ströbl wrote:

Hi Saber,

Delete a single point (part) in a multi-point layer with remove part 
tool (as you would with e.g. a multi-polygon layer).
Move single point in a multi-point layer: There is no option to move 
a part in a multi-line or multi-polygon layer either (or I am not 
aware of it). Why is it different for multi-point? If there is a need 
to move parts in a multi-* layer, a dedicated tool should be 
established IMHO covering all cases.


Do not misunderstand me, I really do not bother but I started 
thinking about the tool's behaviour for point layers during this 
thread and IMHO the behaviour is not consistent:

1) the tool is called _node_ but it works on _points_, too
2) It can be used to move/delete single point geometries or parts of 
multi-points, but it cannot be used to move parts when editing lines 
or polygons (neither single nor multi), furthermore for deleting 
parts there is another tool that does exactly the same.


Bernhard

Am 07.01.2019 um 16:59 schrieb Saber Razmjooei:

Hi Bernhard,

How about multi-point layer? All the features will move/delete with 
the other tools.


Regards
Saber

On Mon, 7 Jan 2019 at 15:55, Bernhard Ströbl 
mailto:bernhard.stro...@jena.de>> wrote:


    Maybe the node tool shouldn't be available when editing a point 
layer?

    Anything one may want to do with points can be done using the other
    tools (move, delete part). I was always wondering why it is there
    because AFAIU nodes are not individual features, they only exist as
    part
    of a line or polygon boundary, but points in a point layer are
    individual features themselves.

    Bernhard

    Am 07.01.2019 um 16:25 schrieb DelazJ:
 > Hi Micha,
 >
 > The Node Tool is not meant to remove features, but to 
edit/remove

    their
 > geometries. Your feature persists in your dataset through their
 > attributes and you can later use the "Add part" tool to 
create a new

 > geometry.
 >
https://docs.qgis.org/testing/en/docs/user_manual/working_with_vector/editing_geometry_attributes.html#vertex-tool 

 > For full deletion (data + geometry), you should use the the 
"Delele

 > selected" tool, with a red bin.
 >
 > Regards,
 > Harrissou
 >
 > Le lun. 7 janv. 2019 à 16:15, Micha Silver mailto:tsvi...@gmail.com>
 > >> a écrit :
 >
 >     Hi Alex:
 >
 >     Linux Mint 19
 >
 >     gdal 2.2.3
 >
 >     QGIS 

Re: [Qgis-user] After deleting points, attribute rows persist

2019-01-08 Thread Matthias Kuhn
On point layers, I was always thinking of points being composed of a
single node. On multi point layers, I was thinking of each part being
composed of a single node, so I wasn't thinking of "either a node or a
point" but both. With this concept in mind, the whole set of available
tools works fine and predictable for me.

Moving parts is supported now via the node tool by selecting all nodes
of a part. It's also possible to delete a part on a
multiline/multipolygon layer with the node tool. So also with respect to
this it doesn't do anything special for point layers.

I can see, that it may lead to confusion sometimes as described in the
original email here. I am not able to say how often this happens in
comparison to how often the node tool is used consciously.

The node tool even gives a hint on the message bar, that "the geometry
has been cleared, please use the add part tool to set the geometry for
this feature". So it's trying to not be too obscure. Maybe the whole
confusion can be ironed out by polishing this text a bit?

Considering the separate tool for moving parts of multi-geometries, I
agree it sounds like a valid tool to have, but I am a bit concerned of
the clutter to benefit ratio. Does anyone have an idea how often this
would be useful in reality?

Thanks

Matthias

On 1/8/19 9:02 AM, Havard Tveite wrote:
> I agree that disabling the vertex tool for point layers is a good
> idea.  It will improve consistency and avoid confusion.
> A separate tool for moving a part of a multi-geometry would be
> useful.
>
> Håvard
>
> On 08. jan. 2019 07:53, Bernhard Ströbl wrote:
>> Hi Saber,
>>
>> Delete a single point (part) in a multi-point layer with remove part
>> tool (as you would with e.g. a multi-polygon layer).
>> Move single point in a multi-point layer: There is no option to move
>> a part in a multi-line or multi-polygon layer either (or I am not
>> aware of it). Why is it different for multi-point? If there is a need
>> to move parts in a multi-* layer, a dedicated tool should be
>> established IMHO covering all cases.
>>
>> Do not misunderstand me, I really do not bother but I started
>> thinking about the tool's behaviour for point layers during this
>> thread and IMHO the behaviour is not consistent:
>> 1) the tool is called _node_ but it works on _points_, too
>> 2) It can be used to move/delete single point geometries or parts of
>> multi-points, but it cannot be used to move parts when editing lines
>> or polygons (neither single nor multi), furthermore for deleting
>> parts there is another tool that does exactly the same.
>>
>> Bernhard
>>
>> Am 07.01.2019 um 16:59 schrieb Saber Razmjooei:
>>> Hi Bernhard,
>>>
>>> How about multi-point layer? All the features will move/delete with
>>> the other tools.
>>>
>>> Regards
>>> Saber
>>>
>>> On Mon, 7 Jan 2019 at 15:55, Bernhard Ströbl
>>> mailto:bernhard.stro...@jena.de>> wrote:
>>>
>>>     Maybe the node tool shouldn't be available when editing a point
>>> layer?
>>>     Anything one may want to do with points can be done using the other
>>>     tools (move, delete part). I was always wondering why it is there
>>>     because AFAIU nodes are not individual features, they only exist as
>>>     part
>>>     of a line or polygon boundary, but points in a point layer are
>>>     individual features themselves.
>>>
>>>     Bernhard
>>>
>>>     Am 07.01.2019 um 16:25 schrieb DelazJ:
>>>  > Hi Micha,
>>>  >
>>>  > The Node Tool is not meant to remove features, but to
>>> edit/remove
>>>     their
>>>  > geometries. Your feature persists in your dataset through their
>>>  > attributes and you can later use the "Add part" tool to
>>> create a new
>>>  > geometry.
>>>  >
>>>    
>>> https://docs.qgis.org/testing/en/docs/user_manual/working_with_vector/editing_geometry_attributes.html#vertex-tool
>>>
>>>  > For full deletion (data + geometry), you should use the the
>>> "Delele
>>>  > selected" tool, with a red bin.
>>>  >
>>>  > Regards,
>>>  > Harrissou
>>>  >
>>>  > Le lun. 7 janv. 2019 à 16:15, Micha Silver >>     
>>>  > >> a écrit :
>>>  >
>>>  >     Hi Alex:
>>>  >
>>>  >     Linux Mint 19
>>>  >
>>>  >     gdal 2.2.3
>>>  >
>>>  >     QGIS 3.4.3
>>>  >
>>>  >
>>>  >     Just out of curiosity, I did the same on a debian buster
>>> machine
>>>  >     (QGIS 2.18) and found the same: deleting vertices (with
>>> the node
>>>  >     tool) on a point vector layer does not delete the
>>> attribute rows.
>>>  >
>>>  >
>>>  >     On 1/6/19 11:38 PM, Alexandre Neto wrote:
>>>  >>     What's your platform?
>>>  >>     What's the version of gdal?
>>>  >>
>>>  >>     Thanks,
>>>  >>
>>>  >>     Alex Neto
>>>  >>
>>>  >>     A dom, 6/01/2019, 12:55, Micha Silver >>     
>>>  >>     

Re: [Qgis-user] After deleting points, attribute rows persist

2019-01-08 Thread Havard Tveite

I agree that disabling the vertex tool for point layers is a good
idea.  It will improve consistency and avoid confusion.
A separate tool for moving a part of a multi-geometry would be
useful.

Håvard

On 08. jan. 2019 07:53, Bernhard Ströbl wrote:

Hi Saber,

Delete a single point (part) in a multi-point layer with remove part 
tool (as you would with e.g. a multi-polygon layer).
Move single point in a multi-point layer: There is no option to move a 
part in a multi-line or multi-polygon layer either (or I am not aware of 
it). Why is it different for multi-point? If there is a need to move 
parts in a multi-* layer, a dedicated tool should be established IMHO 
covering all cases.


Do not misunderstand me, I really do not bother but I started thinking 
about the tool's behaviour for point layers during this thread and IMHO 
the behaviour is not consistent:

1) the tool is called _node_ but it works on _points_, too
2) It can be used to move/delete single point geometries or parts of 
multi-points, but it cannot be used to move parts when editing lines or 
polygons (neither single nor multi), furthermore for deleting parts 
there is another tool that does exactly the same.


Bernhard

Am 07.01.2019 um 16:59 schrieb Saber Razmjooei:

Hi Bernhard,

How about multi-point layer? All the features will move/delete with 
the other tools.


Regards
Saber

On Mon, 7 Jan 2019 at 15:55, Bernhard Ströbl > wrote:


    Maybe the node tool shouldn't be available when editing a point 
layer?

    Anything one may want to do with points can be done using the other
    tools (move, delete part). I was always wondering why it is there
    because AFAIU nodes are not individual features, they only exist as
    part
    of a line or polygon boundary, but points in a point layer are
    individual features themselves.

    Bernhard

    Am 07.01.2019 um 16:25 schrieb DelazJ:
 > Hi Micha,
 >
 > The Node Tool is not meant to remove features, but to edit/remove
    their
 > geometries. Your feature persists in your dataset through their
 > attributes and you can later use the "Add part" tool to create 
a new

 > geometry.
 >

https://docs.qgis.org/testing/en/docs/user_manual/working_with_vector/editing_geometry_attributes.html#vertex-tool 

 > For full deletion (data + geometry), you should use the the 
"Delele

 > selected" tool, with a red bin.
 >
 > Regards,
 > Harrissou
 >
 > Le lun. 7 janv. 2019 à 16:15, Micha Silver mailto:tsvi...@gmail.com>
 > >> a écrit :
 >
 >     Hi Alex:
 >
 >     Linux Mint 19
 >
 >     gdal 2.2.3
 >
 >     QGIS 3.4.3
 >
 >
 >     Just out of curiosity, I did the same on a debian buster 
machine
 >     (QGIS 2.18) and found the same: deleting vertices (with the 
node
 >     tool) on a point vector layer does not delete the attribute 
rows.

 >
 >
 >     On 1/6/19 11:38 PM, Alexandre Neto wrote:
 >>     What's your platform?
 >>     What's the version of gdal?
 >>
 >>     Thanks,
 >>
 >>     Alex Neto
 >>
 >>     A dom, 6/01/2019, 12:55, Micha Silver mailto:tsvi...@gmail.com>
 >>     >> 
escreveu:

 >>
 >>         I have found that after deleting some points in both a
 >>         shapefile and a geopackage layer, the attribute rows
    remain in
 >>         the table (with null geometry). Is this expected? I'm 
using

 >>         3.4.3, and I don't remember that being so in earlier
    versions.
 >>
 >>
 >>         I removed the "phantom" rows by selecting by expression:
 >>         '$geometry is null' and then deleting. Still the
    behavior was
 >>         surprising. I hope this is not a resurrection of
 >> https://issues.qgis.org/issues/11007 ??
 >>
 >>
 >>         Thanks
 >>
 >>         --
 >>         Micha Silver
 >>         Ben Gurion Univ.
 >>         Sde Boker, Remote Sensing Lab
 >>         cell: +972-523-665918
 >>
 >>         ___
 >>         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
 >>
 >>     --
 >>     Alexandre Neto
 >>     -
 >>     @AlexNetoGeo
 >> http://sigsemgrilhetas.wordpress.com
 >> http://gisunchained.wordpress.com
 >
 >     --
 >     Micha Silver
 >     Ben Gurion Univ.
 >     Sde Boker, Remote Sensing Lab
 >     cell: +972-523-665918
 >
 >     

Re: [Qgis-user] After deleting points, attribute rows persist

2019-01-07 Thread Micha Silver

  
  

On 1/8/19 1:59 AM, Nyall Dawson wrote:


  On Tue, 8 Jan 2019 at 01:48, Micha Silver  wrote:

  

Thanks to both Harrissou and Andreas for pointing out the difference between the node tool and delete feature...

The new node tool takes some getting used to. When a node is selected (also a single point) then the visual indication that it is selected disappears (used to be blue in 2.18) so using the "delete feature" option didn't occur to me. I just hit the delete key.

  
  
Actually, for reference, this isn't related to the new node tool. The
"delete geometries, not the feature" behaviour has been in place for
the node tool since ... forever? At least 2.2 or earlier.

I've got my pitchfork and burning torch ready to go, just in case
someone suggests changing this behaviour ;



That wasn't my intention at all. The current behavior seems right
  to me, allowing editing of multipart features, and leaving the
  attributes as is. You can store the tools back in the shed!



  
Nyall


-- 
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918
  

___
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] After deleting points, attribute rows persist

2019-01-07 Thread Bernhard Ströbl

Hi Saber,

Delete a single point (part) in a multi-point layer with remove part 
tool (as you would with e.g. a multi-polygon layer).
Move single point in a multi-point layer: There is no option to move a 
part in a multi-line or multi-polygon layer either (or I am not aware of 
it). Why is it different for multi-point? If there is a need to move 
parts in a multi-* layer, a dedicated tool should be established IMHO 
covering all cases.


Do not misunderstand me, I really do not bother but I started thinking 
about the tool's behaviour for point layers during this thread and IMHO 
the behaviour is not consistent:

1) the tool is called _node_ but it works on _points_, too
2) It can be used to move/delete single point geometries or parts of 
multi-points, but it cannot be used to move parts when editing lines or 
polygons (neither single nor multi), furthermore for deleting parts 
there is another tool that does exactly the same.


Bernhard

Am 07.01.2019 um 16:59 schrieb Saber Razmjooei:

Hi Bernhard,

How about multi-point layer? All the features will move/delete with the 
other tools.


Regards
Saber

On Mon, 7 Jan 2019 at 15:55, Bernhard Ströbl > wrote:


Maybe the node tool shouldn't be available when editing a point layer?
Anything one may want to do with points can be done using the other
tools (move, delete part). I was always wondering why it is there
because AFAIU nodes are not individual features, they only exist as
part
of a line or polygon boundary, but points in a point layer are
individual features themselves.

Bernhard

Am 07.01.2019 um 16:25 schrieb DelazJ:
 > Hi Micha,
 >
 > The Node Tool is not meant to remove features, but to edit/remove
their
 > geometries. Your feature persists in your dataset through their
 > attributes and you can later use the "Add part" tool to create a new
 > geometry.
 >

https://docs.qgis.org/testing/en/docs/user_manual/working_with_vector/editing_geometry_attributes.html#vertex-tool
 > For full deletion (data + geometry), you should use the the "Delele
 > selected" tool, with a red bin.
 >
 > Regards,
 > Harrissou
 >
 > Le lun. 7 janv. 2019 à 16:15, Micha Silver mailto:tsvi...@gmail.com>
 > >> a écrit :
 >
 >     Hi Alex:
 >
 >     Linux Mint 19
 >
 >     gdal 2.2.3
 >
 >     QGIS 3.4.3
 >
 >
 >     Just out of curiosity, I did the same on a debian buster machine
 >     (QGIS 2.18) and found the same: deleting vertices (with the node
 >     tool) on a point vector layer does not delete the attribute rows.
 >
 >
 >     On 1/6/19 11:38 PM, Alexandre Neto wrote:
 >>     What's your platform?
 >>     What's the version of gdal?
 >>
 >>     Thanks,
 >>
 >>     Alex Neto
 >>
 >>     A dom, 6/01/2019, 12:55, Micha Silver mailto:tsvi...@gmail.com>
 >>     >> escreveu:
 >>
 >>         I have found that after deleting some points in both a
 >>         shapefile and a geopackage layer, the attribute rows
remain in
 >>         the table (with null geometry). Is this expected? I'm using
 >>         3.4.3, and I don't remember that being so in earlier
versions.
 >>
 >>
 >>         I removed the "phantom" rows by selecting by expression:
 >>         '$geometry is null' and then deleting. Still the
behavior was
 >>         surprising. I hope this is not a resurrection of
 >> https://issues.qgis.org/issues/11007 ??
 >>
 >>
 >>         Thanks
 >>
 >>         --
 >>         Micha Silver
 >>         Ben Gurion Univ.
 >>         Sde Boker, Remote Sensing Lab
 >>         cell: +972-523-665918
 >>
 >>         ___
 >>         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
 >>
 >>     --
 >>     Alexandre Neto
 >>     -
 >>     @AlexNetoGeo
 >> http://sigsemgrilhetas.wordpress.com
 >> http://gisunchained.wordpress.com
 >
 >     --
 >     Micha Silver
 >     Ben Gurion Univ.
 >     Sde Boker, Remote Sensing Lab
 >     cell: +972-523-665918
 >
 >     ___
 >     Qgis-user mailing list
 > Qgis-user@lists.osgeo.org 
>
 >     List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
 > 

Re: [Qgis-user] After deleting points, attribute rows persist

2019-01-07 Thread Nyall Dawson
On Tue, 8 Jan 2019 at 01:48, Micha Silver  wrote:
>
> Thanks to both Harrissou and Andreas for pointing out the difference between 
> the node tool and delete feature...
>
> The new node tool takes some getting used to. When a node is selected (also a 
> single point) then the visual indication that it is selected disappears (used 
> to be blue in 2.18) so using the "delete feature" option didn't occur to me. 
> I just hit the delete key.

Actually, for reference, this isn't related to the new node tool. The
"delete geometries, not the feature" behaviour has been in place for
the node tool since ... forever? At least 2.2 or earlier.

I've got my pitchfork and burning torch ready to go, just in case
someone suggests changing this behaviour ;)

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] After deleting points, attribute rows persist

2019-01-07 Thread Patrick Dunford
It would in fact, be desirable if the accidental removal of the last 
node did not result in a feature being deleted, IMO.


On 8/01/19 4:25 AM, DelazJ wrote:

Hi Micha,

The Node Tool is not meant to remove features, but to edit/remove 
their geometries. Your feature persists in your dataset through their 
attributes and you can later use the "Add part" tool to create a new 
geometry.

https://docs.qgis.org/testing/en/docs/user_manual/working_with_vector/editing_geometry_attributes.html#vertex-tool
For full deletion (data + geometry), you should use the the "Delele 
selected" tool, with a red bin.


Regards,
Harrissou



___
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] After deleting points, attribute rows persist

2019-01-07 Thread Saber Razmjooei
Hi Bernhard,

How about multi-point layer? All the features will move/delete with the
other tools.

Regards
Saber

On Mon, 7 Jan 2019 at 15:55, Bernhard Ströbl 
wrote:

> Maybe the node tool shouldn't be available when editing a point layer?
> Anything one may want to do with points can be done using the other
> tools (move, delete part). I was always wondering why it is there
> because AFAIU nodes are not individual features, they only exist as part
> of a line or polygon boundary, but points in a point layer are
> individual features themselves.
>
> Bernhard
>
> Am 07.01.2019 um 16:25 schrieb DelazJ:
> > Hi Micha,
> >
> > The Node Tool is not meant to remove features, but to edit/remove their
> > geometries. Your feature persists in your dataset through their
> > attributes and you can later use the "Add part" tool to create a new
> > geometry.
> >
> https://docs.qgis.org/testing/en/docs/user_manual/working_with_vector/editing_geometry_attributes.html#vertex-tool
> > For full deletion (data + geometry), you should use the the "Delele
> > selected" tool, with a red bin.
> >
> > Regards,
> > Harrissou
> >
> > Le lun. 7 janv. 2019 à 16:15, Micha Silver  > > a écrit :
> >
> > Hi Alex:
> >
> > Linux Mint 19
> >
> > gdal 2.2.3
> >
> > QGIS 3.4.3
> >
> >
> > Just out of curiosity, I did the same on a debian buster machine
> > (QGIS 2.18) and found the same: deleting vertices (with the node
> > tool) on a point vector layer does not delete the attribute rows.
> >
> >
> > On 1/6/19 11:38 PM, Alexandre Neto wrote:
> >> What's your platform?
> >> What's the version of gdal?
> >>
> >> Thanks,
> >>
> >> Alex Neto
> >>
> >> A dom, 6/01/2019, 12:55, Micha Silver  >> > escreveu:
> >>
> >> I have found that after deleting some points in both a
> >> shapefile and a geopackage layer, the attribute rows remain in
> >> the table (with null geometry). Is this expected? I'm using
> >> 3.4.3, and I don't remember that being so in earlier versions.
> >>
> >>
> >> I removed the "phantom" rows by selecting by expression:
> >> '$geometry is null' and then deleting. Still the behavior was
> >> surprising. I hope this is not a resurrection of
> >> https://issues.qgis.org/issues/11007 ??
> >>
> >>
> >> Thanks
> >>
> >> --
> >> Micha Silver
> >> Ben Gurion Univ.
> >> Sde Boker, Remote Sensing Lab
> >> cell: +972-523-665918
> >>
> >> ___
> >> 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
> >>
> >> --
> >> Alexandre Neto
> >> -
> >> @AlexNetoGeo
> >> http://sigsemgrilhetas.wordpress.com
> >> http://gisunchained.wordpress.com
> >
> > --
> > Micha Silver
> > Ben Gurion Univ.
> > Sde Boker, Remote Sensing Lab
> > cell: +972-523-665918
> >
> > ___
> > 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
> >
>
>
>
> __ Information from ESET Mail Security, version of virus signature
> database 18665 (20190107) __
>
> The message was checked by ESET Mail Security.
> http://www.eset.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



-- 
Saber Razmjooei
www.lutraconsulting.co.uk
+44 (0)7568 129733
___
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] After deleting points, attribute rows persist

2019-01-07 Thread Bernhard Ströbl
Maybe the node tool shouldn't be available when editing a point layer? 
Anything one may want to do with points can be done using the other 
tools (move, delete part). I was always wondering why it is there 
because AFAIU nodes are not individual features, they only exist as part 
of a line or polygon boundary, but points in a point layer are 
individual features themselves.


Bernhard

Am 07.01.2019 um 16:25 schrieb DelazJ:

Hi Micha,

The Node Tool is not meant to remove features, but to edit/remove their 
geometries. Your feature persists in your dataset through their 
attributes and you can later use the "Add part" tool to create a new 
geometry.

https://docs.qgis.org/testing/en/docs/user_manual/working_with_vector/editing_geometry_attributes.html#vertex-tool
For full deletion (data + geometry), you should use the the "Delele 
selected" tool, with a red bin.


Regards,
Harrissou

Le lun. 7 janv. 2019 à 16:15, Micha Silver > a écrit :


Hi Alex:

Linux Mint 19

gdal 2.2.3

QGIS 3.4.3


Just out of curiosity, I did the same on a debian buster machine
(QGIS 2.18) and found the same: deleting vertices (with the node
tool) on a point vector layer does not delete the attribute rows.


On 1/6/19 11:38 PM, Alexandre Neto wrote:

What's your platform?
What's the version of gdal?

Thanks,

Alex Neto

A dom, 6/01/2019, 12:55, Micha Silver mailto:tsvi...@gmail.com>> escreveu:

I have found that after deleting some points in both a
shapefile and a geopackage layer, the attribute rows remain in
the table (with null geometry). Is this expected? I'm using
3.4.3, and I don't remember that being so in earlier versions.


I removed the "phantom" rows by selecting by expression:
'$geometry is null' and then deleting. Still the behavior was
surprising. I hope this is not a resurrection of
https://issues.qgis.org/issues/11007 ??


Thanks

-- 
Micha Silver

Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918

___
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

-- 
Alexandre Neto

-
@AlexNetoGeo
http://sigsemgrilhetas.wordpress.com
http://gisunchained.wordpress.com


-- 
Micha Silver

Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918

___
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





__ Information from ESET Mail Security, version of virus signature 
database 18665 (20190107) __

The message was checked by ESET Mail Security.
http://www.eset.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] After deleting points, attribute rows persist

2019-01-07 Thread Micha Silver

  
  
Thanks to both Harrissou and Andreas for pointing out the
  difference between the node tool and delete feature...
The new node tool takes some getting used to. When a node is
  selected (also a single point) then the visual indication that it
  is selected disappears (used to be blue in 2.18) so using the
  "delete feature" option didn't occur to me. I just hit the delete
  key.




On 1/7/19 5:25 PM, DelazJ wrote:


  
  

  Hi Micha,
  
  
  The Node Tool is not meant to remove features, but to
edit/remove their geometries. Your feature persists in your
dataset through their attributes and you can later use the
"Add part" tool to create a new geometry.
  https://docs.qgis.org/testing/en/docs/user_manual/working_with_vector/editing_geometry_attributes.html#vertex-tool
  For full deletion (data + geometry), you should use the
the "Delele selected" tool, with a red bin.
  
  
  Regards,
  Harrissou
  

  
  
  
Le lun. 7 janv. 2019 à 16:15, Micha Silver 
  a écrit :


  
Hi Alex:

Linux Mint 19
gdal 2.2.3
QGIS 3.4.3


Just out of curiosity, I did the same on a debian buster
  machine (QGIS 2.18) and found the same: deleting vertices
  (with the node tool) on a point vector layer does not
  delete the attribute rows.


On
  1/6/19 11:38 PM, Alexandre Neto wrote:

 What's your platform? 
  What's the version of gdal? 
  
  
  Thanks, 
  
  
  Alex Neto


  A dom, 6/01/2019, 12:55, Micha Silver

escreveu:
  
  

  I have found that after deleting some points in
both a shapefile and a geopackage layer, the
attribute rows remain in the table (with null
geometry). Is this expected? I'm using 3.4.3,
and I don't remember that being so in earlier
versions.
  
  
  I removed the "phantom" rows by selecting by
_expression_: '$geometry is null' and then
deleting. Still the behavior was surprising. I
hope this is not a resurrection of https://issues.qgis.org/issues/11007
??
  
  
  
  Thanks
  
  -- 
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918

___
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

  
  -- 
  

  Alexandre Neto
  -
  @AlexNetoGeo
  http://sigsemgrilhetas.wordpress.com
  http://gisunchained.wordpress.com

  

-- 
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918
  
  ___
  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] After deleting points, attribute rows persist

2019-01-07 Thread DelazJ
Hi Micha,

The Node Tool is not meant to remove features, but to edit/remove their
geometries. Your feature persists in your dataset through their attributes
and you can later use the "Add part" tool to create a new geometry.
https://docs.qgis.org/testing/en/docs/user_manual/working_with_vector/editing_geometry_attributes.html#vertex-tool
For full deletion (data + geometry), you should use the the "Delele
selected" tool, with a red bin.

Regards,
Harrissou

Le lun. 7 janv. 2019 à 16:15, Micha Silver  a écrit :

> Hi Alex:
>
> Linux Mint 19
>
> gdal 2.2.3
>
> QGIS 3.4.3
>
>
> Just out of curiosity, I did the same on a debian buster machine (QGIS
> 2.18) and found the same: deleting vertices (with the node tool) on a point
> vector layer does not delete the attribute rows.
>
>
> On 1/6/19 11:38 PM, Alexandre Neto wrote:
>
> What's your platform?
> What's the version of gdal?
>
> Thanks,
>
> Alex Neto
>
> A dom, 6/01/2019, 12:55, Micha Silver  escreveu:
>
>> I have found that after deleting some points in both a shapefile and a
>> geopackage layer, the attribute rows remain in the table (with null
>> geometry). Is this expected? I'm using 3.4.3, and I don't remember that
>> being so in earlier versions.
>>
>>
>> I removed the "phantom" rows by selecting by expression: '$geometry is
>> null' and then deleting. Still the behavior was surprising. I hope this is
>> not a resurrection of https://issues.qgis.org/issues/11007 ??
>>
>>
>> Thanks
>>
>> --
>> Micha Silver
>> Ben Gurion Univ.
>> Sde Boker, Remote Sensing Lab
>> cell: +972-523-665918
>>
>> ___
>> 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
>
> --
> Alexandre Neto
> -
> @AlexNetoGeo
> http://sigsemgrilhetas.wordpress.com
> http://gisunchained.wordpress.com
>
> --
> Micha Silver
> Ben Gurion Univ.
> Sde Boker, Remote Sensing Lab
> cell: +972-523-665918
>
> ___
> 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] After deleting points, attribute rows persist

2019-01-07 Thread Andreas Neumann
Hi Micha, 

hm - interesting. 


I have to say that deleting features by using the node tools seems a bit
"unconventional" to me. There is a "delete features" tool, which is
meant to be used to delete features. The node tools serves a different
purpose: to remove nodes. 


I am not sure it is well defined that removing a point using the node
tool should also remove the feature. It might be a valid behavior of
QGIS that it sets to the geometry to "NULL" and not delete the feature
after the last node of a geometry was removed. 

Are you sure that this really worked in the past? 

Andreas 


On 2019-01-07 16:15, Micha Silver wrote:





Hi Alex: 

Linux Mint 19 

gdal 2.2.3 

QGIS 3.4.3 

Just out of curiosity, I did the same on a debian buster machine (QGIS 2.18) and found the same: deleting vertices (with the node tool) on a point vector layer does not delete the attribute rows. 

On 1/6/19 11:38 PM, Alexandre Neto wrote: What's your platform?  
What's the version of gdal?  

Thanks,  


Alex Neto

A dom, 6/01/2019, 12:55, Micha Silver  escreveu: 

I have found that after deleting some points in both a shapefile and a geopackage layer, the attribute rows remain in the table (with null geometry). Is this expected? I'm using 3.4.3, and I don't remember that being so in earlier versions. 

I removed the "phantom" rows by selecting by expression: '$geometry is null' and then deleting. Still the behavior was surprising. I hope this is not a resurrection of https://issues.qgis.org/issues/11007 ?? 


Thanks

--
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918
___
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 -- 

Alexandre Neto 
- 
@AlexNetoGeo 
http://sigsemgrilhetas.wordpress.com http://gisunchained.wordpress.com


--
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918

___
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] After deleting points, attribute rows persist

2019-01-07 Thread Micha Silver

  
  
Hi Alex:

Linux Mint 19
gdal 2.2.3
QGIS 3.4.3


Just out of curiosity, I did the same on a debian buster machine
  (QGIS 2.18) and found the same: deleting vertices (with the node
  tool) on a point vector layer does not delete the attribute rows.


On 1/6/19 11:38 PM, Alexandre Neto
  wrote:


  
  What's your platform? 
  What's the version of gdal? 
  
  
  Thanks, 
  
  
  Alex Neto


  A dom, 6/01/2019, 12:55, Micha Silver 
escreveu:
  
  

  I have found that after deleting some points in both a
shapefile and a geopackage layer, the attribute rows
remain in the table (with null geometry). Is this
expected? I'm using 3.4.3, and I don't remember that
being so in earlier versions.
  
  
  I removed the "phantom" rows by selecting by
_expression_: '$geometry is null' and then deleting. Still
the behavior was surprising. I hope this is not a
resurrection of https://issues.qgis.org/issues/11007
??
  
  
  
  Thanks
  
  -- 
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918

___
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

  
  -- 
  

  Alexandre Neto
  -
  @AlexNetoGeo
  http://sigsemgrilhetas.wordpress.com
  http://gisunchained.wordpress.com

  

-- 
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918
  

___
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] After deleting points, attribute rows persist

2019-01-06 Thread Alexandre Neto
What's your platform?
What's the version of gdal?

Thanks,

Alex Neto

A dom, 6/01/2019, 12:55, Micha Silver  escreveu:

> I have found that after deleting some points in both a shapefile and a
> geopackage layer, the attribute rows remain in the table (with null
> geometry). Is this expected? I'm using 3.4.3, and I don't remember that
> being so in earlier versions.
>
>
> I removed the "phantom" rows by selecting by expression: '$geometry is
> null' and then deleting. Still the behavior was surprising. I hope this is
> not a resurrection of https://issues.qgis.org/issues/11007 ??
>
>
> Thanks
>
> --
> Micha Silver
> Ben Gurion Univ.
> Sde Boker, Remote Sensing Lab
> cell: +972-523-665918
>
> ___
> 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

-- 
Alexandre Neto
-
@AlexNetoGeo
http://sigsemgrilhetas.wordpress.com
http://gisunchained.wordpress.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] After deleting points, attribute rows persist

2019-01-06 Thread Micha Silver

  
  
I have found that after deleting some points in both a shapefile
  and a geopackage layer, the attribute rows remain in the table
  (with null geometry). Is this expected? I'm using 3.4.3, and I
  don't remember that being so in earlier versions.


I removed the "phantom" rows by selecting by _expression_:
  '$geometry is null' and then deleting. Still the behavior was
  surprising. I hope this is not a resurrection of
  https://issues.qgis.org/issues/11007 ??



Thanks

-- 
Micha Silver
Ben Gurion Univ.
Sde Boker, Remote Sensing Lab
cell: +972-523-665918
  

___
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