{"action":"created","issue":{"url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocache-store/issues/28","labels_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocache-store/issues/28/labels{/name}","comments_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocache-store/issues/28/comments","events_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocache-store/issues/28/events","html_url":"https://github.com/AtlasOfLivingAustralia/biocache-store/issues/28","id":54837765,"number":28,"title":"Support for a processed value for coordinatePrecision","user":{"login":"nickdos","id":532845,"avatar_url":"https://avatars.githubusercontent.com/u/532845?v=3","gravatar_id":"","url":"https://api.github.com/users/nickdos","html_url":"https://github.com/nickdos","followers_url":"https://api.github.com/users/nickdos/followers","following_url":"https://api.github.com/users/nickdos/following{/other_user}","gists_url":"https://api.github.com/users/nickdos/gists{/gist_id}","starred_url":"https://api.github.com/users/nickdos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickdos/subscriptions","organizations_url":"https://api.github.com/users/nickdos/orgs","repos_url":"https://api.github.com/users/nickdos/repos","events_url":"https://api.github.com/users/nickdos/events{/privacy}","received_events_url":"https://api.github.com/users/nickdos/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocache-store/labels/priority-medium","name":"priority-medium","color":"ededed"},{"url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocache-store/labels/status-accepted","name":"status-accepted","color":"ededed"},{"url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocache-store/labels/type-defect","name":"type-defect","color":"ededed"}],"state":"open","locked":false,"assignee":{"login":"djtfmartin","id":444897,"avatar_url":"https://avatars.githubusercontent.com/u/444897?v=3","gravatar_id":"","url":"https://api.github.com/users/djtfmartin","html_url":"https://github.com/djtfmartin","followers_url":"https://api.github.com/users/djtfmartin/followers","following_url":"https://api.github.com/users/djtfmartin/following{/other_user}","gists_url":"https://api.github.com/users/djtfmartin/gists{/gist_id}","starred_url":"https://api.github.com/users/djtfmartin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/djtfmartin/subscriptions","organizations_url":"https://api.github.com/users/djtfmartin/orgs","repos_url":"https://api.github.com/users/djtfmartin/repos","events_url":"https://api.github.com/users/djtfmartin/events{/privacy}","received_events_url":"https://api.github.com/users/djtfmartin/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-01-20T02:51:53Z","updated_at":"2015-01-20T02:51:56Z","closed_at":null,"body":"_From @mbohun on August 19, 2014 11:16_\n\n\n*migrated from:* https://code.google.com/p/ala/issues/detail?id=233\n*date:* Mon Aug 12 23:25:33 2013\n*author:* natasha....@csiro.au\n ---\n\nAT the moment the processors do not store a a processed value for the coordinate precision. This is causing all coordinatePrecision to be reported as \"Unknown\". \r\n\r\nI suggest as an interim measure we change the occurrence page to display the raw value instead of processed.:\r\n\r\n<alatag:occurrenceTableRow annotate=\"false\" section=\"geospatial\" fieldCode=\"coordinatePrecision\" fieldName=\"Coordinate precision\">\r\n                <c:set target=\"${fieldsMap}\" property=\"coordinatePrecision\" value=\"true\" />\r\n                <c:if test=\"${not empty record.raw.location.decimalLatitude || not empty record.raw.location.decimalLongitude}\">\r\n                    ${not empty record.processed.location.coordinatePrecision ? record.processed.location.coordinatePrecision : 'Unknown'}\r\n                </c:if>\r\n            </alatag:occurrenceTableRow>\n\n\n_Copied from original issue: AtlasOfLivingAustralia/biocache-hubs#40_"},"comment":{"url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocache-store/issues/comments/70596774","html_url":"https://github.com/AtlasOfLivingAustralia/biocache-store/issues/28#issuecomment-70596774","issue_url":"https://api.github.com/repos/AtlasOfLivingAustralia/biocache-store/issues/28","id":70596774,"user":{"login":"nickdos","id":532845,"avatar_url":"https://avatars.githubusercontent.com/u/532845?v=3","gravatar_id":"","url":"https://api.github.com/users/nickdos","html_url":"https://github.com/nickdos","followers_url":"https://api.github.com/users/nickdos/followers","following_url":"https://api.github.com/users/nickdos/following{/other_user}","gists_url":"https://api.github.com/users/nickdos/gists{/gist_id}","starred_url":"https://api.github.com/users/nickdos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nickdos/subscriptions","organizations_url":"https://api.github.com/users/nickdos/orgs","repos_url":"https://api.github.com/users/nickdos/repos","events_url":"https://api.github.com/users/nickdos/events{/privacy}","received_events_url":"https://api.github.com/users/nickdos/received_events","type":"User","site_admin":false},"created_at":"2015-01-20T02:51:55Z","updated_at":"2015-01-20T02:51:55Z","body":"_From @mbohun on August 19, 2014 11:16_\n\n\n*date:* Mon Nov 11 14:44:49 2013\n*author:* milo_nic...@hotmail.com\n ---\n\nAdditional comments on Coordinate precision\r\n\r\nTo document my rant about coordinatePrecision at the recent FCIG meeting, I submit the following:\r\n\r\na.\tThe way the ALA ‘validates’ coordinatePrecision is not satisfactory; values for precision like \"0.000278\" (nearest second), \"0.01667\" (nearest minute) as specified as valid in the Darwin Core ([http://rs.tdwg.org/dwc/terms/#coordinatePrecision](http://rs.tdwg.org/dwc/terms/#coordinatePrecision)) are treated as not valid by the Atlas e.g. [http://biocache.ala.org.au/occurrence/767e6f06-455d-4453-b1fe-021008d0ec45](http://biocache.ala.org.au/occurrence/767e6f06-455d-4453-b1fe-021008d0ec45).\r\nb.\tThe Atlas forces me to add trailing zeros to latitudes and longitudes in order to have them accept my precision values as valid. Trailing zeros do really happen e.g. -35.4500 in a latitude. However, if latitude is served as a real number, of course the trailing zeros don’t appear. A coordinatePrecision =0.0001 states that we REALLY, REALLY DO MEAN THAT WE WANT 4 DECIMALS!! However, the Atlas presumes to judge it’s the precision which is wrong if the trailing zeros are missing. I submit that the validation rule is not logical: coordinates are real numbers; therefore the role of coordinatePrecision should be to mediate the coordinate value – i.e. specify the correct number of decimals including trailing zeros, as opposed to using the number of decimals in the coordinate (i.e. minus legitimate trailing zeros) to try to infer the validity of the precision value. Either or both of these premises could be equally wrong/right, so the validation rule is not validating anything, i.e. is just as likely to invalidate valid coordinates as anything else.\r\n\r\nI formally request that the validation issues with precision be addressed by the Atlas in consultation with the data-serving community. As it stands, in order to try to get those of my coordinates with trailing zeros validated, I have to go through a rigmarole of converting my reals to character values and padding them out with trailing zeros, something I don’t think should be necessary.\r\n\r\nThus endeth the rant.\r\n\n"}}