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
Everything seems to have gone ok until the end of step 3 — loading the project in Tilemill. I waited about 1 hour for the cache directory to populate with about 1GB of additional data. However I immediately got the error:
function setsrid(box3d, integer) does not exist
Full error details are below:
Postgis Plugin: PSQL error:
ERROR: function setsrid(box3d, integer) does not exist
LINE 6: AND ST_SetSRID(way,900913) && SetSRID('BOX3D(-1.79769313...
^
HINT: No function matches the given name and argument types. You might need to add explicit type casts.
Full sql was: 'SELECT * FROM ( SELECT COALESCE(landuse, leisure, "natural", highway, amenity, tourism) AS type,
name, way_area AS area,
ST_PointOnSurface(way) AS way
FROM planet_osm_polygon
WHERE name IS NOT NULL
AND ST_SetSRID(way,900913) && SetSRID('BOX3D(-1.797693134862316e+308 -1.797693134862316e+308,1.797693134862316e+308 1.797693134862316e+308)'::box3d, 900913)
AND ST_IsValid(way)
UNION ALL
SELECT 'building' AS type, name, way_area AS area,
ST_PointOnSurface(way) AS way
FROM planet_osm_polygon
WHERE name IS NOT NULL
AND building NOT IN ('', 'no', '0', 'false')
AND ST_SetSRID(way,900913) && SetSRID('BOX3D(-1.797693134862316e+308 -1.797693134862316e+308,1.797693134862316e+308 1.797693134862316e+308)'::box3d, 900913)
AND ST_IsValid(way)
ORDER BY area DESC
) AS data LIMIT 0'
(encountered during parsing of layer 'area_label' in map '/Users/carvillp/Documents/MapBox/project/OSMBright/')
Interestingly, when I look in the 'area_label' PostGIS layer details, the 'table or subquery' query does not mention any SetSRID function, rather t has the following in it:
( SELECT COALESCE(landuse, leisure, "natural", highway, amenity, tourism) AS type,
name, way_area AS area,
ST_PointOnSurface(way) AS way
FROM planet_osm_polygon
WHERE name IS NOT NULL
AND ST_SetSRID(way,900913) && !bbox!
AND ST_IsValid(way)
UNION ALL
SELECT 'building' AS type, name, way_area AS area,
ST_PointOnSurface(way) AS way
FROM planet_osm_polygon
WHERE name IS NOT NULL
AND building NOT IN ('', 'no', '0', 'false')
AND ST_SetSRID(way,900913) && !bbox!
AND ST_IsValid(way)
ORDER BY area DESC
) AS data
I tried removing the 'area_label' layer, but got a similar error on another layer.
Any ideas? Issue 1083 on the Mapnik GitHub repo seems to say that this bug was fixed in Mapnik 2 months ago: mapnik/mapnik#1083 Is there any way to update the Mapnik instance Tilemill is using?
thanks,
paul
The text was updated successfully, but these errors were encountered:
Hi,
I'm setting up the OSM Bright template on Mac OS X 10.7.3, following this guide: http://mapbox.com/tilemill/docs/guides/osm-bright-mac-quickstart/
Everything seems to have gone ok until the end of step 3 — loading the project in Tilemill. I waited about 1 hour for the cache directory to populate with about 1GB of additional data. However I immediately got the error:
function setsrid(box3d, integer) does not exist
Full error details are below:
Interestingly, when I look in the 'area_label' PostGIS layer details, the 'table or subquery' query does not mention any SetSRID function, rather t has the following in it:
I tried removing the 'area_label' layer, but got a similar error on another layer.
Any ideas? Issue 1083 on the Mapnik GitHub repo seems to say that this bug was fixed in Mapnik 2 months ago: mapnik/mapnik#1083 Is there any way to update the Mapnik instance Tilemill is using?
thanks,
paul
The text was updated successfully, but these errors were encountered: