]> granicus.if.org Git - postgis/log
postgis
13 years agoAdd static library to {,un}install-liblwgeom rules [RT-SIGTA]
Sandro Santilli [Sat, 6 Aug 2011 18:01:52 +0000 (18:01 +0000)]
Add static library to {,un}install-liblwgeom rules [RT-SIGTA]

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

13 years agoRe-drop use of libtool (more troubles than help).
Sandro Santilli [Sat, 6 Aug 2011 17:48:39 +0000 (17:48 +0000)]
Re-drop use of libtool (more troubles than help).
Stub a rule to build and install a shared liblwgeom.
[RT-SIGTA].

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

13 years agoRe-introduce numerical flags in building "NM" objs [RT-SIGTA]
Sandro Santilli [Sat, 6 Aug 2011 16:18:44 +0000 (16:18 +0000)]
Re-introduce numerical flags in building "NM" objs [RT-SIGTA]

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

13 years agoUse libtool to build liblwgeom. Still only static. [RT-SIGTA]
Sandro Santilli [Sat, 6 Aug 2011 15:12:32 +0000 (15:12 +0000)]
Use libtool to build liblwgeom. Still only static. [RT-SIGTA]

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

13 years agoUse GEOS compiler and linker flags for liblwgeom, add lwgeom_geos_noop and cunit...
Sandro Santilli [Sat, 6 Aug 2011 09:47:01 +0000 (09:47 +0000)]
Use GEOS compiler and linker flags for liblwgeom, add lwgeom_geos_noop and cunit test for it (to confirm linking works, and it does) [RT-SIGTA]

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

13 years agoAdd lwgeom_buildarea to liblwgeom [RT-SIGTA]
Sandro Santilli [Sat, 6 Aug 2011 09:46:33 +0000 (09:46 +0000)]
Add lwgeom_buildarea to liblwgeom [RT-SIGTA]

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

