W3C home > Mailing lists > Public > public-dxwg-wg@w3.org > October 2022

Re: [dxwg] Definition of dcat:spatialResolutionInMeters incompatible/problematic with JSON-LD (#1536)

From: Pierre-Antoine Champin via GitHub <sysbot+gh@w3.org>
Date: Fri, 14 Oct 2022 15:02:52 +0000
To: public-dxwg-wg@w3.org
Message-ID: <issue_comment.created-1279127409-1665759770-sysbot+gh@w3.org>
> leading to conversions like `1.2E1` instead of `12`

That is not accurate. In JSON-LD, `12` will still render as `12`.

But it is true that `12.1` will render as `1.21E1` (as in your example), and that is indeed an issue.

I believe that xsd:decimal is superior to xsd:double in many respects (see [this paper](https://link.springer.com/chapter/10.1007/978-3-031-06981-9_10) ([pdf](https://2022.eswc-conferences.org/wp-content/uploads/2022/05/paper_98_Keil_et_al.pdf)) for a detailed analysis), so I am in favour of option 2.

GitHub Notification of comment by pchampin
Please view or discuss this issue at https://github.com/w3c/dxwg/issues/1536#issuecomment-1279127409 using your GitHub account

Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Friday, 14 October 2022 15:02:55 UTC

This archive was generated by hypermail 2.4.0 : Friday, 14 October 2022 15:02:56 UTC