Hi Michael,
thanks for the answer. I applied changes to DeeRenderingStylePanel.
I also applied a patch on
com.vividsolutions.jump.workbench.ui.renderer.style.LabelStyle
in order to keep labels outside vertex symbol objects if VertexStyle is
applied to point geometries.

This would avoid to have labels on the top of point symbols if labels are
located any position either than "Centered", as with polygon geometries.
Peppe


Il giorno gio 25 ott 2018 alle ore 22:52 Michaël Michaud <
m.michael.mich...@orange.fr> ha scritto:

> Hi Peppe,
>
> No problem for me. Go ahead,
>
> Michaël
>
> Le 25/10/2018 à 10:44, Giuseppe Aruta a écrit :
>
> Greetings,
> I recently needed to display/print a map with vertex dimension below the
> minimun defined by OpenJUMP (value 4,  see Change style panel, vertex
> dimension).
> In my case I had to display points with altitude values on a topographic
> map, the value 4 was too big to display these points while 1 or 2 was the
> standard.
> I gave a look on relative class,
> de.latlon.deejump.plugin.style.DeeRenderingStylePanel.
>
> from line 530
> method *sizeFromSlider(int i)* defines the dimension of the vertex
> method *sizeToSlider(int i) * get the size from projet and define it in
> the slider:
>
>
>
> *  private int sizeFromSlider(int i) {         return
> (int)(Math.rint(Math.pow(1.6, ((double)i)/10.0))) + 3;     }*
>
>
>
> * private int sizeToSlider(int i) {         return (int) Math.rint(10 *
> Math.log(((double) i - 3)) / Math.log(1.6));     }*
>
> if the integer 3 (see bold font in both method) is changed to 0
>
>
>
> * private int sizeFromSlider(int i) {         return
> (int)(Math.rint(Math.pow(1.6, ((double)i)/10.0))) + 0;     }*
>
>  private int sizeToSlider(int i) {
>         return (int) Math.rint(10 * Math.log(((double) i -* 0*)) /
> Math.log(1.6));
>     }
>
> the slider that control vertex dimesion allows a minimun vertex dimension
> to  value 1.
> Maximun dimension changes form 113 to 110.
>
> My proposal is to change apply this change on OpenJUMP. Objections can be
> on reducing minimun size from 113 to 110, if ever used.
>
> Best regards
> Peppe
>
>
>
>
>
> _______________________________________________
> Jump-pilot-devel mailing 
> listJump-pilot-devel@lists.sourceforge.nethttps://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

Reply via email to