Re: [Geoserver-users] International Date Line - Labels

2011-10-14 Thread Andrea Aime
On Fri, Oct 14, 2011 at 3:29 PM, age...@smartcode.gr wrote:

> So is it true? Does Geoserver render labels once on every image, unlike
> the rest of the geometries that appear as many times as needed?
>

It is very likely. The wrapping code does not generate a new features, just
turns
a single geometry into a multigeometry, and the labelling code normally
labels
them just once, in their largest portion (as far as I remember, at least).

Cheers
Andrea

-- 
---
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:  +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

---
--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] International Date Line - Labels

2011-10-14 Thread age...@smartcode.gr
So is it true? Does Geoserver render labels once on every image, unlike 
the rest of the geometries that appear as many times as needed?

--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] International Date Line - Labels

2011-10-14 Thread David Winslow
It seems likely that having a tiled client would hide this issue - if the
labels always show up on whichever side of the dateline contains most of the
tile, and there is a tile boundary AT the dateline, then it would work out.

One easy way to try this out would be to use the "single tile/tiled"
dropdown in the geoserver layer preview.

--
David Winslow
OpenGeo - http://opengeo.org/

On Thu, Oct 13, 2011 at 4:12 PM, Phil Scadden  wrote:

> On 13/10/2011 8:48 p.m., Agelos Pappas wrote:
> > I have the latest OpenLayers version, but I don't believe it is a
> > OpenLayers issue. As you can see in the images and as I have already
> > stated, the geometries wrap fine around the IDL. It's just the labels
> > that are left out. If I add a layer that contains polygons for
> > example, the shapes will appear on both sides, as the world map does.
> > But the labels only appear once.
> > P.S. When I say labels, I mean textsymbolizer tags.
> OK. I am sorry but I am not reproducing here at all. I am seeing text
> symbolizer tags from lines, points and polygons on both side of the 180.
> I am projecting to 900913. Geoserver 2.1.1 and Openlayers 2.11
>
>
> --
> Phil Scadden, Senior Scientist GNS Science Ltd 764 Cumberland St,
> Private Bag 1930, Dunedin, New Zealand Ph +64 3 4799663, fax +64 3 477
> 5232
>
> Notice: This email and any attachments are confidential. If received in
> error please destroy and immediately notify us. Do not copy or disclose the
> contents.
>
>
>
> --
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2d-oct
> ___
> Geoserver-users mailing list
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>
--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] International Date Line - Labels

2011-10-13 Thread Phil Scadden
On 13/10/2011 8:48 p.m., Agelos Pappas wrote:
> I have the latest OpenLayers version, but I don't believe it is a 
> OpenLayers issue. As you can see in the images and as I have already 
> stated, the geometries wrap fine around the IDL. It's just the labels 
> that are left out. If I add a layer that contains polygons for 
> example, the shapes will appear on both sides, as the world map does. 
> But the labels only appear once.
> P.S. When I say labels, I mean textsymbolizer tags.
OK. I am sorry but I am not reproducing here at all. I am seeing text 
symbolizer tags from lines, points and polygons on both side of the 180. 
I am projecting to 900913. Geoserver 2.1.1 and Openlayers 2.11


-- 
Phil Scadden, Senior Scientist GNS Science Ltd 764 Cumberland St, 
Private Bag 1930, Dunedin, New Zealand Ph +64 3 4799663, fax +64 3 477 5232

Notice: This email and any attachments are confidential. If received in error 
please destroy and immediately notify us. Do not copy or disclose the contents.


--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] International Date Line - Labels

2011-10-13 Thread Agelos Pappas
I have the latest OpenLayers version, but I don't believe it is a 
OpenLayers issue. As you can see in the images and as I have already 
stated, the geometries wrap fine around the IDL. It's just the labels 
that are left out. If I add a layer that contains polygons for example, 
the shapes will appear on both sides, as the world map does. But the 
labels only appear once.
P.S. When I say labels, I mean textsymbolizer tags.

--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] International Date Line - Labels

2011-10-12 Thread Phil Scadden

> I have a layer that contains only labels and I display it on top of a 
> world map, using the simple Plate Carree/WGS84 projection.
> I have realized that when the viewport crosses the international date 
> line, the labels do not re-appear in both sides.
> Unlike geometries, labels seem to get rendered only on one side. Is 
> there a solution for this? 
What is your client? If Openlayers, make sure you have upgraded to 2.12. 
There was bug with 180 line earlier versions.

Notice: This email and any attachments are confidential. If received in error 
please destroy and immediately notify us. Do not copy or disclose the contents.


--
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2d-oct
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users