# OpenRouteService not recognizing valid coordinates

**URL:** <https://ask.openrouteservice.org/t/openrouteservice-not-recognizing-valid-coordinates/1888>\
**Category:** openrouteservice\
**Created:** [July 6, 2020, 12:00am UTC](https://ask.openrouteservice.org/t/openrouteservice-not-recognizing-valid-coordinates/1888 "2020-07-06T00:00:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![leungi](https://ask.openrouteservice.org/letter_avatar_proxy/v4/letter/l/839c29/32.png) [@leungi](https://ask.openrouteservice.org/u/leungi)\
**Post date:** [July 6, 2020, 12:00am UTC](https://ask.openrouteservice.org/t/openrouteservice-not-recognizing-valid-coordinates/1888/1 "2020-07-06T00:00:04Z")

</div>

Hi,

I’m able to get the correct location on the following two coordinates on Google Map, but #openrouteservice don’t recognize it:

- Lng, Lat
- -101.50365, 32.21284
- -101.50519, 32.20828

#### GET() call

```auto
curl --include \
     --header "Content-Type: application/json; charset=utf-8" \
     --header "Accept: application/json, application/geo+json, application/gpx+xml, img/png; charset=utf-8" \
  'https://api.openrouteservice.org/v2/directions/driving-car?api_key=<api_token>&start=-101.50365,32.21284&end=-101.50519,32.20828'

```

#### Response

```auto
"Could not find point 0: -101.5051900 32.2082800 within a radius of 350.0 meters.; Could not find point 1: -101.5036500 32.2128400 within a radius of 350.0 meters."

```

 ![image](https://ask.openrouteservice.org/uploads/default/original/1X/163d021029b007aa3a7b77a9ae22d9b59fa8652a.png)

---

<div class="post-metadata">

**Author:** ![amandus](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/amandus/32/669_2.png) [@amandus](https://ask.openrouteservice.org/u/amandus)\
**Post date:** [July 6, 2020, 7:38am UTC](https://ask.openrouteservice.org/t/openrouteservice-not-recognizing-valid-coordinates/1888/2 "2020-07-06T07:38:17Z")

</div>

Hi @leungi,

> [@leungi](#):
>
> -101.50519,32.20828

ors searches by default only in a 350 m radius around the points. If there are no points on the used street network in that circle it won’t accept this point, hence the error.

You need to choose your points closer to the streets or use the `radiuses` parameter to increase the search radius.

Best regards

---

<div class="post-metadata">

**Author:** ![leungi](https://ask.openrouteservice.org/letter_avatar_proxy/v4/letter/l/839c29/32.png) [@leungi](https://ask.openrouteservice.org/u/leungi)\
**Post date:** [July 6, 2020, 4:14pm UTC](https://ask.openrouteservice.org/t/openrouteservice-not-recognizing-valid-coordinates/1888/3 "2020-07-06T16:14:42Z")

</div>

> [@leungi](#):
>
> -101.50519, 32.20828

Thanks for the prompt reply and clarification @amandus 🙏

Using `POST()` instead of `GET()` with the `radiuses` set to -1 (Inf) solves it 😄

```auto
  curl -X POST \
  'https://api.openrouteservice.org/v2/directions/driving-car' \
  -H 'Content-Type: application/json; charset=utf-8' \
  -H 'Accept: application/json, application/geo+json, application/gpx+xml, img/png; charset=utf-8' \
  -H 'Authorization: <api_token>' \
  -d '{"coordinates":[[-101.50365,32.21284],[-101.50519,32.20828]],"radiuses":[-1,-1]}'

```
