According to PostgreSQL documentation http://www.postgresql.org/docs/9.0/static/sql-syntax-lexical.html (highlighted by me)
PostgreSQL also accepts "escape" string constants, which are extensions to the SQL standard. The escape string constant is specified by writing the letter E (upper or lower case) immediately before the first quote , for example, E'foo. (When continuing the escape string constant line by line, write E only until the first start quote.) On the escape line, the backslash character () begins a C-like backslash escape sequence in which the backslash combination and the next character (s) represent special byte value
Using \\ in your line means that it escapes the escape sequence, probably to be safe in the path and stored in the .sql file. The string string actually passed to the ST_GeomFromWKB function will be:
\001\001\000\000\000\321\256B\312O\304Q\300\347\030\220\275\336% E@
These sequences of 3 or 4 characters between the slash will then be directly interpreted by ST_GeoFromWKB .
The documentation for ST_GeoFromWKB ( http://postgis.org/docs/ST_GeomFromWKB.html ) states:
The ST_GeomFromWKB function takes a known binary representation of the geometry and the spatial reference system identifier (SRID) and creates an instance of the corresponding geometry type. This function acts as Factory geometry in SQL. This is an alternate name for ST_WKBToSQL .
Unfortunately, he does not indicate in what format, in fact, the “well-known binary representation” is actually.
It turns out that the contents of the line depend on the coordinate system used, which is set by the SRID parameter. In this case, 4326 corresponds to WGS84 : https://en.wikipedia.org/wiki/World_Geodetic_System#WGS84
You will need to continue reading and researching to unravel this.
source share