Commit graph

5972 commits

Author SHA1 Message Date
Paul Ramsey 3c7db22d95 Simplify circle stroking code (#1057)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7489 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-26 02:29:17 +00:00
Paul Ramsey 31142d64da Remove reference to algorithm.h from generator.c
git-svn-id: http://svn.osgeo.org/postgis/trunk@7488 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-25 23:35:14 +00:00
Paul Ramsey c5001b2000 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
2011-06-25 22:36:51 +00:00
Paul Ramsey 6111c39b52 Convert some BOX3D functions to GBOX
git-svn-id: http://svn.osgeo.org/postgis/trunk@7486 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-25 21:42:13 +00:00
Regina Obe bc9d280f00 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
2011-06-25 21:11:12 +00:00
Regina Obe aae1352236 update release notes
git-svn-id: http://svn.osgeo.org/postgis/trunk@7484 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-25 20:32:49 +00:00
Regina Obe 9eb0020745 #1062 apply typo patch from Kasif Rasul
git-svn-id: http://svn.osgeo.org/postgis/trunk@7483 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-25 20:24:14 +00:00
Bborie Park 48ff0b2940 Modified ST_Transform to permit specification of projected raster's scale. This is due to the scale change that occurs when a raster is being reprojected.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7482 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-25 19:20:23 +00:00
Regina Obe 01abaf57da bounding box clarification && (that it's 2D)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7481 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-25 18:15:54 +00:00
Regina Obe 1600b42921 minor clarifications
git-svn-id: http://svn.osgeo.org/postgis/trunk@7480 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-25 18:14:38 +00:00
Regina Obe d0544fd0de #1051 - fix rating logic (typo in direction weight) causing - select (g.addy).*, astext(g.geomout), g.* from geocode('150 2nd Ave S, Minneapolis, MN 55401') as g To return north instead of south. Also change functions to use named args
git-svn-id: http://svn.osgeo.org/postgis/trunk@7474 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-25 08:13:16 +00:00
Regina Obe 4edb18090b bah pdflatex doesn't like sect3. Just make it a sect2
git-svn-id: http://svn.osgeo.org/postgis/trunk@7473 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-24 23:18:22 +00:00
Regina Obe 919ebd3f1b Id on para didn't take -- lets try a sect3
git-svn-id: http://svn.osgeo.org/postgis/trunk@7472 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-24 21:49:55 +00:00
Bborie Park 67ce832591 Added sanitization of the algorithm parameter of ST_Transform. Refactored the regression test for ST_Transform.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7471 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-24 21:20:04 +00:00
Regina Obe 03b5db71e3 put in ancho for changed section and link back from top of What's new to breaking changes section
git-svn-id: http://svn.osgeo.org/postgis/trunk@7470 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-24 16:30:52 +00:00
Regina Obe b12e0f53ac revise 2.0 changed,enhanced, new to also capture paragraphs embedded in sub tags such as warning, note. Was missing some breaking changes ST_Length, ST_GeomFromText etc because it wasn't catching warnings
git-svn-id: http://svn.osgeo.org/postgis/trunk@7469 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-24 16:14:50 +00:00
Regina Obe c18066a8ab thought had changed to use default params -- guess not. Also stamp in time author info as comment inside function
git-svn-id: http://svn.osgeo.org/postgis/trunk@7468 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-24 14:25:27 +00:00
Regina Obe 5205bd191a Get rid of note about ST_Transform not working on all platforms. No longer true
git-svn-id: http://svn.osgeo.org/postgis/trunk@7467 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-24 13:02:09 +00:00
Regina Obe 7f412e6fac revert unnecessary edit
git-svn-id: http://svn.osgeo.org/postgis/trunk@7463 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-24 01:28:23 +00:00
Regina Obe 29453060e1 fix for #1051 -- postDirAbbrev doesn't parse
git-svn-id: http://svn.osgeo.org/postgis/trunk@7462 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-24 01:20:31 +00:00
Chris Hodgson 53e75d8da2 further bug fix for #884
git-svn-id: http://svn.osgeo.org/postgis/trunk@7461 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-23 23:50:13 +00:00
Regina Obe 693bc8f401 note about ST_length geography breaking change -- in 1.5 used to return perimeter of a polygon now returns 0 just like geometry
git-svn-id: http://svn.osgeo.org/postgis/trunk@7459 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-23 22:29:56 +00:00
Regina Obe c5aa904976 time autho stamp signatures
git-svn-id: http://svn.osgeo.org/postgis/trunk@7458 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-23 21:15:24 +00:00
Regina Obe 7174d8bc72 fix typos
git-svn-id: http://svn.osgeo.org/postgis/trunk@7457 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-23 21:11:04 +00:00
Regina Obe da09ba24bd put in author revision id placeholder and have as part of code logic as well
git-svn-id: http://svn.osgeo.org/postgis/trunk@7456 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-23 21:08:40 +00:00
Bborie Park 04bbd059b2 Removed rt_raster_transform from rt_api.c and any calls to it since rt_raster_gdal_warp has same results for reprojections.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7455 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-23 20:46:32 +00:00
Bborie Park 6ebb8e7534 Addition of rt_raster_gdal_warp function in rt_api.c. This was written based upon GDAL's gdalwarp utility to provide a flexible means to reproject, change the scale of, adjust the skew (deskew) of and shift the origin of a raster. RASTER_transform in rt_pg.c has been adjusted to make use of rt_raster_gdal_warp instead of rt_raster_transform. Regression te
sts confirm that resulting rasters from rt_raster_gdal_warp are identical to that of rt_raster_transform.

The abilities to change a raster's scale, skew and origin have yet to be tested and have no user-accessible SQL functions as of this revision.  This will occur in future revisions.

The function rt_raster_transform will be removed in a future revision.


git-svn-id: http://svn.osgeo.org/postgis/trunk@7454 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-23 20:29:51 +00:00
Paul Ramsey c8895dad12 Re-base circular bbox regressions
git-svn-id: http://svn.osgeo.org/postgis/trunk@7453 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-23 15:36:54 +00:00
Paul Ramsey 83b6ddaa76 PostGIS Box2D (and && operator) gives wrong result for ST_CircularString type (#578)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7452 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-23 13:57:16 +00:00
Regina Obe 954b66eaaa clean up credits a bit
git-svn-id: http://svn.osgeo.org/postgis/trunk@7451 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-23 13:53:49 +00:00
Regina Obe 3378431ec0 #944 support functions to comb out type,srid, dim from constraint based geometries and integration into geometry_columns_v so that non-typmods and typmods of the world can coexist in harmony
git-svn-id: http://svn.osgeo.org/postgis/trunk@7450 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-23 11:07:23 +00:00
Sandro Santilli 8c716811a5 Don't interpret types as flags in ST_Summary. Fixes bug #1054 (needs automated testing)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7449 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-23 11:01:56 +00:00
Regina Obe 03ed13673c minor addition to GEOMETRYCOLLECTION(EMPTY) warning
git-svn-id: http://svn.osgeo.org/postgis/trunk@7448 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-22 23:13:26 +00:00
Regina Obe 5acb890833 #924 - document breaking change
git-svn-id: http://svn.osgeo.org/postgis/trunk@7447 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-22 23:10:36 +00:00
Paul Ramsey ba9576e7f2 ST_ForceRHR POLYGON EMPTY crash (#710)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7446 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-22 22:09:47 +00:00
Paul Ramsey 0fbe086266 ST_GeoHash POLYGON Empty crash (#711)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7445 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-22 21:33:18 +00:00
Regina Obe 9cbec83d2a Fill in raster coverage protos for ST_Histogram (still need examples for these), fix typo in another function, change ST_SetBandNoDataValue as if it supports default args (the documentation will be consistent with implementation onces #1049 is done)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7444 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-22 06:55:08 +00:00
Regina Obe 8816fd81fd get rid of extraneous proto
git-svn-id: http://svn.osgeo.org/postgis/trunk@7443 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-21 06:13:43 +00:00
Regina Obe 338c68568e more fine tuning of output of driver options
git-svn-id: http://svn.osgeo.org/postgis/trunk@7442 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-21 05:45:01 +00:00
Regina Obe fefa4afa84 Fix ST_GDalDrivers output to correctly output options as table. I had thought it was evenly balanced (all options have descriptions), but that is not the case so origianl example had the name and descriptions mismatched
git-svn-id: http://svn.osgeo.org/postgis/trunk@7441 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-21 05:25:12 +00:00
Bborie Park b633449bc0 Refactored code and removed the use of SET_VARSIZE for RASTER_band to fix segfault.
Associated ticket is #1044.


git-svn-id: http://svn.osgeo.org/postgis/trunk@7440 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-21 05:05:16 +00:00
Regina Obe 0d115c2931 change bigint to integer for ST_ValueCount record outputs
git-svn-id: http://svn.osgeo.org/postgis/trunk@7439 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-21 04:18:10 +00:00
Regina Obe 9e0a2cc9d3 document ST_AsJPEG and fill in missing protos for ST_ValueCount
git-svn-id: http://svn.osgeo.org/postgis/trunk@7438 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-21 03:26:48 +00:00
Regina Obe cb0c6fae59 Get rid of removed ST_SummaryStats proto and add new ST_SummaryStats proto
git-svn-id: http://svn.osgeo.org/postgis/trunk@7437 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-21 01:52:03 +00:00
Paul Ramsey ba3323ae1c ST_Dump with GSerialized POINT EMPTY and EWKT/AsText mismatch (#746)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7436 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-20 21:15:48 +00:00
Paul Ramsey 8904b61535 Increase size of generator.c static buffer. (#583)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7435 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-20 17:08:21 +00:00
Paul Ramsey ec001a4dfc geography: ST_Intersects, ST_DWithin gbox_overlaps: geometries have mismatched dimensionality (#1037)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7433 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-20 16:58:07 +00:00
Bborie Park 41b6e3dc15 Changed the regression tests for ST_Transform in preparation for testing replacement ST_Transform function with different underlying code.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7432 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-20 14:55:22 +00:00
Sandro Santilli 545caebf45 Add missing SQL/MM functions in the status section (TODO)
git-svn-id: http://svn.osgeo.org/postgis/trunk@7431 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-20 11:37:40 +00:00
Regina Obe 2c16524f23 #1040 -- ST_MinimumBoundingCircle -- replace X(), Y() deprecated calls with ST_X(), ST_Y(). Also changed to use default args. We really need regression tests for this function. Will put on separate task.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7430 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-20 09:29:31 +00:00