-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Hi,
While I'm not new to spatial data and using PostGIS etc. I am new to node and this package.
I'm trying to run this query:
var query = "SELECT AsGeoJSON(ST_Transform(GeomFromText('LINESTRING(" + lineString + ")',4326), 3857), 6, 3) AS tbbox;";
but the ST_Transform is failing with the message:
{ [Error: SQLITE_ERROR: no such table: spatial_ref_sys] errno: 1, code: 'SQLITE_
ERROR' }
How to I enable/create the spatial_ref_table, is there something I missed during the installation?
Thanks in advance.
Metadata
Metadata
Assignees
Labels
No labels