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 ♦
42.5k13309670
accept rate: 19%

edited 14 Dec '13, 10:18

Your answer
toggle preview

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:

×125

question asked: 14 Dec '13, 03:50

question was seen: 1,993 times

last updated: 14 Dec '13, 10:18

powered by OSQA