Hi Peppe,
Fine, thanks.
Works fine.
On some layers of the first url you sent (Northern Hemisphere :
layer=cities), the WMSLegend plugin throws a NPE
java.lang.NullPointerException
at javax.swing.ImageIcon.<init>(ImageIcon.java:240)
at
org.openjump.core.ui.plugin.wms.WMSLegendPlugIn.getLegendPanel(WMSLegendPlugIn.java:157)
at
org.openjump.core.ui.plugin.wms.WMSLegendPlugIn.execute(WMSLegendPlugIn.java:63)
Michaël
Le 09/06/2015 10:05, Giuseppe Aruta a écrit :
Hi Michael,
this is a good page where to take some WMS urls wiith legends:
http://nsidc.org/data/atlas/ogc_services.html
*WMS:*
* Northern Hemisphere:
http://nsidc.org/cgi-bin/atlas_north?service=WMS&request=GetCapabilities&version=1.1.1
* Southern Hemisphere:
http://nsidc.org/cgi-bin/atlas_south?service=WMS&request=GetCapabilities&version=1.1.1
Some of the Urls embedded into OJ have legends:
http://ows.terrestris.de/osm/service? for instance
Peppe
2015-06-08 22:16 GMT+02:00 Michaël Michaud
<m.michael.mich...@orange.fr <mailto:m.michael.mich...@orange.fr>>:
Thanks all,
Do you know any public url with GetLegendGraphics capability so
that I can easily test it ?
Michaël
Le 08/06/2015 19:09, Rahkonen Jukka (MML) a écrit :
Hi,
GetLegendGraphics works now fine with our servers through https
and basic authentication. Thanks
-Jukka Rahkonen-
Giuseppe Aruta wrote:
Hi Ede,
thanks for your help. Let us wait Jukka opinion/test to check the
new reuse of WMSRequest with protected WMS servers.
I implemented the dialog as a detachable internal frame, as you
suggested. It looks also more elegant. I preferred the option to
have it always on the top of the main view as I think that a
legend should be always visible, it can be minimized by users anyhow.
Regarding that dialogs accumulate and you suggestion to
update/reuse existing legends per layer, I still didn't find a
solution and I ask you a little help.
best regards
Peppe
2015-06-05 12:49 GMT+02:00 <edgar.sol...@web.de
<mailto:edgar.sol...@web.de>>:
hey Peppe,
while playing around with the plugin i stumbled over two issues
1. the plugin was enabled even if multiple wms layers were
selected. this is fixed now in trunk.
2. the dialogs accumulate. every time a new one gets created. you
should update/reuse existing legends per layer.
additionally i suggest you implement the dialogs as detachable
internal frames. this way they will be listed in the 'Windows'
main menu and the user can decide where to place them.
nice addition ..ede
On 04.06.2015 15 <tel:04.06.2015%2015>:24, Giuseppe Aruta wrote:
> Dear Jumpers,
> I added on OpenJUMP a new plugin that displays WMS layer(s)
legend (if available) on a Dialog.
> This plugin is located on WMS Layer tree context menu, as "Show
WMS Layer Legend".
> The code originally came from Kosmo SAIG and it was completely
rewritten in order to adapt WMS GetLegendGraphic and GetStyle
operators without modifing OJ WMS classes.
>
> Best Regards
>
> Peppe
>
>
>
>
------------------------------------------------------------------------------
>
>
>
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
<mailto:Jump-pilot-devel@lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
------------------------------------------------------------------------------
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
<mailto:Jump-pilot-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
------------------------------------------------------------------------------
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
<mailto:Jump-pilot-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
------------------------------------------------------------------------------
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
<mailto:Jump-pilot-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
------------------------------------------------------------------------------
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
------------------------------------------------------------------------------
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel