Skip to content

Commit

Permalink
Add description for ST_PolyFromWKB
Browse files Browse the repository at this point in the history
  • Loading branch information
mlecoeuvre committed Jan 29, 2014
1 parent 5e2c2a2 commit 5f29f7f
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions docs/dev/ST_PolyFromWKB.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,26 @@ next_section: h2spatial/operators
permalink: /docs/dev/ST_PolyFromWKB/
---

### Signatures
### Signature

{% highlight mysql %}
GEOMETRY ST_PolyFromWKB(binary WKB, int srid);
{% endhighlight %}

### Description


Converts a Well Known Binary `WKB` into a `POLYGON`.

{% include sfs-1-2-1.html %}

### Examples
### Example

{% highlight mysql %}
SELECT ST_PolyFromWKB('0020000003000010e6000000010000000500000
00000000000000000000000000000000000000000003ff000000000000
03ff00000000000003ff00000000000003ff0000000000000000000000
000000000000000000000000000000000000000',2154);
-- Answer: 'POLYGON((0 0,0 1,1 1,1 0,0 0))'
{% endhighlight %}

##### See also
Expand Down

0 comments on commit 5f29f7f

Please sign in to comment.