# Designer trying to understand and find a solution

**URL:** https://ask.openrouteservice.org/t/designer-trying-to-understand-and-find-a-solution/1491
**Category:** openrouteservice
**Created:** [March 21, 2020, 5:48pm UTC](https://ask.openrouteservice.org/t/designer-trying-to-understand-and-find-a-solution/1491 "2020-03-21T17:48:10Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![rocawabe](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/rocawabe/32/431_2.png) [@rocawabe](https://ask.openrouteservice.org/u/rocawabe)
#### Post date: [March 21, 2020, 5:48pm UTC](https://ask.openrouteservice.org/t/designer-trying-to-understand-and-find-a-solution/1491/1 "2020-03-21T17:48:11Z")

</div>

Hi,  
I am creating a WordPress site that let users:

- Create ads: each user has a spanish postal code on profile page that gives location to all his ads

- Search ads: users can enter a postal code to filter results by distance from that input postal code to ad’s postal code. Showing near ones first

I have a database with latitude/longitude for each postal code, and my project do not have big economy, so I am afraid of having good results and die because route costs.

I am the founder and designer, without backend programmer yet, so I don’t understand good the documentation, sorry about that,

I need to know what free options I can choose to provide that service, forgeting about number of distance requests

Thanks for your time,

Raul

---

<div class="post-metadata">

### Author: ![nils](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/nils/32/6_2.png) [@nils](https://ask.openrouteservice.org/u/nils)
#### Post date: [March 23, 2020, 10:22am UTC](https://ask.openrouteservice.org/t/designer-trying-to-understand-and-find-a-solution/1491/2 "2020-03-23T10:22:38Z")

</div>

Hi @rocawabe,

not sure why you require a routing service… You can just take the as-the-crow-flies distance, proper routing seems redundant for your use case.

Unless I didn’t quite understand the use case.

---

<div class="post-metadata">

### Author: ![rocawabe](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/rocawabe/32/431_2.png) [@rocawabe](https://ask.openrouteservice.org/u/rocawabe)
#### Post date: [March 23, 2020, 11:42am UTC](https://ask.openrouteservice.org/t/designer-trying-to-understand-and-find-a-solution/1491/3 "2020-03-23T11:42:07Z")

</div>

Hi @nils,  
thanks for your response. I am new into this distance location world. Do know any documentation to follow?

---

<div class="post-metadata">

### Author: ![nils](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/nils/32/6_2.png) [@nils](https://ask.openrouteservice.org/u/nils)
#### Post date: [March 23, 2020, 11:54am UTC](https://ask.openrouteservice.org/t/designer-trying-to-understand-and-find-a-solution/1491/4 "2020-03-23T11:54:49Z")

</div>

e.g. [Google](https://www.google.com.tr/search?client=opera&hs=kzO&sxsrf=ALeKk00svpdHrBuw2Jjo29wKzlIQ4DSJ7Q%3A1584964453820&ei=ZaN4XsfHMdH5kwX79JmYBQ&q=great+circle+distance+php&oq=great+circle+distance+php&gs_l=psy-ab.3..0i22i30l2.6392.8657..8881...0.2..0.105.565.4j2......0....1..gws-wiz.......0i71j35i39j0i67j0i7i30j0j0i20i263.uQxXLPeZAI4&ved=0ahUKEwiHjoHaxLDoAhXR_KQKHXt6BlMQ4dUDCAo&uact=5)

---

<div class="post-metadata">

### Author: ![rocawabe](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/rocawabe/32/431_2.png) [@rocawabe](https://ask.openrouteservice.org/u/rocawabe)
#### Post date: [March 23, 2020, 11:55am UTC](https://ask.openrouteservice.org/t/designer-trying-to-understand-and-find-a-solution/1491/5 "2020-03-23T11:55:26Z")

</div>

any keywords to get deeper?

---

<div class="post-metadata">

### Author: ![nils](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/nils/32/6_2.png) [@nils](https://ask.openrouteservice.org/u/nils)
#### Post date: [March 23, 2020, 11:56am UTC](https://ask.openrouteservice.org/t/designer-trying-to-understand-and-find-a-solution/1491/6 "2020-03-23T11:56:49Z")

</div>

I think you’ll have to dig in a bit yourself. It’s basics: great circle distance or plain euclidean distance.

---

<div class="post-metadata">

### Author: ![rocawabe](https://ask.openrouteservice.org/user_avatar/ask.openrouteservice.org/rocawabe/32/431_2.png) [@rocawabe](https://ask.openrouteservice.org/u/rocawabe)
#### Post date: [March 23, 2020, 11:58am UTC](https://ask.openrouteservice.org/t/designer-trying-to-understand-and-find-a-solution/1491/7 "2020-03-23T11:58:15Z")

</div>

Thanks @nils! I would do it. — Have a nice day!
