[Geoserver-users] Dynamic symbolizer with external references, problems with tiles

Hi,

I'm not sure if this is a Geoserver issue and has it got anything to do with the dynamic symbolizer.

Anyway in 1.7.1 when I am doing dynamic symbolizing with external references, some of the symbols get cut when using OpenLayers and tiled mode. This goes as well in my application as in GS MapPreview. Switching to SingleTile corrects the problem.
Unfortunately I am not allowed to provide you a live example, not in publicly anyway.

Known issue?

- mika -

Hi,

I have same issues but only with Labels, not objects (points) I
thought that adding BUFFER would help, but didnt..thats why for labels
I put untiled layer.

Have you tried using buffer?

geoserver.org/display/GEOSDOC/WMS+vendor+parameters

Cheers!

BTW whats wrong with geoserver.org for some time now? Usually i cant
read anything from the site so always finish using google cache pages
:s

http://209.85.129.132/search?q=cache:SaPJBQi2NcQJ:geoserver.org/display/GEOSDOC/WMS%2Bvendor%2Bparameters+geoserver+venodr&hl=en&client=firefox-a&strip=1

On Thu, Feb 26, 2009 at 10:45 AM, Lehtonen, Mika <mika@anonymised.com> wrote:

Hi,

I'm not sure if this is a Geoserver issue and has it got anything to do
with the dynamic symbolizer.

Anyway in 1.7.1 when I am doing dynamic symbolizing with external
references, some of the symbols get cut when using OpenLayers and tiled
mode. This goes as well in my application as in GS MapPreview. Switching
to SingleTile corrects the problem.
Unfortunately I am not allowed to provide you a live example, not in
publicly anyway.

Known issue?

- mika -

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Ivan Grcic

...well BUFFER should help only if they are at the edge of tiles anyway...

Regards,
Ivan

On Thu, Feb 26, 2009 at 2:52 PM, Ivan Grcic <igrcic@anonymised.com> wrote:

Hi,

I have same issues but only with Labels, not objects (points) I
thought that adding BUFFER would help, but didnt..thats why for labels
I put untiled layer.

Have you tried using buffer?

geoserver.org/display/GEOSDOC/WMS+vendor+parameters

Cheers!

BTW whats wrong with geoserver.org for some time now? Usually i cant
read anything from the site so always finish using google cache pages
:s

http://209.85.129.132/search?q=cache:SaPJBQi2NcQJ:geoserver.org/display/GEOSDOC/WMS%2Bvendor%2Bparameters+geoserver+venodr&hl=en&client=firefox-a&strip=1

On Thu, Feb 26, 2009 at 10:45 AM, Lehtonen, Mika <mika@anonymised.com> wrote:

Hi,

I'm not sure if this is a Geoserver issue and has it got anything to do
with the dynamic symbolizer.

Anyway in 1.7.1 when I am doing dynamic symbolizing with external
references, some of the symbols get cut when using OpenLayers and tiled
mode. This goes as well in my application as in GS MapPreview. Switching
to SingleTile corrects the problem.
Unfortunately I am not allowed to provide you a live example, not in
publicly anyway.

Known issue?

- mika -

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Ivan Grcic

--
Ivan Grcic

Hi Ivan,
I tried to add buffer:10 into Openlayer’s WMS layer options, but it didn’t seem to make any difference…
Odd thing is that I can’t any reproduce the problem in Geoserver’s map preview. But in my application it exists right after I remove singleTile:true from OL-code. I have placed my symbols on top of Google maps, so I hope it has nothing to do with the problem.

  • mika -

P.S. I can send you a little screenshot, if you’d like to see what’s happening. Just inform me about…

Ivan Grcic kirjoitti:

...yes its the issue that happens because of tiling.

Have you maybe tried with TILED and TILESORIGIN ? That should
activate metatiler, that will take bigger-3x3 tile. But i guess that
same issue would happen at the edge of 3x3 tile, no ?

Maybe also to put little bit bigger BUFFER? Hmmm...

What do the other suggest?

Cheers

On Thu, Feb 26, 2009 at 3:32 PM, Lehtonen, Mika <mika@anonymised.com> wrote:

Hi Ivan,
I tried to add buffer:10 into Openlayer's WMS layer options, but it didn't
seem to make any difference..
Odd thing is that I can't any reproduce the problem in Geoserver's map
preview. But in my application it exists right after I remove
singleTile:true from OL-code. I have placed my symbols on top of Google
maps, so I hope it has nothing to do with the problem.

- mika -

P.S. I can send you a little screenshot, if you'd like to see what's
happening. Just inform me about..

Ivan Grcic kirjoitti:

...well BUFFER should help only if they are at the edge of tiles anyway...

Regards,
Ivan

On Thu, Feb 26, 2009 at 2:52 PM, Ivan Grcic <igrcic@anonymised.com> wrote:

Hi,

I have same issues but only with Labels, not objects (points) I
thought that adding BUFFER would help, but didnt..thats why for labels
I put untiled layer.

Have you tried using buffer?

geoserver.org/display/GEOSDOC/WMS+vendor+parameters

Cheers!

BTW whats wrong with geoserver.org for some time now? Usually i cant
read anything from the site so always finish using google cache pages
:s

http://209.85.129.132/search?q=cache:SaPJBQi2NcQJ:geoserver.org/display/GEOSDOC/WMS%2Bvendor%2Bparameters+geoserver+venodr&hl=en&client=firefox-a&strip=1

