[Qgis-user] Problem with spatial objects count (v3.7)

2019-04-24 Thread Gustavo Martínez

Hi all,


I am mapping some data from a postgis table and categorizing the points 
following the criteria showed in the table.


*criterio*



*count***

(null)



249557

6



1

8



2184

1



276168

2



7512

3



2

5



4384

0



21796

When I activate the "spatial objects count", the total count is correct, 
but the distribution in each category is wrong. In the layer, the number 
of points with category 0 and "null" are summed up, although they are 
showed correctly when I choose the category in the map.




This is the information about the version I am using, on a Windows 7 PC. 
The same behavior occurs in a Linux machine with v3.7


Versi??n de QGIS



3.7.0-Master



Revisi??n del c??digo de QGIS



b141349c90 

Compilado contra Qt



5.11.2



Ejecut??ndose contra Qt



5.11.2

Compilado contra GDAL/OGR



2.4.1



Ejecut??ndose contra GDAL/OGR



2.4.1

Compilado contra GEOS



3.7.0-CAPI-1.11.0



Ejecut??ndose contra GEOS



3.7.0-CAPI-1.11.0 673b9939

Versi??n del cliente PostgreSQL



9.2.4



Versi??n de SpatiaLite



4.3.0

Versi??n de QWT



6.1.3



Versi??n de QScintilla2



2.10.8

Compilado contra PROJ



5.2.0



Ejecut??ndose contra PROJ



5.2.0

Esta copia de QGIS escribe salida de depurado.


??-

Gustavo Mart??nez Puljak

Direcci??n de Planificaci??n y Gesti??n de Pesquer??as

Subsecretar??a de Pesca y Acuicultura

Secretar??a de Agroindustria

Ministerio de Producci??n y Trabajo de la Naci??n

Tel directo +54 11 4349 2165

Av. Paseo Col??n 982 CP 1063, CABA, Bs. As., Argentina

___
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] unlocking toggle editing

2019-04-24 Thread Etienne Trimaille
It depends how you store geometries inside the CSV I guess. Geometries as
WKT in CSV are displayed and can be edited.


Le mer. 24 avr. 2019 à 10:27, Raymond Nijssen  a
écrit :

> Ah, tnx. But then I get a table only, not a layer with geometries. Or do
> I miss something else?
>
>
>
> On 24-04-19 10:23, Etienne Trimaille wrote:
> > Sorry, I open the CSV from the browser. Not using the "text delimiter",
> > then you can edit/add features to the CSV.
> >
> > Le mer. 24 avr. 2019 à 10:17, Richard Duivenvoorde  > > a écrit :
> >
> > On 2019-04-24 10:03, Etienne Trimaille wrote:
> >  > Le mer. 24 avr. 2019 à 09:49, Raymond Nijssen
> > mailto:r.nijs...@terglobo.nl>>
> >  > a écrit :
> >  >
> >  >> Cause QGIS cannot edit a csv attribute table.
> >  >
> >  > FYI, you can edit a CSV attribute table ;-)
> >
> >
> > Are you sure?
> > If I open attached mini csv, I can load it in QGIS, but cannot edit
> > anything (not the attributes of current records), the little pencil
> to
> > edit cannot be activated with me (current master here).
> > Am I missing some info?
> >
> > 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] unlocking toggle editing

2019-04-24 Thread Nicolas Cadieux
Hi,

Some file formats are simply read but not writable.  If that is the case with 
the csv, just save it as a shape file.  Then, when you are done, export it back 
as a csv.

Nicolas

> Le 24 avr. 2019 à 03:43, Boaz Bar Ilan  a écrit :
> 
> hi
> 
> I imported  data csv file to an shapefile 
> I cant  edit its attribute table
> is there a way to unlock it >
> thanks
> boaz
> 
> 
> ___
> 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] unlocking toggle editing

2019-04-24 Thread Raymond Nijssen
Ah, tnx. But then I get a table only, not a layer with geometries. Or do 
I miss something else?




