[postgis-tickets] [PostGIS] #3095: raster2pgsql ignores srid, outdb empty
PostGIS
trac at osgeo.org
Fri Apr 3 02:08:22 PDT 2015
#3095: raster2pgsql ignores srid, outdb empty
--------------------------+-------------------------------------------------
Reporter: martinl | Owner: dustymugs
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 2.1.7
Component: raster | Version: 2.1.x
Keywords: raster2pgsql |
--------------------------+-------------------------------------------------
I have imported GeoTIFF (1) to PostGIS as
IN-DB
{{{
raster2pgsql -s 5514 -Y dmt.tif ukol_1.dmt | psql pokusnik 2>err
}}}
and OUT-DB
{{{
raster2pgsql -s 5514 -R `pwd`/dmt.tif ukol_1.dmt_link | psql pokusnik
2>err
}}}
Two issues confuses me:
{{{
SELECT r_table_schema,r_table_name,srid,out_db FROM raster_columns;
r_table_schema | r_table_name | srid | out_db
----------------+--------------+------+--------
ukol_1 | dmt | 0 |
ukol_1 | dmt_link | 0 |
}}}
1. `srid` is 0 even I entered `-s 5514` (this code exists in
`spatial_ref_sys`)
2. `out_db` is empty in both cases
(1) http://training.gismentors.eu/geodata/eu-dem/dmt.zip
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/3095>
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