Re: [Qgis-user] Decimal delimiter different in label and attribute table

2024-01-15 Thread Huesmann, Michaela via QGIS-User
Hello Richard,

thank you for creating an issue for that topic.
I tried to change the option like in your screenshot. But even after restarting 
my machine it did not affect the label. It ist still shown with point.

So I now use Franks hint and format the label with the expression.

Regards,
Michaela




Mit freundlichen Grüßen
im Auftrag
Michaela Huesmann
IT
Fachdienst Tiefbau

Tel.: +49 2552 925 219
Fax:
E-Mail: michaela.huesm...@stadt-steinfurt.de

, 48565, Steinfurt

-Ursprüngliche Nachricht-
Von: Richard Duivenvoorde 
Gesendet: Donnerstag, 11. Januar 2024 16:15
An: Huesmann, Michaela ; 
qgis-user@lists.osgeo.org
Betreff: Re: [Qgis-user] Decimal delimiter different in label and attribute 
table

Data in the gepackage looks like numbers/double.

What to use as separators depends on the language settings.
Besides the language there is also a setting for the Date/time/numbers 
separators.

See screenshot

I think it should be possible to show those numbers with comma's if you choose 
a locale with 'Fliesskommazahl' :-)

You probably have to restart QGIS to see it.
If not working please let us know.

Regards,

Richard Duivenvoorde

On 1/11/24 15:13, Huesmann, Michaela via QGIS-User wrote:
> Hello all,
>
> I created a geopackage layer with a column of fieldtype „Decimal (Double)“. 
> In the Attribute Table I can see the decimal delimiter as comma as I want it 
> in Germany. But the labels display the delimiter as point. Where do I change 
> the delimiter for labels?
>
> Best regards,
>
> Michaela
>
>
> Kreisstadt Steinfurt <http://www.steinfurt.de>
>
>   - 48565 Steinfurt
> www.steinfurt.de <http://www.steinfurt.de>
>
> Mit freundlichen Grüßen
> im Auftrag
> MichaelaHuesmann
> IT
> Fachdienst Tiefbau
>
> Tel.: +49 2552 925 219
> Fax:
> E-Mail: michaela.huesm...@stadt-steinfurt.de 
> <mailto:michaela.huesm...@stadt-steinfurt.de>
>
>
> Bitte denken Sie an die Umwelt, bevor Sie diese E-Mail ausdrucken.
>
>
> ___
> 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] Decimal delimiter different in label and attribute table

2024-01-11 Thread Richard Duivenvoorde via QGIS-User

Mmm, did some further testing, and it appears to me that the number formatting 
seems to be ignored for labeling

Created an issue for it: https://github.com/qgis/QGIS/issues/55822

So I think indeed you end up formatting the numbers yourself with an expression 
for now

Regards,

Richard Duivenvoorde

On 1/11/24 16:14, Richard Duivenvoorde via QGIS-User wrote:

Data in the gepackage looks like numbers/double.

What to use as separators depends on the language settings.
Besides the language there is also a setting for the Date/time/numbers 
separators.

See screenshot

I think it should be possible to show those numbers with comma's if you choose 
a locale with 'Fliesskommazahl' :-)

You probably have to restart QGIS to see it.
If not working please let us know.

Regards,

Richard Duivenvoorde

On 1/11/24 15:13, Huesmann, Michaela via QGIS-User wrote:

Hello all,

I created a geopackage layer with a column of fieldtype „Decimal (Double)“. In 
the Attribute Table I can see the decimal delimiter as comma as I want it in 
Germany. But the labels display the delimiter as point. Where do I change the 
delimiter for labels?

Best regards,

Michaela


Kreisstadt Steinfurt 

  - 48565 Steinfurt
www.steinfurt.de 

Mit freundlichen Grüßen
im Auftrag
MichaelaHuesmann
IT
Fachdienst Tiefbau

Tel.: +49 2552 925 219
Fax:
E-Mail: michaela.huesm...@stadt-steinfurt.de 



