You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 4, 2019. It is now read-only.
I have a layer with a Postgis query that works on Tilemill, but fails in Tileoven.
Here's the error:
Postgis Plugin: ERROR: syntax error at or near "WHERE"
LINE 1: SELECT ST_SRID("way") AS srid FROM ( WHERE "way" IS NOT NU...
^
in executeQuery Full sql was: 'SELECT ST_SRID("way") AS srid FROM ( WHERE "way" IS NOT NULL LIMIT 1;'
encountered during parsing of layer 'barrier_points' in Layer
Here's the query:
( SELECT way, 'barrier' AS type,
( select degrees(ST_Azimuth(ST_StartPoint(inter), ST_EndPoint(inter))) from
( select ST_Intersection(r.way, ST_Buffer(p.way, 100)) as inter
from planet_osm_line r
where r.highway in ('motorway', 'trunk', 'primary','secondary', 'tertiary', 'residential', 'service', 'track', 'path', 'cycleway', 'footpath','unknown')
and r.way && ST_Buffer(p.way, 100) order by ST_Distance(r.way, p.way) limit 1 ) rr )
as angle
FROM planet_osm_point p
WHERE barrier IN ('gate', 'yes') )
AS data
I have a layer with a Postgis query that works on Tilemill, but fails in Tileoven.
Here's the error:
Here's the query:
Any ideas why?