Android Question Addresses contained in a polygon?

javiers

Active Member
Licensed User
Longtime User
Hello everyone,
Is there any way to get all the addresses and portals contained within a polygon?
 

klaus

Expert
Licensed User
Longtime User
You need to give much more information on what exactly you want to do !
Where and how are the addresses stored?
What does portal mean?
For a point in a polygon you may have a look et this thread.
 
Upvote 0

javiers

Active Member
Licensed User
Longtime User
Sorry, you're right, I have not explained myself well.
I would like to draw an area in googlemaps (this I already know how to do it) and be able to extract all the addresses contained in it.
The purpose is to have a list of buildings to evacuate in case of an emergency.
 
Upvote 0

javiers

Active Member
Licensed User
Longtime User
Thanks for the answers.
I will look at other options, to see if I find something.

Greetings to all
 
Upvote 0

klaus

Expert
Licensed User
Longtime User
The main problem is to find the addresses in the polygon.
If you have a list of addresses with latitude and longitude coordinates, no problem.
But. the problem, at least for me, is to find all the addresses insides the given surrounding.
I have another doubt about addresses. If a street is half in the polygon and the other half is outsides the polygon, how to get those insides?
That's the QUESTION!
Sorry, I don't know.
 
Upvote 0

javiers

Active Member
Licensed User
Longtime User
I have been able to download a table with the data of the buildings (the number of the street in Spain is the "portal") in which each record has the address (type of road, street name, population) and coordinates.
My idea is to make a first selection of the points that are on the screen and zoom <= 16. And then, use your suggestion (for a point in a polygon you may have a look et this
thread
) to determine which of they are inside the polygon.

Let's see if i get it!
 
Upvote 0
Top