Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

gosmore not rebuilding a pak-file #3826

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment
Closed

gosmore not rebuilding a pak-file #3826

openstreetmap-trac opened this issue Jul 23, 2021 · 1 comment

Comments

@openstreetmap-trac
Copy link

Reporter: anvoigt
[Submitted to the original trac issue database at 9.07pm, Wednesday, 15th June 2011]

I built gosmore_0.0.0.20100711.orig.tar.gz on my Suse 11.4 machine from source code.

It works fine when displaying the default map. But I cannot rebuild a map from homemade or downloaded .osm or .oms.bz2 files. It does not produce maps but only isolated names on an empty background.
The output of bash is somewhat inconclusive:

Hugo04:/usr/local/bin # bzcat OshikukuOshakatiOndangwa.osm.bz2 | ./gosmore rebuild
Building gosmore.pak using style /usr/local/share/gosmore/elemstyles.xml...
Icon public.png not found
Icon public.png not found
Icon religion/synagogue.png not found
Icon religion/mosque.png not found
Icon rendering/landuse/cemetery.png not found
Icon wlan.png not found
Icon rendering/landuse/cemetery.png not found
Processing without relations table
1 while (xmlTextReaderRead (xml) == 1)
2 while (fread (&nd, sizeof (nd), 1, groupf[i]) == 1)
.
.
.
490 for (pairs = 0; pairs < PAIRS && s2grp < S2GROUP (0) + S2GROUPS; )
491 for (ndType ndItr = ndBase; ndItr < ndBase + hashTable[bucketsMin1 + 1]; ndItr++)
492 qsort (&lseg[0], lseg.size () / 2, sizeof (lseg[0]) * 2, (int (
)(const void *, const void *))HalfSegCmp)
493 for (int i = 0; i < IDXGROUPS; i++)
Icon public.png not found
Icon public.png not found
Icon religion/synagogue.png not found
Icon religion/mosque.png not found
Icon rendering/landuse/cemetery.png not found
Icon wlan.png not found
Icon rendering/landuse/cemetery.png not found
./gosmore is in the public domain and comes without warranty

The bbox of africa is unfortunately too big for my Navi using wince. So I am stuck.

Can somebody tell me what I did wrong. Is it maybe the missing mosque and synagogue?

Andreas

@openstreetmap-trac
Copy link
Author

Author: openstreetmap[at]rational.co.za
[Added to the original trac issue at 10.14am, Friday, 17th June 2011]

This looks like an old bug where rebuild did not work if the decimal separator of your locale and the decimal separator of the XML file (.) did not match. It was fixed in changeset #23238

Please only use the latest source.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant