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

I am a web developer (not expert).

in registeration page of a website, i want to receive client's address from osm. ( like UBER that receive passenger address in app )

i mean put a marker on map and send latitude and longitude and zoom level.

can i do it with osm?

asked 05 Feb '19, 21:04

alireza%20gholamii's gravatar image

alireza ghol...
11113
accept rate: 0%

edited 06 Feb '19, 03:04

1

It depends on what you mean by "receive client's address from osm". Do you mean picking an address on a map rendering using OSM data, selecting from a list of addresses generated from OSM data, or something else? "OSM" itself is just a big database of data and you can do many things with that data.

(05 Feb '19, 22:16) alester

like UBER that receive passenger address in app . i mean put a marker on map and send latitude and longitude and zoom level.

(06 Feb '19, 03:01) alireza ghol...

https://www.mapbox.com/mobile/ may be a good starting point.

(11 Feb '19, 07:29) InsertUser

So when someone registers, they will type in their address, right ? Your server will then receive that address, store it in your database. Then you want to display a map with a marker for that address.

so you need

  • a web form and an underlying database
  • a geocoder, e.g.Nominatim which translates the address to lat/lon
  • and some display technology for the map and the marker. This can be achieved with Leaftlet or OpenLayers Javascript libraries.

I doubt that you can accomplish this all if you are not a programmer.

permanent link

answered 11 Feb '19, 04:15

escada's gravatar image

escada
19.0k16166302
accept rate: 21%

edited 11 Feb '19, 15:24

If you want a business to show on map like this one https://osm.org/go/eu62_HbiF?m= and you want it to be found by a nominatum search you or somebody will have to map it correctly and add it to OSM. Read the Wiki info on adding a business. In edit mode you can look at the above and other businesses to learn what you need to do. Is this is what you are asking?

permanent link

answered 10 Feb '19, 21:39

andy%20mackey's gravatar image

andy mackey
13.2k87143285
accept rate: 4%

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:

×113

question asked: 05 Feb '19, 21:04

question was seen: 1,847 times

last updated: 11 Feb '19, 15:24

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