Paul Ramsey
97e9357796
Remove now-obsolete TODO comment
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9215 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-16 00:28:04 +00:00
Paul Ramsey
4520e70063
Prepare for Proj4.8 with spheroid info handling
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9214 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-16 00:25:48 +00:00
Sandro Santilli
bc47761f48
Do not take PROJ4 errno value as a sign of error ( #1580 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9194 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-15 15:59:52 +00:00
Sandro Santilli
5703e75da6
Drop postgis_config.h include from lwgeom_pg.h header.
...
Generally, package config files should _not_ be included
by package headers. In this specific case the aim is overriding
POSTGIS_DEBUG_LEVEL in implementation files for the sake of
enabling debugging of a single file.
Also part of this commit is addition of copyright header in
two files which were missing it (used git history to figure
assignments)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9134 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-09 17:00:23 +00:00
Sandro Santilli
6498c6f9ed
Fix header guard of pgsql_compat.h and drop the duplicate
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9133 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-09 17:00:02 +00:00
Paul Ramsey
87a2a38faa
Stop relying on private projects.h PROJ header ( #1541 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9108 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-08 18:51:32 +00:00
Paul Ramsey
3623b6bcd5
Reorder the include flags, per Greg Troxel
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9066 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-07 17:07:52 +00:00
Paul Ramsey
86d8c4aeae
Change searched location of proj files when no proj variable ( #1022 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9051 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-06 20:07:21 +00:00
Paul Ramsey
77e0e30b0b
Try out the pj_get_def() method of finding the spheroid parameters, but: it doesn't work.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9036 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-06 02:15:01 +00:00
Paul Ramsey
c1f7407a09
Geography should support SRIDs other than 4326 ( #1538 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@9029 b70326c6-7e19-0410-871a-916f4a2858ee
2012-02-04 01:30:14 +00:00
Paul Ramsey
88c557fc6c
Prevent people from inserting entries in spatial_ref_sys with no proj4text ( #1150 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8910 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-24 00:09:53 +00:00
Sandro Santilli
bce8e015d6
Virtualize ``make'' calls ( #1464 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8801 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-13 16:23:18 +00:00
Sandro Santilli
1ecb481104
Encode dependency of libpgcommon on postgis_config.h
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8777 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-11 17:18:19 +00:00
Paul Ramsey
f56dc54f2d
Remove redundant prototype
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8067 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-31 20:59:07 +00:00
Paul Ramsey
2398afc183
Move gserialized_get_gbox_p to liblwgeom and gserialized_read_gbox_p to liblwgeom_internal
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8066 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-31 20:55:05 +00:00
Paul Ramsey
2844486b6c
Rename pglwgeom_box2d_p
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8065 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-31 20:23:44 +00:00
Paul Ramsey
93087d39dc
Remove some duplicate headers (much of this to be done...)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8053 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-30 20:57:56 +00:00
Paul Ramsey
a7f66610ba
Remove SERIALIZED_FORM
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8052 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-30 20:45:58 +00:00
Paul Ramsey
32589f9f97
Remove pglwgeom_serialize
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8051 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-30 20:40:19 +00:00
Paul Ramsey
183dde1c71
Remove pglwgeom_ndims
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8046 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-29 20:35:41 +00:00
Paul Ramsey
9899cf87bb
Remove pglwgeom_size
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8045 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-29 20:07:33 +00:00
Paul Ramsey
475ce68b84
Remove pglwgeom_get_zm
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8044 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-29 20:04:04 +00:00
Paul Ramsey
71b9cf2ec9
Remove pglwgeom_is_empty
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8042 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-29 01:01:48 +00:00
Paul Ramsey
4bd7ed861d
Remove pglwgeom_drop_bbox
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8041 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-29 01:00:49 +00:00
Paul Ramsey
84206a3396
Remove pglwgeom_has_bbox, pglwgeom_has_z, pglwgeom_has_m
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8039 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-29 00:58:06 +00:00
Paul Ramsey
e0f79d979a
Remove pglwgeom_get_type
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8038 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-29 00:50:33 +00:00
Paul Ramsey
6e55225337
remove pglwgeom_get_srid, pglwgeom_set_srid
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8037 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-28 22:06:16 +00:00
Paul Ramsey
ffbb26a36e
Remove pglwgeom_deserialize
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8036 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-28 21:57:57 +00:00
Paul Ramsey
8a41cb45be
Commit remaining removals of BOX2DFLOAT4 and PG_LWGEOM
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8035 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-28 20:54:23 +00:00
Paul Ramsey
24719b86b6
Remove PG_LWGEOM_construct
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8010 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-26 23:47:16 +00:00
Paul Ramsey
9487fd9d47
Remove orphaned pglwgeom function pglwgeom_compute_serialized_box3d
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8009 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-26 23:21:05 +00:00
Paul Ramsey
b50f2487da
Remove non-gserialized portions of utility functions.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8008 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-26 23:07:17 +00:00
Paul Ramsey
fbb351b5ad
Remove old box2dfloat4 in favor of gbox.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@8004 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-25 21:05:42 +00:00
Sandro Santilli
6bfec0a01e
Use macros for hard-coded "magic" SRIDs used by _BestSRID and ST_Transform, use 999xxx range for them. See ticket #1230 .
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7960 b70326c6-7e19-0410-871a-916f4a2858ee
2011-10-10 06:55:50 +00:00
Paul Ramsey
d8d9fe9d9c
Remove gserialized.h define file (actual #define is now temporarily in liblwgeom.h)
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7914 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-28 23:59:10 +00:00
Paul Ramsey
e287dff03d
Remove GSERIALIZED_ON from .sql files.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7913 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-28 23:58:34 +00:00
Sandro Santilli
809ae790e4
Move LWDEBUG macros in a new lwgeom_log.h header file (see #1220 )
...
Update all implementation files accordingly.
Fix some misuses out of liblwgeom.
Add missing copyright notices in a few files.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7907 b70326c6-7e19-0410-871a-916f4a2858ee
2011-09-28 10:05:36 +00:00
Bborie Park
62b39d015a
Fix error of unknown symbol gidx_to_string when building with the flags --with-raster --enable-debug using patch gidx_to_string.patch provided by bnordgren.
...
Associated ticket is #1161
git-svn-id: http://svn.osgeo.org/postgis/trunk@7786 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-25 18:18:20 +00:00
Paul Ramsey
ef467a5c27
Added in gettext headers to allow compilation under osx with iconv
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7783 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-24 22:31:39 +00:00
Sandro Santilli
d62bc59a97
Put PG_MODULE_MAGIC in raster and postgis source files rather than in libpgcommon. Should fix the mingw build. See ticket #1158 .
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7773 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-20 21:17:14 +00:00
Sandro Santilli
70e6070563
Move gserialized_gist to libpgcommon fixing a circular dependency between libpgcommon and liblwgeom, put libpgcommon _after_ liblwgeom in pg modules link lines, drop duplicated lwgeom_init_allocators and PG_MODULE_MAGIC from raster module (they are in libpgcommon already). Includes patch in #1161 . [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7768 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-20 15:43:29 +00:00
Sandro Santilli
b131652f6c
Drop (u)int32 and uchar in favor of C99 standard int types [RT-SIGTA]
...
This commit drops PostgreSQL references in liblwgeom.h (C_H define)
and hopefully reduces the noise generated by custom symbols.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7761 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-19 09:34:58 +00:00
Sandro Santilli
090ac6125a
Move SQL-exposed functions out of libpgcommon ( #1163 ).
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7758 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-19 07:55:50 +00:00
Sandro Santilli
a7e6fe6c36
Move lwproj_from_string from libpgcommon to liblwgeom [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7741 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-12 19:18:46 +00:00
Sandro Santilli
23bb1c43b2
Rename make_project to lwproj_from_string, ready to be moved to liblwgeom [RT-SIGTA]
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7739 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-12 17:55:40 +00:00
Sandro Santilli
c18e8b0c18
Use PROJ4 C flags, see if this makes Hudson happy.
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7736 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-12 17:33:33 +00:00
Sandro Santilli
6354a67e76
Copyright review on lwgeom_pg.{c,h} files
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7735 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-12 17:26:03 +00:00
Sandro Santilli
4239e692bb
Make transformation and projection cache API available (ticket #1053 )
...
git-svn-id: http://svn.osgeo.org/postgis/trunk@7734 b70326c6-7e19-0410-871a-916f4a2858ee
2011-08-12 17:25:01 +00:00