Hello all, So...I've set up the osm website and I've also followed the Configuration Steps. Now I've tested the website. I can browse the web frontend (it seems everything is working) and user management also works. Next step was to test the API. I've created some fist requests using a REST-Console and made the following queries:
And the following input using PUT: This gives me a reasonable output of showing me a number. For example
So...I would assume that this is working, right? I've made another request by using GET with:
This gives me the following response: <?xml version="1.0" encoding="UTF-8"?> Looks like that this is also working. Now I want to get some data using the API, so I've tested this by using the following GET request, but there is nothing as a output. But actually this should give me the same output than using the openstreetmao.org link below, shouldn't it?
I've also tested it with a request using a bounding box, which offers, using the openstreetmap.org website a map.osm file download. Using my localhost instance, I get nothing. The site/connection is not available. So...for this part I have the question of how to get data using my own openstreetmap instance including the API. Hopefully I haven't missed anything. Thanks for your help! asked 14 May '14, 17:44 schlomm |
You have not loaded anything into your database. Your installation is a totally separate one that knows nothing about any data that might exist in OpenStreetMap. Node 271428118 is a pub in Germany in OSM but the node with that ID could be a bus stop in Brazil in your database - or, more likely, just not exist in your database. You can use Osmosis to load OSM data into your database (look for the answered 14 May '14, 18:54 Frederik Ramm ♦ Thanks for the explanation.Very helpful.Until now I haven't realized that my OSM-Website wants/tries to access other/local/own data than these from openstreetmap.org itself (although I've check the component overview about the OSM-Architecture before I've started). I've read through the setup guides, but I didn't find something regarding on how to integrate a own data-source as well as a own Tile-Server. Do you have any information about this? Of course I can create a new question about "How to integrate other services?" in another question - might be the best way of providing a good overview.
(14 May '14, 19:03)
schlomm
|