Hi there
I am facing a problem with the labels of polygons.
The problem is that I have them (the labels) repeated many times over the polygons.
Any idea or help ?
Thanks in advance
Fernando.
Hi there
I am facing a problem with the labels of polygons.
The problem is that I have them (the labels) repeated many times over the polygons.
Any idea or help ?
Thanks in advance
Fernando.
Luis F Silva ha scritto:
Hi there
I am facing a problem with the labels of polygons.
The problem is that I have them (the labels) repeated many times over the polygons.
Any idea or help ?
Hmmm... the only way I know to get multiple labels in the same polygon
is to use a tiled client, otherwise you should get only one.
Is this your case? If so, there are two solutions:
* use the meta-tiler, that will only mitigate the issue, not fully solve
it. See:
http://docs.codehaus.org/display/GEOSDOC/WMS+vendor+parameters
* if you're using OpenLayer as the client, make it so the label layer is
a separate overlay. The geometric layers will stay tiled, while you
can setup the label layer as untiled. This means the labels will have
to be recomputed each time the client moves, but at least they will be
guaranteed having no repetitions (for an example of how to set up
an untiled layer, see our map preview page source from your browser).
Hope this helps
Cheers
Andrea
Andrea
That’s my case.
I am going to take your recommendations and see what is the best for us.
By the way: Do you have any known tips to improve the performance when working with GeoServer and OpenLayers ?
Any recommendation in terms of GeoServer configuration , for example ?
Thanks in advance
Fernando.
Andrea Aime aaime@anonymised.com
08/10/2007 10:39
To
Luis F Silva lfsilva@anonymised.com
cc
geoserver-users@lists.sourceforge.net
Subject
Re: [Geoserver-users] Label repeats
Luis F Silva ha scritto:
>
> Hi there
>
> I am facing a problem with the labels of polygons.
> The problem is that I have them (the labels) repeated many times over
> the polygons.
> Any idea or help ?
Hmmm... the only way I know to get multiple labels in the same polygon
is to use a tiled client, otherwise you should get only one.
Is this your case? If so, there are two solutions:
* use the meta-tiler, that will only mitigate the issue, not fully solve
it. See:
http://docs.codehaus.org/display/GEOSDOC/WMS+vendor+parameters
* if you're using OpenLayer as the client, make it so the label layer is
a separate overlay. The geometric layers will stay tiled, while you
can setup the label layer as untiled. This means the labels will have
to be recomputed each time the client moves, but at least they will be
guaranteed having no repetitions (for an example of how to set up
an untiled layer, see our map preview page source from your browser).
Hope this helps
Cheers
Andrea
Luis F Silva ha scritto:
Andrea
That's my case.
I am going to take your recommendations and see what is the best for us.
By the way: Do you have any known tips to improve the performance when working with GeoServer and OpenLayers ?
Any recommendation in terms of GeoServer configuration , for example ?
Yes, I have a few:
1) have a look at these presentation:
http://www.foss4g2007.org/presentations/view.php?abstract_id=120
http://www.foss4g2007.org/presentations/view.php?abstract_id=111
2) follow directions here: http://docs.codehaus.org/display/GEOSDOC/4+GeoServer+in+Production+Environment
3) Use Geoserver 1.6.0beta3 (official release) or nightlies from here:
http://geo.openplans.org/nightly/trunk/
4) Keep your styles simple, avoid translucency if possible (that is,
keep opaque == 1), make sure to display as few information as
possible using zoom levels and other filter options in SDL Rule
elements (in particular, try to keep labelling at a minumum, it's
the slowest part of our rendering chain).
Hope this helps
Cheers
Andrea
Andrea
Thank you very much for the tips you sent to me.
Once we are going to have 100% of our maps being generated in dynamic basis , using remote SLD , performance is something that I worry about; mainly because of our inexperience with GeoServer , SLDs , and so on.
I am going to follow them and compare the the time processing between the current stage and the new one.
Thanks again for your attention
Best Regards
Fernando.
Andrea Aime aaime@anonymised.com
09/10/2007 03:36
To
Luis F Silva lfsilva@anonymised.com
cc
geoserver-users@lists.sourceforge.net
Subject
Re: [Geoserver-users] Label repeats
Luis F Silva ha scritto:
>
> Andrea
>
> That's my case.
> I am going to take your recommendations and see what is the best for us.
> By the way: Do you have any known tips to improve the performance when
> working with GeoServer and OpenLayers ?
> Any recommendation in terms of GeoServer configuration , for example ?
Yes, I have a few:
1) have a look at these presentation:
http://www.foss4g2007.org/presentations/view.php?abstract_id=120
http://www.foss4g2007.org/presentations/view.php?abstract_id=111
2) follow directions here:
http://docs.codehaus.org/display/GEOSDOC/4+GeoServer+in+Production+Environment
3) Use Geoserver 1.6.0beta3 (official release) or nightlies from here:
http://geo.openplans.org/nightly/trunk/
4) Keep your styles simple, avoid translucency if possible (that is,
keep opaque == 1), make sure to display as few information as
possible using zoom levels and other filter options in SDL Rule
elements (in particular, try to keep labelling at a minumum, it's
the slowest part of our rendering chain).
Hope this helps
Cheers
Andrea
Luis F Silva ha scritto:
Andrea
Thank you very much for the tips you sent to me.
Once we are going to have 100% of our maps being generated in dynamic basis , using remote SLD , performance is something that I worry about; mainly because of our inexperience with GeoServer , SLDs , and so on.
I am going to follow them and compare the the time processing between the current stage and the new one.
May I ask why you need to use remote SLD extensively?
Cheers
Andrea
Andrea
I read in your presentation that png256 is the best to be used.
Do you have an example of how to use it ? Where can I find an already done pallete ?
Thanks in advance
Fernando.
Andrea Aime aaime@anonymised.com
09/10/2007 03:36
To
Luis F Silva lfsilva@anonymised.com
cc
geoserver-users@lists.sourceforge.net
Subject
Re: [Geoserver-users] Label repeats
Luis F Silva ha scritto:
>
> Andrea
>
> That's my case.
> I am going to take your recommendations and see what is the best for us.
> By the way: Do you have any known tips to improve the performance when
> working with GeoServer and OpenLayers ?
> Any recommendation in terms of GeoServer configuration , for example ?
Yes, I have a few:
1) have a look at these presentation:
http://www.foss4g2007.org/presentations/view.php?abstract_id=120
http://www.foss4g2007.org/presentations/view.php?abstract_id=111
2) follow directions here:
http://docs.codehaus.org/display/GEOSDOC/4+GeoServer+in+Production+Environment
3) Use Geoserver 1.6.0beta3 (official release) or nightlies from here:
http://geo.openplans.org/nightly/trunk/
4) Keep your styles simple, avoid translucency if possible (that is,
keep opaque == 1), make sure to display as few information as
possible using zoom levels and other filter options in SDL Rule
elements (in particular, try to keep labelling at a minumum, it's
the slowest part of our rendering chain).
Hope this helps
Cheers
Andrea
Luis F Silva ha scritto:
Andrea
I read in your presentation that png256 is the best to be used.
Do you have an example of how to use it ? Where can I find an already done pallete ?
Everything is in the docs:
http://docs.codehaus.org/display/GEOSDOC/Paletted+images+tutorial
http://docs.codehaus.org/display/GEOSDOC/FOSS4G+2007+Workshop
(see optimizing wms output)
http://docs.codehaus.org/display/GEOSDOC/WMS+vendor+parameters
Cheers
Andrea
I drove some tests and notice that when using image/png8 or image/jpeg with Openlayers just produce “pink” tiles.
Is it a limitation ?
TIA
Fernando
Andrea Aime aaime@anonymised.com
09/10/2007 13:04
To
Luis F Silva lfsilva@anonymised.com
cc
geoserver-users@lists.sourceforge.net
Subject
Re: [Geoserver-users] Label repeats
Luis F Silva ha scritto:
>
> Andrea
>
> I read in your presentation that png256 is the best to be used.
> Do you have an example of how to use it ? Where can I find an already
> done pallete ?
Everything is in the docs:
http://docs.codehaus.org/display/GEOSDOC/Paletted+images+tutorial
http://docs.codehaus.org/display/GEOSDOC/FOSS4G+2007+Workshop
(see optimizing wms output)
http://docs.codehaus.org/display/GEOSDOC/WMS+vendor+parameters
Cheers
Andrea
Luis F Silva ha scritto:
I drove some tests and notice that when using image/png8 or image/jpeg with Openlayers just produce "pink" tiles.
Is it a limitation ?
Nope, sounds like a bug, but you'll have to provide me more information
to track it down. Or else, GeoServer is not able to provide OL the
tiles fast enough.
Try adding "OpenLayers.IMAGE_RELOAD_ATTEMPTS = 5;" in your javascript
so that tile loading is retried. If that does not help, look in the
geoserver logs for more info.
Cheers
Andrea
Andrea
The "OpenLayers.IMAGE_RELOAD_ATTEMPTS = 5;"
was already there.
The log seems to be ok.
I copied the last lines below:
127.0.0.1 - - [09/10/2007:17:27:24 +0000] “GET /geoserver/openlayers/img/blank.gif HTTP/1.1” 200 42
192.168.0.220 - - [09/10/2007:17:27:24 +0000] “GET /geoserver/wms?WIDTH=256&HEIGHT=256&FORMAT=image%2Fjpeg&TILED=true&TILESORIGIN=-73.991482%2C-33.751314&SLD=http%3A%2F%2F192.168.0.220%3A8084%2FPms%2FSupSvr%3Freq%3DgetSldAsRemote%26id%3DPms119195084343919367195425019&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&BBOX=-96.878794%2C-33.751314%2C-73.991482%2C-10.864002 HTTP/1.1” 200 352
192.168.0.220 - - [09/10/2007:17:27:24 +0000] “GET /geoserver/wms?WIDTH=256&HEIGHT=256&FORMAT=image%2Fjpeg&TILED=true&TILESORIGIN=-73.991482%2C-33.751314&SLD=http%3A%2F%2F192.168.0.220%3A8084%2FPms%2FSupSvr%3Freq%3DgetSldAsRemote%26id%3DPms119195084343919367195425019&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&BBOX=-96.878794%2C-10.864002%2C-73.991482%2C12.023311 HTTP/1.1” 200 352
192.168.0.220 - - [09/10/2007:17:27:24 +0000] “GET /geoserver/wms?WIDTH=256&HEIGHT=256&FORMAT=image%2Fjpeg&TILED=true&TILESORIGIN=-73.991482%2C-33.751314&SLD=http%3A%2F%2F192.168.0.220%3A8084%2FPms%2FSupSvr%3Freq%3DgetSldAsRemote%26id%3DPms119195084343919367195425019&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&BBOX=-119.766106%2C-33.751314%2C-73.991482%2C12.023311 HTTP/1.1” 200 352
192.168.0.220 - - [09/10/2007:17:27:24 +0000] “GET /geoserver/wms?WIDTH=256&HEIGHT=256&FORMAT=image%2Fjpeg&TILED=true&TILESORIGIN=-73.991482%2C-33.751314&SLD=http%3A%2F%2F192.168.0.220%3A8084%2FPms%2FSupSvr%3Freq%3DgetSldAsRemote%26id%3DPms119195084343919367195425019&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&BBOX=-119.766106%2C-79.525938%2C-73.991482%2C-33.751314 HTTP/1.1” 200 352
192.168.0.220 - - [09/10/2007:17:27:24 +0000] “GET /geoserver/wms?WIDTH=256&HEIGHT=256&FORMAT=image%2Fjpeg&TILED=true&TILESORIGIN=-73.991482%2C-33.751314&SLD=http%3A%2F%2F192.168.0.220%3A8084%2FPms%2FSupSvr%3Freq%3DgetSldAsRemote%26id%3DPms119195084343919367195425019&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&BBOX=-73.991482%2C-10.864002%2C-51.10417%2C12.023311 HTTP/1.1” 200 352
192.168.0.220 - - [09/10/2007:17:27:24 +0000] “GET /geoserver/wms?WIDTH=256&HEIGHT=256&FORMAT=image%2Fjpeg&TILED=true&TILESORIGIN=-73.991482%2C-33.751314&SLD=http%3A%2F%2F192.168.0.220%3A8084%2FPms%2FSupSvr%3Freq%3DgetSldAsRemote%26id%3DPms119195084343919367195425019&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&BBOX=-73.991482%2C-33.751314%2C-51.10417%2C-10.864002 HTTP/1.1” 200 352
192.168.0.220 - - [09/10/2007:17:27:24 +0000] “GET /geoserver/wms?WIDTH=256&HEIGHT=256&FORMAT=image%2Fjpeg&TILED=true&TILESORIGIN=-73.991482%2C-33.751314&SLD=http%3A%2F%2F192.168.0.220%3A8084%2FPms%2FSupSvr%3Freq%3DgetSldAsRemote%26id%3DPms119195084343919367195425019&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&BBOX=-51.10417%2C-33.751314%2C-28.216857%2C-10.864002 HTTP/1.1” 200 352
192.168.0.220 - - [09/10/2007:17:27:24 +0000] “GET /geoserver/wms?WIDTH=256&HEIGHT=256&FORMAT=image%2Fjpeg&TILED=true&TILESORIGIN=-73.991482%2C-33.751314&SLD=http%3A%2F%2F192.168.0.220%3A8084%2FPms%2FSupSvr%3Freq%3DgetSldAsRemote%26id%3DPms119195084343919367195425019&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&BBOX=-51.10417%2C-10.864002%2C-28.216857%2C12.023311 HTTP/1.1” 200 352
192.168.0.220 - - [09/10/2007:17:27:32 +0000] “GET /geoserver/wms?WIDTH=256&HEIGHT=256&FORMAT=image%2Fjpeg&TILED=true&TILESORIGIN=-73.991482%2C-33.751314&SLD=http%3A%2F%2F192.168.0.220%3A8084%2FPms%2FSupSvr%3Freq%3DgetSldAsRemote%26id%3DPms119195084343919367195425019&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&BBOX=-73.991482%2C-79.525938%2C-28.216857%2C-33.751314 HTTP/1.1” 200 909
192.168.0.220 - - [09/10/2007:17:27:31 +0000] “GET /geoserver/wms?WIDTH=256&HEIGHT=256&FORMAT=image%2Fjpeg&TILED=true&TILESORIGIN=-73.991482%2C-33.751314&SLD=http%3A%2F%2F192.168.0.220%3A8084%2FPms%2FSupSvr%3Freq%3DgetSldAsRemote%26id%3DPms119195084343919367195425019&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&BBOX=-73.991482%2C-33.751314%2C-28.216857%2C12.023311 HTTP/1.1” 200 352
Let me know if you need/want any more info.
Cheers
Fernando.
Andrea Aime aaime@anonymised.com
09/10/2007 14:39
To
Luis F Silva lfsilva@anonymised.com
cc
geoserver-users@lists.sourceforge.net
Subject
Re: [Geoserver-users] Label repeats
Luis F Silva ha scritto:
>
> I drove some tests and notice that when using image/png8 or image/jpeg
> with Openlayers just produce "pink" tiles.
> Is it a limitation ?
Nope, sounds like a bug, but you'll have to provide me more information
to track it down. Or else, GeoServer is not able to provide OL the
tiles fast enough.
Try adding "OpenLayers.IMAGE_RELOAD_ATTEMPTS = 5;" in your javascript
so that tile loading is retried. If that does not help, look in the
geoserver logs for more info.
Cheers
Andrea
Luis F Silva ha scritto:
Andrea
The "OpenLayers.IMAGE_RELOAD_ATTEMPTS = 5;" was already there.
The log seems to be ok.
I copied the last lines below:127.0.0.1 - - [09/10/2007:17:27:24 +0000] "GET /geoserver/openlayers/img/blank.gif HTTP/1.1" 200 42
192.168.0.220 - - [09/10/2007:17:27:24 +0000] "GET /geoserver/wms?WIDTH=256&HEIGHT=256&FORMAT=image%2Fjpeg&TILED=true&TILESORIGIN=-73.991482%2C-33.751314&SLD=http%3A%2F%2F192.168.0.220%3A8084%2FPms%2FSupSvr%3Freq%3DgetSldAsRemote%26id%3DPms119195084343919367195425019&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&BBOX=-96.878794%2C-33.751314%2C-73.991482%2C-10.864002 HTTP/1.1" 200 352
192.168.0.220 - - [09/10/2007:17:27:24 +0000] "GET /geoserver/wms?WIDTH=256&HEIGHT=256&FORMAT=image%2Fjpeg&TILED=true&TILESORIGIN=-73.991482%2C-33.751314&SLD=http%3A%2F%2F192.168.0.220%3A8084%2FPms%2FSupSvr%3Freq%3DgetSldAsRemote%26id%3DPms119195084343919367195425019&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&BBOX=-96.878794%2C-10.864002%2C-73.991482%2C12.023311 HTTP/1.1" 200 352
192.168.0.220 - - [09/10/2007:17:27:24 +0000] "GET /geoserver/wms?WIDTH=256&HEIGHT=256&FORMAT=image%2Fjpeg&TILED=true&TILESORIGIN=-73.991482%2C-33.751314&SLD=http%3A%2F%2F192.168.0.220%3A8084%2FPms%2FSupSvr%3Freq%3DgetSldAsRemote%26id%3DPms119195084343919367195425019&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&BBOX=-119.766106%2C-33.751314%2C-73.991482%2C12.023311 HTTP/1.1" 200 352
192.168.0.220 - - [09/10/2007:17:27:24 +0000] "GET /geoserver/wms?WIDTH=256&HEIGHT=256&FORMAT=image%2Fjpeg&TILED=true&TILESORIGIN=-73.991482%2C-33.751314&SLD=http%3A%2F%2F192.168.0.220%3A8084%2FPms%2FSupSvr%3Freq%3DgetSldAsRemote%26id%3DPms119195084343919367195425019&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&BBOX=-119.766106%2C-79.525938%2C-73.991482%2C-33.751314 HTTP/1.1" 200 352
192.168.0.220 - - [09/10/2007:17:27:24 +0000] "GET /geoserver/wms?WIDTH=256&HEIGHT=256&FORMAT=image%2Fjpeg&TILED=true&TILESORIGIN=-73.991482%2C-33.751314&SLD=http%3A%2F%2F192.168.0.220%3A8084%2FPms%2FSupSvr%3Freq%3DgetSldAsRemote%26id%3DPms119195084343919367195425019&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&BBOX=-73.991482%2C-10.864002%2C-51.10417%2C12.023311 HTTP/1.1" 200 352
192.168.0.220 - - [09/10/2007:17:27:24 +0000] "GET /geoserver/wms?WIDTH=256&HEIGHT=256&FORMAT=image%2Fjpeg&TILED=true&TILESORIGIN=-73.991482%2C-33.751314&SLD=http%3A%2F%2F192.168.0.220%3A8084%2FPms%2FSupSvr%3Freq%3DgetSldAsRemote%26id%3DPms119195084343919367195425019&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&BBOX=-73.991482%2C-33.751314%2C-51.10417%2C-10.864002 HTTP/1.1" 200 352
192.168.0.220 - - [09/10/2007:17:27:24 +0000] "GET /geoserver/wms?WIDTH=256&HEIGHT=256&FORMAT=image%2Fjpeg&TILED=true&TILESORIGIN=-73.991482%2C-33.751314&SLD=http%3A%2F%2F192.168.0.220%3A8084%2FPms%2FSupSvr%3Freq%3DgetSldAsRemote%26id%3DPms119195084343919367195425019&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&BBOX=-51.10417%2C-33.751314%2C-28.216857%2C-10.864002 HTTP/1.1" 200 352
192.168.0.220 - - [09/10/2007:17:27:24 +0000] "GET /geoserver/wms?WIDTH=256&HEIGHT=256&FORMAT=image%2Fjpeg&TILED=true&TILESORIGIN=-73.991482%2C-33.751314&SLD=http%3A%2F%2F192.168.0.220%3A8084%2FPms%2FSupSvr%3Freq%3DgetSldAsRemote%26id%3DPms119195084343919367195425019&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&BBOX=-51.10417%2C-10.864002%2C-28.216857%2C12.023311 HTTP/1.1" 200 352
192.168.0.220 - - [09/10/2007:17:27:32 +0000] "GET /geoserver/wms?WIDTH=256&HEIGHT=256&FORMAT=image%2Fjpeg&TILED=true&TILESORIGIN=-73.991482%2C-33.751314&SLD=http%3A%2F%2F192.168.0.220%3A8084%2FPms%2FSupSvr%3Freq%3DgetSldAsRemote%26id%3DPms119195084343919367195425019&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&BBOX=-73.991482%2C-79.525938%2C-28.216857%2C-33.751314 HTTP/1.1" 200 909
192.168.0.220 - - [09/10/2007:17:27:31 +0000] "GET /geoserver/wms?WIDTH=256&HEIGHT=256&FORMAT=image%2Fjpeg&TILED=true&TILESORIGIN=-73.991482%2C-33.751314&SLD=http%3A%2F%2F192.168.0.220%3A8084%2FPms%2FSupSvr%3Freq%3DgetSldAsRemote%26id%3DPms119195084343919367195425019&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&BBOX=-73.991482%2C-33.751314%2C-28.216857%2C12.023311 HTTP/1.1" 200 352Let me know if you need/want any more info.
That's just the Jetty log, not GeoServer's one. In the configuration/server panel enable log to file, then
generate one pink tile (stop as soon as you see one)
and the look in the geoserver data directory for the
geoserver log.
Cheers
Andrea
Andrea
The options to activate the log are there , but not available to changes.
Is there a properties file , or something like that , where I could activate it ?
Cheers
Fernando.
Andrea Aime aaime@anonymised.com
09/10/2007 15:01
To
Luis F Silva lfsilva@anonymised.com
cc
geoserver-users@lists.sourceforge.net
Subject
Re: [Geoserver-users] Label repeats
Luis F Silva ha scritto:
>
> Andrea
>
> The "OpenLayers.IMAGE_RELOAD_ATTEMPTS = 5;" was already there.
> The log seems to be ok.
> I copied the last lines below:
>
> 127.0.0.1 - - [09/10/2007:17:27:24 +0000] "GET
> /geoserver/openlayers/img/blank.gif HTTP/1.1" 200 42
> 192.168.0.220 - - [09/10/2007:17:27:24 +0000] "GET
> /geoserver/wms?WIDTH=256&HEIGHT=256&FORMAT=image%2Fjpeg&TILED=true&TILESORIGIN=-73.991482%2C-33.751314&SLD=http%3A%2F%2F192.168.0.220%3A8084%2FPms%2FSupSvr%3Freq%3DgetSldAsRemote%26id%3DPms119195084343919367195425019&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&BBOX=-96.878794%2C-33.751314%2C-73.991482%2C-10.864002
> HTTP/1.1" 200 352
> 192.168.0.220 - - [09/10/2007:17:27:24 +0000] "GET
> /geoserver/wms?WIDTH=256&HEIGHT=256&FORMAT=image%2Fjpeg&TILED=true&TILESORIGIN=-73.991482%2C-33.751314&SLD=http%3A%2F%2F192.168.0.220%3A8084%2FPms%2FSupSvr%3Freq%3DgetSldAsRemote%26id%3DPms119195084343919367195425019&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&BBOX=-96.878794%2C-10.864002%2C-73.991482%2C12.023311
> HTTP/1.1" 200 352
> 192.168.0.220 - - [09/10/2007:17:27:24 +0000] "GET
> /geoserver/wms?WIDTH=256&HEIGHT=256&FORMAT=image%2Fjpeg&TILED=true&TILESORIGIN=-73.991482%2C-33.751314&SLD=http%3A%2F%2F192.168.0.220%3A8084%2FPms%2FSupSvr%3Freq%3DgetSldAsRemote%26id%3DPms119195084343919367195425019&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&BBOX=-119.766106%2C-33.751314%2C-73.991482%2C12.023311
> HTTP/1.1" 200 352
> 192.168.0.220 - - [09/10/2007:17:27:24 +0000] "GET
> /geoserver/wms?WIDTH=256&HEIGHT=256&FORMAT=image%2Fjpeg&TILED=true&TILESORIGIN=-73.991482%2C-33.751314&SLD=http%3A%2F%2F192.168.0.220%3A8084%2FPms%2FSupSvr%3Freq%3DgetSldAsRemote%26id%3DPms119195084343919367195425019&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&BBOX=-119.766106%2C-79.525938%2C-73.991482%2C-33.751314
> HTTP/1.1" 200 352
> 192.168.0.220 - - [09/10/2007:17:27:24 +0000] "GET
> /geoserver/wms?WIDTH=256&HEIGHT=256&FORMAT=image%2Fjpeg&TILED=true&TILESORIGIN=-73.991482%2C-33.751314&SLD=http%3A%2F%2F192.168.0.220%3A8084%2FPms%2FSupSvr%3Freq%3DgetSldAsRemote%26id%3DPms119195084343919367195425019&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&BBOX=-73.991482%2C-10.864002%2C-51.10417%2C12.023311
> HTTP/1.1" 200 352
> 192.168.0.220 - - [09/10/2007:17:27:24 +0000] "GET
> /geoserver/wms?WIDTH=256&HEIGHT=256&FORMAT=image%2Fjpeg&TILED=true&TILESORIGIN=-73.991482%2C-33.751314&SLD=http%3A%2F%2F192.168.0.220%3A8084%2FPms%2FSupSvr%3Freq%3DgetSldAsRemote%26id%3DPms119195084343919367195425019&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&BBOX=-73.991482%2C-33.751314%2C-51.10417%2C-10.864002
> HTTP/1.1" 200 352
> 192.168.0.220 - - [09/10/2007:17:27:24 +0000] "GET
> /geoserver/wms?WIDTH=256&HEIGHT=256&FORMAT=image%2Fjpeg&TILED=true&TILESORIGIN=-73.991482%2C-33.751314&SLD=http%3A%2F%2F192.168.0.220%3A8084%2FPms%2FSupSvr%3Freq%3DgetSldAsRemote%26id%3DPms119195084343919367195425019&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&BBOX=-51.10417%2C-33.751314%2C-28.216857%2C-10.864002
> HTTP/1.1" 200 352
> 192.168.0.220 - - [09/10/2007:17:27:24 +0000] "GET
> /geoserver/wms?WIDTH=256&HEIGHT=256&FORMAT=image%2Fjpeg&TILED=true&TILESORIGIN=-73.991482%2C-33.751314&SLD=http%3A%2F%2F192.168.0.220%3A8084%2FPms%2FSupSvr%3Freq%3DgetSldAsRemote%26id%3DPms119195084343919367195425019&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&BBOX=-51.10417%2C-10.864002%2C-28.216857%2C12.023311
> HTTP/1.1" 200 352
> 192.168.0.220 - - [09/10/2007:17:27:32 +0000] "GET
> /geoserver/wms?WIDTH=256&HEIGHT=256&FORMAT=image%2Fjpeg&TILED=true&TILESORIGIN=-73.991482%2C-33.751314&SLD=http%3A%2F%2F192.168.0.220%3A8084%2FPms%2FSupSvr%3Freq%3DgetSldAsRemote%26id%3DPms119195084343919367195425019&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&BBOX=-73.991482%2C-79.525938%2C-28.216857%2C-33.751314
> HTTP/1.1" 200 909
> 192.168.0.220 - - [09/10/2007:17:27:31 +0000] "GET
> /geoserver/wms?WIDTH=256&HEIGHT=256&FORMAT=image%2Fjpeg&TILED=true&TILESORIGIN=-73.991482%2C-33.751314&SLD=http%3A%2F%2F192.168.0.220%3A8084%2FPms%2FSupSvr%3Freq%3DgetSldAsRemote%26id%3DPms119195084343919367195425019&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&SRS=EPSG%3A4326&BBOX=-73.991482%2C-33.751314%2C-28.216857%2C12.023311
> HTTP/1.1" 200 352
>
> Let me know if you need/want any more info.
That's just the Jetty log, not GeoServer's one. In the
configuration/server panel enable log to file, then
generate one pink tile (stop as soon as you see one)
and the look in the geoserver data directory for the
geoserver log.
Cheers
Andrea
Luis F Silva ha scritto:
Andrea
The options to activate the log are there , but not available to changes.
Is there a properties file , or something like that , where I could activate it ?
Hmm... this sounds like a bug, but I don't know how to replicate it.
Saul, do you know of any reason why the UI won't allow the user
to alter the logging configuration?
Cheers
Andrea
The UI won't let geoserver change the logging configs iff commons-logging
isn't set up to backend onto log4j. I.e. if the commons-logging.properties
file doesn't contain
org.apache.commons.logging.Log=org.apache.commons.logging.impl.Log4JLogger
Otherwise allowing logging profile changes should definitely be enabled.
Luis, if you're using geoserver 1.5.x, then this is all moot, since the
mildly-revamped logging UI isn't present except in the 1.6.x series.
SEPERATELY: I can confirm that tiled wms images get 'pinkified'. It
appears to be related to the metatiler, but doesn't produce any strange
logging. Here is an example of the phenomenon:
WITHOUT TILING (no TILE_ORIGIN, etc params in url):
http://giswebservices.massgis.state.ma.us/geoserver/wms?LAYERS=massgis%3AGISDATA.ASSESSPARNC_POLY_STATUS&STYLES=&HEIGHT=256&WIDTH=256&SRS=EPSG%3A26986&FORMAT=image%2Fpng&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&BBOX=223803.183119%2C892017.092233%2C265707.952406%2C933921.86152
WITH TILING (includes TILE_ORIGIN, etc params in url):
http://giswebservices.massgis.state.ma.us/geoserver/wms?LAYERS=massgis%3AGISDATA.ASSESSPARNC_POLY_STATUS&STYLES=&HEIGHT=256&WIDTH=256&SRS=EPSG%3A26986&FORMAT=image%2Fpng&TILED=true&TILESORIGIN=14279.336685607384%2C766302.7843728303&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&BBOX=223803.183119%2C892017.092233%2C265707.952406%2C933921.86152
Note the green tint in the lower half of the second image...this is a
strange artifact that only appears when using the tiling params.
--saul
aaime wrote:
Luis F Silva ha scritto:
Andrea
The options to activate the log are there , but not available to changes.
Is there a properties file , or something like that , where I could
activate it ?Hmm... this sounds like a bug, but I don't know how to replicate it.
Saul, do you know of any reason why the UI won't allow the user
to alter the logging configuration?
Cheers
Andrea-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users
--
View this message in context: http://www.nabble.com/Label-repeats-tf4588219.html#a13217563
Sent from the GeoServer - User mailing list archive at Nabble.com.