[Osm4j] Configure Osm4j with LocalHost

Sebastian Kürten sebastian.kuerten at fu-berlin.de
Fri Feb 8 11:38:48 UTC 2019


Hi Praise,

do you have a local XAPI service running on your development machine? If
so I don't see why it shouldn't work they way you tried...

Best,
Sebastian

On Fri, 8 Feb 2019 12:35:24 +0100
ogunreku praise <ogunrekupraise at gmail.com> wrote:

> Hello, I have a quick enquiry to make,
> Is it possible to replace the Overpass API mirror query with my
> localhost IP address to fetch data from my local database while using
> osm4j? Example
> String query = "http://www.overpass-api.de/api/xapi?*[bbox="
>         + "13.465661,52.504055,13.469817,52.506204]";
> with
> String query = "http://localhost:3000*[bbox="
>         + "13.465661,52.504055,13.469817,52.506204]";
> If so, how can this be done?
> Thanks.
> Kind regards,
> Praise
> 




More information about the Osm4j mailing list