[mirror] PostGIS spatial database extension to PostgreSQL https://postgis.net
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
kalenikaliaksandr 6c7a131dc7 fix ST_DumpPoints to not overlook points (Closes #4925) 7 days ago
..
DEBUG Change the name of the main source directory. This is going to break the build for a little while until I fix all the references, but I want to do it atomically to ensure version history is preserved. 13 years ago
Makefile.in Remove --without-wagyu option 5 months ago
README Change the name of the main source directory. This is going to break the build for a little while until I fix all the references, but I want to do it atomically to ensure version history is preserved. 13 years ago
TODO Drop extraneous task (if it referred to loader we do have a switch for index creation now) 11 years ago
brin_2d.c Fix some spelling errors 3 years ago
brin_common.c Add support for BRIN indexes - missed new files on last commit 5 years ago
brin_nd.c Address warnings across liblwgeom/ and postgis/ 3 years ago
geobuf.LICENSE Geobuf output support via ST_AsGeobuf 4 years ago
geobuf.c Enforce protobuf-c dependency 8 months ago
geobuf.h Enforce protobuf-c dependency 8 months ago
geobuf.proto specific protobuf syntax 1 year ago
geography.h Style only change: remove trailing whitespaces 5 years ago
geography.sql.in Add precision parameter to ST_AsEWKT 11 months ago
geography_brin.sql.in Remove support for Postgres < 9.5. 3 years ago
geography_btree.c Avoid memory exhaustion when building a btree index (references #4004) 3 years ago
geography_centroid.c Lengthen proj cache lifetime to the life of the backend, and move memory context appropriately to match. Simplify the retrieval of global constants somewhat to not require FunctionCallInfo anymore. References #4890 4 weeks ago
geography_inout.c Lengthen proj cache lifetime to the life of the backend, and move memory context appropriately to match. Simplify the retrieval of global constants somewhat to not require FunctionCallInfo anymore. References #4890 4 weeks ago
geography_measurement.c Lengthen proj cache lifetime to the life of the backend, and move memory context appropriately to match. Simplify the retrieval of global constants somewhat to not require FunctionCallInfo anymore. References #4890 4 weeks ago
geography_measurement_trees.c Share gserialized objects between different cache types 1 year ago
geography_measurement_trees.h Share gserialized objects between different cache types 1 year ago
geometry_inout.c Optimize geometry_to_point 1 year ago
gserialized_estimate.c Lengthen proj cache lifetime to the life of the backend, and move memory context appropriately to match. Simplify the retrieval of global constants somewhat to not require FunctionCallInfo anymore. References #4890 4 weeks ago
gserialized_gist_2d.c Be clever and only deserialize with copy when necessary 7 months ago
gserialized_gist_nd.c Avoid double freeing due to gidx_merge 11 months ago
gserialized_spgist_2d.c Lengthen proj cache lifetime to the life of the backend, and move memory context appropriately to match. Simplify the retrieval of global constants somewhat to not require FunctionCallInfo anymore. References #4890 4 weeks ago
gserialized_spgist_3d.c Lengthen proj cache lifetime to the life of the backend, and move memory context appropriately to match. Simplify the retrieval of global constants somewhat to not require FunctionCallInfo anymore. References #4890 4 weeks ago
gserialized_spgist_3d.h SP-GiST implementation polishing 3 years ago
gserialized_spgist_nd.c Lengthen proj cache lifetime to the life of the backend, and move memory context appropriately to match. Simplify the retrieval of global constants somewhat to not require FunctionCallInfo anymore. References #4890 4 weeks ago
gserialized_supportfn.c Lengthen proj cache lifetime to the life of the backend, and move memory context appropriately to match. Simplify the retrieval of global constants somewhat to not require FunctionCallInfo anymore. References #4890 4 weeks ago
gserialized_typmod.c Lengthen proj cache lifetime to the life of the backend, and move memory context appropriately to match. Simplify the retrieval of global constants somewhat to not require FunctionCallInfo anymore. References #4890 4 weeks ago
legacy.sql.in Expose fixed-precision overlay functions 9 months ago
legacy_gist.sql.in Formatting: remove trailing whitespace from .sql files. 3 years ago
legacy_minimal.sql.in Formatting: remove trailing whitespace from .sql files. 3 years ago
long_xact.c Spelling error fixes from Sebastiaan Couwenberg 5 years ago
long_xact.sql.in Formatting: remove trailing whitespace from .sql files. 3 years ago
lwgeom_accum.c Expose fixed-precision overlay functions 9 months ago
lwgeom_accum.h Expose fixed-precision overlay functions 9 months ago
lwgeom_box.c Speed up ST_CombineBbox(box2d, geometry) for compressed values 11 months ago
lwgeom_box3d.c Use lwprint_double for printing box types 11 months ago
lwgeom_box3d.h SP-GiST implementation polishing 3 years ago
lwgeom_btree.c Fast Hilbert btree. 2 years ago
lwgeom_dump.c Expose fixed-precision overlay functions 9 months ago
lwgeom_dumppoints.c fix ST_DumpPoints to not overlook points (Closes #4925) 7 days ago
lwgeom_export.c Use the shortest representation when printing doubles 11 months ago
lwgeom_functions_analytic.c Speed up ST_Simplify 2 years ago
lwgeom_functions_analytic.h Update copyright header to add explicit license version 6 years ago
lwgeom_functions_basic.c ST_Boundary: formatting and polish 2 months ago
lwgeom_functions_lrs.c locate_between_measures and locate_along_measure are deprecated 7 months ago
lwgeom_functions_temporal.c Remove unused errno.h includes. 3 years ago
lwgeom_generate_grid.c Remove unused variable 6 months ago
lwgeom_geos.c Expand POSTGIS_GEOS_VERSION from 39 to 30900 (zero padded minor/patch) so that GEOS 3.10 and future friends do not break things by accident. Closes #4899 2 months ago
lwgeom_geos.h Share gserialized objects between different cache types 1 year ago
lwgeom_geos_clean.c Add a new ST_MakeValid() signature that takes options to control 2 months ago
lwgeom_geos_prepared.c Share gserialized objects between different cache types 1 year ago
lwgeom_geos_prepared.h Share gserialized objects between different cache types 1 year ago
lwgeom_geos_relatematch.c Drop cstring2text/text2cstring in favor of PostgreSQL functions 3 years ago
lwgeom_in_encoded_polyline.c Drop cstring2text/text2cstring in favor of PostgreSQL functions 3 years ago
lwgeom_in_geohash.c Cache getSRIDbySRS 1 year ago
lwgeom_in_geojson.c Cache getSRIDbySRS 1 year ago
lwgeom_in_gml.c Lengthen proj cache lifetime to the life of the backend, and move memory context appropriately to match. Simplify the retrieval of global constants somewhat to not require FunctionCallInfo anymore. References #4890 4 weeks ago
lwgeom_in_kml.c Move postgres.h include to top to fix mingw64 issues 3 months ago
lwgeom_inout.c Lengthen proj cache lifetime to the life of the backend, and move memory context appropriately to match. Simplify the retrieval of global constants somewhat to not require FunctionCallInfo anymore. References #4890 4 weeks ago
lwgeom_ogc.c Fix segfault when parsing invalid WKB 8 months ago
lwgeom_out_geobuf.c Lengthen proj cache lifetime to the life of the backend, and move memory context appropriately to match. Simplify the retrieval of global constants somewhat to not require FunctionCallInfo anymore. References #4890 4 weeks ago
lwgeom_out_geojson.c Lengthen proj cache lifetime to the life of the backend, and move memory context appropriately to match. Simplify the retrieval of global constants somewhat to not require FunctionCallInfo anymore. References #4890 4 weeks ago
lwgeom_out_mvt.c Lengthen proj cache lifetime to the life of the backend, and move memory context appropriately to match. Simplify the retrieval of global constants somewhat to not require FunctionCallInfo anymore. References #4890 4 weeks ago
lwgeom_rectree.c Share gserialized objects between different cache types 1 year ago
lwgeom_rtree.c Share gserialized objects between different cache types 1 year ago
lwgeom_rtree.h Share gserialized objects between different cache types 1 year ago
lwgeom_spheroid.c Better error messages for SRID mismatch. 2 years ago
lwgeom_sqlmm.c Implement extended ST_CurveToLine signature 4 years ago
lwgeom_transform.c Lengthen proj cache lifetime to the life of the backend, and move memory context appropriately to match. Simplify the retrieval of global constants somewhat to not require FunctionCallInfo anymore. References #4890 4 weeks ago
lwgeom_triggers.c Update copyright header to add explicit license version 6 years ago
lwgeom_window.c Support for 3D in K-Means. 11 months ago
mvt.c Remove --without-wagyu option 5 months ago
mvt.h MVT: Improve performance and memory usage 10 months ago
postgis.sql.in Add a new ST_MakeValid() signature that takes options to control 2 months ago
postgis_after_upgrade.sql Expose fixed-precision overlay functions 9 months ago
postgis_before_upgrade.sql Expose fixed-precision overlay functions 9 months ago
postgis_brin.h Add support for BRIN indexes - missed new files on last commit 5 years ago
postgis_brin.sql.in Add parallellism and cost properties to brin functions 2 years ago
postgis_legacy.c postgis_svn_version is deprecated 7 months ago
postgis_libprotobuf.c Remove --without-wagyu option 5 months ago
postgis_module.c Lengthen proj cache lifetime to the life of the backend, and move memory context appropriately to match. Simplify the retrieval of global constants somewhat to not require FunctionCallInfo anymore. References #4890 4 weeks ago
postgis_spgist.sql.in Drop PG 9.5 support 2 years ago
sqldefines.h.in Reduce _COST_LOW and _COST_MEDIUM and change ST_Simplify 1 year ago
uninstall_geography.sql.in Formatting: remove trailing whitespace from .sql files. 3 years ago
uninstall_legacy.sql.in Drop the .c suffix of sql files to preprocess 8 years ago
uninstall_long_xact.sql.in Formatting: remove trailing whitespace from .sql files. 3 years ago
uninstall_sfcgal.sql.in Formatting: remove trailing whitespace from .sql files. 3 years ago
uninstall_sqlmm.sql.in Formatting: remove trailing whitespace from .sql files. 3 years ago
vector_tile.LICENSE Mapbox vector tile output support via ST_AsMVT 4 years ago
vector_tile.proto MVT: Improve performance and memory usage 10 months ago

README

Welcome to the Initial version of LWGEOM.

More information is available on the PostGIS user's mailing list and
the PostGIS developer's mailing list.

Differences
-----------

The LWGEOM is very much like the original PostGIS GEOMETRY type. The
main differences are:

a) LWGEOMs are much smaller than the PostGIS GEOMETRY
b) LWGEOMs natively support 2d, 3d, and 4d points
c) LWGEOMs are indexed using single-precision bounding boxes. This
make the indexes significantly smaller than PostGIS GEOMETRY
indexes.
d) LWGEOMs are internally very similar to OGC WKB
e) The "normal" view of LWGEOMs is OGC WKB - PostGIS GEOMETRY is OGC WKT
f) PostGIS geometries have a built-in BOX3D. LWGEOMs have an *optional*
BOX2D (see below).


Also included with the LWGEOMs is a type called 'box2d'. This is
very similar to PostGIS BOX3D type:

a) BOX2Ds are 2D - BOX3D is 3D
b) BOX2Ds are represented by single-precision floating point numbers,
while BOX3Ds are double-precision floating point numbers.
c) BOX2Ds will