2013/7/28 vshcherb <notifications@github.com>

> In obf-generation/address_maps/generate_addresses_via_osmfilter.sh:
>
> >      # convert back to  format suitable for OsmAndMapCreator
> > -    osmconvert ${OSMDIR}/${basecountry}_address.o5m -o=${OSMDIR}/${basecountry}_address.osm.pbf
> > +    ~/osmplanet/osmconvert32 ${OSMDIR}/${basecountry}_address.o5m -o=${OSMDIR}/${basecountry}_address.osm.pbf
>
> why do we use ~/osmplanet/osmconvert32 ? May be this pattern comes from
> planet script but I would prefer to change it as well (as dirty/nasty)
> My suggestion is
> if [[ -z osmconvert ]]; then
> wget -O - http://m.m.i24.cc/osmconvert.c | cc -x c - -lz -O3 -o osmconvert
> fi
>
I already tried this one but the lz library and include files can't be
accessed from the jenkins user. I wrote find commands but I (jenkins)
simply doesn't have access to these files/folders.



> or
> wget http://m.m.i24.cc/osmconvert32
>
>
yes. That last one is a good one but should then be:
wget http://m.m.i24.cc/osmconvert32 ; chmod a+x osmconvert32

I did some tests with  a project "GenerateAddressIndexes" but I get errors
with the map creation. I first tried the "ant compile" step as I thought
the working folder should contain the source, but I got errors on that as
well, so I removed it.

Harry