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

Hi all,

I was wondering if an algorithm exists which will compare buildings in OSM with another dataset and tell whether that building in OSM is on the right side of the road.

An idea would be to: 1) get the address a building, 2) from the address get the road the building is on, 3) then get the polygon for the road, 4) then use the coordinates for the building in the reference dataset to determine the side of the road the building is on, 5) Then use the OSM coordinates for that building to determine what side of the road it is on 6) compare the two results, 7) This would be part of a broader idea of constructing a similarity measure and using this test as a component to rank similarity,

I have read up on a number of similarity measures but haven't yet found something that discusses this idea. While I have the idea in mind, I would like to prepare the code in R and was hoping to see code for a similar algorithm in R that I could use as a reference.

If you have come across something similar, if possible including R code, could you please advise ?

Many thanks!

asked 04 Aug '14, 11:36

Student's gravatar image

Student
26225
accept rate: 0%

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:

×75
×14
×4
×1

question asked: 04 Aug '14, 11:36

question was seen: 1,585 times

last updated: 04 Aug '14, 11:36

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