Commit graph

1973 commits

Author SHA1 Message Date
Sandro Santilli 6a1b38d099 Updated
git-svn-id: http://svn.osgeo.org/postgis/trunk@2032 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-11 17:49:26 +00:00
Sandro Santilli 27c0bab9a4 Fixed memory alignment bug in base geometry type serializers, added integrity check for geometry type flag and it's pointarrays dimension mismatch
git-svn-id: http://svn.osgeo.org/postgis/trunk@2030 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-11 17:45:46 +00:00
Sandro Santilli 80ad0eaf29 Fixed memory alignment issues in force_*d*_recursive
git-svn-id: http://svn.osgeo.org/postgis/trunk@2029 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-11 17:23:27 +00:00
Sandro Santilli 87ca119cf5 Added some dimensionality changes tests
git-svn-id: http://svn.osgeo.org/postgis/trunk@2027 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-11 17:03:28 +00:00
Sandro Santilli 1635cf59cd Added linemerge test
git-svn-id: http://svn.osgeo.org/postgis/trunk@2026 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-11 17:02:31 +00:00
Sandro Santilli e69989d3eb Fixed short-initialization in getPoint4d_p
git-svn-id: http://svn.osgeo.org/postgis/trunk@2020 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-11 10:49:27 +00:00
Sandro Santilli dd4750f328 Ported ELF detection code from PostgreSQL. PostGIS builds on freebsd > 2 out of the box now.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2019 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-01 17:11:20 +00:00
Sandro Santilli 946649dc11 Initial work on ST_AddEdgeNewFaces
git-svn-id: http://svn.osgeo.org/postgis/trunk@2018 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-01 11:56:20 +00:00
Sandro Santilli 99ed4467ce Removed calls to get_proj4_from_srid() from transform() to require
a single scan of spatial_ref_sys for call rather then two.


git-svn-id: http://svn.osgeo.org/postgis/trunk@2016 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-01 11:46:19 +00:00
Sandro Santilli 38a2ecee25 Fixed handling of --with-proj handling
git-svn-id: http://svn.osgeo.org/postgis/trunk@2015 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-01 11:37:19 +00:00
Sandro Santilli 509a9e15e8 updated
git-svn-id: http://svn.osgeo.org/postgis/trunk@2014 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-01 10:29:14 +00:00
Sandro Santilli 2d979bcd73 Changed major-minor version numbers extraction to be compatible with postgresql 7.2.1 (relies on the fact that this information will always be in the first 4 characters - single digit per version)
git-svn-id: http://svn.osgeo.org/postgis/trunk@2011 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-01 10:22:29 +00:00
Sandro Santilli 3d91194f92 Reworked NULL geometries handling code letting user specify policy (insert,skip,abort). Insert is the default.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2010 b70326c6-7e19-0410-871a-916f4a2858ee
2005-11-01 09:25:47 +00:00
Markus Schaber 02ca128caf Document Bug in PGShapeGeometry
git-svn-id: http://svn.osgeo.org/postgis/trunk@2009 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-31 13:42:27 +00:00
Markus Schaber addd1737a5 Small winding rule fix and some comment improvements
git-svn-id: http://svn.osgeo.org/postgis/trunk@2008 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-28 13:48:14 +00:00
Sandro Santilli 157b11aa7a updated
git-svn-id: http://svn.osgeo.org/postgis/trunk@2006 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-26 11:10:58 +00:00
Sandro Santilli d02c0b0d16 Added optional second argument to specify schema in which postgis functions are to be replaced
git-svn-id: http://svn.osgeo.org/postgis/trunk@2004 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-26 11:07:55 +00:00
Sandro Santilli 981d8dd065 Added azimuth() and shift_longitude() functions
git-svn-id: http://svn.osgeo.org/postgis/trunk@2003 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-25 14:31:27 +00:00
Sandro Santilli a1d9b76ad6 Added documentation for azimuth()
git-svn-id: http://svn.osgeo.org/postgis/trunk@2002 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-25 14:31:02 +00:00
Sandro Santilli 59d3da2f17 Added missing SRID check in azimuth() function
git-svn-id: http://svn.osgeo.org/postgis/trunk@2001 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-25 14:21:10 +00:00
Sandro Santilli 83b5071f30 Added azimuth(point,point) function.
git-svn-id: http://svn.osgeo.org/postgis/trunk@2000 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-25 14:15:41 +00:00
Sandro Santilli 153b504c3b Added shift_longitude(geometry) sql procedure and underlying
ptarray_longitude_shift(POINTARRAY *) and lwgeom_longitude_shift(LWGEOM *)
functions.


