Re: [Geoserver-users] problem about publishing imagepyramid

2017-08-08 Thread Daniele Romagnoli
Hi Cliff,
please keep the mailing list cc-ed in your replies so anyone with similar
problems can check the discussion or any other dev/user can chime in with
additional suggestions.

Did you manually created those files or did you just let the ImagePyramid
plugin automatically create them when creating the coverageStore providing
it the parent folder?
The latter option would be safer so that the ImagePyramid will configure
each level mosaic properties and the final pyramid properties as well.

I'm not seeing anything of suspect in the logs.

Please, let me know.
Cheers,
Daniele





On Tue, Aug 8, 2017 at 12:31 PM, Sin Lau  wrote:

> Hello Daniele,
>
>
>
> Thank you very much for your reply.
>
>
>
> Here is the answer for your questions. Se the green text
>
>
>
> *Från:* dany.geoto...@gmail.com [mailto:dany.geoto...@gmail.com] *För *Daniele
> Romagnoli
> *Skickat:* den 8 augusti 2017 11:34
> *Till:* Sin Lau 
> *Kopia:* geoserver-users@lists.sourceforge.net
> *Ämne:* Re: [Geoserver-users] problem about publishing imagepyramid
>
>
>
> Hi Cliff,
>
>
>
>
>
> On Tue, Aug 8, 2017 at 10:18 AM, Cliff Lau  wrote:
>
> Hello,
>
> I have some problem about publishing imagepyramid with GeoServer.
>
>
>
> Did you check this documentation to see if you skipped something needed?
>
> http://docs.geoserver.org/stable/en/user/tutorials/
> imagepyramid/imagepyramid.html
>
>
>
>
>
> I had read through the document and I think I did all the steps I needed.
>
>
>
>
> I built my pyramid imagery with GDAL from QGIS and i filled in properties
> file for all different levels.
>
> Which properties files are you referring too? (Do you mean datastore and
> indexer?)
>
> Can you share some sample of them with their content?
>
>
>
> Are you using shapefile (default) or DB?
>
> I am using shapefile. In each of the level folder (I have 5 levels:
> 0,1,2,3,4) I have respective shape files and properties file.
>
>
>
> Exemple of properties file:
>
>
>
> Name=level0
>
> Levels=0.16,0.16
>
> LevelsNum=1
>
> Envelope2D=152500.00,6585000.00 247500.00,669.00
>
> NumFiles=17097
>
>
>
>
> When I came to GeoServer and created a layer for the imagepyramid then the
> preview image became just black.
> <http://osgeo-org.1560.x6.nabble.com/file/n5330764/imagepyramid_black.png>
>
> I guess there is some problem for GeoServer to access the raster pictures
> because when created the layer and updated "compute from native bounds"
> there was nothing happened.
> <http://osgeo-org.1560.x6.nabble.com/file/n5330764/
> imagepyramid_nativebound.png>
>
> The settings of properties files at different level is checked and the
> setting of the layer seemed okey so I do not know what the problem is. I
> did
> change something of the projection file so that GeoServer can recognise the
> Native SRS though.
>
> Does anyone have any idea what i did wrong? Thanks in advance.
>
>
>
> Do you have any log reporting something about that?
>
> (you may consider raising it to Geotools developer if nothing obvious is
> spotted and then repeat the "black result" request to see if any raster
> tile is actually accessed.
>
>
>
> This is what I found in the GeoServer-log, does it help? :
>
>
>
> 2017-08-08 12:25:37,776 WARN [geoserver.web] - Unable to find property:
> 'format.wms.rss' for component:  [class=org.geoserver.web.demo.
> MapPreviewPage]
>
> 2017-08-08 12:25:37,783 WARN [geoserver.web] - Unable to find property:
> 'format.wms.application/vnd.google-earth.kml' for component:
> [class=org.geoserver.web.demo.MapPreviewPage]
>
> 2017-08-08 12:25:41,710 INFO [geoserver.wms] -
>
> Request: getServiceInfo
>
> 2017-08-08 12:25:41,731 INFO [geoserver.wms] -
>
> Request: getMap
>
>   Width = 694
>
>   Height = 768
>
>   Exceptions = SE_XML
>
>   StyleBody = null
>
>   SldVersion = null
>
>   StyleVersion = null
>
>   Tiled = false
>
>   Palette = null
>
>   SRS = EPSG:3011
>
>   FeatureVersion = null
>
>   Styles = [StyleImpl[ name=raster]]
>
>   Layers = [org.geoserver.wms.MapLayerInfo@e34b4f0d]
>
>   MaxFeatures = null
>
>   SldBody = null
>
>   ValidateSchema = false
>
>   Sld = null
>

Re: [Geoserver-users] problem about publishing imagepyramid

2017-08-08 Thread Daniele Romagnoli
Hi Cliff,


On Tue, Aug 8, 2017 at 10:18 AM, Cliff Lau  wrote:

> Hello,
>
> I have some problem about publishing imagepyramid with GeoServer.
>

Did you check this documentation to see if you skipped something needed?
http://docs.geoserver.org/stable/en/user/tutorials/imagepyramid/imagepyramid.html


>
> I built my pyramid imagery with GDAL from QGIS and i filled in properties
> file for all different levels.
>
Which properties files are you referring too? (Do you mean datastore and
indexer?)
Can you share some sample of them with their content?

Are you using shapefile (default) or DB?



> When I came to GeoServer and created a layer for the imagepyramid then the
> preview image became just black.
> 
>
> I guess there is some problem for GeoServer to access the raster pictures
> because when created the layer and updated "compute from native bounds"
> there was nothing happened.
>  imagepyramid_nativebound.png>
>
> The settings of properties files at different level is checked and the
> setting of the layer seemed okey so I do not know what the problem is. I
> did
> change something of the projection file so that GeoServer can recognise the
> Native SRS though.
>
> Does anyone have any idea what i did wrong? Thanks in advance.
>

Do you have any log reporting something about that?
(you may consider raising it to Geotools developer if nothing obvious is
spotted and then repeat the "black result" request to see if any raster
tile is actually accessed.

Please, let us know.

Best Regards,
Daniele


>
> Best regards,
> Cliff
>
>
>
> --
> View this message in context: http://osgeo-org.1560.x6.
> nabble.com/problem-about-publishing-imagepyramid-tp5330764.html
> Sent from the GeoServer - User mailing list archive at Nabble.com.
>
> 
> --
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> ___
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: http://geoserver.org/comm/
> userlist-guidelines.html
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>



-- 
Regards,
Daniele Romagnoli
==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information.
==

Ing. Daniele Romagnoli
Senior Software Engineer

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
Italy
phone: +39 0584 962313
fax:  +39 0584 1660272

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

---
AVVERTENZE AI SENSI DEL D.Lgs. 196/2003
Le informazioni contenute in questo messaggio di posta elettronica e/o
nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il
loro utilizzo è consentito esclusivamente al destinatario del messaggio,
per le finalità indicate nel messaggio stesso. Qualora riceviate questo
messaggio senza esserne il destinatario, Vi preghiamo cortesemente di
darcene notizia via e-mail e di procedere alla distruzione del messaggio
stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso,
divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od
utilizzarlo per finalità diverse, costituisce comportamento contrario ai
principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for
the attention and use of the named addressee(s) and may be confidential or
proprietary in nature or covered by the provisions of privacy act
(Legislative Decree June, 30 2003, no.196 - Italy's New Data Protection
Code).Any use not in accord with its purpose, any disclosure, reproduction,
copying, distribution, or either dissemination, either whole or partial, is
strictly forbidden except previous formal approval of the named
addressee(s). If you are not the intended recipient, please contact
immediately the sender by telephone, fax or e-mail and delete the
information in this message that has been received in error. The sender
does not give any warranty or accept liability as the content, accuracy or
completeness of sent messages and accepts no responsibility  for changes
made after they were sent or for other risks which arise as a result of
e-mail transmission, viruses, etc.
--
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot___
Geoserver-users mailing list

Please make