Skip to content
This repository was archived by the owner on Mar 25, 2022. It is now read-only.
This repository was archived by the owner on Mar 25, 2022. It is now read-only.

Returnera koordinater i WGS84-format  #5

@daniel

Description

@daniel

Det verkar som alla koordinater i resultaten använder SWE99-systemet (t ex denna: https://nvpub.vic-metria.nu/naturvardsregistret/v2/rest/omrade/2050038/G%C3%A4llande/extentAsWkt)

Jag behöver ha koordinater i WGS84-format, eftersom det är det enda som stöds av t ex Google Maps.

Ni kan kolla hur SLU Artdatabanken har gjort i sitt API. De returnerar koordinaterna såhär:

                "coordinates": [
                    {
                        "easting": 676219.0,
                        "northing": 6569758.0,
                        "isCoordinateDiffused": false,
                        "coordinateSystemName": "SWEREF99 TM",
                        "epsg": 3006,
                        "coordinateSystemId": 20
                    },
                    {
                        "easting": 18.0885664,
                        "northing": 59.2301119,
                        "isCoordinateDiffused": false,
                        "coordinateSystemName": "WGS 84 geographic",
                        "epsg": 4326,
                        "coordinateSystemId": 10
                    },
                    {
                        "easting": 1630347.0,
                        "northing": 6569902.0,
                        "isCoordinateDiffused": false,
                        "coordinateSystemName": "SWEREF99 / RT90 2.5 gon V emulation",
                        "epsg": 3847,
                        "coordinateSystemId": 1
                    }
                ],

Metadata

Metadata

Assignees

Labels

feedback to product ownerFeedback we will bring home to the owner of the underlying service/data

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions