Commit graph

3134 commits

Author SHA1 Message Date
Paul Ramsey 979efbd545 Don't segmentize geometry if input doesn't pass hasarc
git-svn-id: http://svn.osgeo.org/postgis/trunk@3820 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-09 22:01:04 +00:00
Regina Obe ed1a4c708b Put ST_CurveToLine back in script. Seems to not crash anymore with Paul's changes to GBT: 112
git-svn-id: http://svn.osgeo.org/postgis/trunk@3819 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-09 21:15:42 +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
Mark Cave-Ayland adbc4841a1 Fix the OSGB 27700 SRID definition in spatial_ref_sys.sql since it is missing a datum parameter. We can't backpatch this since it is only available in newer versions of PROJ, and we don't have any PROJ version detection capability in 1.3 branch.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3816 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-09 17:19:54 +00:00
Mark Cave-Ayland f2c728f2f9 Remove compile warnings from lwgeom_dump.c related to the removal of TupleDescGetSlot (we don't need to set the deprecated fields in FuncCallContext if we are using BuildTupleFromCStrings).
git-svn-id: http://svn.osgeo.org/postgis/trunk@3815 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-09 16:20:03 +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
Olivier Courtin 9b70624cd3 Refactored the whole assvg export function in the same way than asgeojson. Fix #119 issue on big geometrycollection geometry. Keep the same SVG output than before
git-svn-id: http://svn.osgeo.org/postgis/trunk@3813 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-09 14:51:42 +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
Mark Cave-Ayland e78a1a96d9 Fix for GBT#93: ST_Extent() and ST_Estimated_Extent() return BOX2DFLOAT4s. This is currently done using a horrible hack for backwards compatibility which introduces a new type just for ST_Extent(). See GBT email to postgis-devel and code comments for more detail.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3811 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-08 22:33:31 +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
Mark Cave-Ayland 4196d9c659 Add some explanation comments to lwgeom_accum.c explaining why we need to implement our own set of geometry aggregate functions.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3806 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-08 17:00:54 +00:00
Mark Cave-Ayland 15e1705f88 Alter the in-built casts between the internal PostgreSQL BOX type and the PostGIS geometry/BOX3D types so that they do not go through an intermediate BOX2DFLOAT4 first. This prevents the float4 rounding errors appearing in the numbers when invoking the casts.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3805 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-08 16:36:20 +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
Mark Cave-Ayland 3e5a62e7d3 Fix GBT#122: ST_SnapToGrid gives 13 when fed circular string. Alter the error message so that it correctly displays the type rather than just it's internal number.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3802 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-08 14:36:05 +00:00
Regina Obe 4d7789e58b missing svn tags and copyright info
git-svn-id: http://svn.osgeo.org/postgis/trunk@3799 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-06 14:15:43 +00:00
Regina Obe e455659db4 Flag ST_GeoHash as curved support friendly, put in pretty anchors for special function sections
git-svn-id: http://svn.osgeo.org/postgis/trunk@3790 b70326c6-7e19-0410-871a-916f4a2858ee
2009-03-03 18:01:11 +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
Regina Obe 71e56ae051 Get rid of additional calls to TupleDescGetSlot(tupdesc) in dump and dumprings and replace deprecated use of TupleDescGetSlot with 8.1+ preferred BlessTupleDesc
git-svn-id: http://svn.osgeo.org/postgis/trunk@3781 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-27 18:09:09 +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
Regina Obe 0d753c3d33 change to move postgis_comments.sql to root
git-svn-id: http://svn.osgeo.org/postgis/trunk@3760 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-23 13:47:19 +00:00
Paul Ramsey 9006239c0f Add variable decls to trunk :)
git-svn-id: http://svn.osgeo.org/postgis/trunk@3750 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-19 21:12:22 +00:00
Paul Ramsey 5a578a7217 Add EOF marker, per GBT#105
git-svn-id: http://svn.osgeo.org/postgis/trunk@3749 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-19 20:59:31 +00:00
Mark Cave-Ayland 9094e91996 Update trunk so that it will compile against PostgreSQL 8.4. Based upon Talha Rizwan's original patch, with a small tweak from me.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3741 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-19 09:42:59 +00:00
Regina Obe 467cc83035 change to use tab separator instead
git-svn-id: http://svn.osgeo.org/postgis/trunk@3734 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-17 18:26:04 +00:00
Regina Obe 10e429b42a fix typo
git-svn-id: http://svn.osgeo.org/postgis/trunk@3730 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-17 03:56:53 +00:00
Regina Obe a404f718d5 git-svn-id: http://svn.osgeo.org/postgis/trunk@3729 b70326c6-7e19-0410-871a-916f4a2858ee 2009-02-17 03:02:17 +00:00
Regina Obe 5352c52e02 Make new - 1 section with 2 subsections. Change ST_AsGeoJSON availability tag to be consistent with others
git-svn-id: http://svn.osgeo.org/postgis/trunk@3728 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-17 02:59:23 +00:00
Regina Obe e07aac6dd7 Section new functions in 1.3
git-svn-id: http://svn.osgeo.org/postgis/trunk@3727 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-17 02:55:49 +00:00
Regina Obe cf32db88ef Try again to get postgis_comments.sql to generate
git-svn-id: http://svn.osgeo.org/postgis/trunk@3721 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-16 22:18:53 +00:00
Regina Obe 9d600f3ae1 amend st_union description to include new proto and performance enhancements. Add space before availability in xsl parser what is new section
git-svn-id: http://svn.osgeo.org/postgis/trunk@3705 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-13 19:56:52 +00:00
Regina Obe e7f6c2a1b5 Add special section listing new functions in this release. Get rid of note tag around ST_GeoHash availability so consistent with other availability text
git-svn-id: http://svn.osgeo.org/postgis/trunk@3704 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-13 19:23:22 +00:00
Regina Obe abb6c610e3 git-svn-id: http://svn.osgeo.org/postgis/trunk@3702 b70326c6-7e19-0410-871a-916f4a2858ee 2009-02-13 06:58:56 +00:00
Regina Obe 06a3012321 more work on comments generation
git-svn-id: http://svn.osgeo.org/postgis/trunk@3694 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-12 18:32:46 +00:00
Regina Obe 37da8c83ea Put in logic to output postgis_comments.sql
git-svn-id: http://svn.osgeo.org/postgis/trunk@3690 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-12 17:39:59 +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 ddfe100a7c Change references from ./lwgeom to ./postgis
git-svn-id: http://svn.osgeo.org/postgis/trunk@3687 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-11 18:28:53 +00:00
Paul Ramsey e4c31abc14 Change the name of the main source directory. This is going to break the build for a little while until I fix all the references, but I want to do it atomically to ensure version history is preserved.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3686 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-11 18:22:32 +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 91d72effc2 Solve iconv-on-Solaris (and hopefully many other platforms with system iconv in libc) problem in autoconf.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3683 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-10 21:20:17 +00:00
Paul Ramsey 60a6511ce2 Demote new loader code from default build for now.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3682 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-10 20:10:53 +00:00
Paul Ramsey e95520673f New restore script, much simpler, takes -Fc dump and writes back ASCII on stdout
git-svn-id: http://svn.osgeo.org/postgis/trunk@3681 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-10 20:06:00 +00:00
Olivier Courtin ce49b5fe54 KML output: use decimal places rather than significant digit, trim trailing zeros, update documentation, update unit test
git-svn-id: http://svn.osgeo.org/postgis/trunk@3677 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-10 08:00:39 +00:00
Olivier Courtin f2743b91e4 GeoJson output: trim trailing zero, add forgotten free on subgemotry inspect. GML output: precision no more as a global one, decimal places rather than significant digits, trim trailing zero, add unit test, doc update with output example
git-svn-id: http://svn.osgeo.org/postgis/trunk@3676 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-10 07:54:19 +00:00
Paul Ramsey 776fb3ccbb Fix case sensitive in AGGREGATE reading.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3675 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-09 23:51:30 +00:00
Kevin Neufeld ecd943977e Updated ST_DumpRings description and example.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3647 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-05 20:01:37 +00:00
Kevin Neufeld 70a18ca6cd Added example to ST_PointN
git-svn-id: http://svn.osgeo.org/postgis/trunk@3641 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-04 18:13:44 +00:00
Regina Obe 6d50efb603 minor changes. Take ST_CurveToLine out so tests can complete until we fix.
git-svn-id: http://svn.osgeo.org/postgis/trunk@3640 b70326c6-7e19-0410-871a-916f4a2858ee
2009-02-04 13:54:55 +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