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.
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.
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
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.
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.
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
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.
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
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
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).
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.
Your GWC seems to be working fine, at least for MasterMap.
I’d recommend merging the three layers (250k, ODC, Streetview) into a single layer group within geoserver; this would obviate point 1 entirely.
Use OS Miniscale rather than Strategi for the further-out zoom levels. Similarly VMD between strategi and Streetview. Meridian and VML are also useful.
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.