...mayby is in the osm data a kryptic text like this:


??
Arndt Röhrig <ar...@speichenkarte.de> hat am 27.12.2021 18:52 geschrieben:


Hi Gerd,

sorry, the uploaded file is from the Speiche-Baustelle.
My default style test has no contour lines, so the splitter put out other tiles.
I upload a n other file

The manupulatet points file:

# -------------------------------------------------------------------
# This is the default mkgmap style file for converting OSM nodes
# into Garmin POIs.
# Any line prefaced with # is a comment and will not be applied.
# Each line is a rule, of the generalised format:
# OSM_tag(s)_to_match [Garmin_type_code resolution]
# See http://wiki.openstreetmap.org/wiki/Mkgmap/help/style_rules
# and http://wiki.openstreetmap.org/wiki/Mkgmap/help/Custom_styles
# for more information.
addr:housenumber=* {set mkgmap:execute_finalize_rules=true}
# impose routing/speed restrictions due to access/barrier. See option --link-pois-to-ways
inscription=* {set name='TEST ${inscription|substring:0:30}'}
...


I take the osm file from here:


Option file:
copyright-message=(C) speichenkarte.de
product-id=1
license-file=.\Daten\LicenseMkgmap.txt
draw-priority=28
latin1
lower-case
max-jobs
merge-lines
allow-reverse-merge
line-types-with-direction=0x1e00
keep-going
remove-ovm-work-files
preserve-element-order
drive-on=detect,right
link-pois-to-ways
add-pois-to-areas
add-pois-to-lines
route
#check-roundabouts
#check-roundabout-flares
poi-address
location-autofill=is_in,nearest
housenumbers
process-destination
process-exits
bounds=.\Daten\bounds.zip
precomp-sea=.\Daten\sea.zip
generate-sea: land-tag=natural=background
show-profiles=1
polygon-size-limits=22:8,20:6,18:5,17:4,16:3,15:2,14:1,13:1
simplify-lines:22:4,20:6,18:8,17:9,16:10,15:11,14:12,13:13
simplify-polygons:22:4,20:6,18:8,17:9,16:10,15:11,14:12,13:13
improve-overview
dem=.\phyghtmap\hgt\Sonny1,.\phyghtmap\hgt\VIEW1,.\phyghtmap\hgt\Sonny3,.\phyghtmap\hgt\VIEW3,.\phyghtmap\hgt\SRTM1,.\phyghtmap\hgt\SRTM3
overview-dem-dist=90000
tdbfile
index
split-name-index
gmapi
add-boundary-nodes-at-admin-boundaries=4
x-no-force-end-nodes-routing-nodes
#report-routing-islands
max-routing-island-len=700
gmapsupp

Greetz

Arndt
Gerd Petermann <gpetermann_muenc...@hotmail.com> hat am 27.12.2021 16:52 geschrieben:


Hi Arndt,

I see no problems.
I added the line
inscription=* {set name='TEST ${inscription|substring:0:30}'}
at the top of the points file and used
java -jar dist\mkgmap.jar --style-file=d:\mkgmap\resources\styles\default --add-pois-to-areas f:\dwnload\temp\79320018.osm.pbf

No crash, maps looks OK. Where do you add the line? What options are neded to reproduce the error?

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk> im Auftrag von Arndt Röhrig <ar...@speichenkarte.de>
Gesendet: Montag, 27. Dezember 2021 16:43
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] r4836 stops Hungary & Romania

Hi Gerd,

i did it.

Greetz

Arndt
Gerd Petermann <gpetermann_muenc...@hotmail.com<mailto:gpetermann_muenc...@hotmail.com>> hat am 27.12.2021 16:29 geschrieben:


Hi Arndt,

cannot reproduce the problem. Please upload the tile that causes trouble to https://files.mkgmap.org.uk/

Gerd

________________________________________
Gesendet: Montag, 27. Dezember 2021 16:17
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] r4836 stops Hungary & Romania

Hi Gerd,

i put this to the points file from the default style:

inscription=* {set name='TEST ${inscription|substring:0:30}'}

mkgmap doesn´t work.

Greetz

Arndt
Arndt Röhrig <ar...@speichenkarte.de<mailto:ar...@speichenkarte.de>> hat am 27.12.2021 16:00 geschrieben:


Hi Gerd,

i try to remove this in the points file:
inscription=* {set SpeicheName='${SpeicheName} ${inscription}' | '${inscription}'}

mkgmap works!

After that i try this:
inscription=* {set SpeicheName='${SpeicheName} ${inscription|substring:0:30}' | '${inscription|substring:0:30}'}

The result is, that more tiles will not work.

