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

I am working on an application in android where I have to identify the streets where a parking slot is empty. So how can I highlight a street on OSM as the user taps on it? Thanks for your help

asked 18 Jul '14, 07:54

shehzy's gravatar image

shehzy
1111
accept rate: 0%


Your question is too vague and is only about a user interface development. What you can ask on this help site is how a "street" is modelized in OSM : it's one or more ways (aka polylines) carying a tag "highway=*" and possibly a name and/or ref tag. It's not necessarily geometrically continuous (one way attached to the next one) when it's interrupted by roundabouts which may have their own name and/or ref. The "highway" value may also change within the same street.

permanent link

answered 18 Jul '14, 10:28

Pieren's gravatar image

Pieren
9.8k2083157
accept rate: 15%

actually I am absolutely new in OSM. I want to know is it possible to get the coordinates of a street as user taps on it in OSM?

(18 Jul '14, 13:09) shehzy

OpenStreetMap is essentially just lots and lots of data (see a previous answer to a different question here). It's entirely up to you how what technologies you use to represent that data and to allow the user to interact with it.

Without knowing how you're doing that (Displaying information over pre-rendered tiles? Displaying vectors?) or even what technology you're using for Android development (Android Java? Xamarin? Cordova?) it's possible to do little more than point you at the Android category in the wiki and at previous "what is OSM" answers.

permanent link

answered 18 Jul '14, 10:46

SomeoneElse's gravatar image

SomeoneElse ♦
36.9k71370866
accept rate: 16%

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:

×181

question asked: 18 Jul '14, 07:54

question was seen: 4,925 times

last updated: 18 Jul '14, 13:09

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