[Osm4j] Configure Osm4j with LocalHost

ogunreku praise ogunrekupraise at gmail.com
Fri Feb 8 11:35:24 UTC 2019


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

-- 
Kind Regards,
Praise Ogunreku.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/osm4j/attachments/20190208/4eb861f6/attachment.html>


More information about the Osm4j mailing list