]> granicus.if.org Git - postgis/log
postgis
13 years agoReflect type of empty from ST_Dimension (#1441)
Sandro Santilli [Tue, 10 Jan 2012 14:58:16 +0000 (14:58 +0000)]
Reflect type of empty from ST_Dimension (#1441)

No existing testcase fail, no new testcase is added.
This change doesn't invalidate any part of the reference manual.
Reference manual isn't updated.

Signed-off-by: Charlie Brown
git-svn-id: http://svn.osgeo.org/postgis/trunk@8748 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoUse a standard lwcollection_allows_subtype function to guard against bad input.
Sandro Santilli [Tue, 10 Jan 2012 13:17:21 +0000 (13:17 +0000)]
Use a standard lwcollection_allows_subtype function to guard against bad input.

Fixes #698 (and #1445 in a better way)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8747 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoIf the database settings are incorrect when attempting an import, display the connect...
Mark Cave-Ayland [Tue, 10 Jan 2012 12:28:46 +0000 (12:28 +0000)]
If the database settings are incorrect when attempting an import, display the connection settings
dialog.

Also a minor bugfix: if the dialog is cancelled by closing the window, ensure that any unset
fields are reset back to blank.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8746 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoSwitch shp2pgsql-gui to COPY mode by default for increased speed; the user doesn...
Mark Cave-Ayland [Tue, 10 Jan 2012 12:28:36 +0000 (12:28 +0000)]
Switch shp2pgsql-gui to COPY mode by default for increased speed; the user doesn't really care
what form the output takes when it's being loaded into the database directly rather than via
a file.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8745 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoRaise an error within shp2pgsql-gui if the user clicks "Import" without having added...
Mark Cave-Ayland [Tue, 10 Jan 2012 12:28:30 +0000 (12:28 +0000)]
Raise an error within shp2pgsql-gui if the user clicks "Import" without having added any files to the list.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8744 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAlter shp2pgsql-gui so that we use one connection per file; this makes tracking error...
Mark Cave-Ayland [Tue, 10 Jan 2012 12:28:23 +0000 (12:28 +0000)]
Alter shp2pgsql-gui so that we use one connection per file; this makes tracking error state
on the server considerably easier, since upon abort we just disconnect from the server rather
than trying to figure out what state we are in and handle it appropriately.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8743 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoCheck type of elements added to multi geometries. Fixes #1445.
Sandro Santilli [Tue, 10 Jan 2012 11:36:14 +0000 (11:36 +0000)]
Check type of elements added to multi geometries. Fixes #1445.

Includes regress testing both at the liblwgeom and postgis levels.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8742 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd "M" type modifiers on elements of GEOMETRYCOLLECTION
Sandro Santilli [Tue, 10 Jan 2012 10:06:11 +0000 (10:06 +0000)]
Add "M" type modifiers on elements of GEOMETRYCOLLECTION

Reflects specs in doc/ZMgeoms.txt and satisfies the parser.
Closes ticket #724.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8741 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoOther generated files
Sandro Santilli [Tue, 10 Jan 2012 08:32:53 +0000 (08:32 +0000)]
Other generated files

git-svn-id: http://svn.osgeo.org/postgis/trunk@8740 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoIgnore new generated files
Sandro Santilli [Tue, 10 Jan 2012 08:28:32 +0000 (08:28 +0000)]
Ignore new generated files

git-svn-id: http://svn.osgeo.org/postgis/trunk@8739 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd images-clean rule and perform the cleanup on maintainer-clean
Sandro Santilli [Tue, 10 Jan 2012 08:26:53 +0000 (08:26 +0000)]
Add images-clean rule and perform the cleanup on maintainer-clean

git-svn-id: http://svn.osgeo.org/postgis/trunk@8738 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoput in missing title tag
Regina Obe [Tue, 10 Jan 2012 07:25:20 +0000 (07:25 +0000)]
put in missing title tag

git-svn-id: http://svn.osgeo.org/postgis/trunk@8737 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoput in missing end paragraph end tag
Regina Obe [Tue, 10 Jan 2012 07:12:55 +0000 (07:12 +0000)]
put in missing end paragraph end tag

git-svn-id: http://svn.osgeo.org/postgis/trunk@8736 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agofix typo
Regina Obe [Tue, 10 Jan 2012 07:03:15 +0000 (07:03 +0000)]
fix typo

git-svn-id: http://svn.osgeo.org/postgis/trunk@8735 b70326c6-7e19-0410-871a-916f4a2858ee

13 years ago#1442: Add sections on installing, upgrading and loading data into tiger geocoder...
Regina Obe [Tue, 10 Jan 2012 06:53:12 +0000 (06:53 +0000)]
#1442: Add sections on installing, upgrading and loading data into tiger geocoder.  Got at least 2 people who seem confused about how to upgrade their tiger installs and assume it follows the same steps as the rest of PostGIS.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8734 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdded column "out_db" to raster_columns. "out_db" is of type boolean[] with each...
Bborie Park [Mon, 9 Jan 2012 22:43:35 +0000 (22:43 +0000)]
Added column "out_db" to raster_columns.  "out_db" is of type boolean[] with each element indicating if that band of same index is out-of-database.  Updated relevant AddRasterConstraints and DropRasterConstraints functions.  Related ticket is #1440.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8733 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoput in svn Author Date Id Revision keywords
Regina Obe [Mon, 9 Jan 2012 20:17:59 +0000 (20:17 +0000)]
put in svn Author Date Id Revision keywords

git-svn-id: http://svn.osgeo.org/postgis/trunk@8732 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoMake the data of externally-loaded band internally owned so a call to rt_band_destroy...
Bborie Park [Mon, 9 Jan 2012 20:08:15 +0000 (20:08 +0000)]
Make the data of externally-loaded band internally owned so a call to rt_band_destroy() properly frees the memory.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8731 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd read-only support for band data located outside the database in raster files...
Bborie Park [Mon, 9 Jan 2012 19:48:21 +0000 (19:48 +0000)]
Add read-only support for band data located outside the database in raster files.  All "get" and analysis functions should work for out of database bands.  Related ticket is #1440.  Also added a test raster file for use by an out of db band and future use for raster2pgsql loader regression tests.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8730 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoRemoved garbage whitespace.
Bborie Park [Mon, 9 Jan 2012 19:05:10 +0000 (19:05 +0000)]
Removed garbage whitespace.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8729 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdded conditional check to ST_Intersects(raster, int, raster, int) to deal with STRIC...
Bborie Park [Mon, 9 Jan 2012 19:02:49 +0000 (19:02 +0000)]
Added conditional check to ST_Intersects(raster, int, raster, int) to deal with STRICT being set on _st_intersects(raster, int, raster, int).  Fixes regression caused in r8714.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8728 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoRemove whitespace
Paul Ramsey [Mon, 9 Jan 2012 18:50:21 +0000 (18:50 +0000)]
Remove whitespace

git-svn-id: http://svn.osgeo.org/postgis/trunk@8727 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoInterim progress on LRS work.
Paul Ramsey [Mon, 9 Jan 2012 18:27:30 +0000 (18:27 +0000)]
Interim progress on LRS work.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8726 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoChange lwgeom_is_empty to return spatial emptiness (#671)
Sandro Santilli [Mon, 9 Jan 2012 18:01:15 +0000 (18:01 +0000)]
Change lwgeom_is_empty to return spatial emptiness (#671)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8725 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAllow manual resizing of the filename column within shp2pgsql-gui if required, as...
Mark Cave-Ayland [Mon, 9 Jan 2012 17:55:12 +0000 (17:55 +0000)]
Allow manual resizing of the filename column within shp2pgsql-gui if required, as per request from Regina.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8724 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFurther cleanup of ST_CollectionExtract documentation
Sandro Santilli [Mon, 9 Jan 2012 17:27:09 +0000 (17:27 +0000)]
Further cleanup of ST_CollectionExtract documentation

git-svn-id: http://svn.osgeo.org/postgis/trunk@8723 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDocument new ST_CollectionExtract behavior
Sandro Santilli [Mon, 9 Jan 2012 17:10:17 +0000 (17:10 +0000)]
Document new ST_CollectionExtract behavior

git-svn-id: http://svn.osgeo.org/postgis/trunk@8722 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoSwitch back ST_CollectionExtract to return EMPTY rather than NULL on no matches ...
Sandro Santilli [Mon, 9 Jan 2012 17:01:54 +0000 (17:01 +0000)]
Switch back ST_CollectionExtract to return EMPTY rather than NULL on no matches (#835)

This behavior seems closer to the one requested in original #457
testcase, and is still consistent. Is also closer to documentation.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8721 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd lwgeom_construct_empty API call
Sandro Santilli [Mon, 9 Jan 2012 17:01:48 +0000 (17:01 +0000)]
Add lwgeom_construct_empty API call

git-svn-id: http://svn.osgeo.org/postgis/trunk@8720 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoImplement lwcompound_construct_empty
Sandro Santilli [Mon, 9 Jan 2012 17:01:43 +0000 (17:01 +0000)]
Implement lwcompound_construct_empty

git-svn-id: http://svn.osgeo.org/postgis/trunk@8719 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAlwas return NULL on type miss from ST_CollectionExtract (#835)
Sandro Santilli [Mon, 9 Jan 2012 16:20:21 +0000 (16:20 +0000)]
Alwas return NULL on type miss from ST_CollectionExtract (#835)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8718 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoReturn typed empties from lwcollection_extract
Sandro Santilli [Mon, 9 Jan 2012 16:20:13 +0000 (16:20 +0000)]
Return typed empties from lwcollection_extract

git-svn-id: http://svn.osgeo.org/postgis/trunk@8717 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDistribute comments in tarball. Stop distributing pdf or html (#626)
Sandro Santilli [Mon, 9 Jan 2012 15:27:33 +0000 (15:27 +0000)]
Distribute comments in tarball. Stop distributing pdf or html (#626)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8716 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFix compiler warnings
Sandro Santilli [Mon, 9 Jan 2012 15:03:36 +0000 (15:03 +0000)]
Fix compiler warnings

git-svn-id: http://svn.osgeo.org/postgis/trunk@8715 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoMake _ST_Intersects(raster, raster) STRICT as per comments in #1412.
Bborie Park [Mon, 9 Jan 2012 15:01:24 +0000 (15:01 +0000)]
Make _ST_Intersects(raster, raster) STRICT as per comments in #1412.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8714 b70326c6-7e19-0410-871a-916f4a2858ee

13 years ago#1392: Can't geocode intersecting highways or areas where no zip available
Regina Obe [Mon, 9 Jan 2012 14:56:09 +0000 (14:56 +0000)]
#1392: Can't geocode intersecting highways or areas where no zip available

git-svn-id: http://svn.osgeo.org/postgis/trunk@8713 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoBuild the libtool wrapper script version of raster2pgsql
Sandro Santilli [Mon, 9 Jan 2012 13:36:15 +0000 (13:36 +0000)]
Build the libtool wrapper script version of raster2pgsql

git-svn-id: http://svn.osgeo.org/postgis/trunk@8712 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd Maria Arias de Reyna to credits
Regina Obe [Mon, 9 Jan 2012 12:48:32 +0000 (12:48 +0000)]
Add Maria Arias de Reyna to credits

git-svn-id: http://svn.osgeo.org/postgis/trunk@8711 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoUpdate Java components to support SRID<=0 as unknown SRID (#1221)
Sandro Santilli [Mon, 9 Jan 2012 11:01:44 +0000 (11:01 +0000)]
Update Java components to support SRID<=0 as unknown SRID (#1221)

This is first patch by Maria Arias de Reyna taking on maintainance
of the Java components. It includes tweaks in README file and
a new maven based build system. It also includes some indenting
changes.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8710 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFix memory leak in shapefile loader (#1436)
Sandro Santilli [Mon, 9 Jan 2012 10:34:34 +0000 (10:34 +0000)]
Fix memory leak in shapefile loader (#1436)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8709 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agofix typo in extension version
Regina Obe [Mon, 9 Jan 2012 07:52:26 +0000 (07:52 +0000)]
fix typo in extension version

git-svn-id: http://svn.osgeo.org/postgis/trunk@8707 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoCommit reworked version of shp2pgsql-gui to the repository.
Mark Cave-Ayland [Sun, 8 Jan 2012 23:32:05 +0000 (23:32 +0000)]
Commit reworked version of shp2pgsql-gui to the repository.

As per my email to postgis-devel, this commit contains a major reworking
of the inner core, with many bugfixes. The primary changes are:

- Elimination of FILENODE, since we can just use pointers to
  SHPLOADERCONFIG

- Abstract the configuration structures from the GUI interface

- Restrict entry to either drag/drop or file chooser

- Instead of constantly destroying/creating new dialogs, create
  them once and then just show/hide them (in particular this
  enables the file chooser to open at its previous directory)

- Add separate connection details and progress bar dialogs

- Rework both internals and GUI in preparation for adding dumper
  support

Note that the dumper integration changes are being worked on separately
and will be included in a later commit.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8706 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFix typo in manual and more description about schema. Evidentially some people do...
Regina Obe [Sun, 8 Jan 2012 19:15:37 +0000 (19:15 +0000)]
Fix typo in manual and more description about schema.  Evidentially some people do try to read the manual and make sense of it as demonstrated here: http://gis.stackexchange.com/questions/18254/loading-a-raster-into-a-postgis-2-0-database-on-windows

git-svn-id: http://svn.osgeo.org/postgis/trunk@8705 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoCode cleanup related to registering and deregistering GDAL drivers
Bborie Park [Sun, 8 Jan 2012 16:28:12 +0000 (16:28 +0000)]
Code cleanup related to registering and deregistering GDAL drivers

git-svn-id: http://svn.osgeo.org/postgis/trunk@8704 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agolots of corrections, also add integer[] arg recognition
Regina Obe [Sun, 8 Jan 2012 07:57:03 +0000 (07:57 +0000)]
lots of corrections, also add integer[] arg recognition

git-svn-id: http://svn.osgeo.org/postgis/trunk@8703 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agomore cleanup -- issue with raster / raster functions and output convexhull instead...
Regina Obe [Sun, 8 Jan 2012 07:29:03 +0000 (07:29 +0000)]
more cleanup -- issue with raster / raster functions and output convexhull instead of raster when result type is raster or geometry

git-svn-id: http://svn.osgeo.org/postgis/trunk@8702 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agorevise to recognize array of raster arguments
Regina Obe [Sun, 8 Jan 2012 06:49:36 +0000 (06:49 +0000)]
revise to recognize array of raster arguments

git-svn-id: http://svn.osgeo.org/postgis/trunk@8701 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoget rid of dropraster addrastercolumn and replace with create table, apply constraint...
Regina Obe [Sun, 8 Jan 2012 06:26:42 +0000 (06:26 +0000)]
get rid of dropraster addrastercolumn and replace with create table, apply constraints.  Still a lot of cleanup to go

git-svn-id: http://svn.osgeo.org/postgis/trunk@8700 b70326c6-7e19-0410-871a-916f4a2858ee

13 years ago#1435: fix function proto typo of TopoGeo_AddPoint in docs
Regina Obe [Sat, 7 Jan 2012 19:28:51 +0000 (19:28 +0000)]
#1435: fix function proto typo of TopoGeo_AddPoint in docs

git-svn-id: http://svn.osgeo.org/postgis/trunk@8699 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agofix typo in version number
Regina Obe [Sat, 7 Jan 2012 19:24:23 +0000 (19:24 +0000)]
fix typo in version number

git-svn-id: http://svn.osgeo.org/postgis/trunk@8698 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agochange alpha1 to a14. It appears we won't be releasing an alpha1 this weekend bah.
Regina Obe [Sat, 7 Jan 2012 19:04:16 +0000 (19:04 +0000)]
change alpha1 to a14.  It appears we won't be releasing an alpha1 this weekend bah.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8697 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoupdate instructions to reflect changes that need to be made to extensions before...
Regina Obe [Sat, 7 Jan 2012 19:02:50 +0000 (19:02 +0000)]
update instructions to reflect changes that need to be made to extensions before tagged release.  Hopefully we can automate this part in the future -- but have no clue how.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8696 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoHave rt_raster_from_gdal_dataset attempt to determine the SRID of the raster using...
Bborie Park [Sat, 7 Jan 2012 15:24:08 +0000 (15:24 +0000)]
Have rt_raster_from_gdal_dataset attempt to determine the SRID of the raster using OSR.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8695 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdditional tweaks for the NODATA values constraint. Continues changes made in r8691.
Bborie Park [Sat, 7 Jan 2012 14:05:47 +0000 (14:05 +0000)]
Additional tweaks for the NODATA values constraint.  Continues changes made in r8691.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8694 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agobump version to alpha1 in preparation for alpha1 shuttle launch
Regina Obe [Sat, 7 Jan 2012 00:55:25 +0000 (00:55 +0000)]
bump version to alpha1 in preparation for alpha1 shuttle launch

git-svn-id: http://svn.osgeo.org/postgis/trunk@8693 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoMove geojson test into geojson.sql file
Paul Ramsey [Sat, 7 Jan 2012 00:47:36 +0000 (00:47 +0000)]
Move geojson test into geojson.sql file

git-svn-id: http://svn.osgeo.org/postgis/trunk@8692 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFixed handling of NODATA value constraint as band with no NODATA was being constraine...
Bborie Park [Sat, 7 Jan 2012 00:42:18 +0000 (00:42 +0000)]
Fixed handling of NODATA value constraint as band with no NODATA was being constrained with the value of zero.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8691 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoST_GeomFromGeoJSON - Malformed GeoJSON causes SIGSEGV in postgres process (#1434)
Paul Ramsey [Sat, 7 Jan 2012 00:29:34 +0000 (00:29 +0000)]
ST_GeomFromGeoJSON - Malformed GeoJSON causes SIGSEGV in postgres process (#1434)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8690 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoMove offset curve generation into liblwgeom with other geos functionality
Paul Ramsey [Fri, 6 Jan 2012 21:39:50 +0000 (21:39 +0000)]
Move offset curve generation into liblwgeom with other geos functionality

git-svn-id: http://svn.osgeo.org/postgis/trunk@8689 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agofix tag typo
Regina Obe [Fri, 6 Jan 2012 17:35:32 +0000 (17:35 +0000)]
fix tag typo

git-svn-id: http://svn.osgeo.org/postgis/trunk@8688 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoexample of AddRasterConstraint that takes listing of constraints to apply
Regina Obe [Fri, 6 Jan 2012 16:29:39 +0000 (16:29 +0000)]
example of AddRasterConstraint that takes listing of constraints to apply

git-svn-id: http://svn.osgeo.org/postgis/trunk@8687 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAccidentally took out ST_WKTToSQL during #1443. ST_WKTToSQL is documented SQL/MM...
Regina Obe [Fri, 6 Jan 2012 15:35:02 +0000 (15:35 +0000)]
Accidentally took out ST_WKTToSQL during #1443. ST_WKTToSQL is documented SQL/MM alias (extension didn't install as a result since the documentation comment installation failed)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8686 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd files to svn:ignore
Paul Ramsey [Thu, 5 Jan 2012 22:10:42 +0000 (22:10 +0000)]
Add files to svn:ignore

git-svn-id: http://svn.osgeo.org/postgis/trunk@8685 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdded shortcut mechanism for copying data in rt_raster_from_gdal_dataset() when the...
Bborie Park [Thu, 5 Jan 2012 21:18:56 +0000 (21:18 +0000)]
Added shortcut mechanism for copying data in rt_raster_from_gdal_dataset() when the natural block width is the raster width.  Enhanced testing in testapi.c.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8684 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoSyntax cleanup as part of memory bugs audit. Related to ticket #1432. This should...
Bborie Park [Thu, 5 Jan 2012 20:52:11 +0000 (20:52 +0000)]
Syntax cleanup as part of memory bugs audit.  Related to ticket #1432.  This should be the last of it for now.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8683 b70326c6-7e19-0410-871a-916f4a2858ee

13 years ago#1433: Part 2 - merge what is left of sqlmm.sql.in.c into postgis.sql.in.c
Regina Obe [Thu, 5 Jan 2012 20:31:29 +0000 (20:31 +0000)]
#1433: Part 2 - merge what is left of sqlmm.sql.in.c into postgis.sql.in.c

git-svn-id: http://svn.osgeo.org/postgis/trunk@8682 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdditional regression tests for ST_AsGDALRaster, ST_GDALDrivers, ST_AsRaster, ST_Resa...
Bborie Park [Thu, 5 Jan 2012 20:13:12 +0000 (20:13 +0000)]
Additional regression tests for ST_AsGDALRaster, ST_GDALDrivers, ST_AsRaster, ST_Resample, ST_Metadata.  Syntax cleanup in rt_pg.c and testwkb.c

git-svn-id: http://svn.osgeo.org/postgis/trunk@8681 b70326c6-7e19-0410-871a-916f4a2858ee

13 years ago#1433: part 1 -- get rid of SE functions
Regina Obe [Thu, 5 Jan 2012 19:56:18 +0000 (19:56 +0000)]
#1433: part 1 -- get rid of SE functions

git-svn-id: http://svn.osgeo.org/postgis/trunk@8680 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoMemory bug fixes and additional regression tests for ST_SummaryStats, ST_Histogram...
Bborie Park [Thu, 5 Jan 2012 18:59:52 +0000 (18:59 +0000)]
Memory bug fixes and additional regression tests for ST_SummaryStats, ST_Histogram, ST_ValueCount, ST_Reclass and ST_Quantile.  Ticket is #1432.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8679 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoSwitch memory context back before returning in RASTER_bandmetadata
Sandro Santilli [Thu, 5 Jan 2012 16:10:53 +0000 (16:10 +0000)]
Switch memory context back before returning in RASTER_bandmetadata

Fixes second case in #1432

git-svn-id: http://svn.osgeo.org/postgis/trunk@8678 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoIt takes GEOS-3.3.2 for a sane topology (noding fixes in there)
Sandro Santilli [Thu, 5 Jan 2012 08:15:51 +0000 (08:15 +0000)]
It takes GEOS-3.3.2 for a sane topology (noding fixes in there)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8677 b70326c6-7e19-0410-871a-916f4a2858ee

13 years ago#1430: create topology_drop_before and topology_drop_after to allow changing names...
Regina Obe [Thu, 5 Jan 2012 07:59:16 +0000 (07:59 +0000)]
#1430: create topology_drop_before and topology_drop_after to allow changing names of input args and allow changing functions to use default args

git-svn-id: http://svn.osgeo.org/postgis/trunk@8676 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agosvn tags
Regina Obe [Thu, 5 Jan 2012 07:51:07 +0000 (07:51 +0000)]
svn tags

git-svn-id: http://svn.osgeo.org/postgis/trunk@8675 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFix deallocation of terminating NULL in RASTER_asGDALRaster (#1432)
Sandro Santilli [Wed, 4 Jan 2012 22:30:21 +0000 (22:30 +0000)]
Fix deallocation of terminating NULL in RASTER_asGDALRaster (#1432)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8674 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoWork around a PostgreSQL 8.4+ bug with CREATE INTO (#1431)
Sandro Santilli [Wed, 4 Jan 2012 21:38:03 +0000 (21:38 +0000)]
Work around a PostgreSQL 8.4+ bug with CREATE INTO (#1431)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8673 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDocument topology.toTopoGeometry (#1017)
Sandro Santilli [Wed, 4 Jan 2012 20:50:01 +0000 (20:50 +0000)]
Document topology.toTopoGeometry (#1017)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8672 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoComplete implementation and regress test for toTopoGeom (#1017)
Sandro Santilli [Wed, 4 Jan 2012 18:33:06 +0000 (18:33 +0000)]
Complete implementation and regress test for toTopoGeom (#1017)

You can start playing with this. Lacks documentation.
Expect troubles. Feel free to report them.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8671 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoImplement TopoGeometry->Geometry converter for COLLECTION types
Sandro Santilli [Wed, 4 Jan 2012 18:17:49 +0000 (18:17 +0000)]
Implement TopoGeometry->Geometry converter for COLLECTION types

git-svn-id: http://svn.osgeo.org/postgis/trunk@8670 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDon't allow --with-topology when GEOS version < 3.3
Paul Ramsey [Wed, 4 Jan 2012 17:58:11 +0000 (17:58 +0000)]
Don't allow --with-topology when GEOS version < 3.3

git-svn-id: http://svn.osgeo.org/postgis/trunk@8669 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoTry to make json-c detection slightly more automatic.
Paul Ramsey [Wed, 4 Jan 2012 02:07:12 +0000 (02:07 +0000)]
Try to make json-c detection slightly more automatic.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8668 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoChange to GNU macro NAN. Still not feeling The Confidence.
Paul Ramsey [Tue, 3 Jan 2012 23:52:42 +0000 (23:52 +0000)]
Change to GNU macro NAN. Still not feeling The Confidence.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8667 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoMake numerical stability fix actually be present
Paul Ramsey [Tue, 3 Jan 2012 23:42:03 +0000 (23:42 +0000)]
Make numerical stability fix actually be present

git-svn-id: http://svn.osgeo.org/postgis/trunk@8666 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoHm, nan() function?
Paul Ramsey [Tue, 3 Jan 2012 23:28:47 +0000 (23:28 +0000)]
Hm, nan() function?

git-svn-id: http://svn.osgeo.org/postgis/trunk@8665 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDocument TopoGeo_AddPolygon
Sandro Santilli [Tue, 3 Jan 2012 23:24:17 +0000 (23:24 +0000)]
Document TopoGeo_AddPolygon

git-svn-id: http://svn.osgeo.org/postgis/trunk@8664 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoImplement and regress-test TopoGeo_addPolygon
Sandro Santilli [Tue, 3 Jan 2012 23:17:42 +0000 (23:17 +0000)]
Implement and regress-test TopoGeo_addPolygon

git-svn-id: http://svn.osgeo.org/postgis/trunk@8663 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoMake ST_Azimuth(p1, p1) return NULL and make ST_Project(p1, 0, NULL) return p1.
Paul Ramsey [Tue, 3 Jan 2012 22:07:34 +0000 (22:07 +0000)]
Make ST_Azimuth(p1, p1) return NULL and make ST_Project(p1, 0, NULL) return p1.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8662 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoST_Split was implemented - a lot more to remove from TODO
Sandro Santilli [Tue, 3 Jan 2012 21:30:23 +0000 (21:30 +0000)]
ST_Split was implemented - a lot more to remove from TODO

git-svn-id: http://svn.osgeo.org/postgis/trunk@8661 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoChange parameter names to use the "athing" convention. See #1427
Sandro Santilli [Tue, 3 Jan 2012 20:55:19 +0000 (20:55 +0000)]
Change parameter names to use the "athing" convention. See #1427

git-svn-id: http://svn.osgeo.org/postgis/trunk@8660 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoFix typo in exception message, change signature of TopoGeo_addPolygon
Sandro Santilli [Tue, 3 Jan 2012 20:48:51 +0000 (20:48 +0000)]
Fix typo in exception message, change signature of TopoGeo_addPolygon

git-svn-id: http://svn.osgeo.org/postgis/trunk@8659 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoReorganize SQL definitions a bit: type creation at the start, indexes and operators...
Paul Ramsey [Tue, 3 Jan 2012 20:31:15 +0000 (20:31 +0000)]
Reorganize SQL definitions a bit: type creation at the start, indexes and operators after, then other stuff. Probably further ordering would be C-stuff before PL/PgSQL stuff.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8658 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoTest invalid calls to topogeo_addpoint
Sandro Santilli [Tue, 3 Jan 2012 20:24:29 +0000 (20:24 +0000)]
Test invalid calls to topogeo_addpoint

git-svn-id: http://svn.osgeo.org/postgis/trunk@8657 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDocument TopoGeo_addLineString
Sandro Santilli [Tue, 3 Jan 2012 20:04:05 +0000 (20:04 +0000)]
Document TopoGeo_addLineString

git-svn-id: http://svn.osgeo.org/postgis/trunk@8656 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoChange units to radians and add some tests (#657 and #1305)
Paul Ramsey [Tue, 3 Jan 2012 19:21:32 +0000 (19:21 +0000)]
Change units to radians and add some tests (#657 and #1305)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8655 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoImplement and regress-test TopoGeo_AddLineString
Sandro Santilli [Tue, 3 Jan 2012 18:41:55 +0000 (18:41 +0000)]
Implement and regress-test TopoGeo_AddLineString

git-svn-id: http://svn.osgeo.org/postgis/trunk@8654 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoRemoved DROP VIEW statements as per suggestion by robe in ticket #1422.
Bborie Park [Tue, 3 Jan 2012 18:34:59 +0000 (18:34 +0000)]
Removed DROP VIEW statements as per suggestion by robe in ticket #1422.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8653 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDocument TopoGeo_addPoint
Sandro Santilli [Tue, 3 Jan 2012 10:52:30 +0000 (10:52 +0000)]
Document TopoGeo_addPoint

git-svn-id: http://svn.osgeo.org/postgis/trunk@8652 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoAdd regression test for TopoGeo_AddPoint
Sandro Santilli [Tue, 3 Jan 2012 10:39:38 +0000 (10:39 +0000)]
Add regression test for TopoGeo_AddPoint

git-svn-id: http://svn.osgeo.org/postgis/trunk@8651 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoMove TopoGeom_addXXX functions to populate.sql and refine signatures
Sandro Santilli [Tue, 3 Jan 2012 10:10:15 +0000 (10:10 +0000)]
Move TopoGeom_addXXX functions to populate.sql and refine signatures

Implement TopoGeom_addPoint (misses regression testing yet)

git-svn-id: http://svn.osgeo.org/postgis/trunk@8650 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDon't consider the old self edge when checking integrity
Sandro Santilli [Tue, 3 Jan 2012 09:49:54 +0000 (09:49 +0000)]
Don't consider the old self edge when checking integrity

Fixes a bug introduced by previous commit.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8649 b70326c6-7e19-0410-871a-916f4a2858ee

13 years agoDon't consider shared nodes as edge intersections. Fixes #1428.
Sandro Santilli [Tue, 3 Jan 2012 09:44:10 +0000 (09:44 +0000)]
Don't consider shared nodes as edge intersections. Fixes #1428.

git-svn-id: http://svn.osgeo.org/postgis/trunk@8648 b70326c6-7e19-0410-871a-916f4a2858ee