You are not logged in.

Announcement

*** NOTICE: forum.openstreetmap.org is being retired. Please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators.
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***

#1 2021-05-07 19:38:42

Deraol
New Member
Registered: 2021-05-07
Posts: 2

Persolnalizar busca reversa

Existe alguma forma de remover da saida alguns campos sem alterar o zoom?

Por exemplo:

https://nominatim.openstreetmap.org/rev … 02&zoom=18

<reversegeocode timestamp="Fri, 07 May 21 18:26:20 +0000" attribution="Data © OpenStreetMap contributors, ODbL 1.0. http://www.openstreetmap.org/copyright" querystring="&format=xml&lat=-23.56320001&lon=-46.66140002&zoom=18">
<result place_id="185030211" osm_type="way" osm_id="414736784" ref="Edifício Mansão Rembrandt" lat="-23.56283095" lon="-46.660436836482845" boundingbox="-23.5629798,-23.5626821,-46.6606011,-46.6602726" place_rank="30" address_rank="30">
Edifício Mansão Rembrandt, 545, Alameda Ministro Rocha Azevedo, Jardim Paulista, São Paulo, Região Imediata de São Paulo, Região Metropolitana de São Paulo, Região Geográfica Intermediária de São Paulo, São Paulo, Região Sudeste, 01410-001, Brasil
</result>
<addressparts>
<building>Edifício Mansão Rembrandt</building>
<house_number>545</house_number>
<road>Alameda Ministro Rocha Azevedo</road>
<suburb>Jardim Paulista</suburb>
<city_district>Jardim Paulista</city_district>
<city>São Paulo</city>
<municipality>Região Imediata de São Paulo</municipality>
<county>Região Metropolitana de São Paulo</county>
<state_district>Região Geográfica Intermediária de São Paulo</state_district>
<state>São Paulo</state>
<region>Região Sudeste</region>
<postcode>01410-001</postcode>
<country>Brasil</country>
<country_code>br</country_code>
</addressparts>
</reversegeocode>

Não preciso de <region> e <state_district>

É possivel remover eles da saída da busca?

A ordem do <result> se possivel tambem gostaria de mudar, alguem tem algum idéia?

Desde já obrigado

Offline

#2 2021-05-09 02:27:39

muralito
Member
Registered: 2012-09-04
Posts: 1,918

Re: Persolnalizar busca reversa

Offline

#3 2021-05-15 21:34:18

Deraol
New Member
Registered: 2021-05-07
Posts: 2

Re: Persolnalizar busca reversa

Eu li, mas continuo perdido

Devo usar o exclude_place_ids?

Voce poderia me dá um exemplo?

Offline

Board footer

Powered by FluxBB