Hey Ede,

You probably also getting a stack overflow, due to the large amount of
features (12,000 features).  However, when I increased the stack size
enough, the plugin caught a NullPointerException.   I need to dig further
to see why this happened.

Regarding tweaking the Xss values, this is an acceptable workaround for
this problem, but not a good long-term solution.   I think I need to
rewrite the coloring algorithm to use iteration instead of recursion, or
reduce the total size of the iteration.

@Jukka, the plugin  does handle linestrings and points.  For linestrings,
it will attempt to color intersecting ones in different colors (possibly
useful?).   For points, it will color points that are on top of each other
differently (not very interesting).

As is, I think it's fine for coloring maps with several thousand features,
but it's more brittle than it should be, and I'd like it to elegantly
handle larger feature sets, as well as determine why it got an NPE with the
Frida dataset.  Because of this, I don't recommend including with OJ PLUS
until I have a chance to rework it.

Thanks..........         lreeder


On Mon, May 26, 2014 at 3:19 PM, <edgar.sol...@web.de> wrote:

> On 26.05.2014 23:08, Rahkonen Jukka (Tike) wrote:
> > Hi,
> >
> > Because it is made for colouring polygons I have not tried it with
> lines. Interesting thing, because OpenJUMP can hold any geometrytypes on
> the same layer. Is it possible to check and warn users? Perhaps the same
> code that is used before saving into shapefiles?
>
> of course it is, he should check for that then ;9..
>
> > Larry also wrote about memory limits on Sunday. Read the whole mail from
> the archive, this is an excerpt:
> >> A setting of -Xss512k allowed me to process a 6000 feature layer in a
> 32 bit JVM.
> > I confirm that, a few thousand polygons is OK. I have had no time to
> make tests on 64-bit and 8 GB of memory.
>
> hmm.. we should probably tweak Xss values at the same time we tweak Xms
> then in our start scripts...
>
> ..ede
>
> >
> > -Jukka-
> >
> >
> > ________________________________________
> > Lähettäjä: edgar.sol...@web.de [edgar.sol...@web.de]
> > Lähetetty: 26. toukokuuta 2014 23:54
> > Vastaanottaja: OpenJump develop and use
> > Aihe: Re: [JPP-Devel] OJ Map Coloring Plugin v0.4
> >
> > and dies with heap size error ;).. ede
> >
> > On 26.05.2014 22:47, edgar.sol...@web.de wrote:
> >> just tried it with linestrings (from the frida dataset) and it seems to
> hang in an endless loop
> >>
> >> also - the enablecheck does not check for an selected layer but instead
> the plugin complains. why?
> >>
> >> ..ede
> >>
> >> On 25.05.2014 18:22, Larry Reeder wrote:
> >>>
> >>> Version 0.4 of the OpenJump Map Coloring plugin is ready for download
> at https://sourceforge.net/projects/ojmapcoloring/files/.
> >>>
> >>> Updates in this version include:
> >>>
> >>>   * Created layer is automatically colored using the generated autoclr
> attribute for color theming.
> >>>   * Internationalization for DE, EN, ES, FI, FR, and IT.  Thanks to
> all who contributed translations!
> >>>
> >>>  -lreeder
> >>>
> >>>
> >>>
> ------------------------------------------------------------------------------
> >>> "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
> >>> Instantly run your Selenium tests across 300+ browser/OS combos.
> >>> Get unparalleled scalability from the best Selenium testing platform
> available
> >>> Simple to use. Nothing to install. Get started now for free."
> >>> http://p.sf.net/sfu/SauceLabs
> >>>
> >>>
> >>>
> >>> _______________________________________________
> >>> Jump-pilot-devel mailing list
> >>> Jump-pilot-devel@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >>>
> >>>
> >>>
> >>>
> ------------------------------------------------------------------------------
> >>> The best possible search technologies are now affordable for all
> companies.
> >>> Download your FREE open source Enterprise Search Engine today!
> >>> Our experts will assist you in its installation for $59/mo, no
> commitment.
> >>> Test it for FREE on our Cloud platform anytime!
> >>>
> http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk
> >>>
> >>>
> >>> _______________________________________________
> >>> Jump-pilot-devel mailing list
> >>> Jump-pilot-devel@lists.sourceforge.net
> >>> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >
> >
> ------------------------------------------------------------------------------
> > The best possible search technologies are now affordable for all
> companies.
> > Download your FREE open source Enterprise Search Engine today!
> > Our experts will assist you in its installation for $59/mo, no
> commitment.
> > Test it for FREE on our Cloud platform anytime!
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk
> > _______________________________________________
> > Jump-pilot-devel mailing list
> > Jump-pilot-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >
> >
> ------------------------------------------------------------------------------
> > The best possible search technologies are now affordable for all
> companies.
> > Download your FREE open source Enterprise Search Engine today!
> > Our experts will assist you in its installation for $59/mo, no
> commitment.
> > Test it for FREE on our Cloud platform anytime!
> >
> http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk
> > _______________________________________________
> > Jump-pilot-devel mailing list
> > Jump-pilot-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> >
>
>
> ------------------------------------------------------------------------------
> The best possible search technologies are now affordable for all companies.
> Download your FREE open source Enterprise Search Engine today!
> Our experts will assist you in its installation for $59/mo, no commitment.
> Test it for FREE on our Cloud platform anytime!
>
> http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
>
------------------------------------------------------------------------------
The best possible search technologies are now affordable for all companies.
Download your FREE open source Enterprise Search Engine today!
Our experts will assist you in its installation for $59/mo, no commitment.
Test it for FREE on our Cloud platform anytime!
http://pubads.g.doubleclick.net/gampad/clk?id=145328191&iu=/4140/ostg.clktrk
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to