On Thu, Feb 26, 2009 at 10:45 AM, Lehtonen, Mika <mika@anonymised.com>
wrote:

Hi,

I'm not sure if this is a Geoserver issue and has it got anything to do
with the dynamic symbolizer.

Anyway in 1.7.1 when I am doing dynamic symbolizing with external
references, some of the symbols get cut when using OpenLayers and tiled
mode. This goes as well in my application as in GS MapPreview. Switching
to SingleTile corrects the problem.
Unfortunately I am not allowed to provide you a live example, not in
publicly anyway.

Known issue?

- mika -

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Ivan Grcic

--
Ivan Grcic

Yeah sure, im always curious, picture is ok!

On Thu, Feb 26, 2009 at 3:32 PM, Lehtonen, Mika <mika@anonymised.com> wrote:

Hi Ivan,
I tried to add buffer:10 into Openlayer's WMS layer options, but it didn't
seem to make any difference..
Odd thing is that I can't any reproduce the problem in Geoserver's map
preview. But in my application it exists right after I remove
singleTile:true from OL-code. I have placed my symbols on top of Google
maps, so I hope it has nothing to do with the problem.

- mika -

P.S. I can send you a little screenshot, if you'd like to see what's
happening. Just inform me about..

Ivan Grcic kirjoitti:

...well BUFFER should help only if they are at the edge of tiles anyway...

Regards,
Ivan

On Thu, Feb 26, 2009 at 2:52 PM, Ivan Grcic <igrcic@anonymised.com> wrote:

Hi,

I have same issues but only with Labels, not objects (points) I
thought that adding BUFFER would help, but didnt..thats why for labels
I put untiled layer.

Have you tried using buffer?

geoserver.org/display/GEOSDOC/WMS+vendor+parameters

Cheers!

BTW whats wrong with geoserver.org for some time now? Usually i cant
read anything from the site so always finish using google cache pages
:s

http://209.85.129.132/search?q=cache:SaPJBQi2NcQJ:geoserver.org/display/GEOSDOC/WMS%2Bvendor%2Bparameters+geoserver+venodr&hl=en&client=firefox-a&strip=1

On Thu, Feb 26, 2009 at 10:45 AM, Lehtonen, Mika <mika@anonymised.com>
wrote:

Hi,

I'm not sure if this is a Geoserver issue and has it got anything to do
with the dynamic symbolizer.

Anyway in 1.7.1 when I am doing dynamic symbolizing with external
references, some of the symbols get cut when using OpenLayers and tiled
mode. This goes as well in my application as in GS MapPreview. Switching
to SingleTile corrects the problem.
Unfortunately I am not allowed to provide you a live example, not in
publicly anyway.

Known issue?

- mika -

------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Ivan Grcic

--
Ivan Grcic

Lehtonen, Mika wrote:

Hi,

I'm not sure if this is a Geoserver issue and has it got anything to do with the dynamic symbolizer.

Anyway in 1.7.1 when I am doing dynamic symbolizing with external references, some of the symbols get cut when using OpenLayers and tiled mode. This goes as well in my application as in GS MapPreview. Switching to SingleTile corrects the problem.
Unfortunately I am not allowed to provide you a live example, not in publicly anyway.

Known issue?

Not that I know of, no. Please open a bug report on jira.codehaus.org,
possibly attaching a SLD that makes the problem evident when using
some of the sample data provided with GeoServer (or attach a sample
of your data that allows the problem to be reproduced).

Cheers
Andrea

Lehtonen, Mika wrote:

Hi Ivan,
I tried to add buffer:10 into Openlayer's WMS layer options, but it didn't seem to make any difference..
Odd thing is that I can't any reproduce the problem in Geoserver's map preview. But in my application it exists right after I remove singleTile:true from OL-code. I have placed my symbols on top of Google maps, so I hope it has nothing to do with the problem.

GeoServer map preview is using dynamic meta tiling as Ivan suggested,
that's why you'll see the problem disappear.... or else, you should see
it less, but if you look hard, it should still be around, on the
borders of the 3x3 metatitiles.

Increasing the buffer should actually fix the issue, the fix that
I had in mind in my other answer was actually about the buffer size
computation, that is usually carried on automatically, but probably
in the case of external symbolizer without user set size it won't work.

Cheers
Andrea

Thanks Andrea,

I'll try to remember investigate this and possibly reproduce the problem with some other data. Unfortunately just right now I barely have time to sleep and this problem isn't bothering me at all. Not that I would be so deep than one poor creature in another list who told using 12 hours a day, seven days a week on learning JavaScript. :wink:

- mika -

Andrea Aime kirjoitti:

Lehtonen, Mika wrote:

Hi,

I'm not sure if this is a Geoserver issue and has it got anything to do with the dynamic symbolizer.

Anyway in 1.7.1 when I am doing dynamic symbolizing with external references, some of the symbols get cut when using OpenLayers and tiled mode. This goes as well in my application as in GS MapPreview. Switching to SingleTile corrects the problem.
Unfortunately I am not allowed to provide you a live example, not in publicly anyway.

Known issue?

Not that I know of, no. Please open a bug report on jira.codehaus.org,
possibly attaching a SLD that makes the problem evident when using
some of the sample data provided with GeoServer (or attach a sample
of your data that allows the problem to be reproduced).

Cheers
Andrea