Scott,

you can use tile caching to make your map faster. The preconfigured gridsets support WGS84 and Google, so your cached map will be distorted. If you want to see the map in its original CRS, add an EPSG code for the projection by adding the following line to your epsg.properties:

100101=PROJCS["Los_Angeles_SEC_101", GEOGCS["NAD83", DATUM["North American Datum 1983", SPHEROID["GRS 1980", 6378137.0, 298.257222101, AUTHORITY["EPSG","7019"]], TOWGS84[0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0], AUTHORITY["EPSG","6269"]], PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]], UNIT["degree", 0.017453292519943295], AXIS["Geodetic longitude", EAST], AXIS["Geodetic latitude", NORTH], AUTHORITY["EPSG","4269"]], PROJECTION["Lambert_Conformal_Conic_2SP"], PARAMETER["central_meridian", -118.46666666666665], PARAMETER["latitude_of_origin", 34.166666666666664], PARAMETER["standard_parallel_1", 38.666666666666664], PARAMETER["false_easting", 0.0], PARAMETER["false_northing", 0.0], PARAMETER["scale_factor", 1.0], PARAMETER["standard_parallel_2", 33.333333333333336], UNIT["m", 1.0], AXIS["Easting", EAST], AXIS["Northing", NORTH], AUTHORITY["EPSG","100101"]]

Set your layer CRS and "Force declared" (or reproject native to declared if you are using WGS84 or Google). If you are using your new CRS, create a gridset so that you can enable tile caching. I would set the limits to the native bounds and a dozen or so zoom levels. Configure this gridset for the layer in the Tile Caching tab.

The Openlayers preview client does not play nicely with tile caching, so use the WMTS demo client in Tile Caching / Tile Layers and select the gridset and file format you configured earlier.

Kind regards,
Ben.

On 30/08/17 06:04, Scott Murphy wrote:
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?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


--
Ben Caradoc-Davies <b...@transient.nz>
Director
Transient Software Limited <http://transient.nz/>
New Zealand

------------------------------------------------------------------------------
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

Reply via email to