Bitte denken Sie an die Umwelt, bevor Sie diese E-Mail ausdrucken.


___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Decimal delimiter different in label and attribute table

2024-01-11 Thread Richard Duivenvoorde via QGIS-User

Data in the gepackage looks like numbers/double.

What to use as separators depends on the language settings.
Besides the language there is also a setting for the Date/time/numbers 
separators.

See screenshot

I think it should be possible to show those numbers with comma's if you choose 
a locale with 'Fliesskommazahl' :-)

You probably have to restart QGIS to see it.
If not working please let us know.

Regards,

Richard Duivenvoorde

On 1/11/24 15:13, Huesmann, Michaela via QGIS-User wrote:

Hello all,

I created a geopackage layer with a column of fieldtype „Decimal (Double)“. In 
the Attribute Table I can see the decimal delimiter as comma as I want it in 
Germany. But the labels display the delimiter as point. Where do I change the 
delimiter for labels?

Best regards,

Michaela


Kreisstadt Steinfurt 

  - 48565 Steinfurt
www.steinfurt.de 

Mit freundlichen Grüßen
im Auftrag
MichaelaHuesmann
IT
Fachdienst Tiefbau

Tel.: +49 2552 925 219
Fax:
E-Mail: michaela.huesm...@stadt-steinfurt.de 



Bitte denken Sie an die Umwelt, bevor Sie diese E-Mail ausdrucken.


___
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] Decimal delimiter different in label and attribute table

2024-01-11 Thread Frank Broniewski via QGIS-User
Hello Michaela,

Geopackage always stores numbers with "." as decimal separator. The table view 
just shows a localized view of it. If you enter numbers with a comma, they get 
internally replaced with a point before storing the values in the geopackage.
But you can format the label and force the german number format with the 
following expression as an example:

 format_number( "flaeche", 2, 'de')

If you use the expression dialog window, you can use the built in help for more 
information about the format_number function.


HTH
Frank

Von: QGIS-User  im Auftrag von Huesmann, 
Michaela via QGIS-User 
Gesendet: Donnerstag, 11. Januar 2024 15:13
An: qgis-user@lists.osgeo.org 
Betreff: [Qgis-user] Decimal delimiter different in label and attribute table


Hello all,

I created a geopackage layer with a column of fieldtype „Decimal (Double)“. In 
the Attribute Table I can see the decimal delimiter as comma as I want it in 
Germany. But the labels display the delimiter as point. Where do I change the 
delimiter for labels?



[cid:image001.png@01DA44A0.677C0C90]



Best regards,

Michaela



[Kreisstadt Steinfurt]<http://www.steinfurt.de>

 - 48565 Steinfurt
www.steinfurt.de<http://www.steinfurt.de>

Mit freundlichen Grüßen
im Auftrag
Michaela Huesmann
IT
Fachdienst Tiefbau

Tel.: +49 2552 925 219
Fax:
E-Mail: 
michaela.huesm...@stadt-steinfurt.de<mailto:michaela.huesm...@stadt-steinfurt.de>

Bitte denken Sie an die Umwelt, bevor Sie diese E-Mail ausdrucken.

___
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] Decimal delimiter different in label and attribute table

2024-01-11 Thread Huesmann, Michaela via QGIS-User
Hello all,
I created a geopackage layer with a column of fieldtype „Decimal (Double)“. In 
the Attribute Table I can see the decimal delimiter as comma as I want it in 
Germany. But the labels display the delimiter as point. Where do I change the 
delimiter for labels?

[cid:image001.png@01DA44A0.677C0C90]

Best regards,
Michaela


[Kreisstadt Steinfurt]

 - 48565 Steinfurt
www.steinfurt.de

Mit freundlichen Grüßen
im Auftrag
Michaela Huesmann
IT
Fachdienst Tiefbau

Tel.: +49 2552 925 219
Fax:
E-Mail: 
michaela.huesm...@stadt-steinfurt.de

Bitte denken Sie an die Umwelt, bevor Sie diese E-Mail ausdrucken.

___
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