Commit graph

7922 commits

Author SHA1 Message Date
Paul Ramsey 85ad3fea9d Update regression to handle new collection(empty) possibilities
git-svn-id: http://svn.osgeo.org/postgis/trunk@9531 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-22 17:24:57 +00:00
Paul Ramsey 01828634d2 Parse error on WKT for multi with empty elements (#1703)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9530 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-22 16:55:18 +00:00
Sandro Santilli f509fae4ab Add collapsed polygon case to ST_Simplify test (#1698)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9529 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-22 15:07:11 +00:00
Sandro Santilli 5dfa7e3cc4 Add a ptarray_simplify parameter to preserve min vertices (#1698)
A polygon ring collapsed to a segment is still better handled by
mapnik than the same ring collapsed to a single point. This commit
retains at least 3 vertices for polygons.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9528 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-22 15:07:03 +00:00
Sandro Santilli d89b799534 Do not drop collapsed polygon shells (#1698)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9527 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-22 15:06:52 +00:00
Regina Obe 4d9e3d15f3 missing para tag
git-svn-id: http://svn.osgeo.org/postgis/trunk@9526 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-22 13:33:00 +00:00
Regina Obe f3dd2db8a7 explain geometry_columns is now a view and that spatial tables can be created in 1 step.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9525 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-22 13:29:25 +00:00
Regina Obe 0fee1529e6 more expounding on typmod vs. constraint based geometry columns
git-svn-id: http://svn.osgeo.org/postgis/trunk@9524 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-22 13:02:36 +00:00
Paul Ramsey 29e2d6a299 Change @rm to rm for visibility
git-svn-id: http://svn.osgeo.org/postgis/trunk@9523 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-21 21:36:59 +00:00
Paul Ramsey cf8753bd36 Make distclean should remove all the Makefile's generated by ./configure
git-svn-id: http://svn.osgeo.org/postgis/trunk@9522 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-21 20:32:29 +00:00
Paul Ramsey 72f97d86fc Bump versions for beta4
git-svn-id: http://svn.osgeo.org/postgis/trunk@9519 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-21 20:03:36 +00:00
Paul Ramsey a56dca4b0b Ignore some files
git-svn-id: http://svn.osgeo.org/postgis/trunk@9518 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-21 18:22:55 +00:00
Paul Ramsey d0b5ff1eeb README.raster needs updating or removal (#1649)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9517 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-19 20:40:51 +00:00
Sandro Santilli e8263f6807 ST_SnapToGrid: retain type on empty return (#1695)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9516 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-19 12:07:39 +00:00
Sandro Santilli f57a0f7c2e Fix typo puffered -> buffered
git-svn-id: http://svn.osgeo.org/postgis/trunk@9515 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-16 19:13:34 +00:00
Sandro Santilli 8953eee57c Be quieter on polygon ring collapse (in ST_Simplify)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9514 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-16 19:11:09 +00:00
Regina Obe f17505ac95 fix typo in example was adding band 1 twice
git-svn-id: http://svn.osgeo.org/postgis/trunk@9513 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-16 15:03:43 +00:00
Regina Obe 6d5bacd1fe surreal clipping
git-svn-id: http://svn.osgeo.org/postgis/trunk@9512 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-16 12:58:47 +00:00
Regina Obe 934ab17670 slightly more efficient (and hmm my last timing was with 2 buildings instead of 3)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9511 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-16 12:47:31 +00:00
Regina Obe 907744eed0 minor adjustment to example
git-svn-id: http://svn.osgeo.org/postgis/trunk@9510 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-16 12:40:31 +00:00
Regina Obe f17a5176a0 Provide summarizing summary stats example using intersection of geometry. Pretty fast.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9509 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-16 12:25:42 +00:00
Sandro Santilli e51e985054 Rename legacy_compatibility_layer.sql to legacy_minimal.sql
As per http://postgis.refractions.net/pipermail/postgis-devel/2012-March/019663.html

git-svn-id: http://svn.osgeo.org/postgis/trunk@9508 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-16 12:15:47 +00:00
Sandro Santilli a05c53ad59 Do not take PROJ4 errno value as a sign of error (#1580, #1690)
Dejavu...

git-svn-id: http://svn.osgeo.org/postgis/trunk@9507 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-16 11:58:49 +00:00
Regina Obe 59a659238f Add more descriptive notes detailing difference between files
git-svn-id: http://svn.osgeo.org/postgis/trunk@9506 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-16 08:48:31 +00:00
Regina Obe 7e0b87e362 fix spelling typos
git-svn-id: http://svn.osgeo.org/postgis/trunk@9505 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-16 08:27:10 +00:00
Regina Obe 027312a4c8 Put in a section for crowd sourcing campaigns
git-svn-id: http://svn.osgeo.org/postgis/trunk@9504 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-16 06:59:40 +00:00
Sandro Santilli 16b3de036e Bail out if user specified json dir isn't correct (#1688)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9503 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-15 09:54:29 +00:00
Regina Obe 0981ef63f1 put note about slowness of raster st_union and promise it will be better in later versions
git-svn-id: http://svn.osgeo.org/postgis/trunk@9502 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-14 21:45:23 +00:00
Regina Obe 3ba37fb6aa change example to be more efficient (prior version was taking 9-10 seconds this much improved one takes 3.5 seconds)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9501 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-14 21:35:44 +00:00
Bborie Park 81b987dfb7 Updated to have C API tests use libtool
git-svn-id: http://svn.osgeo.org/postgis/trunk@9500 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-14 20:26:07 +00:00
Bborie Park cf9c48e2c6 Use AC_SEARCH_LIBS instead of AC_CHECK_LIB for checking GDAL libraries
git-svn-id: http://svn.osgeo.org/postgis/trunk@9499 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-14 19:05:02 +00:00
Sandro Santilli fa740def53 Don't re-implement AC_PATH_PROG for gdal-config
git-svn-id: http://svn.osgeo.org/postgis/trunk@9498 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-14 16:35:02 +00:00
Paul Ramsey 0bd941a3c3 Prepare for 2.0.0beta3 release
git-svn-id: http://svn.osgeo.org/postgis/trunk@9495 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-14 16:02:59 +00:00
Sandro Santilli 7af2dace4a Encode dependency of raster _scripts_ to postgis_svn_revision.h
git-svn-id: http://svn.osgeo.org/postgis/trunk@9494 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-14 15:50:48 +00:00
Sandro Santilli 402a4d7f9b Encode postgis_svn_revision.h dependency for raster lib
git-svn-id: http://svn.osgeo.org/postgis/trunk@9493 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-14 15:46:41 +00:00
Sandro Santilli 95b8ba808d Make sure to rebuild topology.sql on postgis_svn_revision.h change
git-svn-id: http://svn.osgeo.org/postgis/trunk@9492 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-14 15:40:33 +00:00
Sandro Santilli 94cc6930e7 Add a TOPOLOGY and a RASTER label in postgis_full_version() output
This is to know if they are available

git-svn-id: http://svn.osgeo.org/postgis/trunk@9491 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-14 15:32:33 +00:00
Sandro Santilli ee35d0cf06 Simplify ST_AsLatLonText code and possily fix #1657
The possible bug was a call to pg_do_encoding_conversion w/out
a defined string size argument.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9490 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-14 13:13:23 +00:00
Sandro Santilli e5ec089003 Use existing text2cstring and cstring2text wheel
git-svn-id: http://svn.osgeo.org/postgis/trunk@9489 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-14 12:15:14 +00:00
Bborie Park 69981669f9 Explicitly set NULL character to snprintf outputs as Windows does not do so automatically. Ticket is #1682.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9488 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-13 18:06:58 +00:00
Sandro Santilli 082d160615 Add simple tests to stringbuffer class (#1668)
Hopefully these fail on windows so it's easier to test.
It may take a memory debugger to really see the failure.

git-svn-id: http://svn.osgeo.org/postgis/trunk@9487 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-13 17:08:59 +00:00
Sandro Santilli b5887ec9f7 Rename misc testsuite to "misc"
git-svn-id: http://svn.osgeo.org/postgis/trunk@9486 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-13 17:08:48 +00:00
Paul Ramsey 820079f092 Roll back changes for autodetecting C99 vsnprintf (#1688)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9485 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-13 16:23:38 +00:00
Bborie Park d1abde2e06 Removed "hasnodata" column output of ST_BandMetaData as per #1681. If a band does NOT have a NODATA value, the "nodatavalue" column will be NULL.
git-svn-id: http://svn.osgeo.org/postgis/trunk@9484 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-13 16:13:48 +00:00
Sandro Santilli ba8ee640f5 Add upgrade instructions
git-svn-id: http://svn.osgeo.org/postgis/trunk@9483 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-13 09:18:04 +00:00
Sandro Santilli 08fb7ae21e Drop SRID constraint issue (not an issue anymore with typmod)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9482 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-13 09:17:55 +00:00
Sandro Santilli 17aad4599b Add note about toTopoGeom
git-svn-id: http://svn.osgeo.org/postgis/trunk@9481 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-13 09:17:46 +00:00
Sandro Santilli a3d4467fbe Set Version to match Version.config (HOWTO_RELEASE file mentions you need to edit it anyway)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9480 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-13 08:33:06 +00:00
Sandro Santilli 3e394c5358 Add note about topology/README
git-svn-id: http://svn.osgeo.org/postgis/trunk@9479 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-13 08:30:02 +00:00
Sandro Santilli 7b72ac706b Update README.postgis (#1670)
- Use consistent formatting in reStructuredText; see
  formatted result with rst2pdf or rst2html, or if you don't
  want to install docutils, you can copy/paste the text to
  http://www.tele3.cz/jbar/rest/rest.html
- Wrap lines to 80 columns, trim trailing whitespace, replace tabs
  with space chars
- Fix typos, and use consistent case and punctuation
- Alphabetize the directory structure
- Add ./libpgcommon to directory structure, and attempt to
  describe it
- Arrange style of REQUIREMENTS section a bit more consistent
  across components: removing repetition, stating what is required
  or optional, etc.
- When referencing PostGIS SQL functions, use the "ST_" prefix,
  where applicable
- Mention that both Raster and Topology extensions are built by
  default, add notes how build without them

Patch by Mike Toews

git-svn-id: http://svn.osgeo.org/postgis/trunk@9478 b70326c6-7e19-0410-871a-916f4a2858ee
2012-03-13 08:18:10 +00:00