[postgis-devel] [PostGIS] #1373: Can't apply Scale Y constraint -- raster2pgsql
PostGIS
trac at osgeo.org
Tue Dec 13 14:16:56 PST 2011
#1373: Can't apply Scale Y constraint -- raster2pgsql
----------------------------+-----------------------------------------------
Reporter: robe | Owner: pracine
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.0.0
Component: postgis raster | Version: trunk
Keywords: |
----------------------------+-----------------------------------------------
Comment(by robe):
Yap that must be it precision issue. If I do this it works:
{{{
ALTER TABLE aerials.boston ADD CONSTRAINT enforce_scaley_rast CHECK
(ST_ScaleY(rast)::numeric(10,8) = -0.30000000);
}}}
And the view seems to be okay with that since it registers the scaley as
-0.3
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/1373#comment:5>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-devel
mailing list