Hi,
thank you for looking into this.
Neither the path nor the filenames contain any spaces or irregular
characters.
Adding any of the files as a single GeoTIFF-store works perfectly well.
The directory content looks like this (after trying to generate the
mosaic):
/home/maps1/test # ls -lah
total 58M
drwxrwxrwx 2 root root 4.0K Sep 6 09:46 .
drwxr-xr-x 7 root root 4.0K Sep 6 09:10 ..
-rwxrwxrwx 1 root root 9.6M Sep 6 09:15 bm_vdg_0101.tif
-rwxrwxrwx 1 root root 13M Sep 6 09:16 bm_vdg_0102.tif
-rwxrwxrwx 1 root root 16M Sep 6 09:18 bm_vdg_0201.tif
-rwxrwxrwx 1 root root 20M Sep 6 09:17 bm_vdg_0202.tif
-rw-r--r-- 1 root root 4 Sep 6 09:46 sample_image
-rw-r--r-- 1 root root 1.1K Sep 6 09:46 test.dbf
-rw-r--r-- 1 root root 61 Sep 6 09:46 test.fix
-rw-r--r-- 1 root root 631 Sep 6 09:46 test.prj
-rw-r--r-- 1 root root 76 Sep 6 09:46 test.qix
-rw-r--r-- 1 root root 644 Sep 6 09:46 test.shp
-rw-r--r-- 1 root root 132 Sep 6 09:46 test.shx
Before trying to generate the mosaic, the directory only contained the 4
tiffs. All files except the .properties are generated, so basically
writing in that directory works. I already set the permissions of the
directory to 777 and run tomcat as root because my first guess was also
a permission problem, but that did not help at all.
The shape file looks fine, too:
/home/maps1/test # ogrinfo -al test.shp
INFO: Open of `test.shp'
using driver `ESRI Shapefile' successful.
Layer name: test
Geometry: Polygon
Feature Count: 4
Extent: (-25600000.000000, -25600000.000000) - (25600000.000000,
25600000.000000)
Layer SRS WKT:
PROJCS["unnamed",
GEOGCS["GCS Name = WGS 84|Datum = unknown|Ellipsoid =
WGS84|Primem = Greenwich|",
DATUM["GCS Name = WGS 84|Datum = unknown|Ellipsoid =
WGS84|Primem = Greenwich|",
SPHEROID["GCS Name = WGS 84|Datum = unknown|Ellipsoid =
WGS84|Primem = Greenwich|",6378137.0,298.257223563]],
PRIMEM["Greenwich",0.0],
UNIT["degree",0.017453292519943295],
AXIS["Geodetic longitude",EAST],
AXIS["Geodetic latitude",NORTH]],
PROJECTION["World_Van_der_Grinten_I"],
PARAMETER["central_meridian",0.0],
PARAMETER["false_easting",0.0],
PARAMETER["false_northing",0.0],
UNIT["m",1.0],
AXIS["Easting",EAST],
AXIS["Northing",NORTH]]
location: String (254.0)
OGRFeature(test):0
location (String) = bm_vdg_0202.tif
POLYGON ((0 0,0 25600000,25600000 25600000,25600000 0,0 0))
OGRFeature(test):1
location (String) = bm_vdg_0201.tif
POLYGON ((-25600000 0,-25600000 25600000,0 25600000,0 0,-25600000
0))
OGRFeature(test):2
location (String) = bm_vdg_0101.tif
POLYGON ((-25600000 -25600000,-25600000 0,0 0,0
-25600000,-25600000 -25600000))
OGRFeature(test):3
location (String) = bm_vdg_0102.tif
POLYGON ((0 -25600000,0 0,25600000 0,25600000 -25600000,0
-25600000))
Best regards,
Simon
> Hi,
> mmm seams that GT is unable to read granules (coverage files) or open the
> directory at file:/home/xyz.
> Probably the created shape file is empty. Could you list (ls -lah /home/xyz)
> and post the content of that directory?
> Could you try to add a coverage store on a single coverage file (just to
> check that this is a mosaic problem and not data dependent).
> Regards,
> Carlo Cancellieri - GeoSolutions
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users