Regina Obe
d19c4c6578
typo
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4048 b70326c6-7e19-0410-871a-916f4a2858ee
2009-05-01 04:24:41 +00:00
Regina Obe
5711186fe7
experiment with making our inline comments more doxygen friendly
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@4047 b70326c6-7e19-0410-871a-916f4a2858ee
2009-05-01 04:24:13 +00:00
Paul Ramsey
cc70f099f6
Fix for collection vs collection distance behavior. Per Nicklas Avén. GBT #146
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3967 b70326c6-7e19-0410-871a-916f4a2858ee
2009-04-05 16:48:11 +00:00
Mark Cave-Ayland
f7de53897c
More cleanup work based upon Mateusz's MSVC patches; remove references to unistd.h and sys/param.h since they are no longer required for determining endian-ness.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3877 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-16 23:06:58 +00:00
Mark Cave-Ayland
7cbd1b301d
More MSVC fixes from Mateusz related to ISO C++ vs. C99 variable initialisation.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3848 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-10 21:29:14 +00:00
Mark Cave-Ayland
5c9f6a77d2
Fix for GBT#132: Make check should run CUnit. This is to aid developers as we move the majority of the testing framework over to CUnit.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3842 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-10 20:25:09 +00:00
Mark Cave-Ayland
1431cf1cf9
Remove compiler warning from commit r3821.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3839 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-10 19:37:47 +00:00
Mark Cave-Ayland
7172fef0d5
Augment comment related to Paul's fix for GBT#130 as I'm bound to forget why we decided to do this at a later date...
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3831 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-10 16:26:09 +00:00
Olivier Courtin
3590185d1a
Add circstring release and LWGEOM conversion entry
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3830 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-10 16:24:50 +00:00
Mark Cave-Ayland
b5b6d21a4e
Remove some GCC-isms from the unparser related to setting array sizes at run-time rather than compile time. Per report from Mateusz Loskot.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3828 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-10 16:18:52 +00:00
Paul Ramsey
3ce0132d1e
Fix for GBT #130 , remove bdpoly regression failure.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3826 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-10 15:12:11 +00:00
Mark Leslie
488d11cba9
Moving parser changes from spike/mleslie/parser to allow the proper nesting of compound curves within curve polygons and the validation of compound curve continuity. This also resolves GBT#124.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3821 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-10 00:29:32 +00:00
Paul Ramsey
84ede471af
Fix for GBT#96.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3817 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-09 18:40:23 +00:00
Paul Ramsey
d51eb698c6
More camel-case changes.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3814 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-09 15:34:00 +00:00
Paul Ramsey
d982ee5a01
Remove some camelCase function signatures from liblwgeom
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3812 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-09 14:36:15 +00:00
Paul Ramsey
254e6bdcbb
Fix goof in box2d computation.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3809 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-08 21:41:23 +00:00
Paul Ramsey
c7016a23a1
Fix for GBT#112
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3807 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-08 21:15:00 +00:00
Paul Ramsey
919bac6d62
Fix for GBT #116 , EMPTY hex polygon no longer causes crash.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3803 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-08 15:37:27 +00:00
Paul Ramsey
4a0aa3ee8e
Fix tests to match current geohash signatures (lon/lat) and precisions (odd and even)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3789 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-03 18:00:52 +00:00
Sandro Santilli
5c20f8b020
Fix parse_hex to support lower-case A-F too (issue 120)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3762 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-23 15:19:37 +00:00
Paul Ramsey
87ee4ab726
Bind ST_GeoHash into SQL.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3688 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-11 21:48:13 +00:00
Paul Ramsey
54be933339
GeoHash implementation first cut.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3685 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-11 02:11:24 +00:00
Paul Ramsey
cdfcc4e366
Propset Author Id Keyword Revision on all files.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3639 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-04 00:28:37 +00:00
Paul Ramsey
50dd669d16
Formating
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3638 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-04 00:23:38 +00:00
Paul Ramsey
95b47138a2
Fix boundary conditions with from==to hitting first/list vertex.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3637 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-03 20:51:04 +00:00
Mark Cave-Ayland
e943ad97e7
Fix GBT#109: Some operators not supported for Circular. In this case I haven't added the comparison code as I am not 100% sure on the semantics, but the error message should be much clearer to users now.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3636 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-03 19:09:48 +00:00
Paul Ramsey
ac805bda91
astyle this file
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3621 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-03 01:59:05 +00:00
Paul Ramsey
cb026d28fd
formatting
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3619 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-02 22:21:27 +00:00
Mark Leslie
0974feec6b
Fix for Issue 108 and regress test.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3605 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-02 06:01:27 +00:00
Paul Ramsey
1893da945c
First revision of the GUI. Configure using --with-gui to enable full GUI build. New core/cli will build by default. Old utilities remain in place for now.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3538 b70326c6-7e19-0410-871a-916f4a2858ee
2009-01-19 21:33:14 +00:00
Paul Ramsey
953347a200
Remove missing prototype warning from build.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3527 b70326c6-7e19-0410-871a-916f4a2858ee
2009-01-14 17:46:00 +00:00
Mark Cave-Ayland
d88132f39f
Fix compile warnings for the cunit tests (unused variables).
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3523 b70326c6-7e19-0410-871a-916f4a2858ee
2009-01-13 13:12:15 +00:00
Mark Cave-Ayland
580a6b862d
Update lwgeom_gettypename() by renaming Curve to CircularString. Now lots of error messages scattered throughout liblwgeom should start to make sense...
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3522 b70326c6-7e19-0410-871a-916f4a2858ee
2009-01-13 13:00:48 +00:00
Mark Cave-Ayland
862fd30292
Rearrange liblwgeom.h as per Paul's comment on GBT#97: Rename LWCURVE to LWCIRCSTRING. Also rename lwfree_circstring() to lwcircstring_free() so that it matches the others (I guess this was missed in the first pass).
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3521 b70326c6-7e19-0410-871a-916f4a2858ee
2009-01-13 12:59:03 +00:00
Mark Cave-Ayland
ce6b5889c8
Commit for GBT#97: Rename LWCURVE to LWCIRCSTRING (also know as restoring balance to the universe).
...
Having gone through and re-read sections of the CIRCULARSTRING code, it is amazing how much easier the code is to read without the confusion of a curve being either a CIRCULARSTRING or LINESTRING as per the SQL-MM spec. The resulting commit compiles & installs cleanly for me, passes "make check" and also Regina's torture script. Please let me know if I accidentally broke anything :)
git-svn-id: http://svn.osgeo.org/postgis/trunk@3520 b70326c6-7e19-0410-871a-916f4a2858ee
2009-01-13 12:27:39 +00:00
Paul Ramsey
e35e08942e
Remove double-free problem from loader in presence of new deep-freeing lwfree calls.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3519 b70326c6-7e19-0410-871a-916f4a2858ee
2009-01-12 19:29:57 +00:00
Mark Cave-Ayland
203e6d1709
Remove erroneus merge from r3502 (HAVE_CUNIT_H just isn't defined anymore...)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3515 b70326c6-7e19-0410-871a-916f4a2858ee
2009-01-12 12:23:11 +00:00
Paul Ramsey
8fe9ec35db
Rename lwfree_inspected to lwinspected_release, per it's "shallow free" behavior.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3511 b70326c6-7e19-0410-871a-916f4a2858ee
2009-01-09 19:17:03 +00:00
Paul Ramsey
6744f68423
Rename lwfree_* to *_free.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3510 b70326c6-7e19-0410-871a-916f4a2858ee
2009-01-09 17:41:23 +00:00
Paul Ramsey
825548243f
Alter lwfree_* to deep-free memory. Add variants of *_release to support shallow-free. Go through lwgeom/ and replace any lwfree_* instances with *_release where appropriate. (Surprisingly few.)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3502 b70326c6-7e19-0410-871a-916f4a2858ee
2009-01-08 17:04:00 +00:00
Mark Cave-Ayland
aee626b51d
Bump some LWDEBUG(F) from level 1 up to levels 3-4 (level 1 is reserved)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3496 b70326c6-7e19-0410-871a-916f4a2858ee
2009-01-07 12:11:15 +00:00
Mark Cave-Ayland
5d1472ea60
Allow CPPFLAGS/LDFLAGS parameters from the command line to be passed into the CUnit Makefile, since CUnit is the only dependency that cannot determine its own flags using a --with-X parameter. This allows CUnit to be installed in a non-standard location if required.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3494 b70326c6-7e19-0410-871a-916f4a2858ee
2009-01-05 20:54:12 +00:00
Mark Cave-Ayland
7aff0181c9
Rework the CUnit detection infrastructure as you can't locate include files based on an absolute path. This is because autoconf and the compiler have differing ideas of the current paths (this totally breaks the Win32 build since you have the extra mapping between UNIX-type MingW paths and Windows-type paths). Hopefully this should not affect existing users at all - if so, please post a report on -devel. I'll try running this on MingW at a later date.
...
I've also enforced "make check" to run the unit tests, rather than "make test". This is a fallout from the early days when strk committed the regression test suite to run using "make test" by accident which appears to have stuck :(
.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3492 b70326c6-7e19-0410-871a-916f4a2858ee
2009-01-05 00:08:26 +00:00
Mark Cave-Ayland
53a1050f3e
Fix comment in lwgeom_from_ewkt() and also add a quick error check to lwgeom_from_ewkt() and lwgeom_from_ewkb() - otherwise upon parse failure we could pass a half-baked geometry back to the caller which would not be good :(
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3491 b70326c6-7e19-0410-871a-916f4a2858ee
2009-01-04 20:39:11 +00:00
Mark Cave-Ayland
51d64b41ec
Update the cunit tests to use the proper parser flag PARSER_CHECK_NONE rather than the hard-coded zero.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3490 b70326c6-7e19-0410-871a-916f4a2858ee
2009-01-04 20:11:03 +00:00
Mark Cave-Ayland
10e549d288
Add -lm to the cu_tester link line - we must always add this to the link line for anything that links agains liblwgeom.a (at least on my Linux system here)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3489 b70326c6-7e19-0410-871a-916f4a2858ee
2009-01-04 19:54:47 +00:00
Mark Cave-Ayland
476a5aaff7
Commit quick fix for GBT#85: ST_Distance crashes on Circular String. Rather than devise and implement a set of distance functions for CIRCULARSTRINGs, I've simply added code to detect the condition and throw an "Unsupported geometry type" error, similar to as already exists within the codebase.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3487 b70326c6-7e19-0410-871a-916f4a2858ee
2009-01-04 19:24:22 +00:00
Paul Ramsey
761363721f
Fix based on test case from MAC.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3482 b70326c6-7e19-0410-871a-916f4a2858ee
2009-01-01 00:31:47 +00:00
Paul Ramsey
884fb23dca
Add support for multilinestring to st_locatebetweenelevations
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3481 b70326c6-7e19-0410-871a-916f4a2858ee
2008-12-27 22:58:08 +00:00
Paul Ramsey
fc75e88e49
Add mline version of clipper.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@3479 b70326c6-7e19-0410-871a-916f4a2858ee
2008-12-24 20:15:51 +00:00