Something in the tag "inscription" ,in hungary and romania, confuses mkgmap and the substring function.

Greetz

Arndt

Arndt Röhrig <ar...@speichenkarte.de<mailto:ar...@speichenkarte.de>> hat am 27.12.2021 15:08 geschrieben:


Hi Gerd,

nul is removed, but nothing happens.
i try this in the points file: {set mkgmap:label:1='${SpeicheName|substring:0:169}'}
The result is, that more tiles will not work. Also 4827 doesn´t work with this.

Very confusing?

Greetz
Arndt

Gerd Petermann <gpetermann_muenc...@hotmail.com<mailto:gpetermann_muenc...@hotmail.com><mailto:gpetermann_muenc...@hotmail.com<mailto:gpetermann_muenc...@hotmail.com>>> hat am 27.12.2021 14:20 geschrieben:


Hi Arndt,

I see that you redirect the output to nul. Try to remove that to get more info

Gerd

________________________________________
Gesendet: Montag, 27. Dezember 2021 14:11
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] r4836 stops Hungary & Romania

Hi Gerd,

there is a problem with the names in the points file.

If i set {set mkgmap:label:1='${name}'} instead of {set mkgmap:label:1='${SpeicheName}'} it works.

SpeicheName includes something like that:

parking=* {set SpeicheName='${SpeicheName} ${parking}' | '${parking}'}
capacity=* {set SpeicheName='${SpeicheName} cap:${capacity}' | 'cap:${capacity}'}
population=* {set SpeicheName='${SpeicheName} population:${population}' | 'population:${population}'}
operator=* {set SpeicheName='${SpeicheName} ${operator}' | '${operator}'}
brand=* {set SpeicheName='${SpeicheName} ${brand}' | '${brand}'}
sport=* {set SpeicheName='${SpeicheName} ${sport}' | '${sport}'}

and many other tags.

In hungary & romania is that a problem. But what problem? r4827 works, 4837 not.

Greetzs

Arndt


Hi Arndt,

what's the reason for the empty/missing tiles? There must be an error message (in the log?) or a traceback

Gerd

________________________________________
Gesendet: Montag, 27. Dezember 2021 12:03
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] r4836 stops Hungary & Romania

Hi Gerd,

unfortunately the same result with r4837.

Greetz

Arndt



Hi Arndt,


please check if the problem is fixed with r4837.
If yes, your style must somehow create labels with lots of (170 or more) leading blanks.

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk<mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk><mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk<mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk>><mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk<mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk><mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk<mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk>>><mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk<mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk><mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk<mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk>><mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk<mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk><mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk<mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk>>>>> im Auftrag von Arndt Röhrig <ar...@speichenkarte.de<mailto:ar...@speichenkarte.de><mailto:ar...@speichenkarte.de<mailto:ar...@speichenkarte.de>><mailto:ar...@speichenkarte.de<mailto:ar...@speichenkarte.de><mailto:ar...@speichenkarte.de<mailto:ar...@speichenkarte.de>>><mailto:ar...@speichenkarte.de<mailto:ar...@speichenkarte.de><mailto:ar...@speichenkarte.de<mailto:ar...@speichenkarte.de>><mailto:ar...@speichenkarte.de<mailto:ar...@speichenkarte.de><mailto:ar...@speichenkarte.de<mailto:ar...@speichenkarte.de>>>>>
Gesendet: Montag, 27. Dezember 2021 11:35
An: Development list for mkgmap
Betreff: Re: [mkgmap-dev] r4836 stops Hungary & Romania

Hi Gerd,

Oh, I'm just noticing, that tile 18/22 is missing (hungary). I test romania and see, that tile 10/50 is missing. The ovm tiles has 0 byte.

Mkgmap version 4836
Time started: Mon Dec 27 11:28:17 CET 2021
_

This is the last see and nothing happens.

Greetz

Arndt