git-svn-id: http://svn.osgeo.org/postgis/trunk@1999 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-25 11:38:28 +00:00
Sandro Santilli ca15af32ae Fixed bug in GEOSCoordSeq to POINTARRAY converter
git-svn-id: http://svn.osgeo.org/postgis/trunk@1998 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-25 11:37:17 +00:00
Sandro Santilli a20af7f7a5 Added pglwgeom_deserialize()
git-svn-id: http://svn.osgeo.org/postgis/trunk@1997 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-25 11:16:09 +00:00
Sandro Santilli 278c6788d2 Moved loader/dumper stricter handling of attribute sizes from 1.0.5 to head section
git-svn-id: http://svn.osgeo.org/postgis/trunk@1996 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-24 16:14:04 +00:00
Sandro Santilli 4fba191633 fixed wrong assumption about maximum size of integer attributes (width is maximum size of text representation)
git-svn-id: http://svn.osgeo.org/postgis/trunk@1993 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-24 15:54:22 +00:00
Sandro Santilli fddc99f37e Updated to reflect ownership policy in GEOS C-api.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1991 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-24 13:29:12 +00:00
Sandro Santilli e9cf837533 Added attribute types mapping change
git-svn-id: http://svn.osgeo.org/postgis/trunk@1990 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-24 11:33:46 +00:00
Sandro Santilli 574f208bae Fixed a bug in string attributes handling truncating values of maximum
allowed length, curtesy of Lars Roessiger.
Reworked integer attributes handling to be stricter in dbf->sql mapping
and to allow for big int8 values in sql->dbf conversion


git-svn-id: http://svn.osgeo.org/postgis/trunk@1987 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-24 11:30:59 +00:00
Markus Schaber 60236a42d7 PGShapeGeometry constructor cleanup
git-svn-id: http://svn.osgeo.org/postgis/trunk@1986 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-21 15:35:05 +00:00
Markus Schaber 3d955c069f Updated jdbc2 README to reflect JTS dependency on trove4j
git-svn-id: http://svn.osgeo.org/postgis/trunk@1985 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-21 13:06:33 +00:00
Markus Schaber b7d5a24b9a implemented JTS GeometryFactory caching
git-svn-id: http://svn.osgeo.org/postgis/trunk@1984 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-21 12:07:10 +00:00
Sandro Santilli 647fccede9 Applied patch by Lars Roessiger handling numerical values with a trailing decima
l dot


git-svn-id: http://svn.osgeo.org/postgis/trunk@1982 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-21 11:33:55 +00:00
Markus Schaber 6c0ed98409 typo fix in java2D example
git-svn-id: http://svn.osgeo.org/postgis/trunk@1981 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-21 08:53:08 +00:00
Markus Schaber c9d35cae00 added example for java2d
git-svn-id: http://svn.osgeo.org/postgis/trunk@1980 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-20 18:07:37 +00:00
Markus Schaber 37eaa14523 moved java2d to ordinary src directory, as it does not depend on any external libraries.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1979 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-20 16:13:51 +00:00
Markus Schaber 77140c44ca fix postgresql 7.2 datatype registration compatibility code
git-svn-id: http://svn.osgeo.org/postgis/trunk@1978 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-20 16:04:03 +00:00
Markus Schaber 4494fd77cd Fixed all deprecation warnings in JTS code by using proper GeometryFactory instances (hope)
git-svn-id: http://svn.osgeo.org/postgis/trunk@1977 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-20 15:58:52 +00:00
Markus Schaber 36644bcc68 added forgotten changelog entry
git-svn-id: http://svn.osgeo.org/postgis/trunk@1976 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-20 15:57:51 +00:00
Markus Schaber ba1bf6b255 Added some source for java2D readonly support
git-svn-id: http://svn.osgeo.org/postgis/trunk@1975 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-20 14:35:07 +00:00
Sandro Santilli 64585c6c44 Handled some more errors.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1974 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-19 13:11:41 +00:00
Sandro Santilli da6dff33f3 Removed useless variables from linemerge()
git-svn-id: http://svn.osgeo.org/postgis/trunk@1973 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-19 10:12:09 +00:00
Sandro Santilli 9518d20188 Removed unused variables in linemerge()
git-svn-id: http://svn.osgeo.org/postgis/trunk@1972 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-19 10:09:07 +00:00
Sandro Santilli e51b2fe6b6 Added ST_ModEdgesSplit function, cleaned up test files, added tests for
the new topology editing functions.


git-svn-id: http://svn.osgeo.org/postgis/trunk@1971 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-19 10:04:15 +00:00
Sandro Santilli 307df8801e Fixed ST_NewEdgesSplit function to return new Node id rather then text
git-svn-id: http://svn.osgeo.org/postgis/trunk@1970 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-18 16:39:15 +00:00
Sandro Santilli a7fcbf3910 Added SQL/MM functions ST_RemoveIsoEdge and ST_NewEdgesSplit.
The ST_NewEdgesSplit also updates the Relation table (out of SQL/MM specs).


git-svn-id: http://svn.osgeo.org/postgis/trunk@1969 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-18 15:31:26 +00:00
Sandro Santilli a8ecc2dfc0 Changed GEOS initializzation to use lwnotice for errors rather then
lwerror, to allow for cleanup on exceptions.


git-svn-id: http://svn.osgeo.org/postgis/trunk@1968 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-17 09:40:27 +00:00
Sandro Santilli db05134726 Added -Wall flag to compilers invocation
git-svn-id: http://svn.osgeo.org/postgis/trunk@1967 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-17 09:39:56 +00:00
Sandro Santilli 5644988497 Fixed compiler warnings, handled exceptions in POSTGIS2GEOS conversions
git-svn-id: http://svn.osgeo.org/postgis/trunk@1966 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-17 08:37:50 +00:00
Sandro Santilli 8ab57b444f Added topology change
git-svn-id: http://svn.osgeo.org/postgis/trunk@1965 b70326c6-7e19-0410-871a-916f4a2858ee
2005-10-14 08:29:23 +00:00