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

I am from India.In my Company We are developing a Web Interface which is able to do Forward and Reverse Geocoding Process Simultaneously .For this we used OSM MAP of India where the centroid point is placed in each polygon .then this Point is sent to GOOGLE API where the equivalent address for the point is generated.We Then structured the address based on address returned as Country,State,District,Locality,Sub-Locality and neighbourhood. The Problem is now :Multipart polygons for eg: some of the neighbourhood polygons is present in multiple sub localities .Why this occurs how can I resolve it.

asked 14 Dec '13, 03:50

Arun's gravatar image

Arun
1111
accept rate: 0%


Without a concrete example it is diffcult to see where the problem is. However your application should be able to handle multipolygons with multiple outer and inner rings in lieu of simple polygons in any case (use an appropriate algorithm to generate the centroid).

Note: your usage of the google api may not be in line with googles terms of service and that under no circumstances are you allowed to enter results from google in to the OSM database.

permanent link

answered 14 Dec '13, 07:34

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

edited 14 Dec '13, 10:18

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:

×133

question asked: 14 Dec '13, 03:50

question was seen: 2,588 times

last updated: 14 Dec '13, 10:18

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