• “spatial objects system identifier” —- SRID

    作者:  • 2006 年 1 月 17 日 • 技术主义 • 暂无评论

    The OpenGIS specification also requires that the internal storage format of spatial objects include a spatial referencing
    system identifier (SRID). The SRID is required when creating spatial objects for insertion into the database.
    Input/Output of these formats are available using the following interfaces:
    bytea WKB = asBinary(geometry);
    text WKT = asText(geometry);
    geometry = GeomFromWKB(bytea WKB, SRID);
    geometry = GeometryFromText(text WKT, SRID);
    For example, a valid insert statement to create and insert an OGC spatial object would be:

    INSERT INTO SPATIALTABLE (
    THE_GEOM,
    THE_NAME
    )
    VALUES (
    GeomFromText(’POINT(-126.4 45.32)’, 312),
    ’A Place’
    )

    相关文章:

    关于

    生于古城長安,求學金陵,輾轉赴美深造,現漂泊於長安與北京。

    http://www.yenching.org