[JPP-Devel] SVN: [5716] core/trunk/src

2018-03-22 Thread jump-pilot-svn--- via Jump-pilot-devel
Revision: 5716
  http://sourceforge.net/p/jump-pilot/code/5716
Author:   ma15569
Date: 2018-03-22 14:03:21 + (Thu, 22 Mar 2018)
Log Message:
---
improved dxf export

Modified Paths:
--
core/trunk/src/it/betastudio/adbtoolbox/libs/DxfExport.java

core/trunk/src/org/openjump/sextante/gui/additionalResults/AdditionalResultsFrame.java

Modified: core/trunk/src/it/betastudio/adbtoolbox/libs/DxfExport.java
===
--- core/trunk/src/it/betastudio/adbtoolbox/libs/DxfExport.java 2018-03-15 
06:22:35 UTC (rev 5715)
+++ core/trunk/src/it/betastudio/adbtoolbox/libs/DxfExport.java 2018-03-22 
14:03:21 UTC (rev 5716)
@@ -3,9 +3,9 @@
 import java.io.BufferedWriter;
 import java.io.File;
 import java.io.FileWriter;
+
 import javax.swing.JOptionPane;
 
-
 /**
  *
  * @author Beta Studio
@@ -12,13 +12,13 @@
  */
 public class DxfExport {
 
-public DxfExport(){
+public DxfExport() {
 
 dxfOut = new String();
 
 }
 
-public void writeHeader(double minX, double minY, double maxX, double 
maxY){
+public void writeHeader(double minX, double minY, double maxX, double 
maxY) {
 
 dxfOut = "0";
 appString("SECTION");
@@ -45,7 +45,7 @@
 appString(maxY);
 appString(30);
 appString(0);
-
+
 appString(9);
 appString("$LIMMIN");
 appString(10);
@@ -58,16 +58,16 @@
 appString(maxX);
 appString(20);
 appString(maxY);
-//appString(9);
-//appString("$CLAYER");
-//appString(8);
-//appString(layerName);
+// appString(9);
+// appString("$CLAYER");
+// appString(8);
+// appString(layerName);
 appString(0);
 appString("ENDSEC");
 
 }
 
-public void writeStartSec(){
+public void writeStartSec() {
 
 appString(0);
 appString("SECTION");
@@ -74,7 +74,7 @@
 
 }
 
-public void writeEndSec(){
+public void writeEndSec() {
 
 appString(0);
 appString("ENDSEC");
@@ -81,29 +81,29 @@
 
 }
 
-public void writeTablesStart(){
-
+public void writeTablesStart() {
+
 appString(2);
-appString("TABLES");
-
+appString("TABLES");
+
 }
-
-public void writeTableStart(){
-
+
+public void writeTableStart() {
+
 appString(0);
-appString("TABLE");   
-
+appString("TABLE");
+
 }
 
-public void writeTableEnd(){
-
+public void writeTableEnd() {
+
 appString(0);
-appString("ENDTAB");  
-
+appString("ENDTAB");
+
 }
-
-public void writeLayersStart(){
 
+public void writeLayersStart() {
+
 appString(2);
 appString("LAYER");
 appString(70);
@@ -111,7 +111,7 @@
 
 }
 
-public void writeLayer(String layName, int colourNr){
+public void writeLayer(String layName, int colourNr) {
 
 appString(0);
 appString("LAYER");
@@ -125,9 +125,10 @@
 appString("CONTINUOUS");
 
 }
-
-public void writeVPort(double centerX, double centerY, double minX, double 
minY, double maxX, double maxY){
 
+public void writeVPort(double centerX, double centerY, double minX,
+double minY, double maxX, double maxY) {
+
 appString(2);
 appString("VPORT");
 appString(5);
@@ -215,16 +216,16 @@
 appString(78);
 appString(0);
 
-}
+}
 
-public void writeEntStart(){
-
+public void writeEntStart() {
+
 appString(2);
 appString("ENTITIES");
 
 }
 
-public void writeAppId(){
+public void writeAppId() {
 
 appString(2);
 appString("APPID");
@@ -246,7 +247,7 @@
 appString("ACAD");
 appString(70);
 appString(0);
-
+
 }
 
 public void writeEnding() {
@@ -259,7 +260,8 @@
 
 }
 
-public void writeLine(String layName, double p1x, double p1y, double p2x, 
double p2y){
+public void writeLine(String layName, double p1x, double p1y, double p2x,
+double p2y) {
 
 appString("0");
 appString("LINE");
@@ -276,30 +278,59 @@
 
 }
 
-public void writePolyline(String layName, double[][] vertices){
+/**
+ * @param layName
+ * @param lineType
+ *( DASHED - DOTTED -DOTTINY etc)
+ * @param p1x
+ * @param p1y
+ * @param p2x
+ * @param p2y
+ */
+public void writeLineType(String layName, String lineType, double p1x,
+double p1y, double p2x, double p2y) {
 
+appString("0");
+appString("LINE");
+appString(8);
+appString(layName);
+appString(6);
+appString(lineType);
+appString("10");
+appString(p1x);
+appString("20");
+appString(p1y);
+appString("11");
+appString(p2x);
+

Re: [JPP-Devel] Time to say goodbye

2018-03-22 Thread Giuseppe Aruta
Hi Uwe
I want to say thank you for all your efforts to help OpenJUMP project to be
"on the road" - and to help us users to understand " Geoinformatik "
Hopefully you will be in Bologna one day. It will be a pleasure for me too
to meet you
Best wishes for your future

Peppe


2018-03-22 8:32 GMT+01:00 Michaël Michaud :

> Hi Uwe,
>
> Hey, this is probably good news for you (not so good for the project ;-)
>
> It was a pleasure. You probably wrote the best documention ever about how
> to use OpenJUMP. We will miss you.
>
> Anyway, you may need OpenJUMP even if you're retired, so I hope to hear
> you again, and maybe to see you one day if your travel take you to Paris.
>
> Greetings from Paris,
>
> Michaël
>
>
>
>
> Le 22/03/2018 à 08:04, Uwe Dalluege a écrit :
>
>> Hi,
>>
>> now it is time to say goodbye because I will retire.
>>
>> Thank you for all your help and support!
>> It was a nice time with you and OpenJUMP.
>>
>> I wish you all the best for the future!
>>
>> Greetings from Hamburg
>>
>> Uwe
>>
>>
>> --
>>
>> 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


Re: [JPP-Devel] Time to say goodbye

2018-03-22 Thread Michaël Michaud

Hi Uwe,

Hey, this is probably good news for you (not so good for the project ;-)

It was a pleasure. You probably wrote the best documention ever about 
how to use OpenJUMP. We will miss you.


Anyway, you may need OpenJUMP even if you're retired, so I hope to hear 
you again, and maybe to see you one day if your travel take you to Paris.


Greetings from Paris,

Michaël



Le 22/03/2018 à 08:04, Uwe Dalluege a écrit :

Hi,

now it is time to say goodbye because I will retire.

Thank you for all your help and support!
It was a nice time with you and OpenJUMP.

I wish you all the best for the future!

Greetings from Hamburg

Uwe


-- 


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


[JPP-Devel] Time to say goodbye

2018-03-22 Thread Uwe Dalluege

Hi,

now it is time to say goodbye because I will retire.

Thank you for all your help and support!
It was a nice time with you and OpenJUMP.

I wish you all the best for the future!

Greetings from Hamburg

Uwe


--
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