Revision: 4909
          http://sourceforge.net/p/jump-pilot/code/4909
Author:   ma15569
Date:     2016-05-02 05:12:58 +0000 (Mon, 02 May 2016)
Log Message:
-----------
Add metadata recorder of wfs server url and wfs feature type (remote layer)

Modified Paths:
--------------
    core/trunk/src/de/latlon/deejump/wfs/plugin/WFSPlugIn.java

Modified: core/trunk/src/de/latlon/deejump/wfs/plugin/WFSPlugIn.java
===================================================================
--- core/trunk/src/de/latlon/deejump/wfs/plugin/WFSPlugIn.java  2016-04-28 
13:59:59 UTC (rev 4908)
+++ core/trunk/src/de/latlon/deejump/wfs/plugin/WFSPlugIn.java  2016-05-02 
05:12:58 UTC (rev 4909)
@@ -23,6 +23,7 @@
 import org.deegree.framework.util.StringTools;
 import org.deegree.model.spatialschema.JTSAdapter;
 import org.openjump.core.ccordsys.srid.SRIDStyle;
+import org.openjump.util.metaData.MetaInformationHandler;
 
 import com.vividsolutions.jts.geom.Coordinate;
 import com.vividsolutions.jts.geom.Envelope;
@@ -228,6 +229,12 @@
         }
       }
       sridStyle.setSRID(srid);
+      MetaInformationHandler metaInfHandler = new MetaInformationHandler(
+          layer);
+      metaInfHandler.addMetaInformation("wfs_server_url", panel
+          .getWfService().getBaseWfsURL());
+      metaInfHandler.addMetaInformation("wfs_feature_type",
+          panel.getFeatureType());
       // do not consider feature collection modified after just loading it
       layer.setFeatureCollectionModified(false);
     }


------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
_______________________________________________
Jump-pilot-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to