forked from orbisgis/h2gis
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request orbisgis#783 from gpetit/doc_h2gis_version
Add doc for H2GISversion, ST_MakeValid and ST_RemoveDuplicatedCoordinates
- Loading branch information
Showing
37 changed files
with
3,364 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<!-- For this to work, every page must have a category and a description --> | ||
<table> | ||
<thead> | ||
<tr> | ||
<th>Function</th> | ||
<th>Description</th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
{% assign pages = site.pages | sort: 'name' %} | ||
{% assign version = page.url | replace_first:'/docs/','' | split:"/" | first %} | ||
{% for p in pages %} | ||
{% if p.url contains version %} | ||
{% if p.category contains 'system' %} | ||
{% unless p.permalink contains 'system' %} | ||
{% if p.description %} | ||
{% capture described %}{{ described | plus:1 }}{% endcapture %} | ||
{% endif %} | ||
{% capture total %}{{ total | plus:1 }}{% endcapture %} | ||
<tr> | ||
<td><a href="{{ p.url }}"><code>{{ p.title }}</code></a></td> | ||
<td>{{ p.description }}</td> | ||
</tr> | ||
{% endunless %} | ||
{% endif %} | ||
{% endif %} | ||
{% endfor %} | ||
</tbody> | ||
</table> | ||
|
||
Documented functions: {{ described }}/{{ total }}. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
layout: docs | ||
title: H2GISversion | ||
permalink: /docs/1.2/H2GISversion/ | ||
--- | ||
|
||
Sorry, this function does not exist in this version of H2GIS. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
layout: docs | ||
title: ST_MakeValid | ||
permalink: /docs/1.2/ST_MakeValid/ | ||
--- | ||
|
||
Sorry, this function does not exist in this version of H2GIS. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
layout: docs | ||
title: System | ||
category: system | ||
prev_section: raster | ||
next_section: applications | ||
permalink: /docs/1.2/system/ | ||
--- | ||
|
||
Sorry, there is no system functions available in the v1.2 of H2GIS. | ||
|
||
Please refers to the documentation under [development](../../dev/system). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
layout: docs | ||
title: H2GISversion | ||
permalink: /docs/1.3/H2GISversion/ | ||
--- | ||
|
||
Sorry, this function does not exist in this version of H2GIS. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
layout: docs | ||
title: ST_MakeValid | ||
permalink: /docs/1.3/ST_MakeValid/ | ||
--- | ||
|
||
Sorry, this function does not exist in this version of H2GIS. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
layout: docs | ||
title: System | ||
category: system | ||
prev_section: raster | ||
next_section: applications | ||
permalink: /docs/1.3/system/ | ||
--- | ||
|
||
Sorry, there is no system functions available in the v1.3 of H2GIS. | ||
|
||
Please refers to the documentation under [development](../../dev/system). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
layout: docs | ||
title: H2GISversion | ||
category: system/version | ||
is_function: true | ||
description: Return H2GIS version | ||
prev_section: system | ||
next_section: applications | ||
permalink: /docs/dev/H2GISversion/ | ||
--- | ||
|
||
### Signature | ||
|
||
{% highlight mysql %} | ||
STRING H2GISversion(); | ||
{% endhighlight %} | ||
|
||
### Description | ||
|
||
Return the current version of H2GIS stored in the manifest, otherwise return `unknown`. | ||
|
||
|
||
### Example | ||
|
||
{% highlight mysql %} | ||
SELECT H2GISversion(); | ||
|
||
-- Answer: | ||
1.3.1-SNAPSHOT | ||
{% endhighlight %} | ||
|
||
##### See also | ||
|
||
* <a href="https://github.com/orbisgis/h2gis/blob/master/h2gis-functions/src/main/java/org/h2gis/functions/system/H2GISversion.java" target="_blank">Source code</a> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.