Sandro Santilli
2ea571dffd
Fixed debugging lines.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1508 b70326c6-7e19-0410-871a-916f4a2858ee
2005-03-08 09:23:34 +00:00
Sandro Santilli
70644577b0
Added missing JTSnoop prototype
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1506 b70326c6-7e19-0410-871a-916f4a2858ee
2005-03-07 21:24:22 +00:00
Sandro Santilli
59b48a1394
Put optimization flag back to -O2
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1505 b70326c6-7e19-0410-871a-916f4a2858ee
2005-03-07 21:19:48 +00:00
Sandro Santilli
a003017908
Removed stub functions (moved to lwgeom_nojts.c) and added stub
...
for JTSnoop.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1504 b70326c6-7e19-0410-871a-916f4a2858ee
2005-03-07 21:11:07 +00:00
Sandro Santilli
44515dfb91
Added initial JTS wrapper.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1503 b70326c6-7e19-0410-871a-916f4a2858ee
2005-03-07 21:07:06 +00:00
Sandro Santilli
cc844ae05b
Added spatial_ref_sys.sql and README.postgis to scripts install targets.
...
Moved .sql scripts from ...$(datadir) to ...$(datadir)/contrib.
Modified GEOS/JTS stub handling to use separate file when disabled.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1502 b70326c6-7e19-0410-871a-916f4a2858ee
2005-03-07 21:06:17 +00:00
Sandro Santilli
512ac03a05
Separate stub funx file for builds w/out GEOS or JTS
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1501 b70326c6-7e19-0410-871a-916f4a2858ee
2005-03-07 20:47:56 +00:00
Sandro Santilli
0593e715fd
Removed unused lwexploded_dump() function
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1495 b70326c6-7e19-0410-871a-916f4a2858ee
2005-03-07 13:20:12 +00:00
Mark Leslie
6a68925c53
Cleaned up distance_sphere and updated documentation.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1492 b70326c6-7e19-0410-871a-916f4a2858ee
2005-03-04 19:31:36 +00:00
Sandro Santilli
0f606e4956
Commented out unused variable
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1486 b70326c6-7e19-0410-871a-916f4a2858ee
2005-03-04 15:54:30 +00:00
Markus Schaber
a59181934e
- Separates the version config variables into the toplevel Version.config
...
- Adds new version config variables for jdbc
- jdbc "make jar" additionally creates files named like
postgis_1_0_0RC4.jar using the info from Version.config
- org/postgis/Version.java now uses a Makefile generated ressource to
initialize its values, so it is always "in sync" with Version.config
git-svn-id: http://svn.osgeo.org/postgis/trunk@1484 b70326c6-7e19-0410-871a-916f4a2858ee
2005-03-04 15:22:01 +00:00
Sandro Santilli
b54009b5d7
Added a maintainer-clean rule.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1479 b70326c6-7e19-0410-871a-916f4a2858ee
2005-03-04 14:25:01 +00:00
Sandro Santilli
cc58291c23
PG_LWGEOM_construct() moved from lwgeom_api.c to lwgeom_pg.c.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1476 b70326c6-7e19-0410-871a-916f4a2858ee
2005-03-04 09:03:32 +00:00
Mark Leslie
d1e58a9a5b
Rebuilt the distance_sphere function.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1466 b70326c6-7e19-0410-871a-916f4a2858ee
2005-03-03 17:20:47 +00:00
Sandro Santilli
1fbd3d1ecf
Removed generated parser files.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1463 b70326c6-7e19-0410-871a-916f4a2858ee
2005-03-03 10:31:22 +00:00
Sandro Santilli
92f4df863b
Added generated parsers to avoid FLEX/YACC requirement on release.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1462 b70326c6-7e19-0410-871a-916f4a2858ee
2005-03-03 10:29:46 +00:00
Sandro Santilli
f1650b3817
Renamed lwgeom_to_wkt to lwgeom_to_ewkt, as it doesn't strip out non-ogc
...
extensions.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1456 b70326c6-7e19-0410-871a-916f4a2858ee
2005-03-01 13:22:50 +00:00
Sandro Santilli
065bc784d8
Fixed install-lwgeom-scripts rule as suggested by Rhys Ickeringill.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1453 b70326c6-7e19-0410-871a-916f4a2858ee
2005-03-01 08:43:38 +00:00
Sandro Santilli
58289f3a92
SnapToGrid: Fixed minor bug in consistency check.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1447 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-25 13:42:38 +00:00
Sandro Santilli
a88f1eff76
Fixed a bugus free() in LWGEOM_accum.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1446 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-25 13:28:36 +00:00
Sandro Santilli
06f6125337
Added early return from force_collection when input is already a collection
...
AND has a bbox cache. Suggested by Ron Majer.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1444 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-25 09:31:54 +00:00
Sandro Santilli
62c33b30e3
Added comment on top of TYPE macros
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1443 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-25 08:57:50 +00:00
Sandro Santilli
4f04d212d3
Added missing prototype
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1438 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-24 08:36:35 +00:00
Sandro Santilli
729090bd46
Fixed bug in StartPoint and EndPoint functions.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1437 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-24 08:32:08 +00:00
Sandro Santilli
cff09f6f13
lib version changed to 1.0.0RC3, scripts version to 0.2.0.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1436 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-24 08:10:21 +00:00
Sandro Santilli
f8ae98c28f
Fixed GeometryFromText() to add a bbox cache FOR_COMPLEX_GEOMS
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1430 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-23 09:58:16 +00:00
Sandro Santilli
419d1ad4c0
Added bool::text cast.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1428 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-23 09:00:36 +00:00
Sandro Santilli
ec8c25d78c
Early release of DETOASTED geoms.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1421 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-22 10:10:13 +00:00
Sandro Santilli
93847f07b0
Early release of DETOASTED or deserialized geometries, to reduce memory usage
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1419 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-22 09:55:41 +00:00
Sandro Santilli
438aa25b34
Forced cleanup of DETOASTED and deserialized geometries for better memory
...
usage.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1418 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-22 09:39:07 +00:00
Sandro Santilli
9b1be693f9
Changed min() max() usage with LW_MIN() LW_MAX()
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1416 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-21 16:22:32 +00:00
Sandro Santilli
593a8032ac
Changed byte to uchar to avoid clashes with win32 headers.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1415 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-21 16:16:14 +00:00
Sandro Santilli
0942e0dc46
Removed memory leak in geos2postgis polygon conversion.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1407 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-18 08:42:52 +00:00
Sandro Santilli
a9ebea2780
Improved transform() errors verbosity.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1406 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-17 16:09:56 +00:00
Sandro Santilli
9f02def8da
Syntaxes cleanups.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1405 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-17 15:54:01 +00:00
Sandro Santilli
cb4914189c
Fixed some introduced misorderings of func declaration/body.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1402 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-17 15:39:17 +00:00
Sandro Santilli
de72bc954c
Fixed a bug in pointArray_construct() copying input points instead
...
of keeping a pointer to them. This has been introduced *after* RC2
was released.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1399 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-17 09:19:20 +00:00
Sandro Santilli
84a8477b63
Fixed bug in force_collection() leaving spurious bbox cache and SRID info
...
in inner geometry when applied to single geoms.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1396 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-14 20:45:22 +00:00
Sandro Santilli
99425f8eaf
Dropped getbox2d_internal().
...
Removed all castings of getPoint() output, which has been renamed
to getPoint_internal() and commented about danger of using it.
Changed SERIALIZED_FORM() macro to use VARDATA() macro.
All this changes are aimed at taking into account memory alignment
constraints which might be the cause of recent crash bug reports.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1393 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-10 17:41:55 +00:00
Sandro Santilli
6ce75e5f02
Changed 'char' to 'uchar' (unsigned char typedef) wherever octet is actually
...
meant to be.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1390 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-10 10:52:53 +00:00
Sandro Santilli
5f12688f47
fixed debugging output
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1385 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-09 11:48:11 +00:00
Sandro Santilli
2755cd9fba
Fixed probe_geometry_columns to work with PG72 (pg_constraint was pg_relcheck)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1379 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-08 07:59:07 +00:00
Sandro Santilli
760c4df115
Fixed probe_geometry_columns so to work on spatial tables with multiple
...
geometry columns.
git-svn-id: http://svn.osgeo.org/postgis/trunk@1378 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-08 07:37:42 +00:00
Sandro Santilli
9d1a7bce5e
Fixed broken 72 index bindings.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1376 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-07 14:02:20 +00:00
Sandro Santilli
1c531a9662
Replaced DEBUG* macros with PGIS_DEBUG*, to avoid clashes with postgresql DEBUG
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1374 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-07 13:21:10 +00:00
Sandro Santilli
d365f5ce6b
More portable date command for BUILDDATE extraction
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1372 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-07 12:56:29 +00:00
Sandro Santilli
fbcc98eae2
Changed performance-sensible functions from STABLE to IMMUTABLE
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1362 b70326c6-7e19-0410-871a-916f4a2858ee
2005-02-01 16:53:53 +00:00
Sandro Santilli
75969a60b1
Used default float precision in BOX2D output
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1357 b70326c6-7e19-0410-871a-916f4a2858ee
2005-01-31 09:24:16 +00:00
Sandro Santilli
800645e170
More error handlings in transform(geom, int)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@1356 b70326c6-7e19-0410-871a-916f4a2858ee
2005-01-31 09:01:14 +00:00
Sandro Santilli
c1a1da3759
Made unparsable proj strings error more verbose and removed a typo
...
in transform_geom().
git-svn-id: http://svn.osgeo.org/postgis/trunk@1353 b70326c6-7e19-0410-871a-916f4a2858ee
2005-01-30 09:12:00 +00:00