Re: [Geoserver-users] Point symbols for polygons?

2013-11-12 Thread cmaul
Mihail,

yes and no. If you display the entire polygon, that is correct. If you
display only parts of it Geoserver arranges the label accordingly. Have a
look at the cadastre image.

http://lctest.land.vic.gov.au/cm/label_in_Polygons.jpeg

At the bottom: The 'X-B\PP5529' parcel labels have been shifted vertically,
so that you can see them.
All the labels are in the middle (horizontally), apart from the most right
label '5-B\PP5529' where the parcel is cut off vertically and horizontally.

In the middle the label '5-C\PP5529' is horizontally in the middle, but sits
vertically on top of the centroid.

The four parcels middle right have the labels arranged horizontally and
vertically in the middle. Again the label is horizontally left and right of
the centroid and vertically on top of the centroid. The fourth parcel label
is lowered a bit in order to fit into the cut off polygon.

I think Geoserver does actually quite a nice job in arranging the labels.

Cheers

Christian 



-


Dr Christian Maul
Project Manager

Information Services Branch
Department Environment and Primary Industries
Level13, Marland House, 570 Bourke Street
Melbourne 3000

PO Box 500, East Melbourne Vic 3002


Telephone:+61-3-8636 2325
Telefax:  +61-3-8636 2813
--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Point-symbols-for-polygons-tp5088519p500.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
DreamFactory - Open Source REST  JSON Services for HTML5  Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


Re: [Geoserver-users] Point symbols for polygons?

2013-11-12 Thread cmaul
Mihail,

Yes. If you display the entire polygon, that is correct. If you display only
parts of it Geoserver arranges the label or the point symbol accordingly.
Have a look at the cadastre image. Labels are strings in that case but any
XLink would be treated the same.

http://lctest.land.vic.gov.au/cm/label_in_Polygons.jpeg

At the bottom: The 'X-B\PP5529' parcel labels have been shifted vertically,
so that you can see them.
All the labels are in the middle (horizontally), apart from the most right
label '5-B\PP5529' where the parcel is cut off vertically and horizontally.

In the middle the label '5-C\PP5529' is horizontally in the middle, but sits
vertically on top of the centroid.

The four parcels middle right have the labels arranged horizontally and
vertically in the middle. Again the label is horizontally left and right of
the centroid and vertically on top of the centroid. The fourth parcel label
is lowered a bit in order to fit into the cut off polygon.

I think Geoserver does actually quite a nice job in arranging the labels.

Cheers

Christian 



-


Dr Christian Maul
Project Manager

Information Services Branch
Department Environment and Primary Industries
Level13, Marland House, 570 Bourke Street
Melbourne 3000

PO Box 500, East Melbourne Vic 3002


Telephone:+61-3-8636 2325
Telefax:  +61-3-8636 2813
--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/Point-symbols-for-polygons-tp5088519p501.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

--
DreamFactory - Open Source REST  JSON Services for HTML5  Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk
___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users


[Geoserver-users] Point symbols for polygons?

2013-11-11 Thread Mihail Ivanchev
Hello,

I have this quick little question: I am drawing a symbol using a point
symbolizer on a polygon. The question is: what is the reference point? I
suspect it's the centroid of the clipped polygon, but I'm not sure. Any
help?

Regards,
Mihail
--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk___
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users