Paul Ramsey
0db98e8f29
fix build
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12710 b70326c6-7e19-0410-871a-916f4a2858ee
2014-06-30 17:55:46 +00:00
Paul Ramsey
5afe7a893b
#2797 cu_surface.c warning on polyhedralsurface_parse
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12709 b70326c6-7e19-0410-871a-916f4a2858ee
2014-06-30 16:43:31 +00:00
Paul Ramsey
f6ee57106f
#2793 , sfcgal cunit tests do not seem to run
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12707 b70326c6-7e19-0410-871a-916f4a2858ee
2014-06-30 16:15:00 +00:00
Regina Obe
a3cbbf11d3
#2790 SET_VARSIZE redefined - to fix swapped out liblwgeom.h with liblwgeom_internal.h which includes reference to postgis_config.h to do conditional right thing based in pg version
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12704 b70326c6-7e19-0410-871a-916f4a2858ee
2014-06-30 02:43:21 +00:00
Sandro Santilli
9ed149511f
Fix undefined behavior in ptarray_calculate_gbox_geodetic ( #2774 )
...
Patch by Paul Ramsey
git-svn-id: http://svn.osgeo.org/postgis/trunk@12676 b70326c6-7e19-0410-871a-916f4a2858ee
2014-06-27 07:38:02 +00:00
Sandro Santilli
7b0155a9c1
Fix potential memory fault in ST_MakeValid
...
The fault would be triggered by passing a non-empty collection
to ST_MakeValid where any "made-valid" component would result
being non accepted by the final geometry collection constructor.
I'm not sure an input exists right now to trigger that case,
but worth fixing anyway.
Bug found by Alvaro Huarte:
https://github.com/postgis/postgis/pull/21
git-svn-id: http://svn.osgeo.org/postgis/trunk@12666 b70326c6-7e19-0410-871a-916f4a2858ee
2014-06-26 11:03:36 +00:00
Sandro Santilli
aba916c19e
Still build libjson code when having 0.9
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12660 b70326c6-7e19-0410-871a-916f4a2858ee
2014-06-25 12:31:42 +00:00
Sandro Santilli
6dbe445ac2
Oops, unterminated #ifdef
...
See https://travis-ci.org/postgis/postgis/builds/28397745#L1062
git-svn-id: http://svn.osgeo.org/postgis/trunk@12659 b70326c6-7e19-0410-871a-916f4a2858ee
2014-06-25 11:24:37 +00:00
Sandro Santilli
1e6687c435
Attempt re-adding support fo libjson < 0.10 ( #2723 )
...
See https://travis-ci.org/postgis/postgis/builds/28394436#L1330
git-svn-id: http://svn.osgeo.org/postgis/trunk@12658 b70326c6-7e19-0410-871a-916f4a2858ee
2014-06-25 10:28:48 +00:00
Sandro Santilli
8bf532be2f
Fix warning: no previous prototype for 'lwgeom_sfcgal_version'
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12656 b70326c6-7e19-0410-871a-916f4a2858ee
2014-06-25 09:49:42 +00:00
Paul Ramsey
cb074c46ec
#2775 lwline_from_lwmpoint leaks memory
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12651 b70326c6-7e19-0410-871a-916f4a2858ee
2014-06-24 22:45:39 +00:00
Paul Ramsey
7e66c170c7
#2723 failure to build against external json-c 0.12
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12647 b70326c6-7e19-0410-871a-916f4a2858ee
2014-06-24 21:59:47 +00:00
Paul Ramsey
b55193f5c3
Quiet LLVM warnings and remove old ignores from properties
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12448 b70326c6-7e19-0410-871a-916f4a2858ee
2014-04-09 20:10:13 +00:00
Sandro Santilli
77f7223491
Add more debug prints
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12446 b70326c6-7e19-0410-871a-916f4a2858ee
2014-04-09 17:02:10 +00:00
Paul Ramsey
8070d71422
#2697 , ST_GeomFromGeoJSON() of invalid GeoJSON Polygons crashes server process
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12411 b70326c6-7e19-0410-871a-916f4a2858ee
2014-04-03 21:53:47 +00:00
Paul Ramsey
d03e576e17
CircNode compare function needs to deference inputs
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12365 b70326c6-7e19-0410-871a-916f4a2858ee
2014-03-26 15:04:01 +00:00
Paul Ramsey
557f7b090f
Quiet llvm warning
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12364 b70326c6-7e19-0410-871a-916f4a2858ee
2014-03-26 10:25:04 +00:00
Paul Ramsey
5b0ecfd147
Go back to old hasz behavior
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12363 b70326c6-7e19-0410-871a-916f4a2858ee
2014-03-26 10:23:17 +00:00
Paul Ramsey
33563bf25b
Fix up GeoJSON empty poly fix a little more
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12356 b70326c6-7e19-0410-871a-916f4a2858ee
2014-03-26 09:31:47 +00:00
Paul Ramsey
c660d60962
#2619 , SIGSEGV in ST_GeomFromGeoJSON with empty list of coordinates
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12355 b70326c6-7e19-0410-871a-916f4a2858ee
2014-03-26 09:25:28 +00:00
Paul Ramsey
98c424af92
Remove test output
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12346 b70326c6-7e19-0410-871a-916f4a2858ee
2014-03-25 11:38:38 +00:00
Paul Ramsey
0a028761a2
Quiet tests
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12345 b70326c6-7e19-0410-871a-916f4a2858ee
2014-03-25 08:35:54 +00:00
Paul Ramsey
9a655cab38
Uncomment tests
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12342 b70326c6-7e19-0410-871a-916f4a2858ee
2014-03-25 08:03:58 +00:00
Paul Ramsey
001ab8c8f4
#2634 , should fix geography-tree-distance errors in cases
...
where polygons interact with collections.
git-svn-id: http://svn.osgeo.org/postgis/trunk@12340 b70326c6-7e19-0410-871a-916f4a2858ee
2014-03-24 15:25:39 +00:00
Nicklas Avén
d72ac352f7
Fix for #2671
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12329 b70326c6-7e19-0410-871a-916f4a2858ee
2014-03-16 18:36:42 +00:00
Nicklas Avén
8af3798da5
Make the error message about wrong calculated size in twkb a little more verbose.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12321 b70326c6-7e19-0410-871a-916f4a2858ee
2014-03-10 20:25:17 +00:00
Nicklas Avén
9debe15b95
lround should be more correct than round since we expect a long int in return
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12320 b70326c6-7e19-0410-871a-916f4a2858ee
2014-03-10 20:08:51 +00:00
Paul Ramsey
44cf4543aa
#2636 , Regress ST_Distance_Sphere between 2.1.2dev and 2.0.4 with 2D
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12307 b70326c6-7e19-0410-871a-916f4a2858ee
2014-03-08 00:45:32 +00:00
Paul Ramsey
1b475efe81
#2634 , regression in sphere distance code
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12305 b70326c6-7e19-0410-871a-916f4a2858ee
2014-03-07 23:58:34 +00:00
Paul Ramsey
fae22a2b85
#2546 , GeoJSON with string coordinates parses incorrectly
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12302 b70326c6-7e19-0410-871a-916f4a2858ee
2014-03-07 23:20:25 +00:00
Paul Ramsey
79e019ea31
#2638 , geography ST_Intersects bugginess with Polygon/multilinestring M
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12297 b70326c6-7e19-0410-871a-916f4a2858ee
2014-03-06 05:54:41 +00:00
Sandro Santilli
90b0d7a635
Simplify use of flags
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12251 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-22 20:44:46 +00:00
Sandro Santilli
2231d33c27
Fix build of unit tests with libtool 2.4.2
...
The error was:
undefined reference to symbol 'lround@@GLIBC_2.2.5'
For some reason -lm found in liblwgeom.la is not being taken
in consideration. See #2649
git-svn-id: http://svn.osgeo.org/postgis/trunk@12249 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-22 20:34:17 +00:00
Sandro Santilli
6569f099be
Fix reference to website
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12248 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-22 20:11:10 +00:00
Paul Ramsey
dd5479d85d
#2534 , st_distance is returning incorrect results for large geographies
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12228 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-05 23:00:07 +00:00
Paul Ramsey
58014e647f
#2632 , ST_AsGML for curve types
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12227 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-05 17:43:48 +00:00
Paul Ramsey
2506552da8
Add more info to circtree structures
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12211 b70326c6-7e19-0410-871a-916f4a2858ee
2014-02-04 05:57:22 +00:00
Nicklas Avén
eaf91d31db
First varint cunit test
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12201 b70326c6-7e19-0410-871a-916f4a2858ee
2014-01-29 21:47:27 +00:00
Nicklas Avén
f90f08ddd6
Remove flagging for first vertex and just substract with 0 instead
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12200 b70326c6-7e19-0410-871a-916f4a2858ee
2014-01-29 21:44:41 +00:00
Nicklas Avén
36c17d6fb1
Use signed instead of unsignet varint for ID and check for values out of varint range
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12199 b70326c6-7e19-0410-871a-916f4a2858ee
2014-01-29 21:32:08 +00:00
Paul Ramsey
bf2901b473
#2622 , Update links to PostGIS website in source file headers
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12198 b70326c6-7e19-0410-871a-916f4a2858ee
2014-01-29 17:49:35 +00:00
Nicklas Avén
d57f3695e6
Fix two wrong behavior in TWKB with optional id and type in different situations
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12188 b70326c6-7e19-0410-871a-916f4a2858ee
2014-01-18 20:28:49 +00:00
Paul Ramsey
b1a5f45f2f
Remove warnings in llvm/clang
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12125 b70326c6-7e19-0410-871a-916f4a2858ee
2013-11-12 22:06:18 +00:00
Sandro Santilli
407b2d1cc7
Fix small memory leak in lwline_split_by_line ( #2528 )
...
Thanks Alessandro Furieri for the report and test
git-svn-id: http://svn.osgeo.org/postgis/trunk@12094 b70326c6-7e19-0410-871a-916f4a2858ee
2013-11-06 09:39:29 +00:00
Paul Ramsey
95f32e10b9
#2433 , ST_ConcaveHull 2.1 regress failure compared to 2.0
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12049 b70326c6-7e19-0410-871a-916f4a2858ee
2013-10-19 04:24:54 +00:00
Paul Ramsey
047c30fc63
#2463 , st_length on curve is on linearized geom
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@12045 b70326c6-7e19-0410-871a-916f4a2858ee
2013-10-18 21:00:07 +00:00
Sandro Santilli
49e05caf04
Enhance error messages in lwgeom_intersection and lwgeom_normalize
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@11931 b70326c6-7e19-0410-871a-916f4a2858ee
2013-09-06 16:46:30 +00:00
Nicklas Avén
c4a5493f45
add support for ID up to int64
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@11889 b70326c6-7e19-0410-871a-916f4a2858ee
2013-08-26 22:35:19 +00:00
Nicklas Avén
184636263c
Remove homebrewed compression method. Don't add ID if not used.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@11878 b70326c6-7e19-0410-871a-916f4a2858ee
2013-08-26 18:58:28 +00:00
Nicklas Avén
3fa7a08cf9
Fix wrong size-calculation when mixed types in aggregated twkb
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@11839 b70326c6-7e19-0410-871a-916f4a2858ee
2013-08-18 21:59:02 +00:00