I'm trying to convert an OSM file that it needed to be developed with private data to the format .map using osmosis
with mapforge-map-writer
, but the data for the survey point are being totally ignored in .map
generation. I've investigated the code, but I can't understand what is happening.
I've used the following command:
./osmosis --rx file = lotes.osm --mapfile-writing file = lotes.map
I set the entry of bounds, yet nothing is being placed in the generated .map.
Below is the map to build the references of bounds:
<?xml version='1.0' encoding='UTF-8'?>
<osm version='0.6' upload='true' generator='JOSM'>
<bounds minlat="-8.156" minlon="-35.008" maxlat="-7.931" maxlon="-33.865"/>
<node id='-32' action='modify' visible='true' version="11" timestamp="2008-01-02T03:04:05Z" uid="20" user="user20" lat='-8.06393367554' lon='-34.88970060001' />
<node id='-33' action='modify' visible='true' version="11" timestamp="2008-01-02T03:04:05Z" uid="20" user="user20" lat='-8.06083075789' lon='-34.88378983943' />
<node id='-35' action='modify' visible='true' version="11" timestamp="2008-01-02T03:04:05Z" uid="20" user="user20" lat='-8.06409078466' lon='-34.87984272078' />
<node id='-37' action='modify' visible='true' version="11" timestamp="2008-01-02T03:04:05Z" uid="20" user="user20" lat='-8.06758644682' lon='-34.88739976703' />
<node id='-41' action='modify' visible='true' version="11" timestamp="2008-01-02T03:04:05Z" uid="20" user="user20" lat='-8.06793993906' lon='-34.88718158459' />
<node id='-42' action='modify' visible='true' version="11" timestamp="2008-01-02T03:04:05Z" uid="20" user="user20" lat='-8.06432644823' lon='-34.87960470357' />
<node id='-44' action='modify' visible='true' version="11" timestamp="2008-01-02T03:04:05Z" uid="20" user="user20" lat='-8.06778283143' lon='-34.87599477597' />
<node id='-46' action='modify' visible='true' version="11" timestamp="2008-01-02T03:04:05Z" uid="20" user="user20" lat='-8.07208363064' lon='-34.88442455197' />
<node id='-50' action='modify' visible='true' version="11" timestamp="2008-01-02T03:04:05Z" uid="20" user="user20" lat='-8.06411042329' lon='-34.88999812152' />
<node id='-51' action='modify' visible='true' version="11" timestamp="2008-01-02T03:04:05Z" uid="20" user="user20" lat='-8.06774355452' lon='-34.88777662761' />
<node id='-53' action='modify' visible='true' version="11" timestamp="2008-01-02T03:04:05Z" uid="20" user="user20" lat='-8.07035546112' lon='-34.89225928496' />
<node id='-55' action='modify' visible='true' version="11" timestamp="2008-01-02T03:04:05Z" uid="20" user="user20" lat='-8.06629030595' lon='-34.89446094411' />
<node id='-59' action='modify' visible='true' version="11" timestamp="2008-01-02T03:04:05Z" uid="20" user="user20" lat='-8.06045762062' lon='-34.88329397025' />
<node id='-60' action='modify' visible='true' version="11" timestamp="2008-01-02T03:04:05Z" uid="20" user="user20" lat='-8.06405150738' lon='-34.87920800823' />
<node id='-62' action='modify' visible='true' version="11" timestamp="2008-01-02T03:04:05Z" uid="20" user="user20" lat='-8.06204836132' lon='-34.8744674989' />
<node id='-64' action='modify' visible='true' version="11" timestamp="2008-01-02T03:04:05Z" uid="20" user="user20" lat='-8.05876867919' lon='-34.87968404264' />
<way id='-34' action='modify' visible='true' version="11" timestamp="2008-01-02T03:04:05Z" uid="20" user="user20">
<nd ref='-32' />
<nd ref='-33' />
<nd ref='-35' />
<nd ref='-37' />
<nd ref='-32' />
<tag k='DSQFL' v='154' />
</way>
<way id='-43' action='modify' visible='true' version="11" timestamp="2008-01-02T03:04:05Z" uid="20" user="user20">
<nd ref='-41' />
<nd ref='-42' />
<nd ref='-44' />
<nd ref='-46' />
<nd ref='-41' />
<tag k='DSQFL' v='160' />
</way>
<way id='-52' action='modify' visible='true' version="11" timestamp="2008-01-02T03:04:05Z" uid="20" user="user20">
<nd ref='-50' />
<nd ref='-51' />
<nd ref='-53' />
<nd ref='-55' />
<nd ref='-50' />
<tag k='DSQFL' v='153' />
</way>
<way id='-61' action='modify' visible='true' version="11" timestamp="2008-01-02T03:04:05Z" uid="20" user="user20">
<nd ref='-59' />
<nd ref='-60' />
<nd ref='-62' />
<nd ref='-64' />
<nd ref='-59' />
<tag k='DSQFL' v='155' />
</way>
</osm>
But when I see the binary file generated, open through a hex editor I can't see the tags placed.
While other files directly downloaded at OpenStreetMaps site can be converted without problems.
What is wrong to osmosis
ignore these polygons?