[JPP-Devel] Sextante modeler does work
Hi, I made some testing and managed to create a new process with the Sextante graphical modeler and run it with success. Necessary steps for me were: 1) Check and change it you want the folder where models are saved through Sextante settings -Models - Models folder. 2) Build the model and save it. 3) Close the modeler 4) Sextante Toolbox shows the new model in the tree under Models - Models 5) Double click the model - Run Modeler is not very user friendly because you can't run the model from the graphical view and the model must be valid before you can run the saved model, but I could make a simple buffer process and run it so fundamentally it works. Tested with OJ Plus snapshot r.4401 (1015-04-18) with a point layer. If I had any raster layers in the project (opened as Sextante raster) the toolbox throws an error about missing jts/geom/Envelope method. -Jukka Rahkonen- -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] SVN: [4424] core/trunk/src/language/jump_fi.properties
Revision: 4424 http://sourceforge.net/p/jump-pilot/code/4424 Author: jratike80 Date: 2015-05-06 09:46:48 + (Wed, 06 May 2015) Log Message: --- Updates to the Finnish language file. Modified Paths: -- core/trunk/src/language/jump_fi.properties Modified: core/trunk/src/language/jump_fi.properties === --- core/trunk/src/language/jump_fi.properties 2015-05-05 09:25:27 UTC (rev 4423) +++ core/trunk/src/language/jump_fi.properties 2015-05-06 09:46:48 UTC (rev 4424) @@ -19,6 +19,7 @@ com.vividsolutions.jump.workbench.plugin.At-least-n-features-must-be-selected=V\u00E4hint\u00E4\u00E4n {0} kohdetta on oltava valittuna com.vividsolutions.jump.workbench.plugin.At-least-n-features-must-have-selected-items=V\u00E4hint\u00E4\u00E4n {0} kohteella on oltava valittuja primitiivej\u00E4 com.vividsolutions.jump.workbench.plugin.At-least-n-items-must-be-selected=V\u00E4hint\u00E4\u00E4n {0} primitiivi\u00E4 on oltava valittuna +com.vividsolutions.jump.workbench.plugin.At-least-n-layerables-must-exist=V\u00E4hint\u00E4\u00E4n {0} tasoa on oltava olemassa com.vividsolutions.jump.workbench.plugin.At-least-n-layers-must-be-editable=V\u00E4hint\u00E4\u00E4n {0} tasoa on oltava muokkaustilassa com.vividsolutions.jump.workbench.plugin.At-least-n-layers-must-be-selected=V\u00E4hint\u00E4\u00E4n {0} tasoa on oltava valittuna com.vividsolutions.jump.workbench.plugin.At-least-n-layers-must-exist=V\u00E4hint\u00E4\u00E4n {0} tasoa on oltava olemassa @@ -422,18 +423,21 @@ jump.plugin.qa.DiffSegmentsPlugIn.Unmatched-Segments-in-Layer=Tasolla on sovittamattomia segmenttej\u00E4 jump.plugin.qa.DiffSegmentsPlugIn.Use-Distance-Tolerance=K\u00E4yt\u00E4 et\u00E4isyystoleranssia jump.workbench.ui.plugin.datastore.AddDatastoreLayerPanel.Cache-features=Vie kohteet levyv\u00E4limuistiin -jump.workbench.ui.plugin.datastore.AddDatastoreLayerPanel.Caching=Levyv\u00E4limuisti\: +jump.workbench.ui.plugin.datastore.AddDatastoreLayerPanel.Caching=Levyv\u00E4limuisti jump.workbench.ui.plugin.datastore.AddDatastoreLayerPanel.Dataset=Aineisto\: -jump.workbench.ui.plugin.datastore.AddDatastoreLayerPanel.Geometry=Geometria\: -jump.workbench.ui.plugin.datastore.AddDatastoreLayerPanel.Identifier=Tunniste\: -jump.workbench.ui.plugin.datastore.AddDatastoreLayerPanel.Max-Features=Kohteiden enimm\u00E4ism\u00E4\u00E4r\u00E4\: +jump.workbench.ui.plugin.datastore.AddDatastoreLayerPanel.Default=Oletus +jump.workbench.ui.plugin.datastore.AddDatastoreLayerPanel.Geometry=Geometria +jump.workbench.ui.plugin.datastore.AddDatastoreLayerPanel.Identifier=Tunniste +jump.workbench.ui.plugin.datastore.AddDatastoreLayerPanel.Layer=Taso +jump.workbench.ui.plugin.datastore.AddDatastoreLayerPanel.Max-Features=Kohteiden enimm\u00E4ism\u00E4\u00E4r\u00E4 +jump.workbench.ui.plugin.datastore.AddDatastoreLayerPanel.No-geo-table-found=Geometriatauluja ei l\u00F6ytynyt jump.workbench.ui.plugin.datastore.AddDatastoreLayerPanel.Prevents-unnecessary-queries-to-the-datastore=Est\u00E4\u00E4 turhia tietokantakyselyit\u00E4 jump.workbench.ui.plugin.datastore.AddDatastoreLayerPanel.Required-field-missing-Dataset=Pakollinen kentt\u00E4 puuttuu\: Aineisto jump.workbench.ui.plugin.datastore.AddDatastoreLayerPanel.Required-field-missing-Geometry=Pakollinen kentt\u00E4 puuttuu\: Geometria jump.workbench.ui.plugin.datastore.AddDatastoreLayerPanel.Retrieving-list-of-datasets=Hakee aineistolistan jump.workbench.ui.plugin.datastore.AddDatastoreLayerPanel.Retrieving-list-of-geometry-attributes=Hakee geometrioiden ominaisuustietolistan jump.workbench.ui.plugin.datastore.AddDatastoreLayerPanel.The-recommended-setting-is-to-leave-this-checked=On suositeltavaa pit\u00E4\u00E4 t\u00E4m\u00E4 asetus k\u00E4yt\u00F6ss\u00E4 -jump.workbench.ui.plugin.datastore.AddDatastoreLayerPanel.Where=Where\: +jump.workbench.ui.plugin.datastore.AddDatastoreLayerPanel.Where=Where jump.workbench.ui.plugin.datastore.AddDatastoreLayerPlugIn.Add-Datastore-Layer=Lis\u00E4\u00E4 tietokantataso jump.workbench.ui.plugin.datastore.AddDatastoreLayerPlugIn.Creating-layer=Luo tasoa jump.workbench.ui.plugin.datastore.ConnectionDescriptorPanel.Driver=Ohjain @@ -493,10 +497,10 @@ model.StandardCategoryNames.system=J\u00E4rjestelm\u00E4 model.StandardCategoryNames.working=Ty\u00F6tila org.openjump.core.rasterimage.AddRasterImageLayerWizard.can-not-determine-image-dimensions=Kuvan ulottuvuuksia ei voida p\u00E4\u00E4tell\u00E4 +org.openjump.core.rasterimage.AddRasterImageLayerWizard.message=Worldfile luotu tiedostolle ''{0}'' org.openjump.core.rasterimage.AddRasterImageLayerWizard.no-worldfile-found=Ei l\u00F6ytynyt worldfile\:\u00E4 +org.openjump.core.rasterimage.AddRasterImageLayerWizard.no-worldfile-found-message=Tiedostolle ''{0}'' ei l\u00F6ytynyt worldfile\:\u00E4 org.openjump.core.rasterimage.AddRasterImageLayerWizard.Sextante-Raster-Image=Sextante-rasterikuva
Re: [JPP-Devel] Sextante modeler does work
nice! thanks for trying (hard) and reporting! Am 06.05.15 um 06:15 schrieb Rahkonen Jukka (MML): Hi, I made some testing and managed to create a new process with the Sextante graphical modeler and run it with success. Necessary steps for me were: 1)Check and change it you want the folder where models are saved through Sextante settings –Models – Models folder. 2)Build the model and save it. 3)Close the modeler 4)Sextante Toolbox shows the new model in the tree under Models – Models 5)Double click the model – Run Modeler is not very user friendly because you can’t run the model from the graphical view and the model must be valid before you can run the saved model, but I could make a simple buffer process and run it so fundamentally it works. Tested with OJ Plus snapshot r.4401 (1015-04-18) with a point layer. If I had any raster layers in the project (opened as Sextante raster) the toolbox throws an error about missing jts/geom/Envelope method. -Jukka Rahkonen- -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] DB Query Plugin, SpatiaLite, GPKG and DATE data type
Hi Larry, The typeless nature of SQLite makes it perhaps impossible to treat the dates in a perfect way. There is some background info in this thread http://thread.gmane.org/gmane.comp.gis.gdal.devel/40172 Here follows a full test set-up. Start from an empty Spatialite DB and create test data with SQL. CREATE TABLE date_test (geometry GEOMETRY,date_field DATE); insert into date_test values (GeomFromText('POINT (1 1)',4326),'2015-05-06'); Execute with DB Query Plugin: select * from date_test; Result: --- Error when column is created as (date_iso DATE) java.sql.SQLException: Error parsing time stamp at org.sqlite.jdbc3.JDBC3ResultSet.getTimestamp(JDBC3ResultSet.java:538) at org.freevoice.jumpdbqueryextension.spatialite.JumpSpatialiteDbQuery.g etAttributeValueFromResults(JumpSpatialiteDbQuery.java:444) at org.freevoice.jumpdbqueryextension.AbstractJumpDbQuery.addFeatureToCo llection(AbstractJumpDbQuery.java:132) at org.freevoice.jumpdbqueryextension.spatialite.JumpSpatialiteDbQuery.g etCollection(JumpSpatialiteDbQuery.java:408) at org.freevoice.jumpdbqueryextension.JumpDbQueryPlugin.run(JumpDbQueryP lugin.java:172) at java.lang.Thread.run(Thread.java:724) Caused by: java.text.ParseException: Unparseable date: 2015-05-06 at java.text.DateFormat.parse(DateFormat.java:357) at org.sqlite.jdbc3.JDBC3ResultSet.getTimestamp(JDBC3ResultSet.java:535) ... 5 more Update date field to NULL with: update date_test set date_field=NULL; Repeat select * from date_test; Result now: --- java.lang.NullPointerException at org.freevoice.jumpdbqueryextension.spatialite.JumpSpatialiteDbQuery.g etAttributeValueFromResults(JumpSpatialiteDbQuery.java:444) at org.freevoice.jumpdbqueryextension.AbstractJumpDbQuery.addFeatureToCo llection(AbstractJumpDbQuery.java:132) at org.freevoice.jumpdbqueryextension.spatialite.JumpSpatialiteDbQuery.g etCollection(JumpSpatialiteDbQuery.java:408) at org.freevoice.jumpdbqueryextension.JumpDbQueryPlugin.run(JumpDbQueryP lugin.java:172) at java.lang.Thread.run(Thread.java:724) Activating Select Features Tool Make a little trick in the database: PRAGMA writable_schema = 1; update sqlite_master set sql='CREATE TABLE date_test (geometry GEOMETRY, date_field TEXT)' where name='date_test'; vacuum; Now the date_field column appears as TEXT type in the SQLite schema and we can run new tests: select * from date_test; update date_test set date_field='2015-05-06' select * from date_test; Result: --- Queries work. The date_field in OpenJUMP is of type String. I tested that if a column is defined as DATE or DATETIME in the SQLite schema then it is supposed to contain time values as the Unix time. What Even implemented into GDAL is that if data in the column are numbers then they are interpreted to be Julian days and if they are valid ISO time strings they are read as such. Otherwise NULL is returned. This may be too complicated for OpenJUMP and DB Query. I would be ready to accept a simple schema override: if schema is announcing field as DATE or DATETIME it is changed automatically and always into TEXT. Regards, -Jukka- Larry Reeder wrote: Jukka, can you send me the exception stack you are seeing, or even better, a small example SpatialLite DB file that contains the data causing the error, along with an example of the query you are using that causes the error?The SQLite and/or SpatiaLite JDBC drivers are responsible for providing a common interface to the database. In this case they should be converting the date string to a Java Timestamp object, but may be failing to do so. I'm travelling this week, but could take a look next week. Regards... lreeder On Wed, Apr 22, 2015 at 3:46 PM, Rahkonen Jukka (MML) jukka.rahko...@maanmittauslaitos.fimailto:jukka.rahko...@maanmittauslaitos.fi wrote: Hi, The SQLite/Spatialite/GeoPackage driver of the DB Query Plugin is reading data from a column that is recognized as a DATE with this code that comes from http://sourceforge.net/p/jumpdbqplugin/code/ci/default/tree/src/main/java/org/freevoice/jumpdbqueryextension/spatialite/JumpSpatialiteDbQuery.java (line 252) else if (AttributeType.DATE.equals(attributeType)) { returnObject = new Date(results.getTimestamp(dbColumnIndex).getTime()); } I found that the code gives an error if dates in the database are encoded into ISO text format, like 2015-04-23. After some experiments I started to think that results.getTimestamp(dbColumnIndex).getTime() awaits a number, perhaps an integer number, maybe UNIX seconds. It would be better to consider that all times in those databases (DATE, TIME, TIMESTAMP, DATETIME) are ISO strings. If date is not a valid ISO data string they it could be skipped and converted into NULL for OpenJUMP. That would be more user friendly than to stop parsing and quit. More details about times
Re: [JPP-Devel] 2 automatically generated layer(s) have not been saved yet.
Hi, Thanks to the snapshot library I could find that r4248 is good but since r4249 the issue is there though for me the message is that there is one unsaved layer. Changeset 4249 is this: 2015-01-03 Giuseppe Aruta (giuseppe_ar...@yahoo.it) * WorkbenchFrame. Add the list of layers with no datasource when confirm the close of a TaskFrame or the close of the application * LayerNameRenderer. Add Layer name and extension of layer at layer tooltip -Jukka Rahkonen- Uwe Dalluege wrote: Hi, when I open a project and whithout changing anything I do FileExit I receive the message: Do you really want to close OpenJUMP? 2 automatically generated layer(s) have not been saved yet. What is the cause of this message? Which layers where automatically generated? I tested it with OJ 1.8 20150429 rev. 4413. Regards Uwe -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] Wrong attribute values after buffering
Hi, ToolsAnalysisBuffer... assign wrong attribute values to the new buffered features: 1. Draw 4 polygons on a new layer. 2. With SchemaView/Edit Schema add an new attribute. 3. Give the 4 polygons attribute values. 4. ToolsAnalysisBuffer... Everything is fine... the polygons on the buffer-layer have the same attribute values like the primary polygons. 5. Do not remove the buffer-layer. 6. Add another 4 polygons to the first layer and give them attribute values (now we have 8 polygons on the new layer). 7. ToolsAnalysisBuffer... 8. Now the attribute values of the buffered layer are wrong! The buffered polygons have differend attribute values than the primary polygons. I tested it with OJ 1.8 20150429 rev. 4413. Regards Uwe -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] 2 automatically generated layer(s) have not been saved yet.
Hi, when I open a project and whithout changing anything I do FileExit I receive the message: Do you really want to close OpenJUMP? 2 automatically generated layer(s) have not been saved yet. What is the cause of this message? Which layers where automatically generated? I tested it with OJ 1.8 20150429 rev. 4413. Regards Uwe -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Wrong attribute values after buffering
Hi, Thanks Uwe, Jukka ! I get it ! Should be fixed in r4425. Please test. Michaël Le 06/05/2015 23:47, Rahkonen Jukka (MML) a écrit : Hi, I can reproduce. The second buffer layer has correct number of features (8) and correct attributes, but some attributes have gone to different features. That is fastest to check with the feature info tool. -Jukka Rahkonen- Michaël Michaud wrote: Hi Uwe, I can't reproduce the problem. In step 7 you apply the buffer to the first layer right ? So at the end, you have 3 different layers : - first layer - buffered layer with 4 features - buffered layer with 8 features Can you save the jml of these three layers ? Michaël Le 06/05/2015 14:40, Uwe Dalluege a écrit : Hi, ToolsAnalysisBuffer... assign wrong attribute values to the new buffered features: 1. Draw 4 polygons on a new layer. 2. With SchemaView/Edit Schema add an new attribute. 3. Give the 4 polygons attribute values. 4. ToolsAnalysisBuffer... Everything is fine... the polygons on the buffer-layer have the same attribute values like the primary polygons. 5. Do not remove the buffer-layer. 6. Add another 4 polygons to the first layer and give them attribute values (now we have 8 polygons on the new layer). 7. ToolsAnalysisBuffer... 8. Now the attribute values of the buffered layer are wrong! The buffered polygons have differend attribute values than the primary polygons. I tested it with OJ 1.8 20150429 rev. 4413. Regards Uwe -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
[JPP-Devel] SVN: [4425] core/trunk
Revision: 4425 http://sourceforge.net/p/jump-pilot/code/4425 Author: michaudm Date: 2015-05-06 22:38:39 + (Wed, 06 May 2015) Log Message: --- Fix bug in Buffer plugin Modified Paths: -- core/trunk/ChangeLog core/trunk/src/com/vividsolutions/jump/workbench/ui/plugin/analysis/BufferPlugIn.java Modified: core/trunk/ChangeLog === --- core/trunk/ChangeLog2015-05-06 09:46:48 UTC (rev 4424) +++ core/trunk/ChangeLog2015-05-06 22:38:39 UTC (rev 4425) @@ -1,5 +1,8 @@ # for display continuity sake please use 2 spaces instead of tabs +2015-05-07 + * Fix a horrible bug in Buffer plugin (attributes were not preserved) + 2015-05-04 ede oj_linux.sh * fix Gentoo java version '' insufficient bug Modified: core/trunk/src/com/vividsolutions/jump/workbench/ui/plugin/analysis/BufferPlugIn.java === --- core/trunk/src/com/vividsolutions/jump/workbench/ui/plugin/analysis/BufferPlugIn.java 2015-05-06 09:46:48 UTC (rev 4424) +++ core/trunk/src/com/vividsolutions/jump/workbench/ui/plugin/analysis/BufferPlugIn.java 2015-05-06 22:38:39 UTC (rev 4425) @@ -315,61 +315,6 @@ else { createNewLayer(monitor, context, inputFD, resultMap, featureSchema); } - -/* -// Post-process result -if ((Boolean) getParameter(P_COPY_ATTRIBUTE)) { -FeatureCollection resultFeatureColl = new FeatureDataset(featureSchema); -Iterator iResult = resultMap.values().iterator(); -for (Iterator iSource = inputFD.iterator(); iSource.hasNext(); ) { -Feature sourceFeature = (Feature) iSource.next(); -Geometry gResult = (Geometry) iResult.next(); -if (!(gResult == null || gResult.isEmpty())) { -Feature newFeature = sourceFeature.clone(false); -newFeature.setGeometry(gResult); -resultFeatureColl.add(newFeature); -} -// If both left and right side buffer have been computed -// we have 2 features in resultGeomColl for every single feature in InputFD -//if ((Boolean)getParameter(P_LEFT_SINGLE_SIDED) (Boolean)getParameter(P_RIGHT_SINGLE_SIDED)) { -//gResult = (Geometry) iResult.next(); -//if (!(gResult == null || gResult.isEmpty())) { -//Feature newFeature = sourceFeature.clone(false); -//newFeature.setGeometry(gResult); -//resultFeatureColl.add(newFeature); -//} -//} -if (monitor.isCancelRequested()) break; -} -resultFC = resultFeatureColl; -} else { -resultFC = FeatureDatasetFactory.createFromGeometry(resultMap.values()); -} -if ((Boolean)getParameter(P_UNION_RESULT)) { - monitor.report(I18N.get(ui.plugin.analysis.BufferPlugIn.union-buffered-features)); -Collection geoms = FeatureUtil.toGeometries(resultFC.getFeatures()); -Geometry g = UnaryUnionOp.union(geoms); -geoms.clear(); -if (!(g == null || g.isEmpty())) geoms.add(g); -resultFC = FeatureDatasetFactory.createFromGeometry(geoms); -} -if (resultFC.isEmpty()) { -context.getWorkbenchFrame() - .warnUser(I18N.get(ui.plugin.analysis.BufferPlugIn.empty-result-set)); -return; -} - context.getLayerManager().addCategory(StandardCategoryNames.RESULT); -String name; -if (!(Boolean) getParameter(UseSelection)) -name = layer.getName(); -else -name = I18N.get(ui.MenuNames.SELECTION); -name = I18N.get(com.vividsolutions.jump.workbench.ui.plugin.analysis.BufferPlugIn) + - + name; -//if (endCapStyleCode != BufferParameters.CAP_ROUND) { -//name = name + - + endCapStyle(endCapStyleCode); -//} -context.addLayer(StandardCategoryNames.RESULT, name, resultFC); -*/ } catch(Exception e) { throw e; } @@ -383,10 +328,9 @@ FeatureCollection resultFC = new FeatureDataset(featureSchema); if ((Boolean) getParameter(P_COPY_ATTRIBUTE)) { FeatureCollection resultFeatureColl = new FeatureDataset(featureSchema); -Iterator iResult = resultMap.values().iterator(); for (Iterator iSource = inputFD.iterator(); iSource.hasNext(); ) { Feature sourceFeature = (Feature) iSource.next(); -
Re: [JPP-Devel] Wrong attribute values after buffering
Hi Uwe, I can't reproduce the problem. In step 7 you apply the buffer to the first layer right ? So at the end, you have 3 different layers : - first layer - buffered layer with 4 features - buffered layer with 8 features Can you save the jml of these three layers ? Michaël Le 06/05/2015 14:40, Uwe Dalluege a écrit : Hi, ToolsAnalysisBuffer... assign wrong attribute values to the new buffered features: 1. Draw 4 polygons on a new layer. 2. With SchemaView/Edit Schema add an new attribute. 3. Give the 4 polygons attribute values. 4. ToolsAnalysisBuffer... Everything is fine... the polygons on the buffer-layer have the same attribute values like the primary polygons. 5. Do not remove the buffer-layer. 6. Add another 4 polygons to the first layer and give them attribute values (now we have 8 polygons on the new layer). 7. ToolsAnalysisBuffer... 8. Now the attribute values of the buffered layer are wrong! The buffered polygons have differend attribute values than the primary polygons. I tested it with OJ 1.8 20150429 rev. 4413. Regards Uwe -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Wrong attribute values after buffering
Hi, I can reproduce. The second buffer layer has correct number of features (8) and correct attributes, but some attributes have gone to different features. That is fastest to check with the feature info tool. -Jukka Rahkonen- Michaël Michaud wrote: Hi Uwe, I can't reproduce the problem. In step 7 you apply the buffer to the first layer right ? So at the end, you have 3 different layers : - first layer - buffered layer with 4 features - buffered layer with 8 features Can you save the jml of these three layers ? Michaël Le 06/05/2015 14:40, Uwe Dalluege a écrit : Hi, ToolsAnalysisBuffer... assign wrong attribute values to the new buffered features: 1. Draw 4 polygons on a new layer. 2. With SchemaView/Edit Schema add an new attribute. 3. Give the 4 polygons attribute values. 4. ToolsAnalysisBuffer... Everything is fine... the polygons on the buffer-layer have the same attribute values like the primary polygons. 5. Do not remove the buffer-layer. 6. Add another 4 polygons to the first layer and give them attribute values (now we have 8 polygons on the new layer). 7. ToolsAnalysisBuffer... 8. Now the attribute values of the buffered layer are wrong! The buffered polygons have differend attribute values than the primary polygons. I tested it with OJ 1.8 20150429 rev. 4413. Regards Uwe -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Sextante modeler does work
Thanks Jukka, I was worried that Medeler was not working anymore. I did a couple of tests (create Aspect and Sample point layer), following your procedure with the same OJ version, and everything works fine. I am going to reactivate modeler on next NB and write down your notes on Sextante On-line page (http://ojwiki.soldin.de/index.php?title=Sextante). Thanks again Peppe PS: The test I did few days ago, Modeler was not able neither to save nor to open a model. Today I discover that in my computer Modeler checks new models into GvSIG prefigured folders (gvSIG-desktop/gvSIG-desktop-2.1.0/gvSIG/extensiones/org.gvsig.geoprocess.app.mainplugin/modeler in my case). I wonder (and I will check) if this would have been the reason of the first failure (I reinstalled GvSIG in those days to do a comparison). So even models configured with GvSIG are read, This can be a good news for people who use both software. 2015-05-06 15:21 GMT+02:00 Stefan Steiniger sst...@geo.uzh.ch: nice! thanks for trying (hard) and reporting! Am 06.05.15 um 06:15 schrieb Rahkonen Jukka (MML): Hi, I made some testing and managed to create a new process with the Sextante graphical modeler and run it with success. Necessary steps for me were: 1)Check and change it you want the folder where models are saved through Sextante settings –Models – Models folder. 2)Build the model and save it. 3)Close the modeler 4)Sextante Toolbox shows the new model in the tree under Models – Models 5)Double click the model – Run Modeler is not very user friendly because you can’t run the model from the graphical view and the model must be valid before you can run the saved model, but I could make a simple buffer process and run it so fundamentally it works. Tested with OJ Plus snapshot r.4401 (1015-04-18) with a point layer. If I had any raster layers in the project (opened as Sextante raster) the toolbox throws an error about missing jts/geom/Envelope method. -Jukka Rahkonen- -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ Jump-pilot-devel mailing list Jump-pilot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel
Re: [JPP-Devel] Sextante tools and model builder..
Thanks for the information. Would you please tell me the code respositoy where I could find the SEXTANTE and OJ binding source code are located. Teva On Tue, May 5, 2015 at 10:16 AM, Giuseppe Aruta giuseppe_ar...@yahoo.it wrote: One day we should save our copy of Sextante, as source code. I think that OJ and GvSIG CE versions have been diverged a bit, at least on Gass and other software recognition. I made a new page on our on-line manual to describe all the information available about Sextante, the available documentation in English, OpenJUMP and Sextante integration, a comparision between some most used Raster analysis functionalities between ArcGIS Spatial Analyst and Sextante and eventually some technical notes. The page is available here : http://ojwiki.soldin.de/index.php?title=Sextante Peppe 2015-05-04 2:22 GMT+02:00 Sstein sst...@geo.uzh.ch: Hi, Yes - Peppe is right: we don't have the sextante sources. Only the sources for the bindings. The sources are indeed on gvsig ce repository and before that were elsewhere. I think we would need to check what is the last sextante version nr we have. The 3 libs mentioned by Peppe are the base, but then, other libs are needed too by sextante, such as jfreechart and common, as i wrote in the lib info for the OJ horae plugin. I should have a checked out copy from gvSIG, probably now 2+ years old, if that is of any help... Phewww, so long time ago... Cheers, Stefan El 03-05-2015, a las 10:38, Giuseppe Aruta giuseppe_ar...@yahoo.it escribió: Mmh., I think that core Sextante jars are sextante.jar, sextante_gui.jar and sextante_algorithms.jar. We should investigate on the first two ones to understand Modeler bugs. The source codes of these jars are stored by GvSIG ce ( http://gvsigce.sourceforge.net/sextante_web/source.html). Anyhow their version is an upgrade or OpenJUMP one (more GRASS and SAGA links). I think we don't have a copy of the source code (of these three files) on our SVN repository Probably Stefan knows better the story. Peppe 2015-05-03 10:19 GMT+02:00 edgar.sol...@web.de: close, but missed ;) sextante extension's sources can be found in a plugins repo subfolder https://sourceforge.net/p/jump-pilot/code/HEAD/tree/plug-ins/SextantePlugIn/ the 'lib/plus' path below merely contains compiled extensions and their dependencies for packaging PLUS w/o fetching these from all over the internet. ..ede On 03.05.2015 09:05, Rahkonen Jukka (MML) wrote: Hi, See the sextante and sextante-help directories in https://sourceforge.net/p/jump-pilot/code/HEAD/tree/core/trunk/lib/plus/ -Jukka Rahkonen- -- **Teva veluppillai wrote: Giuseppe Aruta, I found Sextante in the following version: Version 1.8.0 release rev.4164 01. December 2014. I installed it on Windows 7 OS. Running status of SEXTATNE: I was not able to run model builder however, I am able to run a few tools. Would you please tell me where could I get its source code? Thanks! Teva On Thu, Apr 30, 2015 at 12:38 AM, Giuseppe Aruta giuseppe_ar...@yahoo.it mailto:giuseppe_ar...@yahoo.it wrote: Hi Teva, I deactivated Sextante model builder on OJ Night snapshot as it is not working in OpenJUMP. This is a bug connected to original Sextante framework, since probably Sextante version 0.6 - the first embedded into OpenJUMP. A post was sent to this (developer) and User lists a week ago, asking users to give a feedback about this plugin ( https://groups.google.com/forum/#!topic/openjump-users/8InQ_08QMb4 https://groups.google.com/forum/#%21topic/openjump-users/8InQ_08QMb4) Could you just explain your experience with OpenJUMP and Sextante Modeler, if you had before? Was it working? Which version of OpenJUMP were you using? Which Operative System? Your answers to these questions would be of great usage. If you feel that OJ is working for you, I can reactivate on next realize.