Commit graph

77 commits

Author SHA1 Message Date
Nicklas Avén eaaf0e6a0e Add GeomFromTWKB #2917
git-svn-id: http://svn.osgeo.org/postgis/trunk@13053 b70326c6-7e19-0410-871a-916f4a2858ee
2014-10-09 18:24:39 +00:00
Regina Obe 8eb7aa7f59 put back most common protos of ST_AsGML so docs aren't so confusing when they demonstrate their use
git-svn-id: http://svn.osgeo.org/postgis/trunk@13035 b70326c6-7e19-0410-871a-916f4a2858ee
2014-10-05 00:05:57 +00:00
Sandro Santilli a5e5945c76 Fix typo in documentation for ST_AsEncodedPolyline
git-svn-id: http://svn.osgeo.org/postgis/trunk@13029 b70326c6-7e19-0410-871a-916f4a2858ee
2014-10-02 15:49:23 +00:00
Nicklas Avén c686da49bf Add support for bboxes in twkb
git-svn-id: http://svn.osgeo.org/postgis/trunk@13008 b70326c6-7e19-0410-871a-916f4a2858ee
2014-09-30 03:05:28 +00:00
Nicklas Avén d273edb148 Added optional geometry size in TWKB. Also reworked the code so passing around **buf instead of *buf. Also affects the varInt code
git-svn-id: http://svn.osgeo.org/postgis/trunk@12907 b70326c6-7e19-0410-871a-916f4a2858ee
2014-08-22 20:39:50 +00:00
Sandro Santilli 4539ef77bd Add missing commas in some See Also sections, link ST_AsBinary to ST_AsTWKB
git-svn-id: http://svn.osgeo.org/postgis/trunk@12864 b70326c6-7e19-0410-871a-916f4a2858ee
2014-08-07 11:37:55 +00:00
Regina Obe a5f52d6098 Fix X3D specification link (X3D recently redid their site which broke all the links), also link to the PostGIS X3D web viewer as demonstration of using x3dom native html/js web browser rendering
git-svn-id: http://svn.osgeo.org/postgis/trunk@12811 b70326c6-7e19-0410-871a-916f4a2858ee
2014-07-21 04:51:35 +00:00
Sandro Santilli 1dfa144781 Improve encoded polyline docs
Fix cross-linking between encoded polyline in/out funx
Add link to encoded polyline algorithm format

