## Street Attributes Overview

### Introduction

Street Attributes is a method in the Street Attributes API service that accepts an HTTPS request with a GPS coordinate and returns the traffic-sign attributes of the nearest road segment, along with the road segments connected to it.

### Why use Street Attributes

With Street Attributes, you can enrich any GPS location with real-world road-regulation data, such as speed limits and driving restrictions, so you can apply the correct rules for cars, motorcycles, trucks, and other vehicle classes.

### What you can do with Street Attributes?

With the Street Attributes API `Standard` method, you can do the following things:

- **Find the nearest road segment** to a GPS coordinate and retrieve its traffic-sign attributes.
- **Identify connected road segments**, along with their own traffic-sign attributes.


### How Street Attributes works

The Street Attributes API accepts an HTTP GET request with query parameters that contains the request details.

> Example:


```bash
curl --request GET \
  --url "https://dplace-api.themap.world/street-attributes/v1/ways/next-ways/" \
  --get \
  --data-urlencode "latitude=10.8667954" \
  --data-urlencode "longitude=107.5863589" \
  --data-urlencode "apikey=YOUR_API_KEY" \
  --header "Accept: application/json"
```

The service then finds the nearest road segment to the given coordinate, and returns its traffic-sign attributes together with any connected road segments.