-
Notifications
You must be signed in to change notification settings - Fork 18
/
ChangeLog
4200 lines (3714 loc) · 187 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2008-12-20 steve
* src/uk/me/parabola/imgfmt/app/trergn/Subdivision.java: Ensure
that it is impossible for subdivisions to be too big. They are
just limited to the max size if found to be so.
2008-12-16 steve
* src/uk/me/parabola/mkgmap/Version.java,
src/uk/me/parabola/mkgmap/combiners/TdbBuilder.java,
src/uk/me/parabola/mkgmap/filters/PolygonSizeSplitterFilter.java:
Fix the rounding of the map definition areas (I hope).
2008-12-15 steve
* src/uk/me/parabola/mkgmap/osmstyle/OverlayReader.java,
test/uk/me/parabola/mkgmap/osmstyle/StyledConverterTest.java:
Points were not copied when overlays were in use.
2008-12-14 steve
* mkgmap.ipr, src/uk/me/parabola/mkgmap/combiners/OverviewMap.java,
src/uk/me/parabola/mkgmap/combiners/TdbBuilder.java,
src/uk/me/parabola/mkgmap/main/Main.java,
src/uk/me/parabola/mkgmap/reader/overview/OverviewMap.java,
src/uk/me/parabola/mkgmap/reader/overview/OverviewMapDataSource.java:
Misc: Rearranged overview map classes. Planning to re-work so
that it works again.
2008-12-13 steve
* Makefile, mkgmap.ipr,
src/uk/me/parabola/imgfmt/ExitException.java,
src/uk/me/parabola/imgfmt/app/BufferedImgFileWriter.java,
src/uk/me/parabola/imgfmt/sys/BlockManager.java,
src/uk/me/parabola/mkgmap/CommandArgs.java,
src/uk/me/parabola/mkgmap/ExitException.java,
src/uk/me/parabola/mkgmap/combiners/TdbBuilder.java,
src/uk/me/parabola/mkgmap/general/AreaClipper.java,
src/uk/me/parabola/mkgmap/general/Clipper.java,
src/uk/me/parabola/mkgmap/general/LevelInfo.java,
src/uk/me/parabola/mkgmap/general/LineAdder.java,
src/uk/me/parabola/mkgmap/general/NullClipper.java,
src/uk/me/parabola/mkgmap/main/AbstractTestMap.java,
src/uk/me/parabola/mkgmap/main/Main.java,
src/uk/me/parabola/mkgmap/main/MapMaker.java,
src/uk/me/parabola/mkgmap/osmstyle/LineAdder.java,
src/uk/me/parabola/mkgmap/osmstyle/OverlayReader.java,
src/uk/me/parabola/mkgmap/osmstyle/RuleSet.java,
src/uk/me/parabola/mkgmap/osmstyle/StyleImpl.java,
src/uk/me/parabola/mkgmap/osmstyle/StyledConverter.java,
src/uk/me/parabola/mkgmap/reader/osm/GType.java,
src/uk/me/parabola/mkgmap/reader/osm/Style.java,
src/uk/me/parabola/mkgmap/reader/osm/xml/Osm5MapDataSource.java:
Misc: Reorganise the package structure to remove cycles that were
introduced in the style system.
* src/uk/me/parabola/mkgmap/osmstyle/StyledConverter.java,
src/uk/me/parabola/mkgmap/osmstyle/eval/ExpressionReader.java,
test/resources/teststyles/derived,
test/resources/teststyles/derived/info,
test/resources/teststyles/derived/lines,
test/resources/teststyles/derived/version,
test/resources/teststyles/simple/lines,
test/uk/me/parabola/imgfmt/app/typ/TYPFileTest.java,
test/uk/me/parabola/mkgmap/osmstyle/ActionReaderTest.java,
test/uk/me/parabola/mkgmap/osmstyle/RuleFileReaderTest.java,
test/uk/me/parabola/mkgmap/osmstyle/StyledConverterTest.java:
Recognise the match operator, add test for derived styles.
* src/uk/me/parabola/mkgmap/osmstyle/eval/Op.java,
src/uk/me/parabola/mkgmap/osmstyle/eval/RegexOp.java: Add regex
operation for rules files.
2008-12-10 steve
* resources/styles/noname/lines: The noname style was mostly
invisible when in the night-time scheme. So use a different code
for named roads.
* src/uk/me/parabola/imgfmt/app/trergn/Point.java,
src/uk/me/parabola/mkgmap/build/MapBuilder.java,
src/uk/me/parabola/mkgmap/general/AreaClipper.java,
src/uk/me/parabola/mkgmap/general/Clipper.java,
src/uk/me/parabola/mkgmap/general/MapDetails.java,
src/uk/me/parabola/mkgmap/general/MapPoint.java,
src/uk/me/parabola/mkgmap/general/NullClipper.java,
src/uk/me/parabola/mkgmap/osmstyle/LineAdder.java,
src/uk/me/parabola/mkgmap/osmstyle/OverlayReader.java,
src/uk/me/parabola/mkgmap/osmstyle/RuleSet.java,
src/uk/me/parabola/mkgmap/osmstyle/StyleImpl.java,
src/uk/me/parabola/mkgmap/osmstyle/StyledConverter.java,
src/uk/me/parabola/mkgmap/reader/osm/GType.java,
src/uk/me/parabola/mkgmap/reader/osm/Style.java,
src/uk/me/parabola/mkgmap/reader/osm/Tags.java,
src/uk/me/parabola/mkgmap/reader/polish/PolishMapDataSource.java,
src/uk/me/parabola/mkgmap/reader/test/AllElements.java,
src/uk/me/parabola/mkgmap/reader/test/TestPoints.java,
src/uk/me/parabola/mkgmap/scan/TokenScanner.java,
test/resources/teststyles/simple/lines,
test/resources/teststyles/simple/overlays,
test/uk/me/parabola/mkgmap/osmstyle/ActionReaderTest.java,
test/uk/me/parabola/mkgmap/osmstyle/StyledConverterTest.java,
test/uk/me/parabola/mkgmap/reader/osm/ElementTest.java,
test/uk/me/parabola/mkgmap/reader/osm/TagsTest.java: Implement
overlays.
With this feature you can have a line style that is formed by
over laying two lines. By using a TYP file with appropriate
definitions, you can create some useful effects.
To use this create an overlays file in the style. Lines in the
file look like this:
0x142: 0x12, 0x17, 0x18
This means that if you have a line of type 0x142, it will be
written as three lines with types 0x12, 0x17 and 0x18
respectively instead of 0x142.
2008-12-09 steve
* mkgmap.iml, src/uk/me/parabola/mkgmap/reader/osm/Element.java,
src/uk/me/parabola/mkgmap/reader/osm/SimpleMap.java,
src/uk/me/parabola/mkgmap/reader/osm/Tags.java,
test/uk/me/parabola/mkgmap/reader/osm/TagsTest.java: Rename
SimpleMap to Tags to reflect its only use.
* src/uk/me/parabola/mkgmap/general/MapElement.java: Bug fix for
max resolution.
2008-12-08 steve
* Makefile, resources/styles/default/lines,
resources/styles/default/relations, resources/styles/noname,
resources/styles/noname/info, resources/styles/noname/lines,
resources/styles/noname/version,
src/uk/me/parabola/mkgmap/CommandArgs.java,
src/uk/me/parabola/mkgmap/main/Main.java,
src/uk/me/parabola/mkgmap/osmstyle/RuleFileReader.java,
src/uk/me/parabola/mkgmap/osmstyle/SequenceRule.java,
src/uk/me/parabola/mkgmap/osmstyle/StyleImpl.java,
src/uk/me/parabola/mkgmap/osmstyle/StylePrinter.java,
src/uk/me/parabola/mkgmap/osmstyle/eval/NotExistsOp.java,
src/uk/me/parabola/mkgmap/reader/osm/Element.java,
src/uk/me/parabola/mkgmap/reader/osm/GType.java,
src/uk/me/parabola/mkgmap/reader/osm/SimpleMap.java,
src/uk/me/parabola/mkgmap/reader/osm/xml/Osm5MapDataSource.java,
test/resources/teststyles/simple/lines,
test/uk/me/parabola/mkgmap/osmstyle/ActionReaderTest.java,
test/uk/me/parabola/mkgmap/osmstyle/RuleFileReaderTest.java,
test/uk/me/parabola/mkgmap/osmstyle/StyledConverterTest.java: Add
a noname style.
Can be used with --style=noname
Major roads that do not have a ref, as well as residential roads
that do not have a name are highlighted. You can use the tag
noname=yes to show that a road doesn't have and name and
therefore shouldn't be highlighted.
No-name roads show up as a thick line that is visible at higher
zooms than is usual for residential roads to help you find areas
with poor naming coverage.
2008-12-07 steve
* resources/styles/default/info, resources/styles/default/lines,
resources/styles/default/map-features.csv,
resources/styles/default/points,
resources/styles/default/polygons,
src/uk/me/parabola/mkgmap/osmstyle/SequenceRule.java,
src/uk/me/parabola/mkgmap/osmstyle/StylePrinter.java,
src/uk/me/parabola/mkgmap/osmstyle/actions/AddTagAction.java,
src/uk/me/parabola/mkgmap/osmstyle/actions/NameAction.java,
src/uk/me/parabola/mkgmap/osmstyle/actions/ValueBuilder.java,
src/uk/me/parabola/mkgmap/osmstyle/actions/ValueItem.java,
src/uk/me/parabola/mkgmap/reader/osm/xml/Osm5XmlHandler.java,
src/uk/me/parabola/mkgmap/scan/TokenScanner.java,
test/resources/teststyles/empty,
test/resources/teststyles/empty/points,
test/resources/teststyles/empty/relations,
test/resources/teststyles/empty/version,
test/uk/me/parabola/mkgmap/osmstyle/StyleImplTest.java: Make the
default style a rules-based one.
Fix a bug when a file is empty.
add to strings to the value action rules.
* src/uk/me/parabola/mkgmap/osmstyle/StyleImpl.java,
src/uk/me/parabola/mkgmap/osmstyle/StyledConverter.java,
src/uk/me/parabola/mkgmap/osmstyle/actions/ConvertFilter.java,
src/uk/me/parabola/mkgmap/osmstyle/actions/ValueItem.java,
src/uk/me/parabola/mkgmap/reader/osm/Element.java,
src/uk/me/parabola/mkgmap/reader/osm/OsmConverter.java,
src/uk/me/parabola/mkgmap/reader/osm/xml/Osm5XmlHandler.java,
test/uk/me/parabola/mkgmap/osmstyle/actions/AddTagActionTest.java:
Remove old hardcoded rules for name and contours but add
equivilent rules if you are using an old map-features.csv based
style for backward compatibility.
New styles have to be particular about how to format the name of
a road and how to deal with contour lines etc.
* ., doc/style-rules.txt, mkgmap.iml, mkgmap.ipr,
src/uk/me/parabola/imgfmt/app/typ,
src/uk/me/parabola/mkgmap/Options.java,
src/uk/me/parabola/mkgmap/osmstyle/RuleFileReader.java,
src/uk/me/parabola/mkgmap/osmstyle/StyleFileLoader.java,
src/uk/me/parabola/mkgmap/osmstyle/StyleImpl.java,
src/uk/me/parabola/mkgmap/osmstyle/StyledConverter.java,
src/uk/me/parabola/mkgmap/osmstyle/TypeReader.java,
src/uk/me/parabola/mkgmap/osmstyle/actions/Action.java,
src/uk/me/parabola/mkgmap/osmstyle/actions/ActionReader.java,
src/uk/me/parabola/mkgmap/osmstyle/actions/AddTagAction.java,
src/uk/me/parabola/mkgmap/osmstyle/actions/ConvertFilter.java,
src/uk/me/parabola/mkgmap/osmstyle/actions/DefaultFilter.java,
src/uk/me/parabola/mkgmap/osmstyle/actions/DeleteAction.java,
src/uk/me/parabola/mkgmap/osmstyle/actions/NameAction.java,
src/uk/me/parabola/mkgmap/osmstyle/actions/SubAction.java,
src/uk/me/parabola/mkgmap/osmstyle/actions/ValueBuilder.java,
src/uk/me/parabola/mkgmap/osmstyle/actions/ValueFilter.java,
src/uk/me/parabola/mkgmap/osmstyle/actions/ValueItem.java,
src/uk/me/parabola/mkgmap/osmstyle/eval/ExpressionReader.java,
src/uk/me/parabola/mkgmap/osmstyle/eval/Op.java,
src/uk/me/parabola/mkgmap/osmstyle/eval/UnitConversions.java,
src/uk/me/parabola/mkgmap/reader/osm/Element.java,
src/uk/me/parabola/mkgmap/reader/osm/GType.java,
src/uk/me/parabola/mkgmap/reader/osm/OsmConverter.java,
src/uk/me/parabola/mkgmap/reader/osm/Relation.java,
src/uk/me/parabola/mkgmap/scan/TokenScanner.java, test/resources,
test/resources/teststyles, test/resources/teststyles/simple,
test/resources/teststyles/simple/info,
test/resources/teststyles/simple/lines,
test/resources/teststyles/simple/options,
test/resources/teststyles/simple/version, test/uk, test/uk/me,
test/uk/me/parabola, test/uk/me/parabola/mkgmap,
test/uk/me/parabola/mkgmap/osmstyle/ActionReaderTest.java,
test/uk/me/parabola/mkgmap/osmstyle/RuleFileReaderTest.java,
test/uk/me/parabola/mkgmap/osmstyle/StyleImplTest.java,
test/uk/me/parabola/mkgmap/osmstyle/StyledConverterTest.java,
test/uk/me/parabola/mkgmap/osmstyle/actions/AddTagActionTest.java,
test/uk/me/parabola/mkgmap/reader,
test/uk/me/parabola/mkgmap/reader/osm,
test/uk/me/parabola/mkgmap/reader/osm/ElementTest.java: Merge
style branch into trunk.
The style system is now nearly complete. Will then remove the
hardcoded rules for name and contours.
* build.xml: Don't include the source in the distributions as we
have a separate source one now and have done for a while.
2008-12-06 steve
* src/uk/me/parabola/mkgmap/combiners/GmapsuppBuilder.java: Make
the MPS file name distinctive.
* mkgmap.ipr, src/uk/me/parabola/imgfmt/sys/BlockManager.java,
src/uk/me/parabola/imgfmt/sys/Directory.java,
src/uk/me/parabola/mkgmap/combiners/FileInfo.java,
src/uk/me/parabola/mkgmap/combiners/GmapsuppBuilder.java:
Calculate the block size needed for the gmapsupp correctly. Was
ignoring the main constraint while concentrating on a minor
one....
Also there should be a warning now if the directory overflows. If
it does that would be a bug.
2008-12-01 steve
* mkgmap.ipr, src/uk/me/parabola/imgfmt/app/CommonHeader.java,
src/uk/me/parabola/imgfmt/app/ImgFile.java,
src/uk/me/parabola/imgfmt/app/trergn/LinePreparer.java,
src/uk/me/parabola/imgfmt/app/typ/BitmapImage.java,
src/uk/me/parabola/imgfmt/app/typ/PointInfo.java,
src/uk/me/parabola/mkgmap/filters/FilterConfig.java,
src/uk/me/parabola/mkgmap/general/LineClipper.java,
src/uk/me/parabola/mkgmap/reader/osm/MultiPolygonRelation.java,
test/uk/me/parabola/imgfmt/app/typ,
test/uk/me/parabola/imgfmt/app/typ/TYPFileTest.java: Misc: code
clean up.
2008-11-30 steve
* src/uk/me/parabola/imgfmt/FormatException.java,
src/uk/me/parabola/imgfmt/app/ImgFile.java,
src/uk/me/parabola/imgfmt/app/Writeable.java,
src/uk/me/parabola/imgfmt/app/typ,
src/uk/me/parabola/imgfmt/app/typ/BitmapImage.java,
src/uk/me/parabola/imgfmt/app/typ/DrawOrder.java,
src/uk/me/parabola/imgfmt/app/typ/PointInfo.java,
src/uk/me/parabola/imgfmt/app/typ/Rgb.java,
src/uk/me/parabola/imgfmt/app/typ/ShapeStacking.java,
src/uk/me/parabola/imgfmt/app/typ/TYPFile.java,
src/uk/me/parabola/imgfmt/app/typ/TYPHeader.java: Brought in the
TYP file implementation from Thomas Lußnig.
This is from the typpoi branch, there is still more to be
integrated from that branch.
* src/uk/me/parabola/mkgmap/osmstyle/Action.java,
src/uk/me/parabola/mkgmap/osmstyle/StyleImpl.java,
src/uk/me/parabola/mkgmap/osmstyle/StylePrinter.java,
src/uk/me/parabola/mkgmap/reader/osm/GType.java,
src/uk/me/parabola/mkgmap/scan/TokenScanner.java: Misc: Code
tidy.
* ., Makefile, doc/style.txt, mkgmap.ipr,
src/uk/me/parabola/mkgmap/build/MapBuilder.java,
src/uk/me/parabola/mkgmap/general/Clipper.java,
src/uk/me/parabola/mkgmap/general/MapElement.java,
src/uk/me/parabola/mkgmap/general/PolygonClipper.java,
src/uk/me/parabola/mkgmap/main/Main.java,
src/uk/me/parabola/mkgmap/osmstyle/Action.java,
src/uk/me/parabola/mkgmap/osmstyle/ActionRule.java,
src/uk/me/parabola/mkgmap/osmstyle/DefaultFeatureNames.java,
src/uk/me/parabola/mkgmap/osmstyle/JarFileLoader.java,
src/uk/me/parabola/mkgmap/osmstyle/MapFeatureReader.java,
src/uk/me/parabola/mkgmap/osmstyle/RuleFileReader.java,
src/uk/me/parabola/mkgmap/osmstyle/SequenceRule.java,
src/uk/me/parabola/mkgmap/osmstyle/StyleFileLoader.java,
src/uk/me/parabola/mkgmap/osmstyle/StyleImpl.java,
src/uk/me/parabola/mkgmap/osmstyle/StylePrinter.java,
src/uk/me/parabola/mkgmap/osmstyle/StyledConverter.java,
src/uk/me/parabola/mkgmap/osmstyle/TypeReader.java,
src/uk/me/parabola/mkgmap/osmstyle/actions,
src/uk/me/parabola/mkgmap/osmstyle/actions/Action.java,
src/uk/me/parabola/mkgmap/osmstyle/actions/ActionReader.java,
src/uk/me/parabola/mkgmap/osmstyle/actions/AddTagAction.java,
src/uk/me/parabola/mkgmap/osmstyle/actions/RenameAction.java,
src/uk/me/parabola/mkgmap/osmstyle/eval/EqualsOp.java,
src/uk/me/parabola/mkgmap/osmstyle/eval/ExpressionReader.java,
src/uk/me/parabola/mkgmap/osmstyle/eval/GTEOp.java,
src/uk/me/parabola/mkgmap/osmstyle/eval/GTOp.java,
src/uk/me/parabola/mkgmap/osmstyle/eval/LTEOp.java,
src/uk/me/parabola/mkgmap/osmstyle/eval/LTOp.java,
src/uk/me/parabola/mkgmap/osmstyle/eval/NumericOp.java,
src/uk/me/parabola/mkgmap/reader/osm/Element.java,
src/uk/me/parabola/mkgmap/reader/osm/GType.java,
src/uk/me/parabola/mkgmap/reader/osm/GeneralRelation.java,
src/uk/me/parabola/mkgmap/reader/osm/MultiPolygonRelation.java,
src/uk/me/parabola/mkgmap/reader/osm/OsmConverter.java,
src/uk/me/parabola/mkgmap/reader/osm/Relation.java,
src/uk/me/parabola/mkgmap/reader/osm/Style.java,
src/uk/me/parabola/mkgmap/reader/osm/StyleInfo.java,
src/uk/me/parabola/mkgmap/reader/osm/Way.java,
src/uk/me/parabola/mkgmap/reader/osm/xml/Osm5XmlHandler.java,
src/uk/me/parabola/mkgmap/reader/polish/PolishMapDataSource.java,
src/uk/me/parabola/mkgmap/scan/Token.java,
src/uk/me/parabola/mkgmap/scan/TokenScanner.java, test/uk,
test/uk/me, test/uk/me/parabola, test/uk/me/parabola/mkgmap,
test/uk/me/parabola/mkgmap/osmstyle,
test/uk/me/parabola/mkgmap/osmstyle/ActionReaderTest.java,
test/uk/me/parabola/mkgmap/osmstyle/RuleFileReaderTest.java,
test/uk/me/parabola/mkgmap/osmstyle/actions,
test/uk/me/parabola/mkgmap/osmstyle/actions/AddTagActionTest.java:
Merge from style branch.
* ., ChangeLog, mkgmap.ipr,
src/uk/me/parabola/imgfmt/app/BitReader.java,
src/uk/me/parabola/mkgmap/Version.java,
test/uk/me/parabola/imgfmt, test/uk/me/parabola/imgfmt/app,
test/uk/me/parabola/imgfmt/app/BitReaderTest.java,
test/uk/me/parabola/mkgmap/general/LineClipperTest.java: Misc:
tests, version and changelog updating.
2008-11-29 steve
* src/uk/me/parabola/imgfmt/app/BitReader.java: Merge from nod to
allow display to compile with trunk
* mkgmap.iml, mkgmap.ipr, src/uk/me/parabola/imgfmt/app/Area.java,
src/uk/me/parabola/mkgmap/general/LineClipper.java, test/uk,
test/uk/me, test/uk/me/parabola, test/uk/me/parabola/mkgmap,
test/uk/me/parabola/mkgmap/general,
test/uk/me/parabola/mkgmap/general/LineClipperTest.java: Line
clipping was producing zero length lines.
2008-11-28 steve
* ., mkgmap.ipr,
src/uk/me/parabola/imgfmt/app/lbl/PlacesHeader.java,
src/uk/me/parabola/imgfmt/app/map/Map.java,
src/uk/me/parabola/imgfmt/app/trergn/TREHeader.java,
src/uk/me/parabola/imgfmt/sys/Directory.java,
src/uk/me/parabola/imgfmt/sys/Dirent.java,
src/uk/me/parabola/imgfmt/sys/FileImgChannel.java,
src/uk/me/parabola/imgfmt/sys/ImgFS.java,
src/uk/me/parabola/imgfmt/sys/ImgHeader.java,
src/uk/me/parabola/mkgmap/combiners/FileInfo.java,
src/uk/me/parabola/mkgmap/combiners/TdbBuilder.java,
src/uk/me/parabola/mkgmap/general/LineClipper.java,
src/uk/me/parabola/mkgmap/gui/Main.java,
src/uk/me/parabola/mkgmap/main/MakeTestLangMap.java,
src/uk/me/parabola/mkgmap/osmstyle/DefaultFeatureNames.java,
src/uk/me/parabola/mkgmap/osmstyle/DirectoryFileLoader.java,
src/uk/me/parabola/mkgmap/osmstyle/StyleImpl.java,
src/uk/me/parabola/mkgmap/osmstyle/eval/Op.java,
src/uk/me/parabola/mkgmap/reader/osm/MultiPolygonRelation.java,
src/uk/me/parabola/mkgmap/reader/osm/xml/OsmMapDataSource.java,
src/uk/me/parabola/mkgmap/reader/test/AllElements.java,
src/uk/me/parabola/mkgmap/reader/test/TestPoints.java,
src/uk/me/parabola/tdbfmt/CopyrightSegment.java,
src/uk/me/parabola/tdbfmt/TdbFile.java: Code tidying.
2008-11-27 steve
* src/uk/me/parabola/imgfmt/Utils.java: Reversing change to the
date routines in this file as I suspect they may be causing the
recently observed breakage.
I remember from the beginning that things dont work if the year
field has certain values.
2008-11-23 steve
* ChangeLog, doc/Credits,
src/uk/me/parabola/imgfmt/app/map/Map.java,
src/uk/me/parabola/imgfmt/app/trergn/TREHeader.java,
src/uk/me/parabola/mkgmap/CommandArgs.java,
src/uk/me/parabola/mkgmap/scan/TokenScanner.java,
src/uk/me/parabola/tdbfmt/OverviewMapBlock.java: Fixed
NumberFormatException problems on map names that are not
integers.
2008-11-16 steve
* mkgmap.ipr, mkgmap.iws, src/uk/me/parabola/imgfmt/Utils.java,
src/uk/me/parabola/mkgmap/reader/polish/PolishMapDataSource.java:
Code clean up.
* mkgmap.ipr, mkgmap.iws,
src/uk/me/parabola/imgfmt/app/BitReader.java,
src/uk/me/parabola/imgfmt/app/CommonHeader.java,
src/uk/me/parabola/imgfmt/app/OffsetWriter.java,
src/uk/me/parabola/imgfmt/app/labelenc/Latin2Encoder.java,
src/uk/me/parabola/imgfmt/app/labelenc/Utf8Decoder.java,
src/uk/me/parabola/imgfmt/app/net/RoadDef.java,
src/uk/me/parabola/imgfmt/app/net/RoadIndex.java,
src/uk/me/parabola/imgfmt/app/trergn/MapValues.java,
src/uk/me/parabola/imgfmt/app/trergn/TREHeader.java,
src/uk/me/parabola/mkgmap/scan/Token.java,
src/uk/me/parabola/mkgmap/scan/TokenScanner.java,
src/uk/me/parabola/tdbfmt/RBlock.java: Code clean up.
* mkgmap.ipr, mkgmap.iws, src/uk/me/parabola/imgfmt/app/Area.java,
src/uk/me/parabola/imgfmt/app/BitReader.java,
src/uk/me/parabola/imgfmt/app/Coord.java,
src/uk/me/parabola/imgfmt/app/Section.java,
src/uk/me/parabola/imgfmt/app/labelenc/Format6Encoder.java,
src/uk/me/parabola/imgfmt/app/map/Map.java,
src/uk/me/parabola/imgfmt/app/trergn/Overview.java,
src/uk/me/parabola/imgfmt/mps/Block.java,
src/uk/me/parabola/imgfmt/sys/ImgFS.java,
src/uk/me/parabola/imgfmt/sys/ImgHeader.java,
src/uk/me/parabola/io/StructuredInputStream.java,
src/uk/me/parabola/mkgmap/CommandArgs.java,
src/uk/me/parabola/mkgmap/build/MapSplitter.java,
src/uk/me/parabola/mkgmap/combiners/GmapsuppBuilder.java,
src/uk/me/parabola/mkgmap/combiners/TdbBuilder.java,
src/uk/me/parabola/mkgmap/filters/FilterConfig.java,
src/uk/me/parabola/mkgmap/general/AreaClipper.java,
src/uk/me/parabola/mkgmap/main/MapOption.java,
src/uk/me/parabola/mkgmap/osmstyle/CombinedStyleFileLoader.java,
src/uk/me/parabola/mkgmap/osmstyle/StyleImpl.java,
src/uk/me/parabola/mkgmap/osmstyle/TypeReader.java,
src/uk/me/parabola/mkgmap/reader/osm/Element.java,
src/uk/me/parabola/mkgmap/reader/osm/GType.java,
src/uk/me/parabola/mkgmap/reader/osm/xml/OsmMapDataSource.java,
src/uk/me/parabola/mkgmap/reader/polish/PolishMapDataSource.java,
src/uk/me/parabola/mkgmap/reader/test/ElementTestDataSource.java,
src/uk/me/parabola/tdbfmt/TdbFile.java: Code clean up.
* mkgmap.iml, mkgmap.ipr, mkgmap.iws: Add intellij files.
* src/uk/me/parabola/mkgmap/general/LineClipper.java: Fix clipping
bug where a line runs parallel to the side we are clipping
against. Also changed many double values to int's as we only work
in ints for the coordinates anyway. Changed some terminology to
better match the web page description of the algorithm.
(Bug reported by beej71)
2008-11-12 steve
* ., src/uk/me/parabola/mkgmap/osmstyle/StyledConverter.java,
src/uk/me/parabola/mkgmap/reader/osm/GType.java: Merge change to
restore the rule ordering within the file. Rules earlier take
priority over rules later.
2008-11-10 steve
* ., src/uk/me/parabola/mkgmap/general/AreaClipper.java,
src/uk/me/parabola/mkgmap/general/Clipper.java,
src/uk/me/parabola/mkgmap/general/NullClipper.java,
src/uk/me/parabola/mkgmap/osmstyle/RuleFileReader.java,
src/uk/me/parabola/mkgmap/osmstyle/StyledConverter.java,
src/uk/me/parabola/mkgmap/osmstyle/TypeReader.java,
src/uk/me/parabola/mkgmap/osmstyle/eval/EqualsOp.java,
src/uk/me/parabola/mkgmap/osmstyle/eval/GTEOp.java,
src/uk/me/parabola/mkgmap/osmstyle/eval/GTOp.java,
src/uk/me/parabola/mkgmap/osmstyle/eval/LTEOp.java,
src/uk/me/parabola/mkgmap/osmstyle/eval/LTOp.java,
src/uk/me/parabola/mkgmap/reader/osm/xml/Osm5XmlHandler.java,
src/uk/me/parabola/mkgmap/scan/TokenScanner.java: Merge in
important bug fixes from the style branch. Makes all the examples
work.
2008-11-09 steve
* ., Makefile, doc/style-examples.txt, doc/style-rules.txt,
doc/style.txt, scripts/new_style.py,
src/uk/me/parabola/imgfmt/app/BitWriter.java,
src/uk/me/parabola/imgfmt/app/Label.java,
src/uk/me/parabola/imgfmt/app/labelenc/Latin2Encoder.java,
src/uk/me/parabola/imgfmt/app/trergn/LinePreparer.java,
src/uk/me/parabola/imgfmt/app/trergn/Point.java,
src/uk/me/parabola/imgfmt/app/trergn/RGNFile.java,
src/uk/me/parabola/imgfmt/sys/Dirent.java,
src/uk/me/parabola/imgfmt/sys/FileNode.java,
src/uk/me/parabola/log/Logger.java,
src/uk/me/parabola/mkgmap/CommandArgs.java,
src/uk/me/parabola/mkgmap/Option.java,
src/uk/me/parabola/mkgmap/OptionProcessor.java,
src/uk/me/parabola/mkgmap/Options.java,
src/uk/me/parabola/mkgmap/Version.java,
src/uk/me/parabola/mkgmap/build/MapBuilder.java,
src/uk/me/parabola/mkgmap/general/Clipper.java,
src/uk/me/parabola/mkgmap/general/LevelInfo.java,
src/uk/me/parabola/mkgmap/general/MapElement.java,
src/uk/me/parabola/mkgmap/main/AbstractTestMap.java,
src/uk/me/parabola/mkgmap/main/Main.java,
src/uk/me/parabola/mkgmap/main/MapMaker.java,
src/uk/me/parabola/mkgmap/osmstyle,
src/uk/me/parabola/mkgmap/osmstyle/CombinedStyleFileLoader.java,
src/uk/me/parabola/mkgmap/osmstyle/DefaultFeatureNames.java,
src/uk/me/parabola/mkgmap/osmstyle/DirectoryFileLoader.java,
src/uk/me/parabola/mkgmap/osmstyle/ExpressionRule.java,
src/uk/me/parabola/mkgmap/osmstyle/FixedRule.java,
src/uk/me/parabola/mkgmap/osmstyle/JarFileLoader.java,
src/uk/me/parabola/mkgmap/osmstyle/MapFeatureReader.java,
src/uk/me/parabola/mkgmap/osmstyle/RuleFileReader.java,
src/uk/me/parabola/mkgmap/osmstyle/RuleSet.java,
src/uk/me/parabola/mkgmap/osmstyle/SequenceRule.java,
src/uk/me/parabola/mkgmap/osmstyle/StyleFileLoader.java,
src/uk/me/parabola/mkgmap/osmstyle/StyleImpl.java,
src/uk/me/parabola/mkgmap/osmstyle/StyledConverter.java,
src/uk/me/parabola/mkgmap/osmstyle/TypeReader.java,
src/uk/me/parabola/mkgmap/osmstyle/eval,
src/uk/me/parabola/mkgmap/osmstyle/eval/AndOp.java,
src/uk/me/parabola/mkgmap/osmstyle/eval/BinaryOp.java,
src/uk/me/parabola/mkgmap/osmstyle/eval/CloseOp.java,
src/uk/me/parabola/mkgmap/osmstyle/eval/EqualsOp.java,
src/uk/me/parabola/mkgmap/osmstyle/eval/ExistsOp.java,
src/uk/me/parabola/mkgmap/osmstyle/eval/ExpressionReader.java,
src/uk/me/parabola/mkgmap/osmstyle/eval/GTEOp.java,
src/uk/me/parabola/mkgmap/osmstyle/eval/GTOp.java,
src/uk/me/parabola/mkgmap/osmstyle/eval/LTEOp.java,
src/uk/me/parabola/mkgmap/osmstyle/eval/LTOp.java,
src/uk/me/parabola/mkgmap/osmstyle/eval/NotEqualOp.java,
src/uk/me/parabola/mkgmap/osmstyle/eval/NotExistsOp.java,
src/uk/me/parabola/mkgmap/osmstyle/eval/NotOp.java,
src/uk/me/parabola/mkgmap/osmstyle/eval/Op.java,
src/uk/me/parabola/mkgmap/osmstyle/eval/OpenOp.java,
src/uk/me/parabola/mkgmap/osmstyle/eval/OrOp.java,
src/uk/me/parabola/mkgmap/osmstyle/eval/SyntaxException.java,
src/uk/me/parabola/mkgmap/osmstyle/eval/ValueOp.java,
src/uk/me/parabola/mkgmap/osmstyle/eval/ValueWithUnit.java,
src/uk/me/parabola/mkgmap/osmstyle/package.html,
src/uk/me/parabola/mkgmap/reader/osm/CombinedStyleFileLoader.java,
src/uk/me/parabola/mkgmap/reader/osm/DirectoryFileLoader.java,
src/uk/me/parabola/mkgmap/reader/osm/Element.java,
src/uk/me/parabola/mkgmap/reader/osm/FeatureListConverter.java,
src/uk/me/parabola/mkgmap/reader/osm/GType.java,
src/uk/me/parabola/mkgmap/reader/osm/JarFileLoader.java,
src/uk/me/parabola/mkgmap/reader/osm/MultiPolygonRelation.java,
src/uk/me/parabola/mkgmap/reader/osm/Node.java,
src/uk/me/parabola/mkgmap/reader/osm/Osm5MapDataSource.java,
src/uk/me/parabola/mkgmap/reader/osm/Osm5XmlHandler.java,
src/uk/me/parabola/mkgmap/reader/osm/OsmMapDataSource.java,
src/uk/me/parabola/mkgmap/reader/osm/Rule.java,
src/uk/me/parabola/mkgmap/reader/osm/Style.java,
src/uk/me/parabola/mkgmap/reader/osm/StyleFileLoader.java,
src/uk/me/parabola/mkgmap/reader/osm/StyleInfo.java,
src/uk/me/parabola/mkgmap/reader/osm/StyledConverter.java,
src/uk/me/parabola/mkgmap/reader/osm/Way.java,
src/uk/me/parabola/mkgmap/reader/osm/Way5.java,
src/uk/me/parabola/mkgmap/reader/osm/WordScanner.java,
src/uk/me/parabola/mkgmap/reader/osm/package.html,
src/uk/me/parabola/mkgmap/reader/osm/xml,
src/uk/me/parabola/mkgmap/reader/osm/xml/Osm5MapDataSource.java,
src/uk/me/parabola/mkgmap/reader/osm/xml/Osm5XmlHandler.java,
src/uk/me/parabola/mkgmap/reader/osm/xml/OsmMapDataSource.java,
src/uk/me/parabola/mkgmap/reader/plugin/MapReader.java,
src/uk/me/parabola/mkgmap/reader/polish/PolishMapDataSource.java,
src/uk/me/parabola/mkgmap/scan,
src/uk/me/parabola/mkgmap/scan/TokType.java,
src/uk/me/parabola/mkgmap/scan/Token.java,
src/uk/me/parabola/mkgmap/scan/TokenScanner.java: Merge the style
branch back to the trunk. Next the branch will be recreated for
more work.
* src/uk/me/parabola/imgfmt/app/BufferedImgFileWriter.java,
src/uk/me/parabola/mkgmap/Version.java: Change the message when
the RGN region overflows. The previous message was confusing, and
I don't expect the new one will be any better, but I will keep
changing it until it is. Exit the program as there is not point
of going on as the map will not work and it is best not to give
hope that it will.
Bumped the built in version number - thanks Petr for reminding
me.
2008-08-31 steve
* src/uk/me/parabola/imgfmt/app/BitReader.java: Add a signed get
method to the bitreader
2008-08-30 steve
* Makefile, src/uk/me/parabola/imgfmt/app/BitReader.java,
src/uk/me/parabola/imgfmt/app/trergn/TREHeader.java: Changes to
help display rgn files.
2008-08-28 steve
* resources/styles/default/map-features.csv: Add highway=path
because some people use that. -Markus Barchfeld
2008-08-25 steve
* src/uk/me/parabola/mkgmap/build/MapBuilder.java,
src/uk/me/parabola/mkgmap/general/LevelInfo.java,
src/uk/me/parabola/mkgmap/reader/polish/PolishMapDataSource.java:
When a reader plugin already contains an empty top level zoom,
then we do not want to create a new one so mark such levels
specially and use them for creating the empty level instead of
creating our own. Thanks to Pazapas for pointing this out.
* src/uk/me/parabola/imgfmt/app/Section.java: Apply fix from the
nod branch. When sections are linked then the begining of the
second should be the end of the previous one (not the start of
the previous).
Possibly would have caused some weird POI behaviour.
2008-08-24 steve
* ChangeLog, src/uk/me/parabola/imgfmt/Utils.java,
src/uk/me/parabola/imgfmt/app/ImgFile.java,
src/uk/me/parabola/imgfmt/app/ImgFileReader.java,
src/uk/me/parabola/imgfmt/app/ImgFileWriter.java: Some more
changes that should have been included in the previous commit.
Two phase writing of the sections.
* src/uk/me/parabola/imgfmt/app/lbl/LBLFile.java,
src/uk/me/parabola/imgfmt/app/map/Map.java,
src/uk/me/parabola/imgfmt/app/net/NETFile.java,
src/uk/me/parabola/imgfmt/app/trergn/RGNFile.java,
src/uk/me/parabola/imgfmt/app/trergn/TREFile.java,
src/uk/me/parabola/imgfmt/app/typ/TYPFile.java,
src/uk/me/parabola/mkgmap/build/MapBuilder.java: The sync method
was a bad idea for net and nod.
We need to separate writing into two phases and control the order
that these phases are written in.
So: 1. Make sync just write the buffers to the disk. 2. Add write
and writePost() methods to control the different phases.
Verified that you get the same result file on trunk.
2008-08-22 elrond
* src/uk/me/parabola/mkgmap/reader/osm/Osm5XmlHandler.java: Support
<bounds> in .osm
The current OSM api sends a <bounds minlat="..." minlon="..."
maxlat="..." maxlon="..."/>. Use it to setup the bounding box.
(<bound> is another already supported way.)
* resources/map-features.csv, resources/osm_garmin_map.csv,
resources/styles/default/map-features.csv: Add new features
(archaeological_site, school, playground)
point historic=archaeological_site ->
attractions|museum-historical polygon amenity=school ->
university (closest match) polygon leisure=playground ->
city-park (closest match)
2008-08-03 steve
* .: Merge tracking for typpoi nod and style branches.
2008-08-02 steve
* src/uk/me/parabola/mkgmap/filters/SmoothingFilter.java: Initial
fix for polygon smoothing, more to do. - Olaf Kähler
* src/uk/me/parabola/mkgmap/reader/polish/PolishMapDataSource.java:
some trivial bugs about converting meters/feet in .mp files...
now also all three kinds of contour lines will be processed. -
Olaf Kähler
2008-07-28 steve
* src/uk/me/parabola/mkgmap/reader/osm/MultiPolygonRelation.java,
src/uk/me/parabola/mkgmap/reader/osm/Osm5XmlHandler.java: 1: When
using files processed by osmcut some ways which were part of the
relation were not in the file causing a null-pointer exception.
This is now handled in both OSM5XMLHandler and
MultipolygonRelation. 2: I changed the calcutation of the
distance between points to also take hemisphere changes into
account. The code looks not nice to me however. 3: I uncommented
the last line of the insertPoints function as the islands looked
ok on my venture HC. It appears only mapsource messes things up.
Rene Affourtit
2008-07-27 steve
* Makefile, src/uk/me/parabola/imgfmt/app/Area.java,
src/uk/me/parabola/mkgmap/main/MapMaker.java,
src/uk/me/parabola/mkgmap/reader/osm/FeatureListConverter.java:
Completely empty osm files caused mkgmap to go into a loop and
run out of memory. Now we just ignore any empty file. If the file
still has a valid bounds element then the output will still be
produced. Reported by Christian Ehrlicher.
2008-07-23 steve
* src/uk/me/parabola/mkgmap/reader/osm/FeatureListConverter.java:
When a way is tagged both riverbank and coastline, then prefer
the coastline. This gives the best results until there is code to
deal with filling in in-complete polygons.
2008-07-18 steve
* src/uk/me/parabola/mkgmap/reader/osm/FeatureListConverter.java:
Add the bodge that allows the contour tag have a height
specified, to the contour_ext tags too. Requested by a couple of
people for use with Srtm2Osm.
The mythical new style system will allow this to be configured
properly...
2008-07-08 steve
* src/uk/me/parabola/mkgmap/reader/osm/FeatureListConverter.java,
src/uk/me/parabola/mkgmap/reader/osm/MultiPolygonRelation.java,
src/uk/me/parabola/mkgmap/reader/osm/Osm5XmlHandler.java,
src/uk/me/parabola/mkgmap/reader/osm/Relation.java: Patch to add
relation support and in particular for the multi polygon
relation.
known issues: - Areas crossing equator, poles, meridian, dataline
will be joined wrong. - connection between inner and outer ways.
-Rene_A
2008-07-06 steve
* Makefile,
src/uk/me/parabola/imgfmt/app/BufferedReadStrategy.java,
src/uk/me/parabola/imgfmt/app/BufferedWriteStrategy.java,
src/uk/me/parabola/imgfmt/app/ReadStrategy.java,
src/uk/me/parabola/imgfmt/app/Section.java,
src/uk/me/parabola/imgfmt/app/WriteStrategy.java,
src/uk/me/parabola/imgfmt/app/lbl/LBLFile.java,
src/uk/me/parabola/imgfmt/app/lbl/LBLHeader.java,
src/uk/me/parabola/imgfmt/app/lbl/PlacesFile.java,
src/uk/me/parabola/imgfmt/app/lbl/PlacesHeader.java: NetDisplay
now looks up the number of cities and so can tell if they need
one or 2 bytes.
* Makefile,
src/uk/me/parabola/imgfmt/app/BufferedImgFileReader.java,
src/uk/me/parabola/imgfmt/app/BufferedImgFileWriter.java,
src/uk/me/parabola/imgfmt/app/CommonHeader.java,
src/uk/me/parabola/imgfmt/app/ImgFile.java,
src/uk/me/parabola/imgfmt/app/ImgFileReader.java,
src/uk/me/parabola/imgfmt/app/ImgFileWriter.java,
src/uk/me/parabola/imgfmt/app/Label.java,
src/uk/me/parabola/imgfmt/app/OffsetWriter.java,
src/uk/me/parabola/imgfmt/app/OffsetWriterList.java,
src/uk/me/parabola/imgfmt/app/lbl/City.java,
src/uk/me/parabola/imgfmt/app/lbl/Country.java,
src/uk/me/parabola/imgfmt/app/lbl/LBLFile.java,
src/uk/me/parabola/imgfmt/app/lbl/LBLHeader.java,
src/uk/me/parabola/imgfmt/app/lbl/POIRecord.java,
src/uk/me/parabola/imgfmt/app/lbl/PlacesFile.java,
src/uk/me/parabola/imgfmt/app/lbl/PlacesHeader.java,
src/uk/me/parabola/imgfmt/app/lbl/Region.java,
src/uk/me/parabola/imgfmt/app/lbl/Zip.java,
src/uk/me/parabola/imgfmt/app/net/NETFile.java,
src/uk/me/parabola/imgfmt/app/net/NETHeader.java,
src/uk/me/parabola/imgfmt/app/net/RoadDef.java,
src/uk/me/parabola/imgfmt/app/net/RoadIndex.java,
src/uk/me/parabola/imgfmt/app/trergn/MapObject.java,
src/uk/me/parabola/imgfmt/app/trergn/Overview.java,
src/uk/me/parabola/imgfmt/app/trergn/Point.java,
src/uk/me/parabola/imgfmt/app/trergn/Polyline.java,
src/uk/me/parabola/imgfmt/app/trergn/RGNFile.java,
src/uk/me/parabola/imgfmt/app/trergn/RGNHeader.java,
src/uk/me/parabola/imgfmt/app/trergn/Subdivision.java,
src/uk/me/parabola/imgfmt/app/trergn/TREFile.java,
src/uk/me/parabola/imgfmt/app/trergn/TREHeader.java,
src/uk/me/parabola/imgfmt/app/trergn/Zoom.java,
src/uk/me/parabola/imgfmt/app/typ/TYPFile.java,
src/uk/me/parabola/imgfmt/app/typ/TYPHeader.java: Renamed the
ReadStrategy and WriteStrategy interfaces and their associated
classes to ImgFileReader and ImgFileWriter etc
* src/uk/me/parabola/mkgmap/combiners/TdbBuilder.java,
src/uk/me/parabola/tdbfmt/HeaderBlock.java: 1. Make overview
polygons completely cover the map area. 2. Read family id from
tdb header. 3. re-org v4 header writing.
2008-07-05 steve
* src/uk/me/parabola/mkgmap/main/Main.java: Fixed --help option.
2008-07-03 steve
* src/uk/me/parabola/tdbfmt/TdbFile.java: Removed unneed imports
* src/uk/me/parabola/mkgmap/combiners/TdbBuilder.java,
src/uk/me/parabola/mkgmap/filters/PolygonSplitterFilter.java,
src/uk/me/parabola/mkgmap/general/LineClipper.java,
src/uk/me/parabola/mkgmap/reader/osm/FeatureListConverter.java:
Removed debugging prints, improved display of bounds.
* src/uk/me/parabola/tdbfmt/TBlock.java,
src/uk/me/parabola/tdbfmt/TdbFile.java: Add the crc to the T
block
2008-07-01 steve
* Makefile, src/uk/me/parabola/imgfmt/app/Area.java,
src/uk/me/parabola/imgfmt/app/Coord.java,
src/uk/me/parabola/mkgmap/general/LineClipper.java,
src/uk/me/parabola/mkgmap/general/MapLine.java,
src/uk/me/parabola/mkgmap/general/PolygonClipper.java,
src/uk/me/parabola/mkgmap/reader/osm/FeatureListConverter.java,
src/uk/me/parabola/mkgmap/reader/osm/Osm5XmlHandler.java,
src/uk/me/parabola/mkgmap/reader/osm/OsmConverter.java,
src/uk/me/parabola/mkgmap/reader/osm/StyledConverter.java: If
there is a bounding box in the input file, then use that to clip
the output to exactly to that box.
2008-06-29 steve
* src/uk/me/parabola/mkgmap/combiners/TdbBuilder.java,
src/uk/me/parabola/tdbfmt/TdbFile.java: Make the family id
default to 0 (due to a bug it, the default was really always 0).
Remove v4 block from v3 TDB
* resources/help/en/options: Add missing options - Michael Vogt
2008-06-28 steve
* src/uk/me/parabola/io/StructuredOutputStream.java,
src/uk/me/parabola/mkgmap/combiners/FileInfo.java,
src/uk/me/parabola/mkgmap/combiners/TdbBuilder.java,
src/uk/me/parabola/tdbfmt/DetailMapBlock.java,
src/uk/me/parabola/tdbfmt/HeaderBlock.java,
src/uk/me/parabola/tdbfmt/OverviewMapBlock.java,
src/uk/me/parabola/tdbfmt/RBlock.java,
src/uk/me/parabola/tdbfmt/TBlock.java,
src/uk/me/parabola/tdbfmt/TdbFile.java: Adding support for TDB
v4. It does not work.
2008-06-23 steve
* src/uk/me/parabola/imgfmt/sys/Directory.java,
src/uk/me/parabola/imgfmt/sys/Dirent.java: The part field appears
to be just the one byte. - Johann Gail
2008-06-22 steve
* src/uk/me/parabola/mkgmap/main/Main.java,
src/uk/me/parabola/mkgmap/reader/osm/FeatureListConverter.java:
Remove System.exit's and unused code.
* src/uk/me/parabola/imgfmt/app/trergn/TREHeader.java,
src/uk/me/parabola/mkgmap/combiners/TdbBuilder.java,
src/uk/me/parabola/tdbfmt/HeaderBlock.java,
src/uk/me/parabola/tdbfmt/TdbFile.java: Set family id more
consistantly and read the TRE header more completely (whole
header is not needed yet, so we just do part of it).
2008-06-21 steve
* src/uk/me/parabola/mkgmap/Version.java,
src/uk/me/parabola/mkgmap/reader/osm/Segment.java: Segments are
long gone.
* src/uk/me/parabola/mkgmap/combiners/TdbBuilder.java: Looks like
the parent needs to be properly set. (I don't see this crash
though) See
http://wiki.openstreetmap.org/index.php?title=Talk:Mkgmap&curid=4591&diff=114690&oldid=113277
* Makefile, src/uk/me/parabola/imgfmt/app/OffsetWriter.java,
src/uk/me/parabola/imgfmt/app/OffsetWriterList.java,
src/uk/me/parabola/imgfmt/app/map/Map.java,
src/uk/me/parabola/imgfmt/app/net/NETFile.java,
src/uk/me/parabola/imgfmt/app/net/RoadDef.java,
src/uk/me/parabola/imgfmt/app/net/RoadIndex.java,
src/uk/me/parabola/imgfmt/app/trergn/Polyline.java,
src/uk/me/parabola/imgfmt/app/trergn/Subdivision.java,
src/uk/me/parabola/mkgmap/CommandArgs.java,
src/uk/me/parabola/mkgmap/build/MapBuilder.java,
src/uk/me/parabola/mkgmap/general/MapElement.java,
src/uk/me/parabola/mkgmap/main/MapMaker.java: Merge in the net
branch. This gives the ability to add the NET section. The work
on the net branch was done by Elrond.
2008-06-20 steve
* src/uk/me/parabola/imgfmt/app/trergn/MapValues.java,
src/uk/me/parabola/imgfmt/app/trergn/TREFile.java,
src/uk/me/parabola/imgfmt/app/trergn/TREHeader.java: Merge in
work to extend the TRE header to the 188 byte version. Somewhat
experimental at the moment.
2008-05-24 steve
* resources/map-features.csv, resources/osm_garmin_map.csv,
resources/styles/default/map-features.csv: Added
amenity=drinking_water and natural=glacier as suggested by
Frédéric Bonifas.
2008-05-15 steve
* src/uk/me/parabola/mkgmap/reader/osm/Osm5XmlHandler.java: Protect
against bad numeric data in the input file.
2008-05-12 steve
* Makefile,
src/uk/me/parabola/mkgmap/reader/osm/FeatureListConverter.java: I
believe that the garmin is expecting that the contours are in
feet, so we need to convert. You can change how it displays them
on the Garmin with an option.
2008-05-03 steve
* src/uk/me/parabola/imgfmt/app/net/NETFile.java,
src/uk/me/parabola/imgfmt/app/net/NETHeader.java,
src/uk/me/parabola/imgfmt/app/net/RoadDef.java: Little
improvement to NET output routines
This allows to create label-only RoadDefs in the NET file. The
created NET file looks good using the display tools.
2008-04-28 steve
* src/uk/me/parabola/mkgmap/main/Main.java,
src/uk/me/parabola/mkgmap/reader/osm/Osm5MapDataSource.java: Make
--map-features a synonym for --style-file like it is meant to be.
2008-04-26 steve
* ChangeLog, Makefile, build.xml, doc/Credits,
src/uk/me/parabola/mkgmap/Version.java,
src/uk/me/parabola/mkgmap/reader/osm/OsmMapDataSource.java: Tidy
up for a release.
* src/uk/me/parabola/imgfmt/app/lbl/POIRecord.java,
src/uk/me/parabola/imgfmt/app/lbl/PlacesFile.java,
src/uk/me/parabola/imgfmt/app/lbl/PlacesHeader.java: Add
StreetNames to POI
POIRecords are variable length, have optional flags for the
included info and are mostly straight forward. This adds the
optional flag writing and one optional field: The StreetName.
- Elrond
2008-04-22 steve
* src/uk/me/parabola/imgfmt/app/lbl/LBLFile.java,
src/uk/me/parabola/imgfmt/app/lbl/POIRecord.java,
src/uk/me/parabola/imgfmt/app/lbl/PlacesFile.java,
src/uk/me/parabola/imgfmt/app/lbl/PlacesHeader.java,
src/uk/me/parabola/imgfmt/app/trergn/Point.java,
src/uk/me/parabola/mkgmap/build/MapBuilder.java: Basic POI
support
The LBL file contains a section for detailed information about
POIs (street, streetnumber, ZIP, phone number). These entries can
be linked from the Point-entries in the map subdivisions.
For now we only use the Name field in the POIRecord. The user
visible change is in MapSource: Most POIs now have a Property
context-menu entry, which shows the detailed info.
The Point-entry flag was found in qlandkarte. The rest is
documented in the imgformat pdf.
- Elrond
* src/uk/me/parabola/mkgmap/main/Main.java: Add --version option -
suggested by Petr Schönmann.
Only works properly with packaged versions of mkgmap, not direct
from svn.
2008-04-20 steve
* ChangeLog, doc/mkgmap.1, resources/help/en/copyright,
resources/help/en/help, resources/help/en/inputs,
resources/help/en/links, resources/help/en/options: Improvements
and additional help files.
* resources/styles/default/info, resources/styles/test/info,
src/uk/me/parabola/mkgmap/gui/MainFileList.java,
src/uk/me/parabola/mkgmap/main/Main.java,
src/uk/me/parabola/mkgmap/reader/osm/CombinedStyleFileLoader.java,
src/uk/me/parabola/mkgmap/reader/osm/DirectoryFileLoader.java,
src/uk/me/parabola/mkgmap/reader/osm/JarFileLoader.java,
src/uk/me/parabola/mkgmap/reader/osm/Osm5MapDataSource.java,
src/uk/me/parabola/mkgmap/reader/osm/OsmMapDataSource.java,
src/uk/me/parabola/mkgmap/reader/osm/Style.java,
src/uk/me/parabola/mkgmap/reader/osm/StyleFileLoader.java,
src/uk/me/parabola/mkgmap/reader/osm/StyleInfo.java,
src/uk/me/parabola/mkgmap/reader/osm/WordScanner.java: Can now
list styles (not that there are any available yet) Added info
file so that a style listing can include information about the