[Geoserver-users] WMS rendering slow

Dear All

Presently we are developing one webGIS portal, for that we are using
PostGres and Geoserver. We have some 15 vector layers which includes
mastermap(vector layer) need to overlay on top of the UK streetview
(raster).At time of rendering it take to much time. We have created index in
postgres and not complex styling also.

May I know any solution to overcome this performance issue ASAP.

Regards,
K.Jayakumar

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/WMS-rendering-slow-tp5153046.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

On Thu, Jul 24, 2014 at 2:37 PM, jkumar <jayakumar@anonymised.com> wrote:

Dear All

Presently we are developing one webGIS portal, for that we are using
PostGres and Geoserver. We have some 15 vector layers which includes
mastermap(vector layer) need to overlay on top of the UK streetview
(raster).At time of rendering it take to much time. We have created index
in
postgres and not complex styling also.

You can have a look at a set of general performance suggestions here:
http://www.slideshare.net/geosolutions/gs-steroids-foss4ge2014

That said, if you are trying to render the whole england road network
in a single map, with no scale dependencies (that is, trying to paint
hundred of thousands of roads in a single GetMap request) I don't
think there are ways to make it fast.
Using a GeoServer 2.5.x series should help some though.

Cheers
Andrea

--

GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

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

-------------------------------------------------------

Hi Andrea,

I think you misunderstood my question. Loading streetview of entire UK in
raster is not a problem . Loading the private layers such as
(hedges,streetlights etc., ) is very slow. These layers are comes under
vector category loaded in postgres and also these layers are cached.

Hope you understand my issue.

Regards
Jayakumar

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/WMS-rendering-slow-tp5153046p5153240.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Hi,
To build on Andrea’s suggestions:

  • if this is going to be a base layer, use TMS/WMTS and pre-render them. They’re much faster.
  • Use scale thresholds. MasterMap likely shouldn’t be showing outside of 1:5000 or so.

Done properly it’s quite possible to have 50+ layers all in the same stack to produce a single scale-thresholded product. You can see any example here - http://maps.warwickshire.gov.uk/inspire

Cheers,
Jonathan

This transmission is intended for the named addressee(s) only and may contain confidential, sensitive or personal information and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.

···

On 25 July 2014 10:28, Andrea Aime <andrea.aime@anonymised.com> wrote:


Want fast and easy access to all the code in your enterprise? Index and
search up to 200,000 lines of code with a free copy of Black Duck
Code Sight - the same software that powers the world’s largest code
search on Ohloh, the Black Duck Open Hub! Try it now.
http://p.sf.net/sfu/bds


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

On Thu, Jul 24, 2014 at 2:37 PM, jkumar <jayakumar@anonymised.com…> wrote:

Dear All

Presently we are developing one webGIS portal, for that we are using
PostGres and Geoserver. We have some 15 vector layers which includes
mastermap(vector layer) need to overlay on top of the UK streetview
(raster).At time of rendering it take to much time. We have created index in
postgres and not complex styling also.

You can have a look at a set of general performance suggestions here:
http://www.slideshare.net/geosolutions/gs-steroids-foss4ge2014

That said, if you are trying to render the whole england road network
in a single map, with no scale dependencies (that is, trying to paint
hundred of thousands of roads in a single GetMap request) I don’t
think there are ways to make it fast.
Using a GeoServer 2.5.x series should help some though.

Cheers
Andrea

==

GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.

==

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

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


Hi Jonathan,

Yes we adopted scale thresholds , we set all the layers will be visible from
2500 scale only. Whethere TMS/WMTS will support in Geoserver?.

Regards
Jayakumar

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/WMS-rendering-slow-tp5153046p5153249.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

On Fri, Jul 25, 2014 at 11:34 AM, jkumar <jayakumar@anonymised.com> wrote:

Hi Andrea,

I think you misunderstood my question. Loading streetview of entire UK in
raster is not a problem . Loading the private layers such as
(hedges,streetlights etc., ) is very slow. These layers are comes under
vector category loaded in postgres and also these layers are cached.

Did you add spatial indexes in postgis?

Cheers
Andrea

--

GeoServer Professional Services from the experts! Visit
http://goo.gl/NWWaa2 for more information.

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549

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

-------------------------------------------------------

Hi Andrea,

Yes I have added the spatial index in postgis. For better understanding I am
sending link

http://54.187.234.74/ODC/login.aspx
Username : TestUser
Password: TestUser
<http://osgeo-org.1560.x6.nabble.com/file/n5153625/OSGeo.jpg&gt;

Switch on the "Private" check box and click the button next checkbox of
"MasterMap".Please refer the attached screenshot

You can able realize the performance.

Thanks in advance

Regards,
K.Jayakumar

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/WMS-rendering-slow-tp5153046p5153625.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

This transmission is intended for the named addressee(s) only and may contain confidential, sensitive or personal information and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.

···

Hi,
I think the first problem is the sheer number of requests you’re making each time the user zooms in (exacerbated by use of Control Flow).

  1. You should use a scale-threshold on the javascript side too so it doesn’t bother making requests for layers that are out of zoom.

  2. Your GWC seems to be working fine, at least for MasterMap.

  3. I’d recommend merging the three layers (250k, ODC, Streetview) into a single layer group within geoserver; this would obviate point 1 entirely.

  4. Use OS Miniscale rather than Strategi for the further-out zoom levels. Similarly VMD between strategi and Streetview. Meridian and VML are also useful.

  5. Your WMS requests are tiled. Do they need to be? I understand doing this for more complex datasets, but for simpler ones you’re adding the overhead of many many requests contrasting to one request for a larger image which will take slightly longer to render but should be a saving overall.

That all said, beyond the above issues, your stuff seems to render fine.

Cheers,
Jonathan

On 28 July 2014 08:00, jkumar <jayakumar@anonymised.com> wrote:

Hi Andrea,

Yes I have added the spatial index in postgis. For better understanding I am
sending link

http://54.187.234.74/ODC/login.aspx
Username : TestUser
Password: TestUser
<http://osgeo-org.1560.x6.nabble.com/file/n5153625/OSGeo.jpg>

Switch on the “Private” check box and click the button next checkbox of
“MasterMap”.Please refer the attached screenshot

You can able realize the performance.

Thanks in advance

Regards,
K.Jayakumar


View this message in context: http://osgeo-org.1560.x6.nabble.com/WMS-rendering-slow-tp5153046p5153625.html

Sent from the GeoServer - User mailing list archive at Nabble.com.


Infragistics Professional
Build stunning WinForms apps today!
Reboot your WinForms applications with our WinForms controls.
Build a bridge from your legacy apps to the future.
http://pubads.g.doubleclick.net/gampad/clk?id=153845071&iu=/4140/ostg.clktrk


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Hi,

Thanks for the reply and valuable points. Let us consider those points and
let you know.

Thanks in advance

Regards,
K.Jayakumar

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/WMS-rendering-slow-tp5153046p5153724.html
Sent from the GeoServer - User mailing list archive at Nabble.com.