]> granicus.if.org Git - postgis/log
postgis
13 years agoFix memory leak while computing box3d for nested geometrycollection (revealed by...
Sandro Santilli [Tue, 5 Jul 2011 18:55:11 +0000 (18:55 +0000)]
Fix memory leak while computing box3d for nested geometrycollection (revealed by test in cu_geodetic.c)

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

13 years agoProperly release memory allocated by tester
Sandro Santilli [Tue, 5 Jul 2011 18:41:18 +0000 (18:41 +0000)]
Properly release memory allocated by tester

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

13 years ago#1076 hanlde of post direction with highways -- 1940 County Road C W, Roseville,...
Regina Obe [Tue, 5 Jul 2011 17:49:14 +0000 (17:49 +0000)]
#1076 hanlde of post direction with highways -- 1940 County Road C W, Roseville, MN 55113 , also  trim excess space left in street names

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

13 years agoRemove memory leaks when a parse error kicks out in WKT (#1102)
Paul Ramsey [Mon, 4 Jul 2011 22:51:37 +0000 (22:51 +0000)]
Remove memory leaks when a parse error kicks out in WKT (#1102)

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

13 years ago#1076 more work toward Highway geocoding -- significant rework of original patch...
Regina Obe [Mon, 4 Jul 2011 17:32:35 +0000 (17:32 +0000)]
#1076 more work toward Highway geocoding -- significant rework of original patch.  Still need to parse out the direction information

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

13 years agoDrop dangling reference to Probe_Geometry_Columns (see #1083)
Sandro Santilli [Mon, 4 Jul 2011 15:50:40 +0000 (15:50 +0000)]
Drop dangling reference to Probe_Geometry_Columns (see #1083)

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

13 years agoA couple more tests for btree against points: different points, differently cached...
Sandro Santilli [Mon, 4 Jul 2011 15:40:22 +0000 (15:40 +0000)]
A couple more tests for btree against points: different points, differently cached boxes

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

13 years agoHave pglwgeom_getbox2d_p compute a bounding box when not cached. Fixes #1023.
Sandro Santilli [Mon, 4 Jul 2011 15:34:50 +0000 (15:34 +0000)]
Have pglwgeom_getbox2d_p compute a bounding box when not cached. Fixes #1023.

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

13 years agoDocument pglwgeom_getbox2d_p. See http://trac.osgeo.org/postgis/ticket/1023
Sandro Santilli [Mon, 4 Jul 2011 15:12:44 +0000 (15:12 +0000)]
Document pglwgeom_getbox2d_p. See http://trac.osgeo.org/postgis/ticket/1023

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

13 years agoMore unit test memory leaks and compiler warnings fixed
Sandro Santilli [Mon, 4 Jul 2011 14:50:00 +0000 (14:50 +0000)]
More unit test memory leaks and compiler warnings  fixed

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

13 years agoAdd test for btree equality of points (#1023)
Sandro Santilli [Mon, 4 Jul 2011 14:14:59 +0000 (14:14 +0000)]
Add test for btree equality of points (#1023)

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

13 years agoDo not deep-free return from lwcollection_homogenize as it doesn't copy POINTARRAY...
Sandro Santilli [Mon, 4 Jul 2011 13:56:04 +0000 (13:56 +0000)]
Do not deep-free return from lwcollection_homogenize as it doesn't copy POINTARRAY memory. See #1104.

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

13 years agoPlug some memory leaks in the unit tests, to help finding lower-level ones...
Sandro Santilli [Mon, 4 Jul 2011 12:29:40 +0000 (12:29 +0000)]
Plug some memory leaks in the unit tests, to help finding lower-level ones...

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

13 years agoDocument memory management of lwdoubles_to_latlon and lwpoint_to_latlon
Sandro Santilli [Mon, 4 Jul 2011 12:29:31 +0000 (12:29 +0000)]
Document memory management of lwdoubles_to_latlon and lwpoint_to_latlon

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

13 years agoFix support for MULTICURVEZM and make TIN spelling conformant to other (MixedCase...
Sandro Santilli [Mon, 4 Jul 2011 11:24:46 +0000 (11:24 +0000)]
Fix support for MULTICURVEZM and make TIN spelling conformant to other (MixedCase). Add cohomprensive regress test for postgis_type_name(). Closes bug #1096 once again.

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

13 years agoAdd missing circular types to geomtype_struct_array, fixing bug #1094
Sandro Santilli [Mon, 4 Jul 2011 11:24:37 +0000 (11:24 +0000)]
Add missing circular types to geomtype_struct_array, fixing bug #1094

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

13 years agoDo not hard-code lenght of geomtype struct array (See #1094)
Sandro Santilli [Mon, 4 Jul 2011 11:24:32 +0000 (11:24 +0000)]
Do not hard-code lenght of geomtype struct array (See #1094)

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

13 years agoAddGeometryColumn: when complaining about unknown geometry type also report the used...
Sandro Santilli [Mon, 4 Jul 2011 10:10:14 +0000 (10:10 +0000)]
AddGeometryColumn: when complaining about unknown geometry type also report the used name and dimensions (see related bug #1096)

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

13 years agoFix unused variable warning when building against GEOS >= 3.3
Sandro Santilli [Mon, 4 Jul 2011 10:02:49 +0000 (10:02 +0000)]
Fix unused variable warning when building against GEOS >= 3.3

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

13 years agoMake all PostGIS object files depend upon liblwgeom, so that if liblwgeom is
Mark Cave-Ayland [Mon, 4 Jul 2011 09:26:10 +0000 (09:26 +0000)]
Make all PostGIS object files depend upon liblwgeom, so that if liblwgeom is
changed then it also triggers a (complete) rebuild of PostGIS.

Note as documented in #447 this is an over-cautious approach since it rebuilds
all of PostGIS if liblwgeom changes, but at least its a starting point and
does actually solve the case whereby a user updates liblwgeom but doesn't
force a rebuild of PostGIS.

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

13 years agotypo
Sandro Santilli [Mon, 4 Jul 2011 09:09:57 +0000 (09:09 +0000)]
typo

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

13 years agoUpdate expected error messages since typmod introduction. Closes ticket #1101.
Sandro Santilli [Mon, 4 Jul 2011 09:07:07 +0000 (09:07 +0000)]
Update expected error messages since typmod introduction. Closes ticket #1101.

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

13 years agoDo not manually delete rows from geometry_columns (which is now a view). Closes ticke...
Sandro Santilli [Mon, 4 Jul 2011 09:00:48 +0000 (09:00 +0000)]
Do not manually delete rows from geometry_columns (which is now a view). Closes ticket #1099.

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

13 years agoPartial fix for #1076, county roads and highways, but think I might have broken the...
Regina Obe [Mon, 4 Jul 2011 07:35:08 +0000 (07:35 +0000)]
Partial fix for #1076, county roads and highways, but think I might have broken the SELECT (addy).*,* from geocode('16725 Rockford Road, Plymouth, MN 55447') or my data is bad

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

14 years agoFix for #1088: Too many columns in select crashes pgsql2shp.
Mark Cave-Ayland [Sun, 3 Jul 2011 21:47:09 +0000 (21:47 +0000)]
Fix for #1088: Too many columns in select crashes pgsql2shp.

Instead of a fixed length query string, dynamically allocate the memory based
upon the sum of the lengths of all of the column names.

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

14 years ago#1087 improve rating algorithm. also start to use prepared statements where appropri...
Regina Obe [Sun, 3 Jul 2011 16:51:09 +0000 (16:51 +0000)]
#1087 improve rating algorithm.  also start to use prepared statements where appropriate (don't put state in prepared part since that would prevent constraint exclusion from kicking in)

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

14 years agoAdd more tests, minor cleanup
Regina Obe [Sun, 3 Jul 2011 10:45:46 +0000 (10:45 +0000)]
Add more tests, minor cleanup

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

14 years agoUpdate credits and release notes to include change in geometry_columns and management...
Regina Obe [Sun, 3 Jul 2011 05:03:45 +0000 (05:03 +0000)]
Update credits and release notes to include change in geometry_columns and management functions, add ST_OffSetCurve to release_notes.xml, add Rafal Magda to people credits list

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

14 years agomore column width cleanup
Regina Obe [Sun, 3 Jul 2011 01:58:48 +0000 (01:58 +0000)]
more column width cleanup

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

14 years ago#1095 clarification of what is mean by geometry_columns not supporting views built...
Regina Obe [Sun, 3 Jul 2011 01:52:38 +0000 (01:52 +0000)]
#1095 clarification of what is mean by geometry_columns not supporting views built the old constraint way

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

14 years ago#1095 cleanup MIGRATION document
Regina Obe [Sun, 3 Jul 2011 01:50:41 +0000 (01:50 +0000)]
#1095 cleanup MIGRATION document

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

14 years ago#1096 same fix as for linestringZ, apply to geometryM, zm and multilinestringZ
Regina Obe [Sun, 3 Jul 2011 01:29:34 +0000 (01:29 +0000)]
#1096 same fix as for linestringZ, apply to geometryM, zm and multilinestringZ

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

14 years ago#1098 fix UpdateGeometrySRID
Regina Obe [Sun, 3 Jul 2011 00:59:28 +0000 (00:59 +0000)]
#1098 fix UpdateGeometrySRID

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

14 years ago#1083, #1093: fix typo, delete probe_geometry_columns which is now completely obsolte...
Regina Obe [Sat, 2 Jul 2011 18:19:55 +0000 (18:19 +0000)]
#1083, #1093: fix typo, delete probe_geometry_columns which is now completely obsolte with gnew geometry-columns view change

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

14 years agomissed a spot
Regina Obe [Sat, 2 Jul 2011 17:53:34 +0000 (17:53 +0000)]
missed a spot

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

14 years agoadd missing para end tag
Regina Obe [Sat, 2 Jul 2011 17:52:16 +0000 (17:52 +0000)]
add missing para end tag

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

14 years agostart describing management functions how typmod changes things --- Populate_geometry...
Regina Obe [Sat, 2 Jul 2011 17:25:57 +0000 (17:25 +0000)]
start describing management functions how typmod changes things --- Populate_geometry_columns, dropgeometrytable, dropgeometrycolumn.  More to go.

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

14 years ago#1096 can't create 2.5d linestrings
Regina Obe [Sat, 2 Jul 2011 16:52:33 +0000 (16:52 +0000)]
#1096 can't create 2.5d linestrings

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

14 years agorevise template to give example of optional argument
Regina Obe [Sat, 2 Jul 2011 16:29:57 +0000 (16:29 +0000)]
revise template to give example of optional argument

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

14 years agoUpdate loader regression test suite to add a simple test for shp2pgsql (much as we...
Mark Cave-Ayland [Sat, 2 Jul 2011 13:43:35 +0000 (13:43 +0000)]
Update loader regression test suite to add a simple test for shp2pgsql (much as we now do for pgsql2shp).

Note that these tests aren't completely comprehensive and should be expanded, with the long term aim
of moving the loader regression tests out of the main regression harness and into CUnit instead.

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

14 years agoFix up the loader unit tests so that if --with-gui is not passed to configure, the...
Mark Cave-Ayland [Sat, 2 Jul 2011 12:34:16 +0000 (12:34 +0000)]
Fix up the loader unit tests so that if --with-gui is not passed to configure, the non-GUI tests will continute to run instead of failing compilation.

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

14 years agorevise wmsservers_new to use new typmod and not directly delete and add to geometry_c...
Regina Obe [Sat, 2 Jul 2011 09:27:54 +0000 (09:27 +0000)]
revise wmsservers_new to use new typmod and not directly delete and add to geometry_columns so passes regress

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

14 years ago#944, #1081, #1083, #1088, #1084: Convert geometry_columns to a view, revise manageme...
Regina Obe [Sat, 2 Jul 2011 08:58:38 +0000 (08:58 +0000)]
#944, #1081, #1083, #1088, #1084: Convert geometry_columns to a view, revise management functions to not update/delete from geometry_columns and to support typmod. Will use typmod behavior as default
fix typos in postgis_type_name and delete from geometry_column calls in regress.

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

14 years agoAnother attempt to fix #1080 on Windows - it seems that simply opening and
Mark Cave-Ayland [Fri, 1 Jul 2011 22:36:48 +0000 (22:36 +0000)]
Another attempt to fix #1080 on Windows - it seems that simply opening and
closing a pgsql2shp state object is a good way to find all uninitialised
variables.

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

14 years agoRevised fix for #1080 based upon backtrace provided by Regina.
Mark Cave-Ayland [Fri, 1 Jul 2011 21:37:34 +0000 (21:37 +0000)]
Revised fix for #1080 based upon backtrace provided by Regina.

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

14 years ago#1082 get rid of delete from geometry_columns call. Also cleanup argument list to...
Regina Obe [Fri, 1 Jul 2011 21:32:10 +0000 (21:32 +0000)]
#1082 get rid of delete from geometry_columns call.  Also cleanup argument list to make more modern

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

14 years agoBenchmark notes
Regina Obe [Fri, 1 Jul 2011 14:34:26 +0000 (14:34 +0000)]
Benchmark notes

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

14 years agoitemize more upgrade GOTCHAS
Regina Obe [Fri, 1 Jul 2011 13:45:46 +0000 (13:45 +0000)]
itemize more upgrade GOTCHAS

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

14 years agoconvert to CREATE OR REPLACE postgis_constraint_srid
Regina Obe [Fri, 1 Jul 2011 13:10:08 +0000 (13:10 +0000)]
convert to CREATE OR REPLACE postgis_constraint_srid

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

14 years agoput in associated ticket numbers change to unaligned format for easier diffing, add...
Regina Obe [Fri, 1 Jul 2011 12:59:37 +0000 (12:59 +0000)]
put in associated ticket numbers change to unaligned format for easier diffing, add in script to run test suite. Force LF and put svn keywords

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

14 years agoAdd 2 more testcases for ST_OffsetCurve, one of which returning a MULTILINESTRING
Sandro Santilli [Fri, 1 Jul 2011 11:47:41 +0000 (11:47 +0000)]
Add 2 more testcases for ST_OffsetCurve, one of which returning a MULTILINESTRING

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

14 years agoUse choice="opt" to encode default parameter for ST_OffsetCurve
Sandro Santilli [Fri, 1 Jul 2011 10:59:37 +0000 (10:59 +0000)]
Use choice="opt" to encode default parameter for ST_OffsetCurve

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

14 years agoWell, let's run the ST_OffsetCurve regress test only against GEOS-3.3. After all...
Sandro Santilli [Fri, 1 Jul 2011 10:36:22 +0000 (10:36 +0000)]
Well, let's run the ST_OffsetCurve regress test only against GEOS-3.3. After all it's known to fail against 3.2 ... (due to http://trac.osgeo.org/geos/ticket/455#comment:1)

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

14 years agoTest LINESTRING EMPTY return from ST_OffsetCurve
Sandro Santilli [Fri, 1 Jul 2011 10:14:52 +0000 (10:14 +0000)]
Test LINESTRING EMPTY return from ST_OffsetCurve

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

14 years agoProperly convert typed empties coming from GEOS.
Sandro Santilli [Fri, 1 Jul 2011 10:10:27 +0000 (10:10 +0000)]
Properly convert typed empties coming from GEOS.

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

14 years agoAdd ST_OffsetCurve news item
Sandro Santilli [Fri, 1 Jul 2011 10:10:20 +0000 (10:10 +0000)]
Add ST_OffsetCurve news item

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

14 years agoAdd ST_OffsetCurve function supporting both GEOS-3.2 and GEOS-3.3+. Uses distance...
Sandro Santilli [Fri, 1 Jul 2011 09:56:11 +0000 (09:56 +0000)]
Add ST_OffsetCurve function supporting both GEOS-3.2 and GEOS-3.3+. Uses distance parameter sign to derive left/right side. Includes regress testing and documentation. Based on patch by Rafal Magda.

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

14 years agoFix #1080: cunit is crashing on test_ShpDumerDestroy().
Mark Cave-Ayland [Fri, 1 Jul 2011 09:33:28 +0000 (09:33 +0000)]
Fix #1080: cunit is crashing on test_ShpDumerDestroy().

Looks like the original code omitted to set the default config values causing
the addition of a ShpDumperDestroy() call to fall over on some platforms due
to uninitialised pointers.

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

14 years agoForce unix LF. Also get rid of unnecessary call to CREATE INDEX .. we have a missing...
Regina Obe [Fri, 1 Jul 2011 06:17:26 +0000 (06:17 +0000)]
Force unix LF.  Also get rid of unnecessary call to CREATE INDEX .. we have a missing script for that.

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

14 years agoFix for #1086 Issue with parsing out location. also added to regression tests
Regina Obe [Fri, 1 Jul 2011 02:22:27 +0000 (02:22 +0000)]
Fix for #1086 Issue with parsing out location.  also added to regression tests

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

14 years agofix build -- had functions installed out of order of dependency
Regina Obe [Fri, 1 Jul 2011 00:02:14 +0000 (00:02 +0000)]
fix build -- had functions installed out of order of dependency

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

14 years agoadd pretty function to return pretty name and use in postgis_constraint_type (seems...
Regina Obe [Thu, 30 Jun 2011 19:18:00 +0000 (19:18 +0000)]
add pretty function to return pretty name and use in postgis_constraint_type (seems 3 times as slow with conversion -- will investigate later) -- before my 50 odd goemetry_columns based on all constraint columns returns 75ms now takes 250-300 ms.

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

14 years agoremoved accidental commit of some debug testing
Bborie Park [Thu, 30 Jun 2011 17:16:02 +0000 (17:16 +0000)]
removed accidental commit of some debug testing

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

14 years agofixed logic issues in ST_AsJPEG
Bborie Park [Thu, 30 Jun 2011 13:28:47 +0000 (13:28 +0000)]
fixed logic issues in ST_AsJPEG

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

14 years agoChange parameter order in 900913 (magic!)
Paul Ramsey [Wed, 29 Jun 2011 23:14:27 +0000 (23:14 +0000)]
Change parameter order in 900913 (magic!)

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

14 years agoCommit rework of #885 (pgsql2shp fields conversion from predefined list).
Mark Cave-Ayland [Wed, 29 Jun 2011 22:40:54 +0000 (22:40 +0000)]
Commit rework of #885 (pgsql2shp fields conversion from predefined list).

This patch required extra work to ensure that it was a better fit for the
new loader/dumper structure including error reporting, better use of C
coding style and altering various names/code locations as appropriate.

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

14 years agoGEOS no like POINT EMPTY (#1060)
Paul Ramsey [Wed, 29 Jun 2011 22:40:40 +0000 (22:40 +0000)]
GEOS no like POINT EMPTY (#1060)

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

14 years agoItemize some issues with restoring data from old that cause failures
Regina Obe [Wed, 29 Jun 2011 21:10:06 +0000 (21:10 +0000)]
Itemize some issues with restoring data from old that cause failures

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

14 years agoAdd Hunter Systems Group to credits for funding Geocoder enhancements
Regina Obe [Wed, 29 Jun 2011 19:14:54 +0000 (19:14 +0000)]
Add Hunter Systems Group to credits for funding Geocoder enhancements

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

14 years ago#949 more legacy cleanup -- add G-M to uninstall, remove accum
Regina Obe [Wed, 29 Jun 2011 16:26:06 +0000 (16:26 +0000)]
#949 more legacy cleanup -- add G-M to uninstall, remove accum

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

14 years agofix typo in uninstall script
Regina Obe [Wed, 29 Jun 2011 12:56:19 +0000 (12:56 +0000)]
fix typo in uninstall script

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

14 years ago#1069: Support for specifying max_results to return. Regress already committed
Regina Obe [Wed, 29 Jun 2011 10:35:21 +0000 (10:35 +0000)]
#1069: Support for specifying max_results to return.  Regress already committed

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

14 years agofix for #1073 handling mangled zipcodes and update regress to include these
Regina Obe [Wed, 29 Jun 2011 05:06:06 +0000 (05:06 +0000)]
fix for #1073 handling mangled zipcodes and update regress to include these

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

14 years ago#1077 preliminary regress tests and current outputs (formatting needs cleanup and...
Regina Obe [Wed, 29 Jun 2011 04:23:29 +0000 (04:23 +0000)]
#1077 preliminary regress tests and current outputs (formatting needs cleanup and to be run by script but will deal with that later). Already have a regress failure when compared with docs.

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

14 years agoSimplify layertrigger tests dropping unneeded operations. The reduction was verified...
Sandro Santilli [Tue, 28 Jun 2011 19:36:46 +0000 (19:36 +0000)]
Simplify layertrigger tests dropping unneeded operations. The reduction was verified to still trigger bug #950 prior to the fix for it.

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

14 years agoApply patch by Andrea Peri to fix topology layer trigger. Includes regress test....
Sandro Santilli [Tue, 28 Jun 2011 19:36:39 +0000 (19:36 +0000)]
Apply patch by Andrea Peri to fix topology layer trigger. Includes regress test. Closes ticket #950.

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

14 years ago#1063 - add update website with released doc version to HOWTO_RELEASE steps
Regina Obe [Tue, 28 Jun 2011 14:26:49 +0000 (14:26 +0000)]
#1063 - add update website with released doc version to HOWTO_RELEASE steps

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

14 years agofix windows script -- had sh style commented alter schema line instead of windows...
Regina Obe [Tue, 28 Jun 2011 12:32:39 +0000 (12:32 +0000)]
fix windows script -- had sh style commented alter schema line instead of windows batch style commented alter schema

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

14 years agoput in missing homage to GDAL. Also updated the GDAL use list http://trac.osgeo...
Regina Obe [Tue, 28 Jun 2011 12:21:10 +0000 (12:21 +0000)]
put in missing homage to GDAL.  Also updated the GDAL use list http://trac.osgeo.org/gdal/wiki/SoftwareUsingGdal to include PostGIS

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

14 years agoPartial fix for #1068 -- handling of misspelled numeric streets such as 13nd or...
Regina Obe [Tue, 28 Jun 2011 03:55:52 +0000 (03:55 +0000)]
Partial fix for #1068  -- handling of misspelled numeric streets such as 13nd or 22th and partial support for numeric streets with fractions like 1/2

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

14 years agoget rid of drop / recreate norm_addy. It's not necessary yet since we haven't change...
Regina Obe [Tue, 28 Jun 2011 02:50:01 +0000 (02:50 +0000)]
get rid of drop / recreate norm_addy.  It's not necessary yet since we haven't changed it.

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

14 years ago#1068 partial fix -- trimmed leading/trailing spaces in normalize_address fields...
Regina Obe [Tue, 28 Jun 2011 01:27:03 +0000 (01:27 +0000)]
#1068 partial fix -- trimmed leading/trailing spaces in normalize_address fields so now correctly handles things like W.,N. etc. More fixes coming.

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

14 years ago- wrote function getSRTextSPI to create one code for getting the srtext of a SRID...
Bborie Park [Mon, 27 Jun 2011 21:35:14 +0000 (21:35 +0000)]
- wrote function getSRTextSPI to create one code for getting the srtext of a SRID from the spatial_ref_sys table.
- removed plpgsql function _ST_srtext with addition of getSRTextSPI.

The regression failure in ticket #1064 should be resolved as a side-affect of the new function as the srtext returned through SPI is copied to an interval variable.

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

14 years agoIgnore GNUMakefile
Paul Ramsey [Mon, 27 Jun 2011 19:31:12 +0000 (19:31 +0000)]
Ignore GNUMakefile

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

14 years agoChange CompoundString to CompoundCurve
Paul Ramsey [Mon, 27 Jun 2011 19:24:00 +0000 (19:24 +0000)]
Change CompoundString to CompoundCurve

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

14 years agomodified expected results for rt_pixelvalue.
Bborie Park [Mon, 27 Jun 2011 19:02:04 +0000 (19:02 +0000)]
modified expected results for rt_pixelvalue.

Associated ticket is #1055

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

14 years agoAdd migration guide for upgraders
Paul Ramsey [Mon, 27 Jun 2011 18:53:49 +0000 (18:53 +0000)]
Add migration guide for upgraders

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

14 years agoFix type name for CompoundCurve
Paul Ramsey [Mon, 27 Jun 2011 18:02:47 +0000 (18:02 +0000)]
Fix type name for CompoundCurve

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

14 years agoEdit rt_band_get_pixel() so that the warning message contains the out-of-bound coordi...
Mark Cave-Ayland [Mon, 27 Jun 2011 16:47:17 +0000 (16:47 +0000)]
Edit rt_band_get_pixel() so that the warning message contains the out-of-bound coordinates being accessed.

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

14 years agoCleanup of error messages.
Bborie Park [Mon, 27 Jun 2011 14:35:14 +0000 (14:35 +0000)]
Cleanup of error messages.

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

14 years agoversion garden test files so now named raster_gardentest_20.sql, postgis_gardentest_2...
Regina Obe [Mon, 27 Jun 2011 01:53:51 +0000 (01:53 +0000)]
version garden test files so now named raster_gardentest_20.sql, postgis_gardentest_20.sql.  Add reclassarg type example to raster garden objects

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

14 years agorevise to ignore OUT parameters. Also add 20 to postgis garden output table name
Regina Obe [Sun, 26 Jun 2011 19:44:47 +0000 (19:44 +0000)]
revise to ignore OUT parameters.  Also add 20 to postgis garden output table name

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

14 years agochange ST_AsX3d from using methodsynopsis back to funcsynopsis. This was an attempt...
Regina Obe [Sun, 26 Jun 2011 18:18:23 +0000 (18:18 +0000)]
change ST_AsX3d from using methodsynopsis back to funcsynopsis.  This was an attempt before to stylize default args which didn't work out.

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

14 years agoST_IsValidDetail and ST_IsValidReason POLYGON CRASH (#712)
Paul Ramsey [Sun, 26 Jun 2011 17:31:30 +0000 (17:31 +0000)]
ST_IsValidDetail and ST_IsValidReason POLYGON CRASH (#712)

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

14 years agoMake test for co-linearity a little more double-barrelled.
Paul Ramsey [Sun, 26 Jun 2011 03:15:46 +0000 (03:15 +0000)]
Make test for co-linearity a little more double-barrelled.

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

14 years agoSimplify circle stroking code (#1057)
Paul Ramsey [Sun, 26 Jun 2011 02:29:17 +0000 (02:29 +0000)]
Simplify circle stroking code (#1057)

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

14 years agoRemove reference to algorithm.h from generator.c
Paul Ramsey [Sat, 25 Jun 2011 23:35:14 +0000 (23:35 +0000)]
Remove reference to algorithm.h from generator.c

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

14 years agoPrototype segmentation code and move lwalgorith.h prototypes into liblwgeom.h and...
Paul Ramsey [Sat, 25 Jun 2011 22:36:51 +0000 (22:36 +0000)]
Prototype segmentation code and move lwalgorith.h prototypes into liblwgeom.h and liblwgeom_internal.h

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

14 years agoConvert some BOX3D functions to GBOX
Paul Ramsey [Sat, 25 Jun 2011 21:42:13 +0000 (21:42 +0000)]
Convert some BOX3D functions to GBOX

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

14 years agocorrect column names of norm_addy object - they were wrong
Regina Obe [Sat, 25 Jun 2011 21:11:12 +0000 (21:11 +0000)]
correct column names of norm_addy object - they were wrong

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