Revision: 5048
          http://sourceforge.net/p/jump-pilot/code/5048
Author:   michaudm
Date:     2016-10-06 06:53:18 +0000 (Thu, 06 Oct 2016)
Log Message:
-----------
fix #428 (introduced during ProjUtil refactoring)

Modified Paths:
--------------
    core/trunk/ChangeLog
    
core/trunk/src/org/openjump/core/ui/plugin/layer/NewLayerPropertiesPlugIn.java

Modified: core/trunk/ChangeLog
===================================================================
--- core/trunk/ChangeLog        2016-10-06 06:44:39 UTC (rev 5047)
+++ core/trunk/ChangeLog        2016-10-06 06:53:18 UTC (rev 5048)
@@ -6,6 +6,7 @@
 2016-10-06 mmichaud <[email protected]>
   * Use URI_KEY and FILE_KEY properties for file based datasources
     in order to keep compatibility with legacy plugins
+  * fix #428 (introduced during ProjUtil refactoring)
 
 2016-10-05 mmichaud <[email protected]>
   * Fix #431 : Save project with unsaved layers

Modified: 
core/trunk/src/org/openjump/core/ui/plugin/layer/NewLayerPropertiesPlugIn.java
===================================================================
--- 
core/trunk/src/org/openjump/core/ui/plugin/layer/NewLayerPropertiesPlugIn.java  
    2016-10-06 06:44:39 UTC (rev 5047)
+++ 
core/trunk/src/org/openjump/core/ui/plugin/layer/NewLayerPropertiesPlugIn.java  
    2016-10-06 06:53:18 UTC (rev 5048)
@@ -723,7 +723,8 @@
 
 
         private void setInfoProjection(Layer[] layers) throws Exception {
-            SRSInfo srsInfo = 
ProjUtils.getSRSInfoFromLayerStyleOrSource(layers[0]);
+            //SRSInfo srsInfo = 
ProjUtils.getSRSInfoFromLayerStyleOrSource(layers[0]);
+            SRSInfo srsInfo = ProjUtils.getSRSInfoFromLayerSource(layers[0]);
             label_Coordinate_file = srsInfo.getSource();
             label_Coordinate = String.format("%s:%s",
                     srsInfo.getRegistry(), srsInfo.getCode());


------------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel

Reply via email to