Closed puffetto closed 2 years ago
Addenda, this is the query, but I think it's an irrelevant detail... fact is that I cannot query "area" stuff:
blackye@antani:~/overpass cat ../fica.xml
<osm-script output="json">
<query into="a" type="area">
<id-query type="area" ref="3600044787" into="a"/>
</query>
<union into="_">
<query into="_" type="way">
<has-kv k="name" modv="" v=""/>
<has-kv k="highway" modv="" v=""/>
<has-kv k="highway" modv="not" regv="path"/>
<has-kv k="highway" modv="not" regv="steps"/>
<has-kv k="highway" modv="not" regv="motorway"/>
<has-kv k="highway" modv="not" regv="motorway_link"/>
<has-kv k="highway" modv="not" regv="raceway"/>
<has-kv k="highway" modv="not" regv="bridleway"/>
<has-kv k="highway" modv="not" regv="proposed"/>
<has-kv k="highway" modv="not" regv="construction"/>
<has-kv k="highway" modv="not" regv="elevator"/>
<has-kv k="highway" modv="not" regv="bus_guideway"/>
<has-kv k="highway" modv="not" regv="footway"/>
<has-kv k="highway" modv="not" regv="cycleway"/>
<has-kv k="foot" modv="not" regv="no"/>
<has-kv k="access" modv="not" regv="private"/>
<has-kv k="access" modv="not" regv="no"/>
<area-query from="a"/>
</query>
<query into="_" type="node">
<recurse type="way-node"/>
<area-query from="a"/>
</query>
</union>
<print e="" from="_" geometry="skeleton" ids="yes" limit="" mode="body" n="" order="id" s="" w=""/>
</osm-script>
You need to create your areas first as described in the installation instructions. http://overpass-api.de/full_installation.html
Please note that this issue tracker is primarily used for bug reports and enhancement requests. You can find more appropriate locations for community support in the osm wiki: https://wiki.openstreetmap.org/wiki/Overpass_API#Community:_where_can_I_get_help.3F
Thanks and apologizes for the noise: solved. I had missed one step, I had to run the "$EXEC_DIR/bin/rules_loop.sh" thing, I thought it would have been the area dispatcher creating the areas.
Hello,
I have set up and started an overpass server on FreeBSD 12.2 (./configure CXXFLAGS="-O2 -DNATIVE_LARGE_FILES -I/usr/local/include" LDFLAGS="-L/usr/local/lib" --prefix=$EXEC_DIR), then have imported the osm files for Italy+Vatican+SanMarino (osmosis --read-pbf italy.osm.pbf --read-pbf san_marino.osm.pbf --read-pbf vatican_city.osm.pbf --merge --merge --write-xml file="-" | $EXEC_DIR/bin/update_database --db-dir=$DB_DIR/ --meta) and started the main dispatcher (nohup $EXEC_DIR/bin/dispatcher --osm-base --db-dir=$DB_DIR --meta &) and the area dispatcher ($EXEC_DIR/bin/dispatcher --areas --db-dir=./data/).
Everything seems to be running nicely:
However I still cannot query with areas stuff:
I understand that creating the "areas" stuff can take up to 24 hours but... it seems like the daemon isn't doing anything:
Is there something I can do to tell the kid that it is time to start working or am I missing something?
Thanks,
A.