forked from libgeos/geos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog
11320 lines (8579 loc) · 392 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
$Id$
2008-07-31 Mateusz Loskot <mateusz@loskot.net>
* capi/geos_c.cpp, capi/geos_c.h.in, tests/unit/Makefile.am,
tests/unit/capi/GEOSPolygonizer_getCutEdgesTest.cpp: Patch completing
C API interface with wrapper on Polygonizer::getCutEdges (Ticket #195).
Unit test included in tests/unit/capi/GEOSPolygonizer_getCutEdgeTest.cpp.
2008-07-26 Mateusz Loskot <mateusz@loskot.net>
* r2138 - r2143: Tickets #167, #191, #192
2008-07-25 Mateusz Loskot <mateusz@loskot.net>
* trunk/build/README, trunk/build/msvc80/README trunk/macros/geos.m4,
trunk/source/headers/geos/algorithm/CentralEndpointIntersector.h,
trunk/source/headers/geos/geomPrep.h,
trunk/source/headers/geos/indexIntervalRTree.h,
trunk/source/headers/geos/noding/FastNodingValidator.h,
trunk/source/headers/geos/noding/SingleInteriorIntersectionFinder.h,
trunk/source/noding/FastNodingValidator.cpp,
trunk/source/noding/SingleInteriorIntersectionFinder.cpp,
trunk/source/operation/buffer/OffsetCurveVertexList.h,
trunk/swig/python/tests/TESTING.txt:
tests/unit/operation/IsSimpleOpTest.cpp,
tests/unit/precision/SimpleGeometryPrecisionReducerTest.cpp:
Updated svn:keywords property
2008-07-19 Frank Warmerdam
* r2123 - r2135
2008-07-15 Mateusz Loskot <mateusz@loskot.net>
* source\algorithm\RobustDeterminant.cpp,
source\algorithm\locate\IndexedPointInAreaLocator.cpp,
source\algorithm\ConvexHull.cpp,
source\precision\SimpleGeometryPrecisionReducer.cpp,
source\planargraph\DirectedEdge.cpp,
source\operation\buffer\OffsetCurveSetBuilder.cpp,
source\operation\buffer\BufferBuilder.cpp,
source\operation\buffer\BufferOp.cpp,
source\operation\distance\ConnectedElementPointFilter.cpp,
source\io\ByteOrderValues.cpp, source\index\bintree\Key.cpp,
source\index\quadtree\Key.cpp, source\geomgraph\GeometryGraph.cpp,
source\geomgraph\EdgeEnd.cpp, source\headers\geos\geom\LineSegment.inl,
source\headers\geos\geom\Coordinate.inl, source\headers\geos\io\WKBReader.h,
source\headers\geos\noding\IntersectionAdder.h, source\util\math.cpp,
source\noding\Octant.cpp, tests\xmltester\markup\MarkupSTL.h,
tests\xmltester\XMLTester.cpp, capi\geos_c.cpp: Fixed compilation on
with Sun Studio compiler on Solaris x86 and Sparc (Ticket #189). Thanks
to Magne Mahre for the patch.
2008-05-20 Mateusz Loskot <mateusz@loskot.net>
* bootstrap.bat: Added script generating headers for use with Visual C++
compiler. DO NOT include this script in GEOS source distribution.
* source/makefile.vc: Do not make copies of 3 dynamic headers but let
users to use bootstrap.bat instead. Fixed compilation error by removing
non-existing file entry: source\geom\prep\PreparedPolygonLineIntersection.cpp
* source\headers\geos\util.h: Add UNREFERENCED_PARAMETER macro.
* source\geom\PrecisionModel.cpp, source\geom\GeometryComponentFilter.cpp,
source\geom\util\GeometryTransformer.cpp, source\precision\GeometrySnapper.cpp,
source\precision\CommonBitsRemover.cpp, source\simplify\DouglasPeuckerSimplifier.cpp,
source\operation\overlay\OverlayOp.cpp, source\operation\overlay\FuzzyPointLocator.cpp,
source\index\quadtree\NodeBase.cpp, source\headers\geos\geom\BinaryOp.h,
source\headers\geos\operation\overlay\PointBuilder.h,
source\headers\geos\noding\MCIndexNoder.h,
source\headers\geos\noding\ScaledNoder.h, source\headers\geos\noding\Octant.h,
source\noding\ScaledNoder.cpp, source\noding\snapround\MCIndexPointSnapper.cpp,
source\noding\SegmentString.cpp, tests\unit\geom\DimensionTest.cpp:
Use UNREFERENCED_PARAMETER macro to get rid of C4100 warning when building with Visual C++.
* build\msvc80\geos_lib\geos_lib.vcproj: Remove non-existing source files.
--------- GEOS-3.0.0 release [2007-12-21] --------------------------
2007-12-19 Mateusz Loskot <mateusz@loskot.net>
* source/headers/geos/io.h, source/headers/geos/geom.h:
Improved warning message about using DEPRECATED headers.
2007-12-17 Mateusz Loskot <mateusz@loskot.net>
* source\Makefile.vc: fixed MSVC_VER condition for
Microsoft Visual C++ 2008 (9.0), compiler version 1500
2007-12-13 Mateusz Loskot <mateusz@loskot.net>
* ChangeLog: added Id keyword at the top of the file.
* build\msvc80\geos_unit\geos_unit.vcproj: fixed post-build event
* source\geom\GeometryCollection.cpp: removed unreachable code,
shorten exception message.
* source\geom\Geometry.cpp: purified condition based on dynamic_cast
* tests\unit\geom\GeometryFactoryTest.cpp: use std::size_t instead of
int where unsigned integral type required.
2007-12-09 Mateusz Loskot <mateusz@loskot.net>
* tests/unit/precision/SimpleGeometryPrecisionReducerTest.cpp:
test suite for class geos::precision::SimpleGeometryPrecisionReducer
2007-11-26 Mateusz Loskot <mateusz@loskot.net>
* source\Makefile.vc: enabled target copying version.h.vc
and geos_c.h.vc to headers used by Visual C++
source\headers\geos\version.h.vc: added test if used
with Visual C++ compiler
* build\msvc80\geos.vsprops,
* build\msvc80\geos_python\geos_python.vcproj,
* build\msvc80\geos_ruby\geos_ruby.vcproj: added common
Property Sheet for Visual C++ projects where Python and
Ruby macros/locations are defined.
* swig\python\geos_wrap.cxx: Fixed include of Python.h,
see Ticket #164 for details.
2007-11-22 Mateusz Loskot <mateusz@loskot.net>
* source/headers/geos/io/WKBWriter.h: added purifying cast of
int value to bool.
2007-06-11 Mateusz Loskot <mateusz@loskot.net>
* tests/unit/operation/IsSimpleOpTest.cpp,
tests/unit/Makefile.am: Added test for IsSimpleOp class.
* source/operation/IsSimpleOp.cpp: Replaced post-increment
operators with pre-increment operators where standard
iterators are incremented in loops. NOTE: Prefer pre-incr.
over post-inc. when working with standard iterators.
2007-06-10 Mateusz Loskot <mateusz@loskot.net>
* tests/unit/utility.h: Added custom operators for static and
dynamic casts of pointers wrapped with std::auto_ptr<T> type.
* tests/unit/algorithm/ConvexHullTest.cpp: Added unit test for
geos::algorithm::ConvexHull.
* tests/unit/algorithm/CGAlgorithms/isCCWTest.cpp: Added unit test for
geos::algorithm::CGAlgorithms::isCCW() function.
* tests/unit/algorithm/CGAlgorithms/computeOrientationTest.cpp: Added unit
test for geos::algorithm::CGAlgorithms::computeOrientation() function.
* tests/unit/Makefile.am: Added files with new tests.
2007-06-08 Mateusz Loskot <mateusz@loskot.net>
* capi/geos_c.h.in: Applied Konstantin Baumann's suggestion
about including version.h in C API header for Visual C++.
* build/msvc80/geos_lib/geos_lib.vcproj: Updated project file.
* source/algorithm/InteriorPointArea.cpp,
source/algorithm/SIRtreePointInRing.cpp,
source/algorithm/HCoordinate.cpp,
source/algorithm/CentroidArea.cpp,
source/algorithm/PointLocator.cpp,
source/algorithm/InteriorPointLine.cpp,
source/algorithm/CentroidLine.cpp,
source/algorithm/InteriorPointPoint.cpp,
source/algorithm/CentroidPoint.cpp,
source/algorithm/CGAlgorithms.cpp,
source/algorithm/MinimumDiameter.cpp,
source/geom/CoordinateSequence.cpp,
source/operation/buffer/BufferSubgraph.cpp,
source/index/chain/MonotoneChainBuilder.cpp,
source/index/strtree/STRtree.cpp,
source/index/strtree/SIRtree.cpp,
source/index/quadtree/DoubleBits.cpp,
source/index/sweepline/SweepLineIndex.cpp,
source/geomgraph/EdgeList.cpp,
source/geomgraph/Edge.cpp,
source/headers/geos/geom/CoordinateFilter.h,
source/headers/geos/index/chain/MonotoneChainOverlapAction.h,
source/headers/geos/index/bintree/Root.h,
source/headers/geos/geomgraph/Edge.h,
source/headers/geos/geomgraph/Node.h: cleaned signed/unsigned types
mixtures, got rid from annoying compiler warnings.
* source/index/strtree/STRtree.cpp: Analysis of instability of the
yComparator, there are some new important questions to answer.
2007-06-01 Mateusz Loskot <mateusz@loskot.net>
* build/msvc80/geos_lib/geos_lib.vcproj: Applied patch with pre-build
events generating platform.h and version.h headers.
Thanks to Konstantin Baumann for this patch.
* build/bjam: Added *experimental* support of bjam and
Boost.Build for GEOS.
2007-05-06 Mateusz Loskot <mateusz@loskot.net>
* source/headers/geos/version.h.vc: Added version header
dedicated to use with Microsoft Visual C++ compiler.
The version.h.vc requires manual update when version number
changes.
2007-04-22 Mateusz Loskot <mateusz@loskot.net>
* source/geom/CoordinateArraySequence.cpp: Added assertion checking
if passed ordinate index is valid.
* tests/unit/capi/GEOSCoordSeqTest.cpp: Extended tests with swapped and
not swapped calls of setX/setY/setZ and setOrdinate functions
2007-04-15 Mateusz Loskot <mateusz@loskot.net>
* autogen.sh: Added detection of glibtoolize as libtool utility name
under Mac OS X system.
2007-03-05 Sandro Santilli <strk@refractions.net>
* tests/xmltester/Makefile.am: enable
run of new testcases.
2007-03-05 Carl Anderson <carl.anderson@vadose.org>
* tests/xmltester/: hole_from_shell.xml, hole_red.xml:
New testcases for buffer(0).
2007-02-26 Tom Elwertowski
* source/inlines.cpp: fix for MingW32 builds.
2007-02-06 Carl Anderson <carl.anderson@vadose.org>
* source/operation/buffer/SubgraphDepthLocater.cpp
(findStabbedSegments):
Implement short-circuit to avoid inner defective
logic.
2007-02-06 Sandro Santilli <strk@refractions.net>
* tests/xmltester/: Makefile.am, badguy3.xml:
Added simplified version of nasty buffer bug test.
2007-02-08 Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
* configure.in: Allow configure to continue with use_python
set to false if a python binary is not found, as per
http:gcsources.redhat.com/automake/automake.html#Python.
2007-02-06 Sandro Santilli <strk@refractions.net>
* source/index/strtree/STRtree.cpp,
source/index/strtree/AbstractNode.cpp,
source/index/strtree/ItemBoundable.cpp,
source/index/strtree/AbstractSTRtree.cpp,
source/index/strtree/SIRtree.cpp,
source/headers/geos/index/strtree/AbstractNode.h,
source/headers/geos/index/strtree/ItemBoundable.h,
source/headers/geos/index/strtree/Boundable.h,
source/headers/geos/index/strtree/AbstractSTRtree.h,
source/headers/geos/index/strtree/SIRtree.h,
source/headers/geos/index/strtree/STRtree.h
General refactoring aimed at making the code cleaner
to read and maintain; use iterators rather then random
accessing containers to allow easy future switch to std::list
from std::vector; use a tolerance-based strict weak ordering
operator for sorting child boundables in STRtree, this
fixes the heisenbug when building with inlines disabled.
2007-02-06 Sandro Santilli <strk@refractions.net>
* tests/unit/simplify/DouglasPeuckerSimplifierTest.cpp:
Expect result of POLYGON simplification to always be
a polygon, even if collapsed to the empty geom.
* operation::buffer::BufferBuilder,
operation::buffer::BufferOp:
Fixed buffer operation to always return polygonal
geometry
--------- GEOS-3.0.0rc4 release [2007-02-02] --------------------------
2007-02-01 Sandro Santilli <strk@refractions.net>
* operation::buffer::BufferOp: set MAX_PRECISION_DIGITS
so to match JTS.
2007-01-26 Sandro Santilli <strk@refractions.net>
* tests/xmltester/: Makefile.am, stmlf-cases-20070119.xml:
New overlay test.
* tests/xmltester/XMLTester.cpp: improved buffer
result validator.
* source/operation/buffer/BufferBuilder.cpp (computeNodedEdges):
remove repeated points from noded SegmentStrings, skip collapsed
edges.
2007-01-17 Sandro Santilli <strk@refractions.net>
* tests/xmltester/: heisenbugs.xml, Makefile.am:
New testcase for bug fixed by previous commit.
2007-01-16 Sandro Santilli <strk@refractions.net>
* source/index/strtree/STRtree.cpp (yComparator):
Use static_cast<> and make code more readable.
A side effect seems to be fixing a segfault :!
* source/headers/geos/index/strtree/STRtree.h (centreY):
const-corrected.
* tests/xmltester/XMLTester.cpp: don't include catch-all headers.
2007-01-09 Sandro Santilli <strk@refractions.net>
* source/operation/buffer/: Makefile.am, OffsetCurveVertexList.h:
New helper class for OffsetCurveBuilder
* operation::buffer::OffsetCurveBuilder:
Move vertexlist management to external class.
* tests/xmltester/: Makefile.am, TestBufferExternal.xml:
added test for above changes (imported from JTS and
modified to work with GEOS).
* tests/xmltester/XMLTester.cpp: change buffer
validator again: check area of topological
difference between expected and obtained result
to be smaller then 1/1000 of expected geometry
area.
2007-01-09 Sandro Santilli <strk@refractions.net>
* source/geom/CoordinateArraySequence.cpp,
source/headers/geos/geom/CoordinateSequence.h,
source/headers/geos/geom/CoordinateArraySequence.h:
add(Coordinate, bool) made a virtual method and overrridden
for CoordinateArraySequence, for better performance
(single virtual call vs. multiple); added front() and
back() methods.
* tests/xmltester/XMLTester.cpp: add areatest
to buffer test handler.
2007-01-04 Sandro Santilli <strk@refractions.net>
* configure.in: prepared for version to 3.0.0rc4,
fixed swig python errors as suggested by hint
(AM_PATH_PYTHON).
2007-01-04 Sandro Santilli <strk@refractions.net>
* configure.in, swig/geos.i.in, swig/geos.i:
geos.i generated at configure time from geos.i.in
(so we don't have to manually update versions there).
2007-01-04 dev-zero at gentoo dot org
* swig/geos.i: use unsigned int when CAPI signatures
expect unsigned int (not size_t).
2007-01-03 Sandro Santilli <strk@refractions.net>
* tests/xmltester/: fme.xml, Makefile.am: added buffer testcase.
* tests/xmltester/XMLTester.cpp: use a tolerance of 10E-6
for buffer validation (~10cm at worst when using latlong
projections); create sql tables with oid to work around a
bug in qgis 0.7.4.
2007-01-03 Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
* source/inlines.cpp, source/algorithm/HCoordinate.cpp:
Fixes for MingW builds. See geos-devel/2007-January/002766.html.
2007-01-03 Sandro Santilli <strk@refractions.net>
* source/operation/buffer/BufferOp.cpp (bufferReducedPrecision):
Fixed computation of reduced PrecisionModel scale.
2006-12-18 Sandro Santilli <strk@refractions.net>
* tests/xmltester/robustness.xml: added
testcase reported to fail with 2.2.3 on
postgis-users/2006-November/014013.html.
* source/precision/GeometrySnapper.cpp,
source/headers/geos/geom/BinaryOp.h,
source/headers/geos/precision/GeometrySnapper.h:
Geometry snapping synced with JTS.
2006-12-18 Sandro Santilli <strk@refractions.net>
* HOWTO_RELEASE: add ChangeLog's release mark step.
* source/precision/GeometrySnapper.cpp (computeSnapTolerance):
properly compute snap tolerance for fixed precision geometries.
* tests/xmltester/: Makefile.am, TestRobustOverlayFixed.xml:
new test for fixed precision snapping.
--------- GEOS-3.0.0rc3 release [2006-12-14] --------------------------
2006-12-13 Mateusz Loskot <mateusz@loskot.net>
* build/msvc80/geos_lib/geos_lib.vcproj,source/Makefile.vc:
Updated makefile and project file for Visual C++.
2006-12-13 Sandro Santilli <strk@refractions.net>
* precision::GeometrySnapper, precision::LineStringSnapper,
operation::overlay::FuzzyPointLocator,
operation::overlay::OffsetPointGenerator,
operation::overlay::OverlayValidator:
Updated port information.
2006-12-11 Sandro Santilli <strk@refractions.net>
* source/headers/geos/noding/SegmentIntersector.h: added virtual
isDone() function, always returning false by default.
* source/noding/MCIndexNoder.cpp (intersectChains):
short-circuit from JTS-1.8, based on the new
SegmentIntersector::isDone() method.
* source/noding/Makefile.am, source/noding/FastNodingValidator.cpp,
source/noding/SingleInteriorIntersectionFinder.cpp,
source/headers/geos/noding/Makefile.am,
source/headers/geos/noding/FastNodingValidator.h,
source/headers/geos/noding/SingleInteriorIntersectionFinder.h:
New ports from JTS-1.8-cvs.
* source/headers/geos/geomgraph/EdgeNodingValidator.h:
use a FastNodingValidator rather then a simple NodingValidator.
2006-12-07 Sandro Santilli <strk@refractions.net>
* source/headers/geos/algorithm/: CentralEndpointIntersector.h,
Makefile.am: new port from JTS-1.8.
* algorithm::LineIntersector: robustness improvements
from JTS-1.8.
2006-12-05 Mateusz Loskot <mateusz@loskot.net>
* build/msvc80/geos_unit/geos_unit.vcproj: added C API unit tests
* tests/unit/capi/GEOSCoordSeqTest.cpp,tests/unit/capi/GEOSSimplifyTest.cpp:
small cleaning, using C calls from C++ std namespace.
2006-12-05 Sandro Santilli <strk@refractions.net>
* source/operation/overlay/OverlayOp.cpp: Use EdgeNodingValidator
instead of OverlayResultValidator (faster and more effective).
Note that compile-time defines can select use of either or both
ones.
* source/headers/geos/geom/BinaryOp.h: be quiet if not in DEBUG mode.
* noding::NodingValidator.h: throw TopologyException
rather then a generic GEOSException.
2006-12-04 Sandro Santilli <strk@refractions.net>
* source/headers/geos/geomgraph/EdgeNodingValidator.h:
fix members initialization order.
* geomgraph::EdgeNodingValidator: minor cleanup
to use references args instead of pointers for
method that doesn't handle NULLs anyway.
2006-12-04 Sandro Santilli <strk@refractions.net>
* tests/unit/capi/: GEOSCoordSeq.cpp => GEOSCoordSeqTest.cpp
* tests/unit/capi/GEOSSimplifyTest.cpp: new test
for GEOSSimplify (just a test for bug #134).
* source/simplify/DouglasPeuckerLineSimplifier.cpp (simplify):
don't try to simplify empty coordinate lists. Fixes bug #134.
2006-12-04 Sandro Santilli <strk@refractions.net>
* tests/unit/geom/CoordinateArraySequenceTest.cpp:
added tests for setOrdinate()
* tests/unit/capi/GEOSCoordSeq.cpp:
add tests for bug #133 (failing).
* source/geom/CoordinateArraySequence.cpp (setOrdinate):
fix bug #133.
2006-11-30 Sandro Santilli <strk@refractions.net>
* tests/unit/: Makefile.am, capi/GEOSCoordSeq.cpp:
new experimental test for C-API GEOSCoordSeq.
* capi/geos_c.cpp (GEOSCoordSeq_create): removed
suspicious static cast.
2006-11-15 Sandro Santilli <strk@refractions.net>
* source/geom/Point.cpp (equalsExact): don't segfault
on empty points. Fixes bug #132.
2006-11-22 Sandro Santilli <strk@refractions.net>
* tests/xmltester/: stmlf-cases-20061020.xml,
Makefile.am: add more robustness testcases.
2006-11-22 dron@ak4719.spb.edu
* autogen.sh: call 'autoheader' after 'aclocal'.
Fixes bug #131
2006-11-15 Sandro Santilli <strk@refractions.net>
* configure.in: don't generate geos_c.h.vc
* source/Makefile.vc: don't generate geos_c.h and version.h
* source/headers/geos/version.h.vc, capi/geos_c.h.vc.in:
removed, will NOT be needed by Makefile.vc
* source/headers/geos/Makefile.am: distribute version.h
* capi/Makefile.am: distribute geos_c.h
2006-11-15 Sandro Santilli <strk@refractions.net>
* capi/geos_c.h.in: hopefully fixed GEOS_DLL use.
2006-11-15 Sandro Santilli <strk@refractions.net>
* capi/geos_c.cpp (GEOSGeom_getDimensions):
Fix a segfault on empty geometry input
(fix bug #126).
2006-11-10 Paul Ramsey <pramsey@refractions.net>
* capi/Makefile.am, geos_c.h.vc: allow the .vc file to be
updated automatically with version numbers from the core
version files at the root of the source tree.
2006-11-09 Sandro Santilli <strk@refractions.net>
* test/xmltester/XMLTester.cpp: improved 'testarea' test.
2006-11-08 Sandro Santilli <strk@refractions.net>
* tests/xmltester/robustness.xml: made test safe to
run by using the new 'areatest' operation; added
new testcases just raised on the mailing list.
* tests/xmltester/Makefile.am: robustness.xml is now safe
to run, so run it on make check.
* source/headers/geos/geom/BinaryOp.h: enable
COMMONBITS-removal heuristic so it is attempted
*before* geometry snapping.
--------- GEOS-3.0.0rc2 release [2006-11-05] --------------------------
2006-11-05 Sandro Santilli <strk@refractions.net>
* capi/Makefile.am: distribute files needed for testing, proper
cleanup (make distcheck works now)
2006-11-03 Sandro Santilli <strk@refractions.net>
* capi/testrunner.sh: report non-zero exit from
./geostest run; fixed (hopefully) quoting of dollar signs.
2006-11-02 Sandro Santilli <strk@refractions.net>
* source/headers/geos/geom/BinaryOp.h: disable debugging output
by default.
* capi/geostest.c: updated to use the new GEOSGeometry typedef, so
to build w/out warnings and fully respecting current const
specification.
* capi/geos_c.cpp, capi/geos_c.h.in: const-corrected and documented
GEOSPolygonize function.
* capi/test.expected: updated expected version
* capi/testrunner.sh: be happy with geostest running w/out
segfaulting, still run diff for reference.
* configure.in: updated versions to 3.0.0rc2 / CAPI-1.3.0
2006-11-02 Markus Schaber <schabi@logix-tt.com>
* capi/geos_c.h.in: add GEOSGeometry and GEOSCoordSequence
typedef, to unhide the pointer type and allow fine-grained
const specification, use the new typedefs in function signatures
(fix some const-specifications accordingly)
* capi/geos_c.cpp: define GEOSGeometry and GEOSCoordSequence
for cross-checking of types in header.
2006-10-30 Markus Schaber <schabi@logix-tt.com>
* capi/geos_c.cpp: more focused 'using' directives.
* capi/geos_c.h.in: let the enum visible by geos_c.cpp
now that there are no more name clashes.
2006-10-30 Sandro Santilli <strk@refractions.net>
* source/operation/overlay/OverlayOp.cpp: reduce
default verbosity.
2006-10-30 Markus Schaber <schabi@logix-tt.com>
* capi/geos_c.cpp:
Remove a typedef which is also included via Header;
Use dynamic_cast instead of C cast in 2 cases to allow the
RTTI type check;
Replace "geoms" temp vector in polygonizer function with a loop,
this saves us at least one of the two vector copies;
Drop 2 unneded const_cast occurences;
Allow calling getNumGeometries against non-collections;
2 comment / whitespace cleanups.
* capi/geos_c.h.in:
Added a comment explaining ou #ifndef magic;
Unified the two #ifndef into a single one.
2006-10-30 Sandro Santilli <strk@refractions.net>
* capi/: test.expected, testrunner.sh, Makefile.am:
Added a run of ./geostest as part of 'make check'
2006-10-30 Markus Schaber <schabi@logix-tt.com>
* capi/: geos_c.cpp, geos_c.h.in:
Changed the C-API implementation to actually include the header
that's included by the clients, this allows the compiler to check
declarations and implementation for consistency, fixed geos_c.cpp
accordingly (const-correctness, mainly).
2006-10-30 Sandro Santilli <strk@refractions.net>
* capi/geostest.c: added some checks of return from CAPI
functions returning GEOSGeom (not all, just a few:)
2006-10-27 Markus Schaber <schabi@logix-tt.com>
* algorithm::InteriorPointLine (ctor): take Geometry by const-pointer.
* geom::Geometry (getInteriorPoint): made a const-method
* operation::polygonize::Polygonizer: implement filter_ro rather
then filter_rw, as it doesn't change the Geometry, propagated
change to internal interfaces (add methods)
2006-10-26 Sandro Santilli <strk@refractions.net>
* capi/geos_c.h.in: reverted all changes of 'int' types
to 'size_t' types (the lib never changed, and still expects
ints)
2006-10-24 Sandro Santilli <strk@refractions.net>
* source/headers/geos/geom/BinaryOp.h: try original geoms
first by default.
* operation::overlay::OverlayResultValidator.cpp (isValid):
run the test even if inputs and output are not areal.
* operation::overlay::FuzzyPointLocator:
eliminate non-polygonal components from consideration when
testing the location of points.
* precision::GeometrySnapper: snapPrecisionFactor augmented
from 10e-12 to 10e-10.
* precision::LineStringSnapper (findSegmentToSnap):
return the *closest* segment, don't snap if the closest
segment *intersects* the snap points, consider a distance
of exactly snapTolerance as non-tolerated
(got in sync with JTS)
2006-10-23 Sandro Santilli <strk@refractions.net>
* source/headers/geos/geom/BinaryOp.h (SnapOp): document
and add optional CBR step (snap after applying common
bits removal - this is the default); (check_valid): add
validity checker function.
2006-10-20 Sandro Santilli <strk@refractions.net>
* noding::SegmentString: added notifyCoordinatesChange
method.
* noding::ScaledNoder: notify possible coordinates change
to SegmentString after removing repeated points.
2006-10-19 Sandro Santilli <strk@refractions.net>
* configure.in: use 'expr' for arithmetics (more portable)
2006-10-18 Mateusz Loskot <mateusz@loskot.net>
* makefile.vc: added top-level makefile for Visual C++,
* source/Makefile.vc: updated comments
2006-10-18 Sandro Santilli <strk@refractions.net>
* source/operation/overlay/OverlayOp.cpp: disable non-JTS overlay
result validators (to more closely track JTS at this stage)
2006-10-13 Sandro Santilli <strk@refractions.net>
* source/headers/geos/geom/BinaryOp.h (SnapOp): fixed horrible
bug applying overlay of first geom to itself :(
* capi/Makefile.am: don't directly link geostest against
both libgeos.so and libstdc++ (should be derived by
libgeos_c.so).
2006-10-12 Sandro Santilli <strk@refractions.net>
* tests/bigtest/GeometryTestFactory.cpp,
tests/bigtest/bigtest.h, tests/bigtest/TestSweepLineSpeed.cpp:
fixed header inclusion, to reduce compiler noise.
2006-10-09 Sandro Santilli <strk@refractions.net>
* source/headers/geos/geom/BinaryOp.h: always snap geoms to
each-other before applying an overlay (temp hack).
* source/operation/overlay/OverlayOp.cpp: enable all overlay
result validators, make it disablable at compile time.
2006-10-05 Mateusz Loskot <mateusz@loskot.net>
* capi/geos_c.h.in,
capi/geos_c.h.vc: Added inclusion guards.
2006-10-05 Sandro Santilli <strk@refractions.net>
* tests/xmltester/XMLTester.cpp: increment areatest verbosity
(needs -v -v)
2006-09-07 Howard Butler <hobu@hobu.net>
* GEOSEnvelope wasn't in the PROTOTYPES section in geos_c.cpp
2006-09-07 Sandro Santilli <strk@refractions.net>
* source/operation/distance/DistanceOp.cpp (computeMinDistancePoints):
fixed invalid reference.
* autogen.sh: don't giveup on automake failures (testing)
2006-09-06 Sandro Santilli <strk@refractions.net>
* tests/unit/operation/overlay/OffsetPointGeneratorTest.cpp
tests/unit/Makefile.am: new test for OffsetPointGenerator class
* tests/unit/operation/overlay/FuzzyPointLocatorTest.cpp,
tests/unit/Makefile.am: new test for FuzzyPointLocator class
2006-09-06 Mateusz Loskot <mateusz@loskot.net>
* source/operation/overlay/OverlayResultValidator.cpp,
source/operation/overlay/OffsetPointGenerator.cpp,
source/headers/geos/operation/overlay/OffsetPointGenerator.h,
source/headers/geos/operation/overlay/OverlayResultValidator.h:
Set svn:keyword property for $Id$ expansion.
2006-09-06 Sandro Santilli <strk@refractions.net>
* tests/unit/precision/GeometrySnapperTest.cpp:
updated after GeometrySnapper interface change.
* source/operation/overlay/FuzzyPointLocator.cpp,
source/operation/overlay/OverlayResultValidator.cpp,
source/operation/overlay/OffsetPointGenerator.cpp,
source/operation/overlay/Makefile.am,
source/headers/geos/operation/overlay/OffsetPointGenerator.h,
source/headers/geos/operation/overlay/Makefile.am,
source/headers/geos/operation/overlay/FuzzyPointLocator.h,
source/headers/geos/operation/overlay/OverlayResultValidator.h:
Rest of Overlay validation classes.
2006-09-06 Mateusz Loskot <mateusz@loskot.net>
* All files of following types: .c .cpp .h .i .in .inl
.m .mk .py .vc: set svn:keyword property for $Id$ keyword
expansion.
2006-09-06 Sandro Santilli <strk@refractions.net>
* source/operation/overlay/FuzzyPointLocator.cpp,
source/headers/geos/operation/overlay/FuzzyPointLocator.h:
new helper class for Overlay op validation.
2006-09-05 Sandro Santilli <strk@refractions.net>
* source/precision/GeometrySnapper.cpp,
source/headers/geos/precision/GeometrySnapper.h:
Accept snapping tolerance as parameter, provide snap
tolerance computation function.
* source/headers/geos/geom/BinaryOp.h: compute a smart
snap tolerance for given input when using snapping heuristic.
* source/operation/overlay/OverlayOp.cpp (checkObviouslyWrongResult):
reworded exception messages
2006-07-26 Sandro Santilli <strk@refractions.net>
* source/index/quadtree/Root.cpp (insertContained):
fixed bug in isZeroY computation - see
geos-devel/2006-August/002541.html
2006-08-03 Charlie Savage <cfis@savagexi.com>
* Added equalsExact and normalize to the c api as discussed here
http:gcgeos.refractions.net/pipermail/geos-devel/2006-July/002452.html.
2006-08-03 Charlie Savage <cfis@savagexi.com>
* swig/python/Makefile.am: geos.py and geos_wrap.cxx are
now removed by make maintainer-clean but not make clean.
* swig/ruby/Makefile.am: geos.py and geos_wrap.cxx are
now removed by make maintainer-clean but not make clean.
2006-08-03 Mateusz Loskot <mateusz@loskot.net>
* tests/unit/geos_unit.cpp: fixed Bug #90
2006-07-26 Sandro Santilli <strk@refractions.net>
* capi/Makefile.am: forced link of geostest against stdc++ lib
* tests/xmltester/XMLTester.cpp: added <cmath>
include (for fabs use)
* source/headers/geos/geom/BinaryOp.h:
Added geometry snapping heuristic
2006-07-25 Sandro Santilli <strk@refractions.net>
* autogen.sh: make failures more visible
2006-07-21 Mateusz Loskot <mateusz@loskot.net>
* source/headers/geos/geom.h,
source/headers/geos/io.h: Wrapped FIXME message with
#warning directive to shout about potential headers
removal in future.
2006-07-21 Sandro Santilli <strk@refractions.net>
* source/headers/geos/precision/GeometrySnapper.h,
source/headers/geos/precision/LineStringSnapper.h,
source/headers/geos/precision/Makefile.am,
source/precision/GeometrySnapper.cpp,
source/precision/LineStringSnapper.cpp,
source/precision/Makefile.am,
tests/unit/Makefile.am,
tests/unit/precision/LineStringSnapperTest.cpp:
Added new precision::LineStringSnapper class + tests
and precision::GeometrySnapper + tests
* source/headers/geos/geom/CoordinateList.h: added operator<<
* tests/unit/geom/LineSegmentTest.cpp: added another distance() test
* source/headers/geos/geom/CoordinateList.h,
source/headers/geos/geom/Makefile.am, tests/unit/Makefile.am,
tests/unit/geom/CoordinateListTest.cpp:
CoordinateList class re-introduced, for list-based ops
(not strictly mapped to JTS version, not yet at least)
2006-07-13 Charlie Savage <cfis@savagexi.com>
* swig: Finished porting SWIG bindings to use the C API.
* swig: Added SWIG back into the GEOS build system. To build
either the Ruby or Python bindings:
./configure --enable-python --enable-ruby
* automake: Updated EXTRA_DIST to include most SWIG files.
Still have to add generated .cxx and .py files.
* tests: Added tests that cover most of the C-API (in Ruby)
* tests: Started to update the Ruby tests to use the test
data used by the XMLTester.
* tests: Added some quick sanity tests for the Python bindings
2006-07-11 Charlie Savage <cfis@savagexi.com>
* swig/geos.i: Updated SWIG bindings to use C API.
* capi/geos_c.cpp: Added GEOSGeomFromHEX_buf/GEOSGeomToHEX_buf methods
that allow reading and writing geometries to and from
Hex encoded WKB values.
* capi/geos_c.cpp: Added GEOS_getWKBByteOrder/GEOS_setWKBByteOrder methods
that allows clients to specify the output byte order of WKB
and WKB Hex values that are written by the WKBWriter.
* capi/geos_c.cpp: Added GEOS_getWKBOutputDims to mirror
GEOS_setWKBOutputDims. These methods allows clients to read the
current number of dimensions output to WKB and WKB Hex values.
2006-07-10 Sandro Santilli <strk@refractions.net>
* capi/geos_c.cpp: don't use dynamic strings as format arg
in the formatted message callbacks.
* source/headers/geos/simplify/DouglasPeuckerLineSimplifier.h:
changed vector<bool> to vector<short int> (see bug#101)
2006-07-09 Mateusz Loskot <mateusz@loskot.net>
* tests/unit/noding/SegmentStringTest.cpp: removed
unecessary zero-to-void-pointer casts.
* tests/unit/noding/SegmentNodeTest.cpp: added new test suite
* tests/unit/noding/SegmentPointComparatorTest.cpp: added
new test suite (template, tests cases will be added)
* tests/unit/Makefile.am: added new unit test files
2006-07-08 Sandro Santilli <strk@refractions.net>
* configure.in: incremented CAPI minor version, to avoid
falling behind any future version from the 2.2. branch.
* source/geom/Geometry.cpp, source/geom/GeometryFactory.cpp,
source/geomgraph/EdgeRing.cpp,
source/headers/geos/geom/Geometry.h,
source/headers/geos/geom/GeometryFactory.h,
source/headers/geos/geom/GeometryFactory.inl,
source/headers/geos/geomgraph/EdgeRing.h:
updated doxygen comments (sync with JTS head).
* source/headers/geos/platform.h.in: include <inttypes.h>
rather then <stdint.h>
2006-07-07 Mateusz Loskot <mateusz@loskot.net>
* macros/geos.m4: Fixed versions comparison in
the GEOS_UNIT macro.
2006-07-07 Sandro Santilli <strk@refractions.net>
* acsite.m4: include <inttypes.h> rather then <stdint.h>
(the latter is not available on Solaris 9)
* configure.in: make sure CFLAGS is set before compiling
using the 64bit integer detection macro.
2006-07-06 Mateusz Loskot <mateusz@loskot.net>
* macros/geos.m4: Fixed version query regexp with escaped
dots. Removed -lpq from GEOS_LIBS flags.
2006-07-06 Mateusz Loskot <mateusz@loskot.net>
* macros/geos.m4: Removed redundant -L and -I
from GEOS_LIBS and GEOS_CFLAGS.
2006-07-06 Mateusz Loskot <mateusz@loskot.net>
* macros/geos.m4: Fixed GEOS_INIT to support full paths to
geos-config passed to --with-geos. Fixed version decoding.
2006-07-05 Sandro Santilli <strk@refractions.net>
* tests/unit/Makefile.am: distribute utility.h.
* configure.in, tests/Makefile.am, tests/tut/Makefile.am:
distribute the TUT framework.
* tests/xmltester/Makefile.am: distribute XML tests and tester.
* source/operation/valid/Makefile.am: fixed missing
SweeplineNestedRingTester.cpp file.
* source/headers/geos/operation/linemerge/Makefile.am:
fixed missing backslash, dropping headers from distribution.
* source/headers/geos/operation/overlay/OverlayOp.h,
source/operation/overlay/OverlayOp.cpp: added checks
for obviously wrong results.
2006-06-27 Sandro Santilli <strk@refractions.net>
* source/algorithm/HCoordinate.cpp: added
support for MingW -ansi builds.
* capi/geos_c.cpp: fixed forward declaration
of GEOSCoordSeq_getOrdinate.
* capi/geos_c.h.in: renamed GEOSGeomTypeId
enum to GEOSGeomTypes, to make VC++ 2005 happy.
2006-06-19 Sandro Santilli <strk@refractions.net>
* source/headers/geos/geom/CoordinateFilter.h,
source/headers/geos/noding/ScaledNoder.h,
source/headers/geos/util/CoordinateArrayFilter.h,
source/headers/geos/util/UniqueCoordinateArrayFilter.h,
source/noding/ScaledNoder.cpp: don't *require*
CoordinateFilters to define both read-only and read-write
methods.
* source/geom/Polygon.cpp: optimized loops.
* geom::GeometryFactory (cpp,h,inl): port info and doxygen dox.
* geom::util::GeometryTransformer (cpp,h): updated port info.
* tests/xmltester/XMLTester.cpp: tolerate invalid inputs.
2006-06-14 Sandro Santilli <strk@refractions.net>
* source/geom/Coordinate.cpp, source/headers/geos/geom/Coordinate.h,
source/headers/geos/geom/Coordinate.inl: let the compiler
synthetize copy ctor and assignment op for Coordinate class
to obtain better numerical stability.
* tests/xmltester/XMLTester.cpp: added support
for AreaTest ops.
* source/operation/overlay/OverlayOp.cpp: use
NodeMap::container and related typedefs, removed
(int) casts, optimized loops.
* source/geomgraph/EdgeEnd.cpp,
source/headers/geos/geomgraph/DirectedEdge.h,
source/headers/geos/geomgraph/DirectedEdge.inl,
source/headers/geos/geomgraph/EdgeEnd.h:
EdgeEnd::getEdge() made non-virtual and inlined.
* source/operation/overlay/PolygonBuilder.cpp: fixed
bug in placePolygonHoles and findShell (and actually improved
performance of them).
2006-06-13 Sandro Santilli <strk@refractions.net>
* operation::overlay::PolygonBuilder: cleanups.
* source/headers/geos/io/WKTReader.inl: added missing include
for GEOS_DEBUG set case, use stderr for debugging output.
* source/operation/overlay/LineBuilder.cpp: fixed unused
parameter warning.
* source/headers/geos/geomgraph/GeometryGraph.h: changed
GeometryGraph::lineEdgeMap set comparison function to
be pointer-based. Should be safe and much faster. Available
tests all succeed.
* source/geom/Geometry.cpp: added self comparison check
in compareTo().
2006-06-12 Sandro Santilli <strk@refractions.net>
* source/simplify/LineSegmentIndex.cpp: explicitly initialized
parent class in constructors.
* source/headers/geos/index/quadtree/Root.h,
source/headers/geos/operation/distance/ConnectedElementPointFilter.h,
source/headers/geos/operation/polygonize/Polygonizer.h:
Removed unused parameter warnings.
* source/headers/geos/geom/GeometryFilter.h:
added assert(0) version of filter_ro() and filter_rw()
to allow implementations to only defined the required
one.
* source/headers/geos/operation/polygonize/Polyginzer.h,
source/headers/geos/index/quadtree/Root.h:
Removed unused parameter warnings.
* source/headers/geos/io/WKTWriter.h,
source/io/WKTWriter.cpp: fixed compiler warnings,
fixed some methods to omit unused parameters.
* source/geom/CoordinateSequence.cpp,
source/headers/geos/geom/CoordinateSequence.h,
tests/unit/geom/CoordinateArraySequenceTest.cpp:
Added equality and inequality operators and tests +
indentation fixes and notes about things to be fixed.
* source/planargraph/Node.cpp: implemented missing
getEdgesBetween() method (untested).
* source/headers/geos/planargraph/DirectedEdge.h,
source/planargraph/DirectedEdge.cpp:
provided a memory friendly version of toEdges() method.
* source/geom/CoordinateArraySequence.cpp: explicitly invoked
CoordinateSequence (copy) ctor - suggested by GCC warning.
* source/headers/geos/geom/CoordinateSequence.h: added default
ctor and copy ctor ( protected ).
* acsite.m4, configure.in, source/headers/geos/platform.h.in: