[Geoserver-users] Repeat Labels Inside of Polygons

When you zoom into a large polygon, let's say a County, you often zoom past
the label, and then you don't know what county you're in.

LineSymbolizer allows you to repeat labels, but I haven't found any way to
repeat them in a polygon. No combination of maxDisplacement or repeat in
the SLD is having the desired effect.

Extensive googling only came up with posts about labels repeating due to
being served as tiles, which is not the behavior I'm going for.

Thanks!

Aaron

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Repeat-Labels-Inside-of-Polygons-tp5319970.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Hi,
there is indeed no vendor option to get the behavior your want, normally
people complain about it and ask about getting rid of it, so no support
was developed to get it in untiled mode.

Anyways, patches welcomed, if you are interested I can point you at where
the action is (roughly, gt-render module down in Geotools)

Cheers
Andrea

···

On Wed, May 10, 2017 at 12:36 AM, FunkMonkey33 <aedwards@anonymised.com…> wrote:

When you zoom into a large polygon, let’s say a County, you often zoom past
the label, and then you don’t know what county you’re in.

LineSymbolizer allows you to repeat labels, but I haven’t found any way to
repeat them in a polygon. No combination of maxDisplacement or repeat in
the SLD is having the desired effect.

Extensive googling only came up with posts about labels repeating due to
being served as tiles, which is not the behavior I’m going for.

Thanks!

Aaron


View this message in context: http://osgeo-org.1560.x6.nabble.com/Repeat-Labels-Inside-of-Polygons-tp5319970.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


Check out the vibrant tech community on one of the world’s most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


Geoserver-users mailing list
Geoserver-users@anonymised.com.382…sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313

fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


Hi,

Do I undestand right that the desire is not necessarily to get multiple labels but one label at any scale, at any region of interest?

Polygons labels are placed dynamically so with basic WMS it should not be possible to zoom past the label. The label is set to partial polygons if there are place for them. You can test with demo layer “states” with QGIS or OpenJUMP and you should experience that you can’t zoom past labels. Quick test with browser:

http://localhost:8080/geoserver/wms?REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&WIDTH=1601&HEIGHT=839&LAYERS=topp%3Astates&TRANSPARENT=TRUE&FORMAT=image%2Fpng&BBOX=-115.408,34.685,-113.877,35.487&SRS=EPSG:4326&STYLES=

-Jukka Rahkonen-

···

Andrea Aime wrote:
Re: [Geoserver-users] Repeat Labels Inside of Polygons

Hi,
there is indeed no vendor option to get the behavior your want, normally
people complain about it and ask about getting rid of it, so no support
was developed to get it in untiled mode.

Anyways, patches welcomed, if you are interested I can point you at where
the action is (roughly, gt-render module down in Geotools)

Cheers
Andrea

On Wed, May 10, 2017 at 12:36 AM, FunkMonkey33 <aedwards@anonymised.com14…> wrote:

When you zoom into a large polygon, let’s say a County, you often zoom past
the label, and then you don’t know what county you’re in.

LineSymbolizer allows you to repeat labels, but I haven’t found any way to
repeat them in a polygon. No combination of maxDisplacement or repeat in
the SLD is having the desired effect.

Extensive googling only came up with posts about labels repeating due to
being served as tiles, which is not the behavior I’m going for.

Thanks!

Aaron


View this message in context: http://osgeo-org.1560.x6.nabble.com/Repeat-Labels-Inside-of-Polygons-tp5319970.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


Check out the vibrant tech community on one of the world’s most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


Geoserver-users mailing list
Geoserver-users@anonymised.com.382…sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313

fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


Hum… right… well, maybe the map gets so dense with labels that the county
one does not get drawn anymore? When you are fully inside the county its
label would appear in the center of the map.

If that’s the case, raising its Priority would solve that problem, just set a value
higher than 1000 (that being the default, yes, I know, it’s a weird default value).
Of course you’d lose other labels.
Another option would be to give it a large maxDisplacement value to help it
locate a free spot that’s not in the center.

Cheers
Andrea

···

On Wed, May 10, 2017 at 9:19 AM, Rahkonen Jukka (MML) <jukka.rahkonen@anonymised.com> wrote:

Hi,

Do I undestand right that the desire is not necessarily to get multiple labels but one label at any scale, at any region of interest?

Polygons labels are placed dynamically so with basic WMS it should not be possible to zoom past the label. The label is set to partial polygons if there are place for them. You can test with demo layer “states” with QGIS or OpenJUMP and you should experience that you can’t zoom past labels. Quick test with browser:

http://localhost:8080/geoserver/wms?REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&WIDTH=1601&HEIGHT=839&LAYERS=topp%3Astates&TRANSPARENT=TRUE&FORMAT=image%2Fpng&BBOX=-115.408,34.685,-113.877,35.487&SRS=EPSG:4326&STYLES=

-Jukka Rahkonen-


Andrea Aime wrote:
Re: [Geoserver-users] Repeat Labels Inside of Polygons

Hi,
there is indeed no vendor option to get the behavior your want, normally
people complain about it and ask about getting rid of it, so no support
was developed to get it in untiled mode.

Anyways, patches welcomed, if you are interested I can point you at where
the action is (roughly, gt-render module down in Geotools)

Cheers
Andrea

On Wed, May 10, 2017 at 12:36 AM, FunkMonkey33 <aedwards@anonymised.com17…com> wrote:

When you zoom into a large polygon, let’s say a County, you often zoom past
the label, and then you don’t know what county you’re in.

LineSymbolizer allows you to repeat labels, but I haven’t found any way to
repeat them in a polygon. No combination of maxDisplacement or repeat in
the SLD is having the desired effect.

Extensive googling only came up with posts about labels repeating due to
being served as tiles, which is not the behavior I’m going for.

Thanks!

Aaron


View this message in context: http://osgeo-org.1560.x6.nabble.com/Repeat-Labels-Inside-of-Polygons-tp5319970.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


Check out the vibrant tech community on one of the world’s most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


Geoserver-users mailing list
Geoserver-users@anonymised.comrge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313

fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.

Ing. Andrea Aime

@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054 Massarosa (LU)
phone: +39 0584 962313

fax: +39 0584 1660272
mob: +39 339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it

AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo è consentito esclusivamente al destinatario del messaggio, per le finalità indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro sistema. Conservare il messaggio stesso, divulgarlo anche in parte, distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.

The information in this message and/or attachments, is intended solely for the attention and use of the named addressee(s) and may be confidential or proprietary in nature or covered by the provisions of privacy act (Legislative Decree June, 30 2003, no.196 - Italy’s New Data Protection Code).Any use not in accord with its purpose, any disclosure, reproduction, copying, distribution, or either dissemination, either whole or partial, is strictly forbidden except previous formal approval of the named addressee(s). If you are not the intended recipient, please contact immediately the sender by telephone, fax or e-mail and delete the information in this message that has been received in error. The sender does not give any warranty or accept liability as the content, accuracy or completeness of sent messages and accepts no responsibility for changes made after they were sent or for other risks which arise as a result of e-mail transmission, viruses, etc.


Are you using cached tiles (GWC)?

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Repeat-Labels-Inside-of-Polygons-tp5319970p5320009.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Hi Jukka,

You do indeed understand correctly. I don't really need multiple labels,
just I want the one label to always be visible.

I'm using GWC for this, so I think that precludes the behavior I want.

I tried doing a straight up WMS GetMap request, but so far no luck with that
either. I'll keep working with it.

Thanks.,

Aaron

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Repeat-Labels-Inside-of-Polygons-tp5319970p5320208.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Yes. Using GWC.

Aaron

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Repeat-Labels-Inside-of-Polygons-tp5319970p5320209.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Just to be clear,

The Subject of this post isn't what I actually want, it turns out. My bad.
I can start a new thread if you all think I should.

What I am trying to do is have one label, but always have it be visible.

I am using GWC, but will abandon it in favor of WMS if necessary.

Also, I should point out that we're using Google maps, not Open Layers. It
looks like Google provides only tiled image overlay layers. From what I've
seen from the LayerPreview pages in GeoServer, it looks like the
always-visible-ness of the labels requires that it be 1 image, not tiles.
Does that sound correct?

Thanks. And let me know if you would prefer me to start a new thread.

Aaron

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Repeat-Labels-Inside-of-Polygons-tp5319970p5320237.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

You can not have an always visible label using the GWC (cached tiles are
rather static). Use the WMS.

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Repeat-Labels-Inside-of-Polygons-tp5319970p5320299.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Thanks.

Yes, I understand that GWC won't be possible for this.

However, it looks like tiles WMS won't work either (see my comment above).

Thanks.

Aaron

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Repeat-Labels-Inside-of-Polygons-tp5319970p5320367.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

I've started a new thread, with my corrected question in it:

http://osgeo-org.1560.x6.nabble.com/Always-Visible-Labels-in-Polygons-td5320370.html

Thanks everyone for your help!

Aaron

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Repeat-Labels-Inside-of-Polygons-tp5319970p5320373.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Hi,

I can read from the documentation of vendor option "tiled=true" this:

"Meta-tiling prevents issues with duplicated labels when using a tiled client such as OpenLayers. When meta-tiling is used, images are rendered and then split into smaller tiles (by default in a 3x3 pattern) before being served. In order for meta-tiling to work, the tile size must be set to 256x256 pixels, and the tiled and tilesorigin parameters must be specified.

The tiled parameter controls whether meta-tiling is used. The syntax is:
tiled=[true|false]
To invoke meta-tiling use tiled=true."

So you explicitly set Geoserver to use 3x3 metatiles with WMS. Don't do if you do not want to prevent issues with duplicated labels. Leave out &tiled=true and you should be guaranteed to get at least enough labels, probably more because every tile will be labeled. If your labels are long you must also accept partial labels but it may be that they do not satisfy you.

This should be a test that you can reproduce:

No label in this tile
http://localhost:8080/geoserver/topp/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=true&tiled=true&STYLES&LAYERS=topp%3Astates&tilesOrigin=-124.73142200000001%2C24.955967&WIDTH=256&HEIGHT=256&SRS=EPSG%3A4326&BBOX=-101.513671875%2C39.462890625%2C-101.42578125%2C39.55078125

Same tile but for sure with label
http://localhost:8080/geoserver/topp/wms?SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&FORMAT=image%2Fpng&TRANSPARENT=true&STYLES&LAYERS=topp%3Astates&tilesOrigin=-124.73142200000001%2C24.955967&WIDTH=256&HEIGHT=256&SRS=EPSG%3A4326&BBOX=-101.513671875%2C39.462890625%2C-101.42578125%2C39.55078125

For perfect label handling you should probably consider some other route like downloading borders as vector data that can be labeled on the client side, or something like UTFGrid. Perhaps you must change the platform by the same because Google Maps may not have advanced features.

-Jukka Rahkonen-

________________________________________
Lähettäjä: FunkMonkey33 <aedwards@anonymised.com>
Lähetetty: 12. toukokuuta 2017 19:04
Vastaanottaja: geoserver-users@lists.sourceforge.net
Aihe: Re: [Geoserver-users] Repeat Labels Inside of Polygons

Thanks.

Yes, I understand that GWC won't be possible for this.

However, it looks like tiles WMS won't work either (see my comment above).

Thanks.

Aaron

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Repeat-Labels-Inside-of-Polygons-tp5319970p5320367.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Hi Andrea,

To answer a broader question: I'm interested in becoming a GeoServer
contributor. Do you have any resources you can point me to other than the
development guide, which I think may be out of date?

Thanks!

Aaron

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Repeat-Labels-Inside-of-Polygons-tp5319970p5329377.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Aaron,

what makes you think that the GeoServer developer guide is out of date? Screenshots may not have been updated for the latest versions of GeoServer and tools such as Eclipse, but the process should still be the same.

Much development occurs in GeoTools, so please check out the GeoTools user and developer guides.

Kind regards,
Ben.

On 27/07/17 08:41, FunkMonkey33 wrote:

Hi Andrea,

To answer a broader question: I'm interested in becoming a GeoServer
contributor. Do you have any resources you can point me to other than the
development guide, which I think may be out of date?

Thanks!

Aaron

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Repeat-Labels-Inside-of-Polygons-tp5319970p5329377.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:
- Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html

Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
Ben Caradoc-Davies <ben@anonymised.com>
Director
Transient Software Limited <http://transient.nz/&gt;
New Zealand

Well that's actually the main reason. The screenshots didn't agree with what
I was actually seeing in Eclipse. For example, the quick start shows a
screenshot of starting the web-app project, but in Eclipse it's called
gs-web-app. No big deal.

I did also notice that the unit tests fail when building with Maven. I
disabled them and it builds, but is that expected?

Also, after importing the GeoServer projects into Eclipse, it shows several
errors, and won't start up. It could be just my configuration though.

Thanks, I'll checkout the GeoTools documentation.

Aaron

--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Repeat-Labels-Inside-of-Polygons-tp5319970p5329520.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

You can produce PRs for the docs if you notice small (or large) changes in the docs.

Ian

···

On 27 Jul 2017 17:27, “FunkMonkey33” <aedwards@anonymised.com> wrote:

Well that’s actually the main reason. The screenshots didn’t agree with what
I was actually seeing in Eclipse. For example, the quick start shows a
screenshot of starting the web-app project, but in Eclipse it’s called
gs-web-app. No big deal.

I did also notice that the unit tests fail when building with Maven. I
disabled them and it builds, but is that expected?

Also, after importing the GeoServer projects into Eclipse, it shows several
errors, and won’t start up. It could be just my configuration though.

Thanks, I’ll checkout the GeoTools documentation.

Aaron


View this message in context: http://osgeo-org.1560.x6.nabble.com/Repeat-Labels-Inside-of-Polygons-tp5319970p5329520.html

Sent from the GeoServer - User mailing list archive at Nabble.com.


Check out the vibrant tech community on one of the world’s most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


Geoserver-users mailing list

Please make sure you read the following two resources before posting to this list:

Geoserver-users@anonymised.com.382…sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Aaron,

unit tests are not expected to fail on supported development platforms (i.e. not Windows). We have had reports of failures on Windows but no Windows developers to investigate them. What is your development platform?

Kind regards,
Ben.

On 28/07/17 03:22, FunkMonkey33 wrote:

I did also notice that the unit tests fail when building with Maven. I
disabled them and it builds, but is that expected?

--
Ben Caradoc-Davies <ben@anonymised.com>
Director
Transient Software Limited <http://transient.nz/&gt;
New Zealand

Ha! Windows.

I thought I was doing this the hard way. For example, GeoServer for windows needs a 32 bit JRE, but you need the 64 bit to set up Eclipse. And Java_Home needs to be set to the 32 bit JRE for GeoServer, but the 64 bit JDK for Maven. Also, as I mentioned, even with skipping the unit tests, Eclipse still showed a bunch of errors and wouldn't actually start up.

So this explains a lot. I'm surprised that I missed it in the documentation.

Is there a list of supported Dev platforms? I code on a Mac, but usually in Windows within Parallels. I also have a Debian VM available.

Thanks, Ben.

Aaron

-----Original Message-----
From: Ben Caradoc-Davies [mailto:ben@…6881…]
Sent: Thursday, July 27, 2017 3:46 PM
To: Aaron Edwards <aedwards@...8214...>
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Repeat Labels Inside of Polygons

Aaron,

unit tests are not expected to fail on supported development platforms (i.e. not Windows). We have had reports of failures on Windows but no Windows developers to investigate them. What is your development platform?

Kind regards,
Ben.

On 28/07/17 03:22, FunkMonkey33 wrote:

I did also notice that the unit tests fail when building with Maven.
I disabled them and it builds, but is that expected?

--
Ben Caradoc-Davies <ben@...6881...>
Director
Transient Software Limited <http://transient.nz/&gt; New Zealand

Aaron,

there is, as far as I know, no list of supported development platforms. I use Debian sid amd64 with OpenJDK 8u141, I know that others use Ubuntu, which is probably most popular, and I expect all Debian downstreams to work. I expect that Fedora, CentOS, and relatives will work. I think we have a couple of MacOS developers (but I will let them speak for themselves). The last few Windows developers stopped contributing bug fixes for the Windows build and have not been seen for a while; this is how the Windows build stopped working. Perhaps they switched to Ubuntu? Ubuntu is popular for cloud deployments (Amazon and Google Compute).

Oracle JDK 8 and OpenJDK 8 are both supported.

Kind regards,
Ben.

On 28/07/17 09:52, Aaron Edwards wrote:

Ha! Windows.

I thought I was doing this the hard way. For example, GeoServer for windows needs a 32 bit JRE, but you need the 64 bit to set up Eclipse. And Java_Home needs to be set to the 32 bit JRE for GeoServer, but the 64 bit JDK for Maven. Also, as I mentioned, even with skipping the unit tests, Eclipse still showed a bunch of errors and wouldn't actually start up.

So this explains a lot. I'm surprised that I missed it in the documentation.

Is there a list of supported Dev platforms? I code on a Mac, but usually in Windows within Parallels. I also have a Debian VM available.

Thanks, Ben.

Aaron

-----Original Message-----
From: Ben Caradoc-Davies [mailto:ben@anonymised.com]
Sent: Thursday, July 27, 2017 3:46 PM
To: Aaron Edwards <aedwards@anonymised.com>
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Repeat Labels Inside of Polygons

Aaron,

unit tests are not expected to fail on supported development platforms (i.e. not Windows). We have had reports of failures on Windows but no Windows developers to investigate them. What is your development platform?

Kind regards,
Ben.

On 28/07/17 03:22, FunkMonkey33 wrote:

I did also notice that the unit tests fail when building with Maven.
I disabled them and it builds, but is that expected?

--
Ben Caradoc-Davies <ben@anonymised.com>
Director
Transient Software Limited <http://transient.nz/&gt; New Zealand

--
Ben Caradoc-Davies <ben@anonymised.com>
Director
Transient Software Limited <http://transient.nz/&gt;
New Zealand

[This thread has changed topic and should be on the geoserver-devel list.]

On 28/07/17 10:05, Ben Caradoc-Davies wrote:

Aaron,

there is, as far as I know, no list of supported development platforms. I use Debian sid amd64 with OpenJDK 8u141, I know that others use Ubuntu, which is probably most popular, and I expect all Debian downstreams to work. I expect that Fedora, CentOS, and relatives will work. I think we have a couple of MacOS developers (but I will let them speak for themselves). The last few Windows developers stopped contributing bug fixes for the Windows build and have not been seen for a while; this is how the Windows build stopped working. Perhaps they switched to Ubuntu? Ubuntu is popular for cloud deployments (Amazon and Google Compute).

Oracle JDK 8 and OpenJDK 8 are both supported.

Kind regards,
Ben.

On 28/07/17 09:52, Aaron Edwards wrote:

Ha! Windows.

I thought I was doing this the hard way. For example, GeoServer for windows needs a 32 bit JRE, but you need the 64 bit to set up Eclipse. And Java_Home needs to be set to the 32 bit JRE for GeoServer, but the 64 bit JDK for Maven. Also, as I mentioned, even with skipping the unit tests, Eclipse still showed a bunch of errors and wouldn't actually start up.

So this explains a lot. I'm surprised that I missed it in the documentation.

Is there a list of supported Dev platforms? I code on a Mac, but usually in Windows within Parallels. I also have a Debian VM available.

Thanks, Ben.

Aaron

-----Original Message-----
From: Ben Caradoc-Davies [mailto:ben@anonymised.com]
Sent: Thursday, July 27, 2017 3:46 PM
To: Aaron Edwards <aedwards@anonymised.com>
Cc: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Repeat Labels Inside of Polygons

Aaron,

unit tests are not expected to fail on supported development platforms (i.e. not Windows). We have had reports of failures on Windows but no Windows developers to investigate them. What is your development platform?

Kind regards,
Ben.

On 28/07/17 03:22, FunkMonkey33 wrote:

I did also notice that the unit tests fail when building with Maven.
I disabled them and it builds, but is that expected?

--
Ben Caradoc-Davies <ben@anonymised.com>
Director
Transient Software Limited <http://transient.nz/&gt; New Zealand

--
Ben Caradoc-Davies <ben@anonymised.com>
Director
Transient Software Limited <http://transient.nz/&gt;
New Zealand