<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix">Dear Even,<br>
      <br>
      thank you for your answer! I think I know the real problem now.<br>
      Respectively Sandro (I think a developer of rasterlite) gave me
      the correct hint.<br>
      (<a
href="https://groups.google.com/forum/?hl=de#%21topic/spatialite-users/g8b3va_zteg">https://groups.google.com/forum/?hl=de#!topic/spatialite-users/g8b3va_zteg</a>)<br>
      <br>
      For the generation of the spatialite database I used spatialite
      4.0...<br>
      But the precompiled gdal version (<a
        href="http://vbkto.dyndns.org:1280/sdk/">http://vbkto.dyndns.org:1280/sdk/</a>)
      I used, uses spatialite 3.0...<br>
      I checked that, with the spatialite-gui.<br>
      <br>
      So like Sandro wrote:<br>
      <i>"in this case a "new style" DB-file will be created in the
        first step;
      </i><i><br>
      </i><i>but librasterlite hasn't the capability to access "new
        style" DB-files,
      </i><i><br>
      </i><i>so any further attempt to import some raster data will then
        fail.
      </i>"<br>
      <br>
      The Question is now, what to do...<br>
      Obviously I want to use the newest spatialite version.<br>
      Therefore I thinking about building gdal against spatialite 4.<br>
      On the other side, Sandro wrote, that rasterlite 2 will be coming
      soon.<br>
      So maybe I just stay on spatialite version 3. And use later
      version 4.<br>
      <br>
      Best regards,<br>
      Marcel<br>
      <br>
      Am 27.02.2014 20:23, schrieb Even Rouault:<br>
    </div>
    <blockquote
      cite="mid:201402272023.42390.even.rouault@mines-paris.org"
      type="cite">
      <pre wrap="">Le mardi 25 février 2014 18:12:55, Marcel Gangwisch a écrit :
</pre>
      <blockquote type="cite">
        <pre wrap="">Hi *,

I use the following command:

rasterliteDriver.CreateCopy("RASTERLITE:GeoDatabase.db,TABLE=raster_test",
source, 1, options, null, null);

to read every gdal raster in my rasterlite database. After reading I'm
also able to read another raster of vector file into the sqlite
database. Everything works fine.

My Problem is now if I do this the other way around:
Then I first read a vector file into a spatialite database, and after
that I want to read a raster file into the same database I get the
following exception:
"does not exist in the file system, and is not recognised as a supported
dataset name"

Does anybody know what I'm doing wrong?
</pre>
      </blockquote>
      <pre wrap="">
Marcel,

You should provide something more precise to reproduce. I've tested 
successfully the equivalent operations of what I've understood of your above 
description with the following command lines :

ogr2ogr -f sqlite poly.sqlite poly.shp -dsco spatialite=yes
gdal_translate -of rasterlite byte.tif RASTERLITE:poly.sqlite,TABLE=byte

and then both ogrinfo and gdalinfo show the vector and raster layers.

Even

</pre>
    </blockquote>
    <br>
  </body>
</html>