git-svn-id: http://svn.osgeo.org/postgis/trunk@12751 b70326c6-7e19-0410-871a-916f4a2858ee
2014-07-07 10:25:36 +00:00
Sandro Santilli 236881f97e Added support for encoded_polyline input/output (#2349)
Allow to convert from Encoded Polyline to LineString.
Useful for storing routes from Osrm or Google into PostGIS.

See http://developers.google.com/maps/documentation/utilities/polylinealgorithm

Contributed by Kashif Rasul <kashif.rasul@gmail.com>

Includes unit and regress tests.
Includes documentation.

Signed-off-by: Sandro Santilli <strk@keybit.net>

git-svn-id: http://svn.osgeo.org/postgis/trunk@12750 b70326c6-7e19-0410-871a-916f4a2858ee
2014-07-07 10:21:22 +00:00
Regina Obe a47194844f revise ST_AsTWKBAgg so garden autogenerates aggregate test and comment is right
git-svn-id: http://svn.osgeo.org/postgis/trunk@12299 b70326c6-7e19-0410-871a-916f4a2858ee
2014-03-06 06:32:51 +00:00
Regina Obe d75bbf1bc3 another minor edit
git-svn-id: http://svn.osgeo.org/postgis/trunk@12295 b70326c6-7e19-0410-871a-916f4a2858ee
2014-03-06 05:40:15 +00:00
Regina Obe 4214fd8bf0 forgot to save last change
git-svn-id: http://svn.osgeo.org/postgis/trunk@12294 b70326c6-7e19-0410-871a-916f4a2858ee
2014-03-06 05:39:21 +00:00
Regina Obe f9f369d7ef #2661: st_astwkb_agg(geometry,int) needs code comment and violates naming convention, also fixed minor issues with description
git-svn-id: http://svn.osgeo.org/postgis/trunk@12293 b70326c6-7e19-0410-871a-916f4a2858ee
2014-03-06 05:38:44 +00:00
Nicklas Avén 761f01457e change to int8 for twkb ID in doc
git-svn-id: http://svn.osgeo.org/postgis/trunk@11890 b70326c6-7e19-0410-871a-916f4a2858ee
2013-08-26 22:57:41 +00:00
Nicklas Avén 184636263c Remove homebrewed compression method. Don't add ID if not used.
git-svn-id: http://svn.osgeo.org/postgis/trunk@11878 b70326c6-7e19-0410-871a-916f4a2858ee
2013-08-26 18:58:28 +00:00
Nicklas Avén fe84191317 Initial commit of TWKB implimentation to trunk
git-svn-id: http://svn.osgeo.org/postgis/trunk@11736 b70326c6-7e19-0410-871a-916f4a2858ee
2013-08-04 21:27:27 +00:00
Regina Obe 4d9a4acc9c #1818 slight doc change move the FromGeoHash family to constructor section and link back to ST_GeoHash output and amend credits to Jason Smith
git-svn-id: http://svn.osgeo.org/postgis/trunk@11360 b70326c6-7e19-0410-871a-916f4a2858ee
2013-05-05 22:35:47 +00:00
Regina Obe 4ab040c95d #1818: geohash patch hashbox to geom
git-svn-id: http://svn.osgeo.org/postgis/trunk@11341 b70326c6-7e19-0410-871a-916f4a2858ee
2013-05-03 04:04:22 +00:00
Sandro Santilli f6b9984ced Link to wikipedia article about GeoHash from ST_GeoHash
git-svn-id: http://svn.osgeo.org/postgis/trunk@11300 b70326c6-7e19-0410-871a-916f4a2858ee
2013-04-16 07:40:36 +00:00
Sandro Santilli 754f06cc84 More Double quote tag attribute values for poxml support
git-svn-id: http://svn.osgeo.org/postgis/trunk@10288 b70326c6-7e19-0410-871a-916f4a2858ee
2012-09-14 20:52:10 +00:00
Regina Obe 2032b69a25 #1869 note that ST_Asbinary on unknown is now illegal. Have to backport to 2.0 as well. I will add to full legacy though for those who can't change code.
git-svn-id: http://svn.osgeo.org/postgis/trunk@10266 b70326c6-7e19-0410-871a-916f4a2858ee
2012-09-10 15:00:26 +00:00
Regina Obe 1652838d51 Mislabeled function (raster missing new flag and ST_ASGML mislabeled as new instead of enhanced)
git-svn-id: http://svn.osgeo.org/postgis/trunk@9884 b70326c6-7e19-0410-871a-916f4a2858ee
2012-06-11 18:01:14 +00:00
Olivier Courtin 8e78cacdc7 Fix wrong SQL prototype, wrong PostGIS version number, and use NULL as default value rather than empty string, related to #1823
git-svn-id: http://svn.osgeo.org/postgis/trunk@9785 b70326c6-7e19-0410-871a-916f4a2858ee
2012-05-22 16:02:05 +00:00
Olivier Courtin b49ecf607c First implementation of gml:id support for ST_AsGML. Related to #1823. Not yet really tested. Cunit still missing
git-svn-id: http://svn.osgeo.org/postgis/trunk@9772 b70326c6-7e19-0410-871a-916f4a2858ee
2012-05-21 21:17:59 +00:00
Sandro Santilli ac58e8af0b Add ST_EWKT for geography type (#675)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8844 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-16 14:46:03 +00:00
Sandro Santilli 77a7370e11 Xref ST_AsBinary to its reverse ST_GeomFromWKB
git-svn-id: http://svn.osgeo.org/postgis/trunk@8776 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-11 17:18:15 +00:00
Sandro Santilli de54e17fde Add documentation about enhancements in ST_AsBinary (#288)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8773 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-11 14:50:16 +00:00
Regina Obe 2475f4f8b4 #961: Change ST_GeoHash to use default args
git-svn-id: http://svn.osgeo.org/postgis/trunk@8642 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-01 15:58:34 +00:00
Regina Obe 8e697e97b7 #961: ST_AsGeoJSON change to use default args
git-svn-id: http://svn.osgeo.org/postgis/trunk@8640 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-01 15:22:50 +00:00
Regina Obe a084388895 changed name of prec to maxdecimaldigits for ST_AsX3D to be consistent with other ST_As* functions, change ST_AsKML to use default args
git-svn-id: http://svn.osgeo.org/postgis/trunk@8638 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-01 14:10:18 +00:00
Regina Obe 115f52486b fix incorrect arg name in ST_AsGML
git-svn-id: http://svn.osgeo.org/postgis/trunk@8637 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-01 13:28:57 +00:00
Regina Obe 6ea56faa02 #961: Change ST_AsGML to use default args
git-svn-id: http://svn.osgeo.org/postgis/trunk@8629 b70326c6-7e19-0410-871a-916f4a2858ee
2012-01-01 01:26:38 +00:00
Regina Obe f7c1e69694 quickly change the options name arg to agree with ST_AsGML docs
git-svn-id: http://svn.osgeo.org/postgis/trunk@8622 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-30 15:52:15 +00:00
Regina Obe d5d8fd00f3 #1415 -- beginning support for options -- expose the currently useless opts flag
git-svn-id: http://svn.osgeo.org/postgis/trunk@8621 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-30 15:43:55 +00:00
Regina Obe c5000d0899 put in default values for ST_AsSVG geography
git-svn-id: http://svn.osgeo.org/postgis/trunk@8619 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-30 09:24:12 +00:00
Regina Obe 8b4252495f change ST_AsSVG to use default args and support named args. Also correct misstatement in geography code as to the ordering of args thought that ordering makes more logical sense to me (it ain't the way it is)
git-svn-id: http://svn.osgeo.org/postgis/trunk@8617 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-30 08:48:50 +00:00
Sandro Santilli cf368abd61 Fix documentation for the new option for GML box output
git-svn-id: http://svn.osgeo.org/postgis/trunk@8430 b70326c6-7e19-0410-871a-916f4a2858ee
2011-12-15 15:11:40 +00:00
Regina Obe a780bda39f change + to | to make strk happy
git-svn-id: http://svn.osgeo.org/postgis/trunk@8228 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-23 17:26:50 +00:00
Regina Obe dc2325d64b update ST_AsGML with examples and include envelope bits option
git-svn-id: http://svn.osgeo.org/postgis/trunk@8227 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-23 17:24:02 +00:00
Regina Obe bc5702ba49 fix typo in GML description noted by strk
git-svn-id: http://svn.osgeo.org/postgis/trunk@8226 b70326c6-7e19-0410-871a-916f4a2858ee
2011-11-23 15:27:59 +00:00
Regina Obe b79b522d9c change ST_AsX3d from using methodsynopsis back to funcsynopsis. This was an attempt before to stylize default args which didn't work out.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7492 b70326c6-7e19-0410-871a-916f4a2858ee
2011-06-26 18:18:23 +00:00
Regina Obe 50d43ea155 git-svn-id: http://svn.osgeo.org/postgis/trunk@7251 b70326c6-7e19-0410-871a-916f4a2858ee 2011-05-25 23:38:13 +00:00
Regina Obe f833c5410d put header on table
git-svn-id: http://svn.osgeo.org/postgis/trunk@7250 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-25 23:37:08 +00:00
Regina Obe 56bd95d89b git-svn-id: http://svn.osgeo.org/postgis/trunk@7242 b70326c6-7e19-0410-871a-916f4a2858ee 2011-05-25 12:35:02 +00:00
Regina Obe 58f7d3e20e missed a spot
git-svn-id: http://svn.osgeo.org/postgis/trunk@7239 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-24 18:53:01 +00:00
Regina Obe e430f91487 experiment with methodsynopsis evidentally seems to support default parameters and conditional args, we need to move from funcsynopsis (designed for C) to methodsynopsis. This is what PHP uses -- https://doc.php.net/php/dochowto/chapter-skeletons.php
git-svn-id: http://svn.osgeo.org/postgis/trunk@7238 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-24 18:50:35 +00:00
Regina Obe 3ef6f639aa fix typo
git-svn-id: http://svn.osgeo.org/postgis/trunk@7200 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-19 04:54:36 +00:00
Regina Obe 5db85e534b support for 2D points, add multipoint 2d / 3d to cunit. Add a mapping table to documentation to clarify how we map PostGIS geometries to X3D equivalent.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7199 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-19 04:53:22 +00:00
Regina Obe 4e0e1002fa let me try to put the opt somewhere else.
git-svn-id: http://svn.osgeo.org/postgis/trunk@7188 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-18 12:05:44 +00:00
Regina Obe 85635f6c6c bah just use brackets for optional args -- docbook seems to be ignoring the choice='opt' tag
git-svn-id: http://svn.osgeo.org/postgis/trunk@7180 b70326c6-7e19-0410-871a-916f4a2858ee
2011-05-18 04:43:40 +00:00