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

  1. Create ads: each user has a spanish postal code on profile page that gives location to all his ads
  2. 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,


asked 21 Mar, 18:02

raulserrano's gravatar image

accept rate: 0%

There is no service that will give unlimited free CPU power to your commercial enterprise. However, OpenStreetMap data is openly licensed and good Open Source routing software is available too; you could for example install Graphhopper, OSRM, or Valhalla on your own server machine, and then make as many requests as you want without paying anyone (except of course your hosting provider for your own server). Graphhopper probably offers the easiest start, just follow https://www.graphhopper.com/blog/2018/09/25/getting-started-with-graphhopper-0-11-and-jdk-11/ (and download data for Spain instead of Berlin).

permanent link

answered 21 Mar, 18:18

Frederik%20Ramm's gravatar image

Frederik Ramm ♦
accept rate: 24%

edited 21 Mar, 18:18

That sounds as a really good option! — Thanks Frederik!

ps: This forum is OSQA? their website looks like dead...

(21 Mar, 18:34) raulserrano

@raulserrano: Yes, this forum is OSQA, and we would like to switch to something that's actively maintained, but haven't found a replacement yet which has the necessary featuers (i.e. voting-based Q&A platform, rather than regular discussions). See: https://github.com/openstreetmap/operations/issues/149

(23 Mar, 14:03) Tordanik

@tordanik I was thinking about https://github.com/discourse/discourse and it looks like is already contemplated

(23 Mar, 14:48) raulserrano
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 21 Mar, 18:02

question was seen: 201 times

last updated: 23 Mar, 14:48

powered by OSQA