Re: [JPP-Devel] Fwd: [jump-pilot - OpenJUMP Functions Problems] SLD export not compatible with GeoServer?

2012-08-18 Thread Michaël Michaud
Hi, Thanks for your help Martin and Jukka, I just removed the geometry type filter and made the two other fixes. For layers with mixed geometries, it seems that the sld plugin exports the style corresponding to the geometry type of the first feature. I'll not try to improve this until further te

[JPP-Devel] addPopupMenuItem: get checkbox state

2012-08-18 Thread Matthias Scholz
Hi, i use the FeatureInstaller.addPopupMenuItem(JPopupMenu popupMenu, PlugIn executable, String[] menuPath, String menuItemName, boolean checkBox, Icon icon, EnableCheck enableCheck) to add a PopupMenuItem with a checkbox. Is there an easy way to get the state of the chackbox inside

[JPP-Devel] I18N for an own plugin

2012-08-18 Thread Matthias Scholz
Hi, can anybody tell me how do i use the OJ I18N class to translate an own plugin? I mean, how do i say I18N that it should use my language property files? thanks Matthias -- _ __ ___ _ ___ __ _ Technologieconsulting Matthias Scholz Siebigeröder Str

Re: [JPP-Devel] Fwd: [jump-pilot - OpenJUMP Functions Problems] SLD export not compatible with GeoServer?

2012-08-18 Thread Martin Davis
In GeoServer it is possible to filter on geometry type, but using a platform-specific technique: http://docs.geoserver.org/stable/en/user/styling/sld-tipstricks/mixed-geometries.html But I'm not sure it's necessary to filter by type. The use of a PointSymbolizer ensures that every geometry is

Re: [JPP-Devel] Fwd: [jump-pilot - OpenJUMP Functions Problems] SLD export not compatible with GeoServer?

2012-08-18 Thread Rahkonen Jukka
Hi, I think this PropertyIsInstanceOf thing comes from the nice OJ feature of being able to hold mixed geometry types on a single layer. Almost nothing else in GIS world supports this. How about making SLD export to work only with single geometry type layers? Saving to shapefiles is doing somet

Re: [JPP-Devel] Fwd: [jump-pilot - OpenJUMP Functions Problems] SLD export not compatible with GeoServer?

2012-08-18 Thread Michaël Michaud
Hi, sld:Name location is easy to change (done on my local repository) oj:dummy can also be removed (don't know if it can break something, for deegree users but we must try it) Wonder where does PropertyIsInstanceOf come from and if there is a valid way to filter according to the geometry type,