[postgis-tickets] [PostGIS] #2986: [raster] raster2pgqsql

PostGIS trac at osgeo.org
Mon Nov 10 09:58:16 PST 2014


#2986: [raster] raster2pgqsql
-------------------------+--------------------------------------------------
 Reporter:  rmorelli     |       Owner:  dustymugs    
     Type:  enhancement  |      Status:  new          
 Priority:  medium       |   Milestone:  PostGIS 2.1.5
Component:  raster       |     Version:  2.1.x        
 Keywords:               |  
-------------------------+--------------------------------------------------

Comment(by rmorelli):

 Replying to [comment:11 robe]:
 > The gdal_translate error is probably because its looking in
 raster_columns and can't find useful meta data (though the table should be
 registered in that view but probably with not any useful information -- do
 you see it listed in raster_columns view).
 >
 > I did run AddRasterConstraints on my table with the -C option during
 load, but you should have similar issues using a number for file if you
 are getting that.  Does gdal_translate work with your integer id?

 I did run AddRasterConstraints and yes, integer id works like a charm.

 >
 > Anyrate to get rid of that as documented here: http://postgis.net/docs
 /manual-dev/RT_AddRasterConstraints.html
 >
 >
 > {{{
 > SELECT AddRasterConstraints('raster', 'dem', 'rast');
 > }}}
 >
 > now it looks like mapserver is stripping off the escape \ making the
 gdal query invalid

 I suspected it was a mapserver issue so filed a bug report there
 https://github.com/mapserver/mapserver/issues/5030

-- 
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2986#comment:12>
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-tickets mailing list