13 years agoAdd GEOS spatial operations to liblwgeom (ticket #1050) [RT-SIGTA]
Sandro Santilli [Sat, 6 Aug 2011 09:46:03 +0000 (09:46 +0000)]
Add GEOS spatial operations to liblwgeom (ticket #1050) [RT-SIGTA]

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

13 years agoAnother minor check
Regina Obe [Fri, 5 Aug 2011 12:45:31 +0000 (12:45 +0000)]
Another minor check

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

13 years agoUpdate hard upgrade to include use of legacy_compatibility_layer.sql
Regina Obe [Thu, 4 Aug 2011 15:03:54 +0000 (15:03 +0000)]
Update hard upgrade to include use of legacy_compatibility_layer.sql

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

13 years agoCreate new legacy compatibility layer script which will install the absolute minimal...
Regina Obe [Wed, 3 Aug 2011 15:01:40 +0000 (15:01 +0000)]
Create new legacy compatibility layer script which will install the absolute minimal to restore an old postgis database.  Also got rid of srid function and moved to legacy compatibility layer.  Still need to test with a restore.

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

13 years agosome typo cleanup
Regina Obe [Wed, 3 Aug 2011 12:14:30 +0000 (12:14 +0000)]
some typo cleanup

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

13 years agoMake more efficient the case when no state or city is provided but zip is provided.
Regina Obe [Wed, 3 Aug 2011 05:00:36 +0000 (05:00 +0000)]
Make more efficient the case when no state or city is provided but zip is provided.

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

13 years agodocument new drop_indexes_generate_script function
Regina Obe [Wed, 3 Aug 2011 03:51:45 +0000 (03:51 +0000)]
document new drop_indexes_generate_script function

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

13 years agoMajor rework to improve speed, selectivity, and additional regress. Also added some...
Regina Obe [Wed, 3 Aug 2011 02:06:31 +0000 (02:06 +0000)]
Major rework to improve speed, selectivity, and additional regress. Also added some indexes and removed some  -- should solve #1145, #1148,  and #1131 (should be about 60% faster for most cases and in some as much as 20 times faster). Better performance if you set max results = 1. Some other minor cleanup.  documentation of new management helper functions coming next.

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

13 years agoAdd link to Sandro's topology Paris 2011 slides in summary of topology reference...
Regina Obe [Tue, 2 Aug 2011 06:33:49 +0000 (06:33 +0000)]
Add link to Sandro's topology Paris 2011 slides in summary of topology reference section

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

13 years agoUse strcpy rather than strncpy, simpler and less error-prone
Sandro Santilli [Thu, 28 Jul 2011 18:56:43 +0000 (18:56 +0000)]
Use strcpy rather than strncpy, simpler and less error-prone

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

13 years agoGive strncpy enough space to write a terminating null. Thanks gengor for the patch.
Sandro Santilli [Thu, 28 Jul 2011 18:43:27 +0000 (18:43 +0000)]
Give strncpy enough space to write a terminating null. Thanks gengor for the patch.

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

13 years agominor updates to ST_MakeLine to clarify pre-9.0 and 9.0+ approaches
Regina Obe [Wed, 27 Jul 2011 19:21:09 +0000 (19:21 +0000)]
minor updates to ST_MakeLine to clarify pre-9.0 and 9.0+ approaches

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

13 years ago1 more change
Regina Obe [Wed, 27 Jul 2011 11:55:00 +0000 (11:55 +0000)]
1 more change

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

13 years agofix typo
Regina Obe [Wed, 27 Jul 2011 11:54:13 +0000 (11:54 +0000)]
fix typo

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

13 years agoexample of using new PostgreSQL 9.0+ ORDER BY aggregate feature for ST_MakeLine
Regina Obe [Wed, 27 Jul 2011 11:52:51 +0000 (11:52 +0000)]
example of using new PostgreSQL 9.0+ ORDER BY aggregate feature for ST_MakeLine

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

13 years agomore examples for ST_Offsetcurve
Regina Obe [Tue, 26 Jul 2011 15:39:31 +0000 (15:39 +0000)]
more examples for ST_Offsetcurve

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

13 years agofix typo
Regina Obe [Tue, 26 Jul 2011 14:30:07 +0000 (14:30 +0000)]
fix typo

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

13 years agoremove left and right notes until I have arrows. not embarrass myself with my direct...
Regina Obe [Tue, 26 Jul 2011 14:29:37 +0000 (14:29 +0000)]
remove left and right notes until I have arrows.  not embarrass myself with my directional dyslexia.

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

13 years agoStart work documenting ST_AsRaster
Regina Obe [Tue, 26 Jul 2011 05:37:13 +0000 (05:37 +0000)]
Start work documenting ST_AsRaster

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

13 years agoreduce spacing more
Regina Obe [Mon, 25 Jul 2011 15:53:52 +0000 (15:53 +0000)]
reduce spacing more

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

13 years agoAddition of ST_AsRaster function to provide the ability to convert geometries into...
Bborie Park [Mon, 25 Jul 2011 15:52:36 +0000 (15:52 +0000)]
Addition of ST_AsRaster function to provide the ability to convert geometries into rasters.

Associated ticket is #1141.

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

13 years agoanother typo
Regina Obe [Mon, 25 Jul 2011 14:20:37 +0000 (14:20 +0000)]
another typo

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

13 years agofix coloring to agree with color of other examples
Regina Obe [Mon, 25 Jul 2011 14:10:09 +0000 (14:10 +0000)]
fix coloring to agree with color of other examples

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

13 years agoreduce width of table cells -- ST_OffsetCurve
Regina Obe [Mon, 25 Jul 2011 14:08:04 +0000 (14:08 +0000)]
reduce width of table cells -- ST_OffsetCurve

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

13 years agoredo all examples so they fit in the 0 0 200 200 grid
Regina Obe [Mon, 25 Jul 2011 14:04:35 +0000 (14:04 +0000)]
redo all examples so they fit in the 0 0  200 200 grid

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

13 years agofix some typos and grid more to fix
Regina Obe [Mon, 25 Jul 2011 13:44:53 +0000 (13:44 +0000)]
fix some typos and grid more to fix

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

13 years agoget rid of semicolons
Regina Obe [Mon, 25 Jul 2011 12:18:10 +0000 (12:18 +0000)]
get rid of semicolons

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

13 years agoneed more pictures :), visual examples for st_offsetcurve
Regina Obe [Mon, 25 Jul 2011 12:13:12 +0000 (12:13 +0000)]
need more pictures :), visual examples for st_offsetcurve

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