On 24-04-19 10:23, Etienne Trimaille wrote:
Sorry, I open the CSV from the browser. Not using the "text delimiter", 
then you can edit/add features to the CSV.


Le mer. 24 avr. 2019 à 10:17, Richard Duivenvoorde > a écrit :


On 2019-04-24 10:03, Etienne Trimaille wrote:
 > Le mer. 24 avr. 2019 à 09:49, Raymond Nijssen
mailto:r.nijs...@terglobo.nl>>
 > a écrit :
 >
 >> Cause QGIS cannot edit a csv attribute table.
 >
 > FYI, you can edit a CSV attribute table ;-)


Are you sure?
If I open attached mini csv, I can load it in QGIS, but cannot edit
anything (not the attributes of current records), the little pencil to
edit cannot be activated with me (current master here).
Am I missing some info?

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] unlocking toggle editing

2019-04-24 Thread Etienne Trimaille
Sorry, I open the CSV from the browser. Not using the "text delimiter",
then you can edit/add features to the CSV.

Le mer. 24 avr. 2019 à 10:17, Richard Duivenvoorde  a
écrit :

> On 2019-04-24 10:03, Etienne Trimaille wrote:
> > Le mer. 24 avr. 2019 à 09:49, Raymond Nijssen 
> > a écrit :
> >
> >> Cause QGIS cannot edit a csv attribute table.
> >
> > FYI, you can edit a CSV attribute table ;-)
>
>
> Are you sure?
> If I open attached mini csv, I can load it in QGIS, but cannot edit
> anything (not the attributes of current records), the little pencil to
> edit cannot be activated with me (current master here).
> Am I missing some info?
>
> 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] unlocking toggle editing

2019-04-24 Thread Richard Duivenvoorde

On 2019-04-24 10:03, Etienne Trimaille wrote:

Le mer. 24 avr. 2019 à 09:49, Raymond Nijssen 
a écrit :


Cause QGIS cannot edit a csv attribute table.


FYI, you can edit a CSV attribute table ;-)



Are you sure?
If I open attached mini csv, I can load it in QGIS, but cannot edit 
anything (not the attributes of current records), the little pencil to 
edit cannot be activated with me (current master here).

Am I missing some info?

Regards,

Richard Duivenvoordelat, lon, id
0,0,1
10,10,2

___
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] unlocking toggle editing

2019-04-24 Thread Raymond Nijssen

Hi Etienne,

Thanks! But I cannot. :(

My "toggle editing" button is disabled. I imported the csv using the 
"Delimited text layer' functionality.



This is the data I used:

x,y,v
138000,407000,a
138000,408000,b
139000,408000,c
139000,407000,d




On 24-04-19 10:03, Etienne Trimaille wrote:
Le mer. 24 avr. 2019 à 09:49, Raymond Nijssen > a écrit :


Cause QGIS cannot edit a csv attribute table.


FYI, you can edit a CSV attribute table ;-)


--
Terglobo
Fahrenheitstraat 1
5223 BJ 's-Hertogenbosch
The Netherlands
+31 (0) 6 25 31 49 83
___
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] unlocking toggle editing

2019-04-24 Thread Etienne Trimaille
Le mer. 24 avr. 2019 à 09:49, Raymond Nijssen  a
écrit :

> Cause QGIS cannot edit a csv attribute table.
>

FYI, you can edit a CSV attribute table ;-)
___
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] unlocking toggle editing

2019-04-24 Thread Raymond Nijssen

Hi,


Are you sure you exported your layer to a shapefile, after opening the 
csv as a layer?


Cause QGIS cannot edit a csv attribute table.

Raymond


On 24-04-19 09:43, Boaz Bar Ilan wrote:

hi

I imported  data csv file to an shapefile
I cant  edit its attribute table
is there a way to unlock it >
thanks
boaz



___
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] unlocking toggle editing

2019-04-24 Thread Boaz Bar Ilan
hi

I imported  data csv file to an shapefile
I cant  edit its attribute table
is there a way to unlock it >
thanks
boaz
___
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