[OSM-dev] libosmium / spatialindex

2016-01-17 Thread Florian Lohoff

Hi,

I am playing around with QA and for that i am using libosmium to walk
through the pbf files. Simple bugs are easy to do like missing, tags,
tags on wrong objects, broken tag combinations. For node reusage
for areas i used a std::vector in a node index which worked
okay.

Now i am progressing to more complex checks with spatial relation and
for that i am thinking of writing ways e.g. their geometry and their
tags into a spatial index.

I used libspatialindex for that and wrote myself some code to create a
serialized compressed way (tags/values as variable length integers
and a geos wkb geometry). It works "sort of" but i am dissatisfied by
the code and keep refactoring it over and over which does not make it
more beautiful.

As typically i am not the first to approach stuff like that most likely
somebody else has already done that with libosmium.

So - Does anyone already have a generic Osmium Object Spatial Index
storage at hand that i just overlooked?

Flo
-- 
Florian Lohoff f...@zz.de
  We need to self-defend - GnuPG/PGP enable your email today!


signature.asc
Description: Digital signature
___
dev mailing list
dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/dev


Re: [josm-dev] Build without apache-commons-jcs?

2016-01-17 Thread Matěj Cepl
On 2016-01-16, 22:58 GMT, Wiktor Niesiobedzki wrote:
> But I find it hard to believe that EHEL doesn't contain log4j 
> for example.

I was more distressed by the length of the failing list than its 
particular members. Some of it may be missing metadata (that 
mvn() thingy is a recent development), so yes, we have log4j 
actually straight in RHEL (log4j-1.2.17-15.el7).

Best,

Matěj

-- 
https://matej.ceplovi.cz/blog/, Jabber: mc...@ceplovi.cz
GPG Finger: 89EF 4BC6 288A BF43 1BAB  25C3 E09F EF25 D964 84AC
 
It is the mark of an educated mind to be able to entertain a thought
without accepting it.
  -- Aristotle


___
josm-dev mailing list
josm-dev@openstreetmap.org
https://lists.openstreetmap.org/listinfo/josm-dev