13 years agoupdate ST_MapAlgebra to agree with implementation (got rid of bosolete proto and...
Regina Obe [Sun, 24 Jul 2011 08:15:59 +0000 (08:15 +0000)]
update ST_MapAlgebra to agree with implementation (got rid of bosolete proto and example and replaced with new example

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

13 years agoBe terse, we don't care about context. Closes ticket #1142.
Sandro Santilli [Sat, 23 Jul 2011 21:42:54 +0000 (21:42 +0000)]
Be terse, we don't care about context. Closes ticket #1142.

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

13 years agoSet 'C' collation when creating regress database. See #1140.
Sandro Santilli [Sat, 23 Jul 2011 21:34:10 +0000 (21:34 +0000)]
Set 'C' collation when creating regress database. See #1140.

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

13 years agoAdded a note saying that those function now have a C implementation. Many TABs conver...
Pierre Racine [Fri, 22 Jul 2011 20:20:55 +0000 (20:20 +0000)]
Added a note saying that those function now have a C implementation. Many TABs converted to spaces.

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

13 years ago-Fix for #645.
Pierre Racine [Fri, 22 Jul 2011 20:05:47 +0000 (20:05 +0000)]
-Fix for #645.
-Replaced min and max with LEAST and GREATEST
-Adaptation to ST_SetBandNodataValue()

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

13 years agoFix for ticket #969. Removed conflicting function variant.
Pierre Racine [Fri, 22 Jul 2011 19:38:50 +0000 (19:38 +0000)]
Fix for ticket #969. Removed conflicting function variant.

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

13 years ago-Addaptation to new two rasters ST_MapAlgebra in which nodatavalue expressions are...
Pierre Racine [Fri, 22 Jul 2011 19:31:47 +0000 (19:31 +0000)]
-Addaptation to new two rasters ST_MapAlgebra in which nodatavalue expressions are text and now accept a nodatanodatavalueexpr.
-Added RANGE as a predefined expression.

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

13 years agoModified comment on further enhancements.
Pierre Racine [Fri, 22 Jul 2011 19:29:07 +0000 (19:29 +0000)]
Modified comment on further enhancements.

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

13 years ago-Fix for ticket #644. Removed all variants.
Pierre Racine [Fri, 22 Jul 2011 19:28:21 +0000 (19:28 +0000)]
-Fix for ticket #644. Removed all variants.
-Fixed the two rasters version.
-Added some tests.
-Added ST_MinPossibleVal().
-Determine new nodata value AFTER determining the new pixeltype.
-Replaced ST_SetBandHasNodataValue with ST_SetBandNodataValue(rast, NULL).
-Added implementation of two rasters overlay operations using the two raster MapAlgebra.

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

13 years agoCleaned the grid alignment code to remove unnecessary cruft in rt_raster_gdal_warp
Bborie Park [Thu, 21 Jul 2011 17:31:07 +0000 (17:31 +0000)]
Cleaned the grid alignment code to remove unnecessary cruft in rt_raster_gdal_warp

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

13 years agoFixed floating point issue with the remainder returned from the function modf in...
Bborie Park [Thu, 21 Jul 2011 16:20:36 +0000 (16:20 +0000)]
Fixed floating point issue with the remainder returned from the function modf in rt_api.c.  Updated messages in rt_pg.c.  Corrected expected regression results in rt_resample_expected.

Associated ticket is #1114

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

13 years agoImprove testsuite predictability (#1135)
Sandro Santilli [Wed, 20 Jul 2011 19:53:57 +0000 (19:53 +0000)]
Improve testsuite predictability (#1135)

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

13 years agoBug fix of deallocating array using wrong index variable
Bborie Park [Tue, 19 Jul 2011 22:20:40 +0000 (22:20 +0000)]
Bug fix of deallocating array using wrong index variable

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

13 years agoFixed width and height values expected.
Bborie Park [Mon, 18 Jul 2011 23:39:05 +0000 (23:39 +0000)]
Fixed width and height values expected.

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

13 years ago- tweaked the rt_resample regression test to use SRIDs under 1000000
Bborie Park [Mon, 18 Jul 2011 23:29:54 +0000 (23:29 +0000)]
- tweaked the rt_resample regression test to use SRIDs under 1000000
- changed the computation of width and height when aligning to a grid

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

13 years agoFix datatype of tlid on edges table. Other tables with tlid are set to bigint. ...
Regina Obe [Mon, 18 Jul 2011 04:44:11 +0000 (04:44 +0000)]
Fix datatype of tlid on edges table.  Other tables with tlid are set to bigint.  This one set to numeric(10).  Still revising my tables to determine what impact this has in utilizing the existing indexes

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

13 years agoLimit edge and featnames search to just road / street types
Regina Obe [Sun, 17 Jul 2011 17:39:00 +0000 (17:39 +0000)]
Limit edge and featnames search to just road / street types

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

13 years agomore regress tests for reverse_geocode
Regina Obe [Sun, 17 Jul 2011 17:02:02 +0000 (17:02 +0000)]
more regress tests for reverse_geocode

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

13 years agosimplify logic by getting rid of addr join. Speed improved slightly
Regina Obe [Sun, 17 Jul 2011 16:46:06 +0000 (16:46 +0000)]
simplify logic by getting rid of addr join.  Speed improved slightly

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

13 years agoenhancements to support reverse geocoding of highway locations. Also add reverse...
Regina Obe [Sun, 17 Jul 2011 16:11:08 +0000 (16:11 +0000)]
enhancements to support reverse geocoding of highway locations.  Also add reverse geocode regress tests

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

13 years ago#1125 have highway designations print in front of streetname instead of after
Regina Obe [Sat, 16 Jul 2011 04:19:45 +0000 (04:19 +0000)]
#1125 have highway designations print in front of streetname instead of after

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

13 years agoMinor comment updates to correct details
Bborie Park [Fri, 15 Jul 2011 21:07:32 +0000 (21:07 +0000)]
Minor comment updates to correct details

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

13 years agorevise ratings to minimize numberes steetss from matching highly with interstate...
Regina Obe [Fri, 15 Jul 2011 06:40:19 +0000 (06:40 +0000)]
revise ratings to minimize numberes steetss from matching highly with interstate routes.  Also glue on pretype abrv (which are technically street types) to front of street name in normalize output so that highways print correctly as e.g. State Hwy 10 etc.

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

13 years agoAdd in common abbreviation RT to map to Rte and test case to regress to test
Regina Obe [Fri, 15 Jul 2011 05:31:42 +0000 (05:31 +0000)]
Add in common abbreviation RT to map to Rte and test case to regress to test

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

13 years agoCode refactored for RASTER_dumpWKTPolygons to use same mechanisms for resultset gener...
Bborie Park [Thu, 14 Jul 2011 20:11:39 +0000 (20:11 +0000)]
Code refactored for RASTER_dumpWKTPolygons to use same mechanisms for resultset generation (Datums instead of CStrings) as RASTER_metadata and other functions.

SQL functions refactored to use one call to ST_Metadata for attributes rather than separate/multiple calls to ST_Skew*, ST_Scale*, ST_UpperLeft*.

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

13 years agoRefactored functions returning sets to use Datums instead of C strings, which were...
Bborie Park [Thu, 14 Jul 2011 14:54:49 +0000 (14:54 +0000)]
Refactored functions returning sets to use Datums instead of C strings, which were causing rounding issues particularly for ST_Metadata.  This refactoring affected RASTER_metadata, RASTER_bandmetadata, RASTER_summarystats, RASTER_histogram, RASTER_quantile, RASTER_valuecount and RASTER_gdaldrivers.

Also refactored the ST_Raster2World* and ST_World2Raster* functions to get the raster's metadata in one call using ST_Metadata rather than individual calls for the georeference components

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

13 years agoadd make tiger_geocoder_comments.sql to build script
Regina Obe [Thu, 14 Jul 2011 11:47:05 +0000 (11:47 +0000)]
add make tiger_geocoder_comments.sql to build script

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

13 years agoStart work on PostgreSQL in db help for geocoder
Regina Obe [Thu, 14 Jul 2011 11:32:45 +0000 (11:32 +0000)]
Start work on PostgreSQL in db help for geocoder

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

13 years agodocument the install_missing_indexes function that is used as part of the upgrade...
Regina Obe [Thu, 14 Jul 2011 11:13:10 +0000 (11:13 +0000)]
document the install_missing_indexes function that is used as part of the upgrade process

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

13 years ago#1113 take into consideration street prequals like Old in rating and filtering, also...
Regina Obe [Thu, 14 Jul 2011 07:45:31 +0000 (07:45 +0000)]
#1113 take into consideration street prequals like Old in rating and filtering, also added btree varops on fullname (trigrams and fulltext proved too slow will need to reinvestigate those), also added helper function install_missing_indezes() which gets run as part of upgrade script.  will need to add to documentation.  Also added regress tests from snippets in #1113

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

13 years agoComplete refactoring of code from ST_Transform to ST_Resample. There are four new...
Bborie Park [Wed, 13 Jul 2011 19:33:12 +0000 (19:33 +0000)]
Complete refactoring of code from ST_Transform to ST_Resample.  There are four new functions as of this revision: ST_Resample, ST_Rescale, ST_Reskew and ST_SnapToGrid.  ST_Transform is still present but points to ST_Resample.

Associated ticket #1114

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

13 years agoFix for #1112 service roads
Regina Obe [Tue, 12 Jul 2011 19:45:53 +0000 (19:45 +0000)]
Fix for #1112 service roads

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

13 years agoPartial fix for #1108
Regina Obe [Tue, 12 Jul 2011 13:03:16 +0000 (13:03 +0000)]
Partial fix for #1108

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

13 years agoFix regress failure with #1074 (wasn't correctly handling all cases where street...
Regina Obe [Tue, 12 Jul 2011 04:14:07 +0000 (04:14 +0000)]
Fix regress failure with #1074 (wasn't correctly handling all cases where street name is composed of a street type

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

13 years agoChange ST_OffsetCurve parameters type from cstrin to text. See ticket #1117.
Sandro Santilli [Mon, 11 Jul 2011 17:03:15 +0000 (17:03 +0000)]
Change ST_OffsetCurve parameters type from cstrin to text. See ticket #1117.

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

13 years agoStricter ISO output from ST_GetEdgeFaces: start enumerating ring edges from the edge...
Sandro Santilli [Mon, 11 Jul 2011 12:17:33 +0000 (12:17 +0000)]
Stricter ISO output from ST_GetEdgeFaces: start enumerating ring edges from the edge with smaller id [RT-SIGTA]

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

13 years agooops typo
Regina Obe [Sat, 9 Jul 2011 20:32:51 +0000 (20:32 +0000)]
oops typo

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

13 years agorevert change
Regina Obe [Sat, 9 Jul 2011 20:25:07 +0000 (20:25 +0000)]
revert change

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

13 years agofix type in county load
Regina Obe [Sat, 9 Jul 2011 20:12:42 +0000 (20:12 +0000)]
fix type in county load

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

13 years agoClarify return code from topology.ST_ModEdgeHeal. Clean up description of ST_NewEdgeH...
Sandro Santilli [Sat, 9 Jul 2011 15:55:25 +0000 (15:55 +0000)]
Clarify return code from topology.ST_ModEdgeHeal. Clean up description of ST_NewEdgeHeal too.

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

13 years agoexample of using geocode geometry filter
Regina Obe [Sat, 9 Jul 2011 01:23:10 +0000 (01:23 +0000)]
example of using geocode geometry filter

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

13 years agoFix ST_Transform signature to match revised function declarations
Regina Obe [Sat, 9 Jul 2011 01:06:25 +0000 (01:06 +0000)]
Fix ST_Transform signature to match revised function declarations

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

13 years agoupper case and replace (ZM and Z) in geometry_columns so its more backwards compatibl...
Regina Obe [Fri, 8 Jul 2011 08:23:18 +0000 (08:23 +0000)]
upper case and replace (ZM and Z) in geometry_columns so its more backwards compatible with old geometry_columns table

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

13 years ago#1070 optional geometry filter arg, documentation (well start need example), and...
Regina Obe [Thu, 7 Jul 2011 22:45:27 +0000 (22:45 +0000)]
#1070 optional geometry filter arg, documentation (well start need example), and regress tests

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

13 years agoFinal refactor of ST_Transform and underlying RASTER_resample before overhaul for...
Bborie Park [Thu, 7 Jul 2011 22:23:00 +0000 (22:23 +0000)]
Final refactor of ST_Transform and underlying RASTER_resample before overhaul for ST_Resample

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

13 years agoRefactored ST_Transform in preparation for additional refactoring to accomodate ST_Re...
Bborie Park [Thu, 7 Jul 2011 21:58:21 +0000 (21:58 +0000)]
Refactored ST_Transform in preparation for additional refactoring to accomodate ST_Resample

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

13 years agoCleaned up the large number of floating point equality tests with a function-like...
Bborie Park [Thu, 7 Jul 2011 18:28:58 +0000 (18:28 +0000)]
Cleaned up the large number of floating point equality tests with a function-like macro

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

13 years ago#1074, #1109 - Fix for compound named streets that have a portion that is a street...
Regina Obe [Thu, 7 Jul 2011 12:41:13 +0000 (12:41 +0000)]
#1074, #1109 - Fix for compound named streets that have a portion that is a street type

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

13 years agomore regress tests for #1109
Regina Obe [Wed, 6 Jul 2011 23:44:27 +0000 (23:44 +0000)]
more regress tests for #1109

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

13 years agoRefactored how user-specified upperleft corner coordinates are handled
Bborie Park [Wed, 6 Jul 2011 23:15:13 +0000 (23:15 +0000)]
Refactored how user-specified upperleft corner coordinates are handled

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

13 years agofix for #1109 when a street name is same as a defined street type
Regina Obe [Wed, 6 Jul 2011 23:00:02 +0000 (23:00 +0000)]
fix for #1109 when a street name is same as a defined street type

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

13 years agoProperly destroy lwgeom in lwgeom_to_x3d3 now that it's safe (see #1102)
Sandro Santilli [Wed, 6 Jul 2011 15:02:46 +0000 (15:02 +0000)]
Properly destroy lwgeom in lwgeom_to_x3d3 now that it's safe (see #1102)

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

13 years agoProperly release memory in lwmline_clip_to_ordinate_range (see #1102)
Sandro Santilli [Wed, 6 Jul 2011 14:55:39 +0000 (14:55 +0000)]
Properly release memory in lwmline_clip_to_ordinate_range (see #1102)

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

13 years agoHave lwcollection_extract clone (shallow) the extracted components. Safely lwgeom_fre...
Sandro Santilli [Wed, 6 Jul 2011 14:45:22 +0000 (14:45 +0000)]
Have lwcollection_extract clone (shallow) the extracted components. Safely lwgeom_free the return from lwcollection_extract in testcase.

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

13 years agoProperly lwgeom_free cloned objects in lwgeom_homogenize now that it is safe
Sandro Santilli [Wed, 6 Jul 2011 14:29:32 +0000 (14:29 +0000)]
Properly lwgeom_free cloned objects in lwgeom_homogenize now that it is safe

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

13 years agoImplement ptarray_clone (shallow) and update clone documentation (doxygen), have...
Sandro Santilli [Wed, 6 Jul 2011 14:29:26 +0000 (14:29 +0000)]
Implement ptarray_clone (shallow) and update clone documentation (doxygen), have lw*_clone clone the POINTARRAY but not the serialized point list (using ptarray_clone), add unit testing for lwgeom_clone. See ticket #1102.

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

13 years agoFix compile warning in geography_measurement.c caused by missing function prototype.
Mark Cave-Ayland [Wed, 6 Jul 2011 10:48:15 +0000 (10:48 +0000)]
Fix compile warning in geography_measurement.c caused by missing function prototype.

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

13 years agoFix compile warning for lwgeom_init_allocators() in loader/dumper by adding missing...
Mark Cave-Ayland [Wed, 6 Jul 2011 10:48:05 +0000 (10:48 +0000)]
Fix compile warning for lwgeom_init_allocators() in loader/dumper by adding missing liblwgeom.h #include.

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

13 years agoRename ptarray_clone to ptarray_clone_deep, to be conformant with lwgeom_clone_deep...
Sandro Santilli [Wed, 6 Jul 2011 09:40:38 +0000 (09:40 +0000)]
Rename ptarray_clone to ptarray_clone_deep, to be conformant with lwgeom_clone_deep in that it copies the serialized pointlist too

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

13 years agoCompiler warning fix
Sandro Santilli [Wed, 6 Jul 2011 08:04:27 +0000 (08:04 +0000)]
Compiler warning fix

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

13 years agoFix compiler warnings (#999)
Sandro Santilli [Wed, 6 Jul 2011 07:42:24 +0000 (07:42 +0000)]
Fix compiler warnings (#999)

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

13 years agoDon't let temporary collection leak in lwgeom_to_x3d3 (actually do, but sligthly...
Sandro Santilli [Wed, 6 Jul 2011 07:42:18 +0000 (07:42 +0000)]
Don't let temporary collection leak in lwgeom_to_x3d3 (actually do, but sligthly less, till we fix lwgeom_clone). See #1102.

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

13 years agoconst-correct lw*_is_closed
Sandro Santilli [Wed, 6 Jul 2011 07:42:13 +0000 (07:42 +0000)]
const-correct lw*_is_closed

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

13 years agoproperly release reported error message string
Sandro Santilli [Wed, 6 Jul 2011 06:46:50 +0000 (06:46 +0000)]
properly release reported error message string

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

13 years agoproperly release lwgeom objec in test_lwprint_assert_error
Sandro Santilli [Wed, 6 Jul 2011 06:46:44 +0000 (06:46 +0000)]
properly release lwgeom objec in test_lwprint_assert_error

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

13 years agoproperly release lwgeom objec in test_misc_area
Sandro Santilli [Wed, 6 Jul 2011 06:46:38 +0000 (06:46 +0000)]
properly release lwgeom objec in test_misc_area

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