I am trying in many ways to convert an SDE raster dataset into a PostGIS raster table, all I need to do is simply copy the table and its content without any manipulation in terms of data or schema. The native table is in SQLServer and it has only 1 record.
I tried in many ways.
Using the appropriate readers writers (SDE => PostGIS Raster). it copies only a non relevant schema with no data
Used the native SQL Server reader (Spatial SQL Server => PostGIS Raster), it reads the feature but when it comes to write it says Failed to obtain raster from feature. Only features with raster geometry are expected. Both with Dynamic and automatic schema definition. Nothing just a schema with empty fields is created.
I tried to use SQLCreator and feature reader . the features are read of from the native SQL Server but when it comes to write, again just empty unwanted fields.
All I would like to do is to recreate the same exact table, schema and data from a SQL server table that contains the raster in a BLOB field to PostGIS using the raster writer.
Can anybody help?