OpenStreetMap Forum

The Free Wiki World Map

You are not logged in.

Announcement

A fix has been applied to the login system for the forums - if you have trouble logging in please contact support@openstreetmap.org with both your forum username and your OpenStreetMap username so we can make sure your accounts are properly linked.

#1 2017-04-18 01:20:01

andereoliveira
New Member
Registered: 2017-04-18
Posts: 2

Query Features - IS IN

Hi!

I want to use this info on the left in one android app. I couldnt find anything on the internet about how to get this info. Any hint about it?

I guess the area is called "Is in".

6pt2r8.png

Thanks in advance

Offline

#2 2017-04-18 08:20:40

SimonPoole
Member
Registered: 2010-03-14
Posts: 1,234

Re: Query Features - IS IN

andereoliveira wrote:

Hi!

I want to use this info on the left in one android app. I couldnt find anything on the internet about how to get this info. Any hint about it?

I guess the area is called "Is in".

...

While the picture you included is illegible it doesn't really matter, for what it is worth the "is_in" tags are deprecated and definitely shouldn't be relied upon.

If you could tell us what you actually want to do (in particular if you need to be able to do whatever offline), we might be able to suggest alternative approaches.

Simon

Online

#3 2017-04-19 00:11:43

andereoliveira
New Member
Registered: 2017-04-18
Posts: 2

Re: Query Features - IS IN

In portugal, in 2016, there was a new arrangment of localities and admin areas. There is no reliable source so easy to use as OSM. I dont know the right names to call it in english, but i want the District and Parish (in portuguese Distrito and Freguesia) info about some coordinates. In OSM the left info "is_in" is right and thats the one i want to use.

Offline

#4 2017-04-19 20:06:39

stephan75
Member
Registered: 2008-05-28
Posts: 2,621

Re: Query Features - IS IN

Hello andere,

Maybe you need an own database with two kind of objects:

1. The POIs, buildings. amenity or what ever you want to have,
and
2. The boundaries of political structure as boundary relation objects (areas).

Then you need geospatial queries about your objects to find out the result you want.

Maybe the webservice of user wambacher can help you as a starting point?
http://osm.wno-edv-service.de/index.php … sh-version

Offline

Board footer

Powered by FluxBB