Gerd Petermann <gpetermann_muenc...@hotmail.com<mailto:gpetermann_muenc...@hotmail.com><mailto:gpetermann_muenc...@hotmail.com<mailto:gpetermann_muenc...@hotmail.com>><mailto:gpetermann_muenc...@hotmail.com<mailto:gpetermann_muenc...@hotmail.com><mailto:gpetermann_muenc...@hotmail.com<mailto:gpetermann_muenc...@hotmail.com>>><mailto:gpetermann_muenc...@hotmail.com<mailto:gpetermann_muenc...@hotmail.com><mailto:gpetermann_muenc...@hotmail.com<mailto:gpetermann_muenc...@hotmail.com>><mailto:gpetermann_muenc...@hotmail.com<mailto:gpetermann_muenc...@hotmail.com><mailto:gpetermann_muenc...@hotmail.com<mailto:gpetermann_muenc...@hotmail.com>>>><mailto:gpetermann_muenc...@hotmail.com<mailto:gpetermann_muenc...@hotmail.com><mailto:gpetermann_muenc...@hotmail.com<mailto:gpetermann_muenc...@hotmail.com>><mailto:gpetermann_muenc...@hotmail.com<mailto:gpetermann_muenc...@hotmail.com><mailto:gpetermann_muenc...@hotmail.com<mailto:gpetermann_muenc...@hotmail.com>>><mailto:gpetermann_muenc...@hotmail.com<mailto:gpetermann_muenc...@hotmail.com><mailto:gpetermann_muenc...@hotmail.com<mailto:gpetermann_muenc...@hotmail.com>><mailto:gpetermann_muenc...@hotmail.com<mailto:gpetermann_muenc...@hotmail.com><mailto:gpetermann_muenc...@hotmail.com<mailto:gpetermann_muenc...@hotmail.com>>>>>> hat am 27.12.2021 10:57 geschrieben:


Hi Arndt,

I don't see how the changes between r4827 and r4836 could cause a silent stop.
I'd expect a crash while calculating the tiles when your style produces a label starting with 170 or more blanks
or or a message "MDR sub file is too large" if the global index gets too large.
What exactly happens when "mkgmap stops without any reaction"?
What is it supposed to do?

Gerd

________________________________________
Von: mkgmap-dev <mkgmap-dev-boun...@lists.mkgmap.org.uk<mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk><mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk<mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk>><mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk<mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk><mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk<mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk>>><mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk<mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk><mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk<mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk>><mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk<mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk><mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk<mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk>>>><mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk<mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk><mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk<mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk>><mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk<mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk><mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk<mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk>>><mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk<mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk><mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk<mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk>><mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk<mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk><mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk<mailto:mkgmap-dev-boun...@lists.mkgmap.org.uk>>>>>> im Auftrag von Arndt Röhrig <ar...@speichenkarte.de<mailto:ar...@speichenkarte.de><mailto:ar...@speichenkarte.de<mailto:ar...@speichenkarte.de>><mailto:ar...@speichenkarte.de<mailto:ar...@speichenkarte.de><mailto:ar...@speichenkarte.de<mailto:ar...@speichenkarte.de>>><mailto:ar...@speichenkarte.de<mailto:ar...@speichenkarte.de><mailto:ar...@speichenkarte.de<mailto:ar...@speichenkarte.de>><mailto:ar...@speichenkarte.de<mailto:ar...@speichenkarte.de><mailto:ar...@speichenkarte.de<mailto:ar...@speichenkarte.de>>>><mailto:ar...@speichenkarte.de<mailto:ar...@speichenkarte.de><mailto:ar...@speichenkarte.de<mailto:ar...@speichenkarte.de>><mailto:ar...@speichenkarte.de<mailto:ar...@speichenkarte.de><mailto:ar...@speichenkarte.de<mailto:ar...@speichenkarte.de>>><mailto:ar...@speichenkarte.de<mailto:ar...@speichenkarte.de><mailto:ar...@speichenkarte.de<mailto:ar...@speichenkarte.de>><mailto:ar...@speichenkarte.de<mailto:ar...@speichenkarte.de><mailto:ar...@speichenkarte.de<mailto:ar...@speichenkarte.de>>>>>>
Gesendet: Montag, 27. Dezember 2021 10:40
An: Development list for mkgmap
Betreff: [mkgmap-dev] r4836 stops Hungary & Romania

I wish you had a merry christmas!

There is a problem with my style (speichenkarte) and r4836.
mkgmap stops without any reaction after building the tiles from hungary and romania. All other countrys works well.
If i use r4827 mkgmap works.
r4836 and the default style hungary and romania works.

Have you any idea, what can i change in the style?

Greetz

Arndt



_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk><mailto:mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk>><mailto:mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk><mailto:mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk>>><mailto:mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk><mailto:mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk>><mailto:mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk><mailto:mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk>>>><mailto:mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk><mailto:mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk>><mailto:mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk><mailto:mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk>>><mailto:mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk><mailto:mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk>><mailto:mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk><mailto:mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk>>>>>
_______________________________________________
mkgmap-dev mailing list
_______________________________________________
mkgmap-dev mailing list
_______________________________________________
mkgmap-dev mailing list
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk> https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk<mailto:mkgmap-dev@lists.mkgmap.org.uk> https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
_______________________________________________
mkgmap-dev mailing list
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
_______________________________________________
mkgmap-dev mailing list
mkgmap-dev@lists.mkgmap.org.uk
https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to