[geos-devel] GEOS Status (Sunday, Mar. 2)

Paul Ramsey pramsey at refractions.net
Sun Mar 2 20:46:03 EST 2003


Compilation crashes and burns pretty early on. There seems to be some 
trivial incompatibilities between what the headers are saying and what 
the code is saying.

g++ -DHAVE_CONFIG_H -I. -I. -I../../source/headers 
-I../../source/headers -DGEOS_VERSION=\"1\" -g -O2 -c 
GeometryFactory.cpp -MT GeometryFactory.lo -MD -MP -MF 
.deps/GeometryFactory.TPlo  -fno-common -DPIC -o 
.libs/GeometryFactory.lo
GeometryFactory.cpp: In static member function `static Geometry*
    GeometryFactory::toGeometry(Envelope*, PrecisionModel*, int)':
GeometryFactory.cpp:18: no matching function for call to `Point::Point(
    Coordinate, PrecisionModel*&, int&)'
../../source/headers/geom.h:690: candidates are: Point::Point(const 
Point&)
../../source/headers/geom.h:689:                 
Point::Point(Coordinate&,
    PrecisionModel*, int)
../../source/headers/geom.h:688:                 Point::Point()

On Sunday, March 2, 2003, at 05:04 PM, Yury A. Bychkov wrote:

> Current status: All ported code has been cleaned up. Most of the 
> Coordinate
> class instances replaced with references. Most of methods from 
> Coordinate class
> have been inlined. This resulted in noticeable (~15%) performance 
> improvement
> (see output below).
>
> To do: Add rawGetAt method to CoordinateList* classes (Norman's 
> recommendation
> that should result in even better performance). Write a couple of  
> example
> programs using new CoordinateList interfaces. Bring the GEOS up to 
> date with the
> latest JTS version (1.3), add namespace and continue the porting (with 
> isValid).
>
> Yury
>
> P.S. Latest performance numbers (P4-2.53):
>
> # overlapping MCs: 406
> # segment intersection tests: 226
> n Pts: 1000  Executed in     10 ms.
> # overlapping MCs: 406
> # segment intersection tests: 278
> n Pts: 2000  Executed in     30 ms.
> # overlapping MCs: 406
> # segment intersection tests: 248
> n Pts: 4000  Executed in     40 ms.
> # overlapping MCs: 406
> # segment intersection tests: 250
> n Pts: 8000  Executed in     70 ms.
> # overlapping MCs: 406
> # segment intersection tests: 272
> n Pts: 16000  Executed in    140 ms.
> # overlapping MCs: 406
> # segment intersection tests: 264
> n Pts: 32000  Executed in    291 ms.
> # overlapping MCs: 406
> # segment intersection tests: 236
> n Pts: 64000  Executed in    581 ms.
> # overlapping MCs: 406
> # segment intersection tests: 264
> n Pts: 128000  Executed in   1142 ms.
> # overlapping MCs: 406
> # segment intersection tests: 238
> n Pts: 256000  Executed in   2473 ms.
> # overlapping MCs: 406
> # segment intersection tests: 232
> n Pts: 512000  Executed in   4937 ms.
> # overlapping MCs: 406
> # segment intersection tests: 232
> n Pts: 1024000  Executed in   9403 ms.
>
>
> _______________________________________________
> geos-devel mailing list
> geos-devel at geos.refractions.net
> http://geos.refractions.net/mailman/listinfo/geos-devel




More information about the geos-devel mailing list