NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

0
1

Hello everyone,

I would like to know how to get the lat and long of users using OSM map, and Nomatim or something else, without using google services, because It wont work in China and few other countries.

My goal is to let users find people in specific location, so when they make a research via Elasticsearch, it will show them choosen located users with a radius range.

Our website is running under symfony3 , Php.

hope someone can help us, Thank's by advance

Best regards

asked 16 Mar '17, 11:47

aladib's gravatar image

aladib
9112
accept rate: 0%

edited 25 Mar '17, 09:37

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

3

The question isn't clear. What is your actual input and desired output ? So far this question seems unrelated to OSM, and a quick duckduck search points towards https://www.elastic.co/guide/en/elasticsearch/reference/1.4/query-dsl-geo-shape-query.html

(16 Mar '17, 12:30) Vincent de P... ♦

OSM and other OSM-related software can't tell you where a user is. It would be the location services in the user's device/browser that would do that.

permanent link

answered 16 Mar '17, 17:58

alester's gravatar image

alester
6.6k266100
accept rate: 28%

Follow this question

By Email:

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

By RSS:

Answers

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:

×689
×44
×34

question asked: 16 Mar '17, 11:47

question was seen: 4,474 times

last updated: 25 Mar '17, 09:38

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum