Hi,

Actually it does not work for me. The result was unpredictable when I had some 
features colored with the Set color tool and these hand set colors sometimes 
shows, sometimes when I change between saved views. But now I made a new test 
by using only theme coloring.

1) Read a shapefile
2) Define theming (attribute ORG_ALUE, type Integer, theming: unique values)
3) Use the plugin, do "Add View From Selected Layers"
4) Re-use this saved view by pressing Apply

What happens:
1)  The map that was colorful turns into single color. However, the legend 
still shows the classification for this layer. The color that is used for 
rendering the map does not seem to be any color that is defined for the classes.
2) When the map is in this state, if I change the color palette from the 
theming page the map stays single color. That color does change, though, but 
rendering seems to use only one class.
3) If I now change first the basic styles from the rendering tab to any 
different color and then go back to color theming page, then classification and 
applying palettes works OK again.

For me it seems that the basic style that is saved with the view plugin somehow 
overrides the classification.

I am on Windows, jre 64-bit server VM 1.8.0_ea (amd64)
The saved view config file attached.

-Jukka Rahkonen-



-----Alkuperäinen viesti-----
Lähettäjä: Michaël Michaud [mailto:m.michael.mich...@orange.fr] 
Lähetetty: 10. lokakuuta 2016 23:01
Vastaanottaja: jump-pilot-devel@lists.sourceforge.net
Aihe: Re: [JPP-Devel] ViewManagerPlugIn 0.3.2

Hi Jukka,

It works for me, but I realize you did not say it does not work but it is 
unpredictable. You probably mean if you apply a set of styles defined for a 
dataset, it will not looks nice for another dataset.

You are right. It is out of the scope of this extension to solve this. 
My use case is rather : I have a large dataset with many layers, but I have 
different tasks to do with it : digitizing with orthophotography, repairing 
broken polygons, controling the road-network topology, printing a map... For 
each task, I want to apply different styles and to be able to switch easily 
from one task to another. Hope it makes sense.

Michaël



Le 10/10/2016 à 09:21, Rahkonen Jukka (MML) a écrit :
> Hi,
>
> I haven't tried the tool before. It feels like a usable tool with basic 
> styles.  The result is somewhat unpredictable if layer has color theming on, 
> or if user has colored individual features with the Set Color tool.
>
> -Jukka Rahkonen-
>
> -----Alkuperäinen viesti-----
> Michaël Michaud wrote
> Lähetetty: 10. lokakuuta 2016 0:20
> Aihe: [JPP-Devel] ViewManagerPlugIn 0.3.2
>
> Hi jumpers,
>
> Just uploaded a new version of ViewManagerPlugIn fixing a small bug.
>
> https://sourceforge.net/projects/jump-pilot/files/OpenJUMP_plugins/Mor
> e%20Plugins/ViewManager%20PlugIn/
>
> Michaël
>
>
> ----------------------------------------------------------------------
> -------- Check out the vibrant tech community on one of the world's 
> most engaging tech sites, SlashDot.org! http://sdm.link/slashdot 
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
> ----------------------------------------------------------------------
> -------- Check out the vibrant tech community on one of the world's 
> most engaging tech sites, SlashDot.org! http://sdm.link/slashdot 
> _______________________________________________
> Jump-pilot-devel mailing list
> Jump-pilot-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most engaging tech 
sites, SlashDot.org! http://sdm.link/slashdot 
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><viewSet><view 
name="Projekti 1 (0)"><styledLayer layer="SMK_alueet_korjaus_v4" visible="true" 
editable="false" selectable="true"><styles><basicStyle opacity="0.5882353" 
enabled="true"><line enabled="true" color="#007d00" width="1.0" 
renderingLinePattern="false" pattern="3"/><fill enabled="true" 
color="#00b400"/></basicStyle><vertexStyle opacity="0.5882353" 
enabled="false"><line enabled="true" color="#007d00" width="1.0" 
renderingLinePattern="false" pattern="3"/><fill enabled="true" 
color="#00b400"/><size>4</size><shape>Square</shape></vertexStyle><labelStyle 
attribute="$FID" hideOverlaps="true" scaling="false" hideAtScale="false" 
maxScale="20000.0" enabled="false"><font name="Dialog" bold="false" 
italic="false" color="#000000" height="12.0" 
heightAttribute=""/></labelStyle><colorThemingStyle vertexStyleEnabled="false" 
attribute="ORG_ALUE" enabled="false"><defaultStyle opacity="1.0" 
enabled="true"><line enabled="true" color="#868686" width="1.0" 
renderingLinePattern="false" pattern="3"/><fill enabled="true" 
color="#c0c0c0"/><vertexStyle opacity="1.0" enabled="false"><line 
enabled="true" color="#868686" width="1.0" renderingLinePattern="false" 
pattern="3"/><fill enabled="true" 
color="#c0c0c0"/><size>4</size><shape>Square</shape></vertexStyle></defaultStyle></colorThemingStyle></styles></styledLayer></view><view
 name="Projekti 1 (1)"><styledLayer layer="SMK_alueet_korjaus_v4" 
visible="true" editable="false" selectable="true"><styles><basicStyle 
opacity="0.5882353" enabled="true"><line enabled="true" color="#007d00" 
width="1.0" renderingLinePattern="false" pattern="3"/><fill enabled="true" 
color="#00b400"/></basicStyle><vertexStyle opacity="0.5882353" 
enabled="false"><line enabled="true" color="#007d00" width="1.0" 
renderingLinePattern="false" pattern="3"/><fill enabled="true" 
color="#00b400"/><size>4</size><shape>Square</shape></vertexStyle><labelStyle 
attribute="$FID" hideOverlaps="true" scaling="false" hideAtScale="false" 
maxScale="20000.0" enabled="false"><font name="Dialog" bold="false" 
italic="false" color="#000000" height="12.0" 
heightAttribute=""/></labelStyle><colorThemingStyle vertexStyleEnabled="false" 
attribute="ORG_ALUE" enabled="false"><defaultStyle opacity="1.0" 
enabled="true"><line enabled="true" color="#868686" width="1.0" 
renderingLinePattern="false" pattern="3"/><fill enabled="true" 
color="#c0c0c0"/><vertexStyle opacity="1.0" enabled="false"><line 
enabled="true" color="#868686" width="1.0" renderingLinePattern="false" 
pattern="3"/><fill enabled="true" 
color="#c0c0c0"/><size>4</size><shape>Square</shape></vertexStyle></defaultStyle></colorThemingStyle></styles></styledLayer></view><name>testi</name></viewSet>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to