# Spatial Reference Code Conversion Service

A service to perform spatial reference code conversion. It supports the conversion of Ocean textual representations and Ocean companion XML to persistable reference strings. In addition it supports the assembly of persistable reference strings from parts, including the well-known text (WKT) in Esri notation. Finally, in the SpatialReports section, spatial reference strings, e.g. persistableReference strings, can be parsed to generate a human-readable report.

```plain {% title="Client ID" %}
963f2cc6915e479fa0fcb73ec2ec90e7
```


Version: 1.0

## Servers

SLB Saas OSDU (SGP)
```
https://as5.api.enterprisedata.slb.com/api/spatial-ref/v1
```

SLB SaaS OSDU (BRS)
```
https://br5.api.enterprisedata.slb.com/api/spatial-ref/v1
```

SLB Saas OSDU (WEU)
```
https://eu5.api.enterprisedata.slb.com/api/spatial-ref/v1
```

SLB SaaS OSDU (EUT)
```
https://eu6.api.enterprisedata.slb.com/api/spatial-ref/v1
```

SLB Saas OSDU (MDE)
```
https://eu7.api.enterprisedata.slb.com/api/spatial-ref/v1
```

SLB Saas OSDU (PSC)
```
https://us5.api.enterprisedata.slb.com/api/spatial-ref/v1
```

SLB Saas OSDU (USC)
```
https://us7.api.enterprisedata.slb.com/api/spatial-ref/v1
```

SLB Saas OSDU (WUS)
```
https://us8.api.enterprisedata.slb.com/api/spatial-ref/v1
```

SLB Saas OSDU (SAS)
```
https://as6.api.enterprisedata.slb.com/api/spatial-ref/v1
```

SLB Saas OSDU (SWC)
```
https://eu8.api.enterprisedata.slb.com/api/spatial-ref/v1
```

SLB Saas OSDU (MYW)
```
https://as7.api.enterprisedata.slb.com/api/spatial-ref/v1
```

SLB Saas OSDU (ZAN)
```
https://za1.api.enterprisedata.slb.com/api/spatial-ref/v1
```

## Security

### bearer

User Token from SLB Authenticator Service

Type: http
Scheme: bearer
Bearer Format: JWT

## Download OpenAPI description

 - [Spatial Reference Code Conversion Service](https://developer.slb.com/_bundle/solutions/core-service/apis/OSDU-Spatial-Reference-Service.yaml)

## spatialReferences

 - [POST /persistableReference/fromCrsAuthorityCode](https://developer.slb.com/solutions/core-service/apis/osdu-spatial-reference-service/spatialreferences/post%20crs%20authoritycode%20to%20persistablereference.md): Post a request containing the authority code of an unbound or late-bound CRS to create a persistable reference. The result can be used to populate an EbCrsContainer for a subsequent request to generat
 - [POST /persistableReference/fromEarlyBoundCrsAsWktParts](https://developer.slb.com/solutions/core-service/apis/osdu-spatial-reference-service/spatialreferences/post%20early%20bound%20wkt%20parts%20to%20persistablereference.md): Post a request containing the components of an early-bound CRS (a projected or geographic CRS bound to a transformation to WGS 84) to create a persistable reference.
 - [POST /persistableReference/fromLateBoundCrsParts](https://developer.slb.com/solutions/core-service/apis/osdu-spatial-reference-service/spatialreferences/post%20late%20bound%20wkt%20parts%20to%20persistablereference.md): Post a request containing the components of an unbound or late-bound CRS to create a persistable reference.
 - [POST /persistableReference/fromOceanCompanion](https://developer.slb.com/solutions/core-service/apis/osdu-spatial-reference-service/spatialreferences/post%20ocean%20companion%20to%20persistablereference.md): Post a request containing a text-encoded Ocean companion xml to create a persistable reference.
 - [POST /persistableReference/fromOceanTextualReference](https://developer.slb.com/solutions/core-service/apis/osdu-spatial-reference-service/spatialreferences/post%20ocean%20textual%20representation%20to%20persistablereference.md): Post a request containing an Ocean textual representation to create a persistable reference.
 - [POST /persistableReference/fromTransformAuthorityCode](https://developer.slb.com/solutions/core-service/apis/osdu-spatial-reference-service/spatialreferences/post%20ct%20authoritycode%20to%20persistablereference.md): Post a request containing a transformation authority code to create a persistable reference. The result can be used to populate an EbCrsContainer for a subsequent request to generate an early-bound CR
## spatialReports

 - [POST /spatialReference/detailedReport](https://developer.slb.com/solutions/core-service/apis/osdu-spatial-reference-service/spatialreports/post%20spatialreference%20to%20detailed%20report.md): Post a request containing a spatial reference (e.g. a persistable reference string or an Ocean textual representation) to get a detailed report. The reference is decomposed into its individual parts,
 - [POST /spatialReference/simpleReport](https://developer.slb.com/solutions/core-service/apis/osdu-spatial-reference-service/spatialreports/post%20spatialreference%20to%20simple%20report.md): Post a request containing a spatial reference (e.g. a persistable reference string or an Ocean textual representation) to get a simple report, i.e. each decomposed individual part of the spatial refer
## spatialConversions

 - [POST /persistableReference/toProj4](https://developer.slb.com/solutions/core-service/apis/osdu-spatial-reference-service/spatialconversions/post%20persistablereference%20to%20get%20proj4.md): Post a request containing a CRS persistable reference to get the PROJ.4 notation. The result can be used for populating the mapLarge CRS.
