Hi Scott,
I believe you'll need to spend a bit more time learning how the utilities
work.
Maybe this training material will be helpful (and it covers optimizing a
tiff source, too):
http://geoserver.geo-solutions.it/edu/en/raster_data/index.html
Mind, you first gdal_translate, and only after gdaladdo :-)
Cheers
Andrea
On Wed, Aug 30, 2017 at 6:45 AM, Scott Murphy <sc...@alwaysvip.com> wrote:
> Thanks Jukka,
>
> I did
>
> gdaladdo -r average mytiff.tif 2 4 8 16
>
> which sped it up to around 500ms expect for on closer zooms.
>
> I am not sure how I can do this
>
> gdal_translate -of GTiff -projwin -180 90 -50 -10 -co "TILED=YES"
> bigDataSet.ecw myTiff.tiff
>
> I don't have an ecw file. Just the provided tiff from the FAA.
>
>
>
> On Tue, Aug 29, 2017 at 12:43 PM, Rahkonen Jukka (MML) <jukka.rahkonen@
> maanmittauslaitos.fi> wrote:
>
>> Hi,
>>
>>
>> You can check the structure of your source image with gdalinfo utility
>>
>> http://www.gdal.org/gdalinfo.html. Most important thing in this case is
>> this:
>>
>>
>> Band 1 Block=16645x1 Type=Byte, ColorInterp=Palette
>>
>>
>> Large tiff files which are organised in rows are unsuitable for servers
>> which need a fast access to arbitrary regions inside the image. Also this
>> image is without overviews which are ready made subsampled versions of the
>> image.
>> Read Setup Geotiff data for fast rendering from http://docs.geoserver.org
>> /stable/en/user/production/data.html?,
>> <http://docs.geoserver.org/stable/en/user/production/data.html> follow
>> the insructions for making an internally tiled tiff with overviews and you
>> will get much faster service.
>>
>> -Jukka Rahkonen-
>>
>>
>> ------------------------------
>> *Lähettäjä:* Scott Murphy <sc...@alwaysvip.com>
>> *Lähetetty:* 29. elokuuta 2017 21:04
>> *Vastaanottaja:* geoserver-users@lists.sourceforge.net
>> *Aihe:* [Geoserver-users] Slow 2-4 second WMS tile rendering from
>> GeoTIFF Store
>>
>> Hello Everyone,
>>
>> I am new to GeoServer and I just had a performance question. I am
>> interested in displaying the Federal Aviation Administrations pilot charts.
>> I attempted to store a chart on geoserver, but it seems very slow when I
>> preview it in OpenLayers. Each tile takes anywhere from 2 to 4 seconds to
>> load.
>>
>> The source Los_Angeles_SEC_101.tif file is 69 MB and is available for
>> download here:
>> http://aeronav.faa.gov/content/aeronav/sectional_files/Los_
>> Angeles_101.zip
>> Which was listed on this page:
>> https://www.faa.gov/air_traffic/flight_info/aeronav/digital_products/vfr/
>>
>> Here are the steps I used to set up my GeoServer.
>>
>>
>> 1. I deployed tomcat on Amazon Web Services then copied geoserver.war
>> with the chart added inside the data folder.
>> 2. http://geoserver2.us-east-1.elasticbeanstalk.com/web/
>> 3. Changed Administrator password
>> 4. Deleted all existing workspaces
>> 5. Created a new workspace faa
>> 6. Add a new Store
>> 1. GeoTIFF
>> 1. Workspace: faa
>> 2. Data Source Name: Los Angeles
>> 3. Description: 101 – Jun 22 2017
>> 4. Enabled: checked
>> 5. URL: file:data/Los_Angeles_101/Los_Angeles_SEC_101.tif
>> 7. New Layer - Los_Angeles_SEC_101
>> 1. Publish
>> 2. Data
>> 1. Declared SRS - I am guess on this one. I chose
>> WRF_Lambert_Conformal_Conic 2
>> 2. SRS handling - I am guess on this one. I chose keep native
>> 3. Save
>> 8. Layer Preview
>> 9. http://geoserver2.us-east-1.elasticbeanstalk.com/faa/wms?ser
>> vice=WMS&version=1.1.0&request=GetMap&layers=faa:Los_Angeles
>> _SEC_101&styles=&bbox=-351020.4576958068,-245067.92468142207
>> ,353646.13725918817,277738.9876785168&width=768&height=
>> 569&srs=EPSG:45555&format=application/openlayers
>>
>> <http://geoserver2.us-east-1.elasticbeanstalk.com/faa/wms?service=WMS&version=1.1.0&request=GetMap&layers=faa:Los_Angeles_SEC_101&styles=&bbox=-351020.4576958068,-245067.92468142207,353646.13725918817,277738.9876785168&width=768&height=569&srs=EPSG:45555&format=application/openlayers>
>> 10. If I hit the zoom out button 3 times, I see my chart.
>>
>> Now if I try and move around, zoom in and out, etc. Each tile takes
>> anywhere from 2-4 seconds. I really need a solution that can render in less
>> than 500ms. Is this possible? What do I need to do to get the server
>> responding faster?
>>
>> Best,
>>
>> Scott
>>
>>
>
> ------------------------------------------------------------
> ------------------
> 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,
Andrea Aime
==
GeoServer Professional Services from the experts! Visit http://goo.gl/it488V
for more information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
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 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