Hi list, I am attempting to create an image mosaic on my local geoserver instance: Version 2.4.4 Git Revision 1501c797690b6eb9b86b8d7732ca82445fcb6b1a Build Date 20-Jan-2014 19:35 GeoTools Version 10.4 (rev 0de519b5c9c37db44fd3e988f2c2020b70163904) GeoWebCache Version 1.5.0 (rev 1.5.x/f981cafd349886bb2a1ef45067f26b1aa8e4aff4) on Linux 2.6.32-279.19.1.el6.x86_64 #1 SMP Wed Dec 19 07:05:20 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux with installed: PostgreSQL 9.2.0 on x86_64-unknown-linux-gnu, compiled by gcc (GCC) 4.4.6 20110731 (Red Hat 4.4.6-3), 64-bit PostGis version 2.0.1 Apache-tomcat-6.0.37 java version “1.6.0_45” Java™ SE Runtime Environment (build 1.6.0_45-b06) Java HotSpot™ 64-Bit Server VM (build 20.45-b01, mixed mode) so the issue is that when i tried to create the image mosaic with: indexer.properties ------------------ TimeAttribute=time ElevationAttribute=elevation Schema=the_geom:Polygon,location:String,time:java.util.Date,elevation:Integer PropertyCollectors=TimestampFileNameExtractorSPItimeregex Caching=false AbsolutePath=true datastore.properties -------------------- SPI=org.geotools.data.postgis.PostgisNGDataStoreFactory port=5432 host=localhost schema=public database=******* Loose\ bbox=true user=postgres passwd=********** timeregex.properties -------------------- regex=[0-9]{8}T[0-9]{4} the db is properly created and populated but when click save button the response in the UI is: Could not list layers for this store, an error occurred retrieving them: Failed to create reader from file:///home/geography/IMAGEMOSAIC4/IMAGEMOSAIC5 and hints null on the GeoServer log: http://paste.ubuntu.com/6886455/ I tried also without dimension on the indexer.properties file but without results
… I tried to rebuild the header on the geotiff file with: gdal_translate -of GTiff -a_srs EPSG:32632 VEGETATION_NA_NN_32632_SLSAHDF5LSASAFMSGETEuro002ETQFlag_20140124T2000.tif …/IMAGEMOSAIC4/VEGETATION_NA_NN_32632_SLSAHDF5LSASAFMSGETEuro002ETQFlag_20140124T2000.tif thinking to this issue http://sourceforge.net/mailarchive/message.php?msg_id=31911858 but also here without results… Anyone know how I can resolve these errors? any suggestions is appreciated… attached the GeoTiff file, Regards, Ema. VEGETATION_NA_NN_32632_SLSAHDF5LSASAFMSGETEuro002ETQFlag_20140124T2000.tif
View this message in context: Image Mosaic Fails on GeoServer 2.4.4
Sent from the GeoServer - User mailing list archive at Nabble.com.
Hi Ema,
is the file you attached a granule of the image mosaic you are trying to create?
The log pasted shows an IO error, please check if the folder
file:///home/geography/IMAGEMOSAIC4/IMAGEMOSAIC5
is accessible by your Geoserver instance.
···
Lorenzo Pini
Software Engineer
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
On Thu, Feb 6, 2014 at 6:56 PM, geography <geography@anonymised.com> wrote:
Hi list, I am attempting to create an image mosaic on my local geoserver instance: Version 2.4.4 Git Revision 1501c797690b6eb9b86b8d7732ca82445fcb6b1a Build Date 20-Jan-2014 19:35 GeoTools Version 10.4 (rev 0de519b5c9c37db44fd3e988f2c2020b70163904) GeoWebCache Version 1.5.0 (rev 1.5.x/f981cafd349886bb2a1ef45067f26b1aa8e4aff4) on Linux 2.6.32-279.19.1.el6.x86_64 #1 SMP Wed Dec 19 07:05:20 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux with installed: PostgreSQL 9.2.0 on x86_64-unknown-linux-gnu, compiled by gcc (GCC) 4.4.6 20110731 (Red Hat 4.4.6-3), 64-bit PostGis version 2.0.1 Apache-tomcat-6.0.37 java version “1.6.0_45” Java™ SE Runtime Environment (build 1.6.0_45-b06) Java HotSpot™ 64-Bit Server VM (build 20.45-b01, mixed mode) so the issue is that when i tried to create the image mosaic with: indexer.properties ------------------ TimeAttribute=time ElevationAttribute=elevation Schema=the_geom:Polygon,location:String,time:java.util.Date,elevation:Integer PropertyCollectors=TimestampFileNameExtractorSPItimeregex Caching=false AbsolutePath=true datastore.properties -------------------- SPI=org.geotools.data.postgis.PostgisNGDataStoreFactory port=5432 host=localhost schema=public database=******* Loose\ bbox=true user=postgres passwd=********** timeregex.properties -------------------- regex=[0-9]{8}T[0-9]{4} the db is properly created and populated but when click save button the response in the UI is: Could not list layers for this store, an error occurred retrieving them: Failed to create reader from file:///home/geography/IMAGEMOSAIC4/IMAGEMOSAIC5 and hints null on the GeoServer log: http://paste.ubuntu.com/6886455/ I tried also without dimension on the indexer.properties file but without results
… I tried to rebuild the header on the geotiff file with: gdal_translate -of GTiff -a_srs EPSG:32632 VEGETATION_NA_NN_32632_SLSAHDF5LSASAFMSGETEuro002ETQFlag_20140124T2000.tif …/IMAGEMOSAIC4/VEGETATION_NA_NN_32632_SLSAHDF5LSASAFMSGETEuro002ETQFlag_20140124T2000.tif thinking to this issue http://sourceforge.net/mailarchive/message.php?msg_id=31911858 but also here without results… Anyone know how I can resolve these errors? any suggestions is appreciated… attached the GeoTiff file, Regards, Ema. VEGETATION_NA_NN_32632_SLSAHDF5LSASAFMSGETEuro002ETQFlag_20140124T2000.tif
View this message in context: Image Mosaic Fails on GeoServer 2.4.4
Sent from the GeoServer - User mailing list archive at Nabble.com.
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Hi Lorenzo,
yes the file attached is a granule for my image mosaic... and the geoserver
is started with the same user where the granule is located....
Regards,
Ema.
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Image-Mosaic-Fails-on-GeoServer-2-4-4-tp5102331p5102518.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
Hi Ema,
I would also check if the temporary folder exists and it can be accessed/written by that user.
Cheers,
Daniele
···
Ing. Daniele Romagnoli
Senior Software Engineer
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
On Fri, Feb 7, 2014 at 3:18 PM, geography <geography@anonymised.com> wrote:
Hi Lorenzo,
yes the file attached is a granule for my image mosaic… and the geoserver
is started with the same user where the granule is located…
Regards,
Ema.
–
View this message in context: http://osgeo-org.1560.x6.nabble.com/Image-Mosaic-Fails-on-GeoServer-2-4-4-tp5102331p5102518.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Hi Daniele,
Wich temporary folder do you refer?
on this folders file:///home/geography/IMAGEMOSAIC4/IMAGEMOSAIC5 the user
have read/write grants,
thanks in advance for your interest...
Ema.
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Image-Mosaic-Fails-on-GeoServer-2-4-4-tp5102331p5102533.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
I see from the log you have pasted that the shape file is trying to create a temporary file.
So you should probably check the /tmp folder or, to be more sure, print the System.getProperty("java.io.tmpdir")
to see where it is located in case it has been configured differently.
Cheers,
Daniele
···
Ing. Daniele Romagnoli
Senior Software Engineer
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
On Fri, Feb 7, 2014 at 4:00 PM, geography <geography@anonymised.com> wrote:
Hi Daniele,
Wich temporary folder do you refer?
on this folders file:///home/geography/IMAGEMOSAIC4/IMAGEMOSAIC5 the user
have read/write grants,
thanks in advance for your interest…
Ema.
–
View this message in context: http://osgeo-org.1560.x6.nabble.com/Image-Mosaic-Fails-on-GeoServer-2-4-4-tp5102331p5102533.html
Sent from the GeoServer - User mailing list archive at Nabble.com.
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
Hi Daniele,
First of all sorry for the indentantion of my first post, it is
unreadable...I don't know why it indents in that way,
but I wrote that Im using a postgres db with postgis extension where I save
my data with time dimension and it is ok,
I can see my data stored in the DB...
Ema.
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Image-Mosaic-Fails-on-GeoServer-2-4-4-tp5102331p5102553.html
Sent from the GeoServer - User mailing list archive at Nabble.com.