Revision 37377
tags/v2_0_0_Build_2041/libraries/libFMap_dalfile/src-test/org/gvsig/fmap/dal/explorer/filesystem/FileSystemExplorerTest.java | ||
---|---|---|
1 |
/* gvSIG. Geographic Information System of the Valencian Government |
|
2 |
* |
|
3 |
* Copyright (C) 2007-2008 Infrastructures and Transports Department |
|
4 |
* of the Valencian Government (CIT) |
|
5 |
* |
|
6 |
* This program is free software; you can redistribute it and/or |
|
7 |
* modify it under the terms of the GNU General Public License |
|
8 |
* as published by the Free Software Foundation; either version 2 |
|
9 |
* of the License, or (at your option) any later version. |
|
10 |
* |
|
11 |
* This program is distributed in the hope that it will be useful, |
|
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
14 |
* GNU General Public License for more details. |
|
15 |
* |
|
16 |
* You should have received a copy of the GNU General Public License |
|
17 |
* along with this program; if not, write to the Free Software |
|
18 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
19 |
* MA 02110-1301, USA. |
|
20 |
* |
|
21 |
*/ |
|
22 |
|
|
23 |
/* |
|
24 |
* AUTHORS (In addition to CIT): |
|
25 |
* 2008 IVER T.I. S.A. {{Task}} |
|
26 |
*/ |
|
27 |
|
|
28 |
package org.gvsig.fmap.dal.explorer.filesystem; |
|
29 |
|
|
30 |
import java.io.File; |
|
31 |
import java.util.Iterator; |
|
32 |
import java.util.List; |
|
33 |
|
|
34 |
import org.gvsig.fmap.dal.DALLocator; |
|
35 |
import org.gvsig.fmap.dal.DataManager; |
|
36 |
import org.gvsig.fmap.dal.DataServerExplorer; |
|
37 |
import org.gvsig.fmap.dal.DataStoreParameters; |
|
38 |
import org.gvsig.fmap.dal.DataTypes; |
|
39 |
import org.gvsig.fmap.dal.NewDataStoreParameters; |
|
40 |
import org.gvsig.fmap.dal.feature.EditableFeatureType; |
|
41 |
import org.gvsig.fmap.dal.feature.NewFeatureStoreParameters; |
|
42 |
import org.gvsig.fmap.dal.serverexplorer.filesystem.FilesystemServerExplorer; |
|
43 |
import org.gvsig.fmap.dal.serverexplorer.filesystem.FilesystemServerExplorerParameters; |
|
44 |
import org.gvsig.fmap.dal.serverexplorer.filesystem.FilesystemStoreParameters; |
|
45 |
import org.gvsig.fmap.dal.store.dbf.DBFStoreParameters; |
|
46 |
import org.gvsig.fmap.dal.store.dbf.DBFStoreProvider; |
|
47 |
import org.gvsig.fmap.dal.store.dbf.TestDBF; |
|
48 |
import org.gvsig.tools.junit.AbstractLibraryAutoInitTestCase; |
|
49 |
|
|
50 |
public class FileSystemExplorerTest extends AbstractLibraryAutoInitTestCase { |
|
51 |
|
|
52 |
private static DataManager dataManager = null; |
|
53 |
public static final File dbf_data = new File(TestDBF.class.getResource( |
|
54 |
"data/prueba.dbf").getFile()).getParentFile(); |
|
55 |
|
|
56 |
@Override |
|
57 |
protected void doSetUp() throws Exception { |
|
58 |
dataManager = DALLocator.getDataManager(); |
|
59 |
} |
|
60 |
|
|
61 |
public void testList() throws Exception { |
|
62 |
FilesystemServerExplorerParameters exParam = (FilesystemServerExplorerParameters) dataManager |
|
63 |
.createServerExplorerParameters(FilesystemServerExplorer.NAME); |
|
64 |
|
|
65 |
exParam.setRoot(dbf_data.getPath()); |
|
66 |
|
|
67 |
DataServerExplorer ex = dataManager.createServerExplorer(exParam); |
|
68 |
|
|
69 |
List list = ex.list(); |
|
70 |
|
|
71 |
assertEquals(2, list.size()); |
|
72 |
|
|
73 |
if (((FilesystemStoreParameters) list.get(0)).getFile().getPath() |
|
74 |
.equals(TestDBF.dbf_prueba.getPath())) { |
|
75 |
assertEquals(((FilesystemStoreParameters) list.get(1)).getFile() |
|
76 |
.getPath(), TestDBF.dbf_pruebaNull.getPath()); |
|
77 |
|
|
78 |
} else { |
|
79 |
assertEquals(((FilesystemStoreParameters) list.get(0)).getFile() |
|
80 |
.getPath(), TestDBF.dbf_pruebaNull.getPath()); |
|
81 |
assertEquals(((FilesystemStoreParameters) list.get(1)).getFile() |
|
82 |
.getPath(), TestDBF.dbf_prueba.getPath()); |
|
83 |
} |
|
84 |
|
|
85 |
Iterator iter = list.iterator(); |
|
86 |
TestDBF testDBF = new TestDBF(); |
|
87 |
while (iter.hasNext()) { |
|
88 |
testDBF.testSimpleIteration((DBFStoreParameters) iter.next()); |
|
89 |
} |
|
90 |
|
|
91 |
|
|
92 |
|
|
93 |
} |
|
94 |
|
|
95 |
private boolean deleteDir(File dir) { |
|
96 |
File[] files = dir.listFiles(); |
|
97 |
for (int i = 0; i < files.length; i++) { |
|
98 |
if (files[i].isDirectory()) { |
|
99 |
if (!deleteDir(files[i])) { |
|
100 |
return false; |
|
101 |
} |
|
102 |
} |
|
103 |
if (!files[i].delete()) { |
|
104 |
return false; |
|
105 |
} |
|
106 |
} |
|
107 |
return dir.delete(); |
|
108 |
} |
|
109 |
|
|
110 |
public void testAddRemove() throws Exception { |
|
111 |
File tmpDir = new File("target/_FilesystemExplorer.tmp"); |
|
112 |
|
|
113 |
if (tmpDir.exists()) { |
|
114 |
if (!deleteDir(tmpDir)) { |
|
115 |
fail("Clean tmp dir:" + tmpDir.getAbsolutePath()); |
|
116 |
} |
|
117 |
} |
|
118 |
|
|
119 |
tmpDir.mkdir(); |
|
120 |
|
|
121 |
FilesystemServerExplorerParameters exParam = (FilesystemServerExplorerParameters) dataManager |
|
122 |
.createServerExplorerParameters(FilesystemServerExplorer.NAME); |
|
123 |
|
|
124 |
exParam.setRoot(tmpDir.getAbsolutePath()); |
|
125 |
|
|
126 |
DataServerExplorer ex = dataManager.createServerExplorer(exParam); |
|
127 |
|
|
128 |
assertTrue(ex.canAdd()); |
|
129 |
|
|
130 |
assertTrue(ex.canAdd(DBFStoreProvider.NAME)); |
|
131 |
|
|
132 |
assertEquals(0, ex.list().size()); |
|
133 |
|
|
134 |
NewDataStoreParameters newParams = ex |
|
135 |
.getAddParameters(DBFStoreProvider.NAME); |
|
136 |
|
|
137 |
((FilesystemStoreParameters) newParams).setFile(new File(tmpDir, |
|
138 |
"tmp1.dbf")); |
|
139 |
EditableFeatureType fType; |
|
140 |
if (((NewFeatureStoreParameters) newParams).getDefaultFeatureType() instanceof EditableFeatureType) { |
|
141 |
fType = (EditableFeatureType) ((NewFeatureStoreParameters) newParams) |
|
142 |
.getDefaultFeatureType(); |
|
143 |
} else { |
|
144 |
fType = ((NewFeatureStoreParameters) newParams) |
|
145 |
.getDefaultFeatureType().getEditable(); |
|
146 |
} |
|
147 |
fType.add("campo1", DataTypes.STRING).setSize(10); |
|
148 |
((NewFeatureStoreParameters) newParams).setDefaultFeatureType(fType); |
|
149 |
ex.add(DBFStoreProvider.NAME, newParams, false); |
|
150 |
|
|
151 |
List list = ex.list(); |
|
152 |
assertEquals(1, list.size()); |
|
153 |
|
|
154 |
Iterator iter = list.iterator(); |
|
155 |
TestDBF testDBF = new TestDBF(); |
|
156 |
while (iter.hasNext()) { |
|
157 |
testDBF.testSimpleIteration((DBFStoreParameters) iter.next()); |
|
158 |
} |
|
159 |
|
|
160 |
ex.remove((DataStoreParameters) list.get(0)); |
|
161 |
|
|
162 |
assertEquals(0, ex.list().size()); |
|
163 |
|
|
164 |
|
|
165 |
} |
|
166 |
} |
|
0 | 167 |
tags/v2_0_0_Build_2041/libraries/libFMap_dalfile/src-test/org/gvsig/fmap/dal/store/dxf/TestDXF.java | ||
---|---|---|
1 |
/* gvSIG. Geographic Information System of the Valencian Government |
|
2 |
* |
|
3 |
* Copyright (C) 2007-2008 Infrastructures and Transports Department |
|
4 |
* of the Valencian Government (CIT) |
|
5 |
* |
|
6 |
* This program is free software; you can redistribute it and/or |
|
7 |
* modify it under the terms of the GNU General Public License |
|
8 |
* as published by the Free Software Foundation; either version 2 |
|
9 |
* of the License, or (at your option) any later version. |
|
10 |
* |
|
11 |
* This program is distributed in the hope that it will be useful, |
|
12 |
* but WITHOUT ANY WARRANTY; without even the implied warranty of |
|
13 |
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
|
14 |
* GNU General Public License for more details. |
|
15 |
* |
|
16 |
* You should have received a copy of the GNU General Public License |
|
17 |
* along with this program; if not, write to the Free Software |
|
18 |
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, |
|
19 |
* MA 02110-1301, USA. |
|
20 |
* |
|
21 |
*/ |
|
22 |
|
|
23 |
/* |
|
24 |
* AUTHORS (In addition to CIT): |
|
25 |
* 2008 IVER T.I. S.A. {{Task}} |
|
26 |
*/ |
|
27 |
|
|
28 |
package org.gvsig.fmap.dal.store.dxf; |
|
29 |
|
|
30 |
import java.io.File; |
|
31 |
|
|
32 |
import org.gvsig.fmap.dal.DataStoreParameters; |
|
33 |
import org.gvsig.fmap.dal.exception.DataException; |
|
34 |
import org.gvsig.fmap.dal.feature.BaseTestFeatureStore; |
|
35 |
import org.gvsig.fmap.dal.feature.FeatureStore; |
|
36 |
|
|
37 |
public class TestDXF extends BaseTestFeatureStore { |
|
38 |
|
|
39 |
public static final File file_prueba = new File(TestDXF.class.getResource( |
|
40 |
"data/prueba.dxf").getFile()); |
|
41 |
|
|
42 |
/* |
|
43 |
* (non-Javadoc) |
|
44 |
* |
|
45 |
* @see |
|
46 |
* org.gvsig.fmap.dal.feature.BaseTestFeatureStore#getDefaultDataStoreParameters |
|
47 |
* () |
|
48 |
*/ |
|
49 |
public DataStoreParameters getDefaultDataStoreParameters() |
|
50 |
throws DataException { |
|
51 |
DXFStoreParameters dxfParameters = null; |
|
52 |
|
|
53 |
dxfParameters = (DXFStoreParameters) dataManager |
|
54 |
.createStoreParameters(DXFStoreProvider.NAME); |
|
55 |
|
|
56 |
dxfParameters.setFile(file_prueba.getAbsolutePath()); |
|
57 |
dxfParameters.setCRS("EPSG:23030"); |
|
58 |
return dxfParameters; |
|
59 |
} |
|
60 |
|
|
61 |
/* |
|
62 |
* (non-Javadoc) |
|
63 |
* |
|
64 |
* @see org.gvsig.fmap.dal.feature.BaseTestFeatureStore#hasExplorer() |
|
65 |
*/ |
|
66 |
public boolean hasExplorer() { |
|
67 |
// TODO Auto-generated method stub |
|
68 |
return false; |
|
69 |
} |
|
70 |
|
|
71 |
public boolean usesResources() { |
|
72 |
return true; |
|
73 |
} |
|
74 |
|
|
75 |
|
|
76 |
public void testLegendAndLabeling() throws Exception { |
|
77 |
FeatureStore store = (FeatureStore) dataManager |
|
78 |
.createStore(getDefaultDataStoreParameters()); |
|
79 |
|
|
80 |
assertNotNull(store.invokeDynMethod("getLegend", null)); |
|
81 |
assertNotNull(store.invokeDynMethod("getLabeling", null)); |
|
82 |
store.dispose(); |
|
83 |
} |
|
84 |
} |
|
0 | 85 |
tags/v2_0_0_Build_2041/libraries/libFMap_dalfile/src-test/org/gvsig/fmap/dal/store/dxf/data/prueba.dxf | ||
---|---|---|
1 |
999 |
|
2 |
TRANSLATION BY geo.cresques.io.DxfFile |
|
3 |
999 |
|
4 |
DATE : Thu Mar 13 09:56:42 CET 2008 |
|
5 |
0 |
|
6 |
SECTION |
|
7 |
2 |
|
8 |
HEADER |
|
9 |
9 |
|
10 |
$ACADVER |
|
11 |
1 |
|
12 |
AC1015 |
|
13 |
9 |
|
14 |
$INSBASE |
|
15 |
10 |
|
16 |
0.0 |
|
17 |
20 |
|
18 |
0.0 |
|
19 |
30 |
|
20 |
0.0 |
|
21 |
9 |
|
22 |
$EXTMIN |
|
23 |
10 |
|
24 |
999999999.000000 |
|
25 |
20 |
|
26 |
999999999.000000 |
|
27 |
30 |
|
28 |
0.000000 |
|
29 |
9 |
|
30 |
$EXTMAX |
|
31 |
10 |
|
32 |
-999999999.000000 |
|
33 |
20 |
|
34 |
-999999999.000000 |
|
35 |
30 |
|
36 |
0.000000 |
|
37 |
9 |
|
38 |
$LIMMIN |
|
39 |
10 |
|
40 |
999999999.000000 |
|
41 |
20 |
|
42 |
999999999.000000 |
|
43 |
9 |
|
44 |
$LIMMAX |
|
45 |
10 |
|
46 |
-999999999.000000 |
|
47 |
20 |
|
48 |
-999999999.000000 |
|
49 |
9 |
|
50 |
$ORTHOMODE |
|
51 |
70 |
|
52 |
0 |
|
53 |
9 |
|
54 |
$REGENMODE |
|
55 |
70 |
|
56 |
1 |
|
57 |
9 |
|
58 |
$FILLMODE |
|
59 |
70 |
|
60 |
1 |
|
61 |
9 |
|
62 |
$QTEXTMODE |
|
63 |
70 |
|
64 |
0 |
|
65 |
9 |
|
66 |
$MIRRTEXT |
|
67 |
70 |
|
68 |
1 |
|
69 |
9 |
|
70 |
$DRAGMODE |
|
71 |
70 |
|
72 |
2 |
|
73 |
9 |
|
74 |
$LTSCALE |
|
75 |
40 |
|
76 |
1.0 |
|
77 |
9 |
|
78 |
$OSMODE |
|
79 |
70 |
|
80 |
0 |
|
81 |
9 |
|
82 |
$ATTMODE |
|
83 |
70 |
|
84 |
1 |
|
85 |
9 |
|
86 |
$TEXTSIZE |
|
87 |
40 |
|
88 |
0.2 |
|
89 |
9 |
|
90 |
$TRACEWID |
|
91 |
40 |
|
92 |
0.05 |
|
93 |
9 |
|
94 |
$TEXTSTYLE |
|
95 |
7 |
|
96 |
STANDARD |
|
97 |
9 |
|
98 |
$CLAYER |
|
99 |
8 |
|
100 |
0 |
|
101 |
9 |
|
102 |
$CELTYPE |
|
103 |
6 |
|
104 |
CONTINUOUS |
|
105 |
9 |
|
106 |
$CECOLOR |
|
107 |
62 |
|
108 |
256 |
|
109 |
9 |
|
110 |
$DIMSCALE |
|
111 |
40 |
|
112 |
1.0 |
|
113 |
9 |
|
114 |
$DIMASZ |
|
115 |
40 |
|
116 |
0.18 |
|
117 |
9 |
|
118 |
$DIMEXO |
|
119 |
40 |
|
120 |
0.0625 |
|
121 |
9 |
|
122 |
$DIMDLI |
|
123 |
40 |
|
124 |
0.38 |
|
125 |
9 |
|
126 |
$DIMRND |
|
127 |
40 |
|
128 |
0.0 |
|
129 |
9 |
|
130 |
$DIMDLE |
|
131 |
40 |
|
132 |
0.0 |
|
133 |
9 |
|
134 |
$DIMEXE |
|
135 |
40 |
|
136 |
0.18 |
|
137 |
9 |
|
138 |
$DIMTP |
|
139 |
40 |
|
140 |
0.0 |
|
141 |
9 |
|
142 |
$DIMTM |
|
143 |
40 |
|
144 |
0.0 |
|
145 |
9 |
|
146 |
$DIMTXT |
|
147 |
40 |
|
148 |
0.18 |
|
149 |
9 |
|
150 |
$DIMCEN |
|
151 |
40 |
|
152 |
0.09 |
|
153 |
9 |
|
154 |
$DIMTSZ |
|
155 |
40 |
|
156 |
0.0 |
|
157 |
9 |
|
158 |
$DIMTOL |
|
159 |
70 |
|
160 |
0 |
|
161 |
9 |
|
162 |
$DIMLIM |
|
163 |
70 |
|
164 |
0 |
|
165 |
9 |
|
166 |
$DIMTIH |
|
167 |
70 |
|
168 |
1 |
|
169 |
9 |
|
170 |
$DIMTOH |
|
171 |
70 |
|
172 |
1 |
|
173 |
9 |
|
174 |
$DIMSE1 |
|
175 |
70 |
|
176 |
0 |
|
177 |
9 |
|
178 |
$DIMSE2 |
|
179 |
70 |
|
180 |
0 |
|
181 |
9 |
|
182 |
$DIMTAD |
|
183 |
70 |
|
184 |
0 |
|
185 |
9 |
|
186 |
$DIMZIN |
|
187 |
70 |
|
188 |
0 |
|
189 |
9 |
|
190 |
$DIMBLK |
|
191 |
1 |
|
192 |
|
|
193 |
9 |
|
194 |
$DIMASO |
|
195 |
70 |
|
196 |
1 |
|
197 |
9 |
|
198 |
$DIMSHO |
|
199 |
70 |
|
200 |
1 |
|
201 |
9 |
|
202 |
$DIMPOST |
|
203 |
1 |
|
204 |
|
|
205 |
9 |
|
206 |
$DIMAPOST |
|
207 |
1 |
|
208 |
|
|
209 |
9 |
|
210 |
$DIMALT |
|
211 |
70 |
|
212 |
0 |
|
213 |
9 |
|
214 |
$DIMALTD |
|
215 |
70 |
|
216 |
2 |
|
217 |
9 |
|
218 |
$DIMALTF |
|
219 |
40 |
|
220 |
25.4 |
|
221 |
9 |
|
222 |
$DIMLFAC |
|
223 |
40 |
|
224 |
1.0 |
|
225 |
9 |
|
226 |
$DIMTOFL |
|
227 |
70 |
|
228 |
0 |
|
229 |
9 |
|
230 |
$DIMTVP |
|
231 |
40 |
|
232 |
0.0 |
|
233 |
9 |
|
234 |
$DIMTIX |
|
235 |
70 |
|
236 |
0 |
|
237 |
9 |
|
238 |
$DIMSOXD |
|
239 |
70 |
|
240 |
0 |
|
241 |
9 |
|
242 |
$DIMSAH |
|
243 |
70 |
|
244 |
0 |
|
245 |
9 |
|
246 |
$DIMBLK1 |
|
247 |
1 |
|
248 |
|
|
249 |
9 |
|
250 |
$DIMBLK2 |
|
251 |
1 |
|
252 |
|
|
253 |
9 |
|
254 |
$DIMSTYLE |
|
255 |
2 |
|
256 |
STANDARD |
|
257 |
9 |
|
258 |
$DIMCLRD |
|
259 |
70 |
|
260 |
0 |
|
261 |
9 |
|
262 |
$DIMCLRE |
|
263 |
70 |
|
264 |
0 |
|
265 |
9 |
|
266 |
$DIMCLRT |
|
267 |
70 |
|
268 |
0 |
|
269 |
9 |
|
270 |
$DIMTFAC |
|
271 |
40 |
|
272 |
1.0 |
|
273 |
9 |
|
274 |
$DIMGAP |
|
275 |
40 |
|
276 |
0.09 |
|
277 |
9 |
|
278 |
$LUNITS |
|
279 |
70 |
|
280 |
2 |
|
281 |
9 |
|
282 |
$LUPREC |
|
283 |
70 |
|
284 |
4 |
|
285 |
9 |
|
286 |
$AXISMODE |
|
287 |
70 |
|
288 |
0 |
|
289 |
9 |
|
290 |
$AXISUNIT |
|
291 |
10 |
|
292 |
0.0 |
|
293 |
20 |
|
294 |
0.0 |
|
295 |
9 |
|
296 |
$SKETCHINC |
|
297 |
40 |
|
298 |
0.1 |
|
299 |
9 |
|
300 |
$FILLETRAD |
|
301 |
40 |
|
302 |
0.0 |
|
303 |
9 |
|
304 |
$AUNITS |
|
305 |
70 |
|
306 |
0 |
|
307 |
9 |
|
308 |
$AUPREC |
|
309 |
70 |
|
310 |
0 |
|
311 |
9 |
|
312 |
$MENU |
|
313 |
1 |
|
314 |
acad |
|
315 |
9 |
|
316 |
$ELEVATION |
|
317 |
40 |
|
318 |
0.0 |
|
319 |
9 |
|
320 |
$PELEVATION |
|
321 |
40 |
|
322 |
0.0 |
|
323 |
9 |
|
324 |
$THICKNESS |
|
325 |
40 |
|
326 |
0.0 |
|
327 |
9 |
|
328 |
$LIMCHECK |
|
329 |
70 |
|
330 |
0 |
|
331 |
9 |
|
332 |
$BLIPMODE |
|
333 |
70 |
|
334 |
1 |
|
335 |
9 |
|
336 |
$CHAMFERA |
|
337 |
40 |
|
338 |
0.0 |
|
339 |
9 |
|
340 |
$CHAMFERB |
|
341 |
40 |
|
342 |
0.0 |
|
343 |
9 |
|
344 |
$SKPOLY |
|
345 |
70 |
|
346 |
0 |
|
347 |
9 |
|
348 |
$TDCREATE |
|
349 |
40 |
|
350 |
2453116.436828704 |
|
351 |
9 |
|
352 |
$TDUPDATE |
|
353 |
40 |
|
354 |
2453116.436828704 |
|
355 |
9 |
|
356 |
$TDINDWG |
|
357 |
40 |
|
358 |
0.0000000000 |
|
359 |
9 |
|
360 |
$TDUSRTIMER |
|
361 |
40 |
|
362 |
0.0000000000 |
|
363 |
9 |
|
364 |
$USRTIMER |
|
365 |
70 |
|
366 |
1 |
|
367 |
9 |
|
368 |
$ANGBASE |
|
369 |
50 |
|
370 |
0.0 |
|
371 |
9 |
|
372 |
$ANGDIR |
|
373 |
70 |
|
374 |
0 |
|
375 |
9 |
|
376 |
$PDMODE |
|
377 |
70 |
|
378 |
0 |
|
379 |
9 |
|
380 |
$PDSIZE |
|
381 |
40 |
|
382 |
0.0 |
|
383 |
9 |
|
384 |
$PLINEWID |
|
385 |
40 |
|
386 |
0.0 |
|
387 |
9 |
|
388 |
$COORDS |
|
389 |
70 |
|
390 |
0 |
|
391 |
9 |
|
392 |
$SPLFRAME |
|
393 |
70 |
|
394 |
0 |
|
395 |
9 |
|
396 |
$SPLINETYPE |
|
397 |
70 |
|
398 |
6 |
|
399 |
9 |
|
400 |
$SPLINESEGS |
|
401 |
70 |
|
402 |
10 |
|
403 |
9 |
|
404 |
$ATTDIA |
|
405 |
70 |
|
406 |
0 |
|
407 |
9 |
|
408 |
$ATTREQ |
|
409 |
70 |
|
410 |
1 |
|
411 |
9 |
|
412 |
$HANDLING |
|
413 |
70 |
|
414 |
1 |
|
415 |
9 |
|
416 |
$HANDSEED |
|
417 |
5 |
|
418 |
394B |
|
419 |
9 |
|
420 |
$SURFTAB1 |
|
421 |
70 |
|
422 |
6 |
|
423 |
9 |
|
424 |
$SURFTAB2 |
|
425 |
70 |
|
426 |
6 |
|
427 |
9 |
|
428 |
$SURFTYPE |
|
429 |
70 |
|
430 |
6 |
|
431 |
9 |
|
432 |
$SURFU |
|
433 |
70 |
|
434 |
6 |
|
435 |
9 |
|
436 |
$SURFV |
|
437 |
70 |
|
438 |
6 |
|
439 |
9 |
|
440 |
$UCSNAME |
|
441 |
2 |
|
442 |
|
|
443 |
9 |
|
444 |
$UCSORG |
|
445 |
10 |
|
446 |
0.0 |
|
447 |
20 |
|
448 |
0.0 |
|
449 |
30 |
|
450 |
0.0 |
|
451 |
9 |
|
452 |
$UCSXDIR |
|
453 |
10 |
|
454 |
1.0 |
|
455 |
20 |
|
456 |
0.0 |
|
457 |
30 |
|
458 |
0.0 |
|
459 |
9 |
|
460 |
$UCSYDIR |
|
461 |
10 |
|
462 |
0.0 |
|
463 |
20 |
|
464 |
1.0 |
|
465 |
30 |
|
466 |
0.0 |
|
467 |
9 |
|
468 |
$PUCSNAME |
|
469 |
2 |
|
470 |
|
|
471 |
9 |
|
472 |
$PUCSORG |
|
473 |
10 |
|
474 |
0.0 |
|
475 |
20 |
|
476 |
0.0 |
|
477 |
30 |
|
478 |
0.0 |
|
479 |
9 |
|
480 |
$PUCSXDIR |
|
481 |
10 |
|
482 |
1.0 |
|
483 |
20 |
|
484 |
0.0 |
|
485 |
30 |
|
486 |
0.0 |
|
487 |
9 |
|
488 |
$PUCSYDIR |
|
489 |
10 |
|
490 |
0.0 |
|
491 |
20 |
|
492 |
1.0 |
|
493 |
30 |
|
494 |
0.0 |
|
495 |
9 |
|
496 |
$USERI1 |
|
497 |
70 |
|
498 |
0 |
|
499 |
9 |
|
500 |
$USERI2 |
|
501 |
70 |
|
502 |
0 |
|
503 |
9 |
|
504 |
$USERI3 |
|
505 |
70 |
|
506 |
0 |
|
507 |
9 |
|
508 |
$USERI4 |
|
509 |
70 |
|
510 |
0 |
|
511 |
9 |
|
512 |
$USERI5 |
|
513 |
70 |
|
514 |
0 |
|
515 |
9 |
|
516 |
$USERR1 |
|
517 |
40 |
|
518 |
0.0 |
|
519 |
9 |
|
520 |
$USERR2 |
|
521 |
40 |
|
522 |
0.0 |
|
523 |
9 |
|
524 |
$USERR3 |
|
525 |
40 |
|
526 |
0.0 |
|
527 |
9 |
|
528 |
$USERR4 |
|
529 |
40 |
|
530 |
0.0 |
|
531 |
9 |
|
532 |
$USERR5 |
|
533 |
40 |
|
534 |
0.0 |
|
535 |
9 |
|
536 |
$WORLDVIEW |
|
537 |
70 |
|
538 |
1 |
|
539 |
9 |
|
540 |
$SHADEDGE |
|
541 |
70 |
|
542 |
3 |
|
543 |
9 |
|
544 |
$SHADEDIF |
|
545 |
70 |
|
546 |
70 |
|
547 |
9 |
|
548 |
$TILEMODE |
|
549 |
70 |
|
550 |
1 |
|
551 |
9 |
|
552 |
$MAXACTVP |
|
553 |
70 |
|
554 |
16 |
|
555 |
9 |
|
556 |
$PINSBASE |
|
557 |
10 |
|
558 |
0.0 |
|
559 |
20 |
|
560 |
0.0 |
|
561 |
30 |
|
562 |
0.0 |
|
563 |
9 |
|
564 |
$PLIMCHECK |
|
565 |
70 |
|
566 |
0 |
|
567 |
9 |
|
568 |
$PEXTMIN |
|
569 |
10 |
|
570 |
-1.000000E+20 |
|
571 |
20 |
|
572 |
-1.000000E+20 |
|
573 |
30 |
|
574 |
-1.000000E+20 |
|
575 |
9 |
|
576 |
$PEXTMAX |
|
577 |
10 |
|
578 |
-1.000000E+20 |
|
579 |
20 |
|
580 |
-1.000000E+20 |
|
581 |
30 |
|
582 |
-1.000000E+20 |
|
583 |
9 |
|
584 |
$PLIMMIN |
|
585 |
10 |
|
586 |
0.0 |
|
587 |
20 |
|
588 |
0.0 |
|
589 |
9 |
|
590 |
$PLIMMAX |
|
591 |
10 |
|
592 |
12.0 |
|
593 |
20 |
|
594 |
9.0 |
|
595 |
9 |
|
596 |
$UNITMODE |
|
597 |
70 |
|
598 |
0 |
|
599 |
9 |
|
600 |
$VISRETAIN |
|
601 |
70 |
|
602 |
0 |
|
603 |
9 |
|
604 |
$PLINEGEN |
|
605 |
70 |
|
606 |
1 |
|
607 |
9 |
|
608 |
$PSLTSCALE |
|
609 |
70 |
|
610 |
0 |
|
611 |
9 |
|
612 |
$TREEDEPTH |
|
613 |
70 |
|
614 |
3020 |
|
615 |
9 |
|
616 |
$DWGCODEPAGE |
|
617 |
3 |
|
618 |
ansi_1252 |
|
619 |
0 |
|
620 |
ENDSEC |
|
621 |
0 |
|
622 |
SECTION |
|
623 |
2 |
|
624 |
TABLES |
|
625 |
0 |
|
626 |
TABLE |
|
627 |
2 |
|
628 |
VPORT |
|
629 |
5 |
|
630 |
8 |
|
631 |
100 |
|
632 |
AcDbSymbolTable |
|
633 |
70 |
|
634 |
0 |
|
635 |
0 |
|
636 |
ENDTAB |
|
637 |
0 |
|
638 |
TABLE |
|
639 |
2 |
|
640 |
LTYPE |
|
641 |
5 |
|
642 |
5 |
|
643 |
100 |
|
644 |
AcDbSymbolTable |
|
645 |
70 |
|
646 |
1 |
|
647 |
0 |
|
648 |
LTYPE |
|
649 |
5 |
|
650 |
14 |
|
651 |
100 |
|
652 |
AcDbSymbolTableRecord |
|
653 |
100 |
|
654 |
AcDbLinetypeTableRecord |
|
655 |
2 |
|
656 |
ByBlock |
|
657 |
70 |
|
658 |
0 |
|
659 |
3 |
|
660 |
|
|
661 |
72 |
|
662 |
65 |
|
663 |
73 |
|
664 |
0 |
|
665 |
40 |
|
666 |
0.0000 |
|
667 |
0 |
|
668 |
LTYPE |
|
669 |
5 |
|
670 |
15 |
|
671 |
100 |
|
672 |
AcDbSymbolTableRecord |
|
673 |
100 |
|
674 |
AcDbLinetypeTableRecord |
|
675 |
2 |
|
676 |
ByLayer |
|
677 |
70 |
|
678 |
0 |
|
679 |
3 |
|
680 |
|
|
681 |
72 |
|
682 |
65 |
|
683 |
73 |
|
684 |
0 |
|
685 |
40 |
|
686 |
0.0000 |
|
687 |
0 |
|
688 |
ENDTAB |
|
689 |
0 |
|
690 |
TABLE |
|
691 |
2 |
|
692 |
LAYER |
|
693 |
5 |
|
694 |
2 |
|
695 |
100 |
|
696 |
AcDbSymbolTable |
|
697 |
70 |
|
698 |
1 |
|
699 |
0 |
|
700 |
LAYER |
|
701 |
5 |
|
702 |
10 |
|
703 |
100 |
|
704 |
AcDbSymbolTableRecord |
|
705 |
100 |
|
706 |
AcDbLayerTableRecord |
|
707 |
2 |
|
708 |
0 |
|
709 |
70 |
|
710 |
0 |
|
711 |
62 |
|
712 |
7 |
|
713 |
6 |
|
714 |
CONTINUOUS |
|
715 |
390 |
|
716 |
F |
|
717 |
0 |
|
718 |
ENDTAB |
|
719 |
0 |
|
720 |
TABLE |
|
721 |
2 |
|
722 |
STYLE |
|
723 |
5 |
|
724 |
3 |
|
725 |
100 |
|
726 |
AcDbSymbolTable |
|
727 |
70 |
|
728 |
0 |
|
729 |
0 |
|
730 |
STYLE |
|
731 |
5 |
|
732 |
11 |
|
733 |
100 |
|
734 |
AcDbSymbolTableRecord |
|
735 |
100 |
|
736 |
AcDbTextStyleTableRecord |
|
737 |
2 |
|
738 |
Standard |
|
739 |
70 |
|
740 |
0 |
|
741 |
71 |
|
742 |
0 |
|
743 |
40 |
|
744 |
0.0000 |
|
745 |
41 |
|
746 |
1.0000 |
|
747 |
42 |
|
748 |
2.5000 |
|
749 |
50 |
|
750 |
0.0000 |
|
751 |
3 |
|
752 |
txt |
|
753 |
4 |
|
754 |
|
|
755 |
0 |
|
756 |
ENDTAB |
|
757 |
0 |
|
758 |
TABLE |
|
759 |
2 |
|
760 |
VIEW |
|
761 |
5 |
|
762 |
6 |
|
763 |
100 |
|
764 |
AcDbSymbolTable |
|
765 |
70 |
|
766 |
0 |
|
767 |
0 |
|
768 |
ENDTAB |
|
769 |
0 |
|
770 |
TABLE |
|
771 |
2 |
|
772 |
UCS |
|
773 |
5 |
|
774 |
7 |
|
775 |
100 |
|
776 |
AcDbSymbolTable |
|
777 |
70 |
|
778 |
0 |
|
779 |
0 |
|
780 |
ENDTAB |
|
781 |
0 |
|
782 |
TABLE |
|
783 |
2 |
|
784 |
APPID |
|
785 |
5 |
|
786 |
9 |
|
787 |
100 |
|
788 |
AcDbSymbolTable |
|
789 |
70 |
|
790 |
1 |
|
791 |
0 |
|
792 |
APPID |
|
793 |
5 |
|
794 |
12 |
|
795 |
100 |
|
796 |
AcDbSymbolTableRecord |
|
797 |
100 |
|
798 |
AcDbRegAppTableRecord |
|
799 |
2 |
|
800 |
ACAD |
|
801 |
70 |
|
802 |
1 |
|
803 |
0 |
|
804 |
ENDTAB |
|
805 |
0 |
|
806 |
TABLE |
|
807 |
2 |
|
808 |
DIMSTYLE |
|
809 |
5 |
|
810 |
A |
|
811 |
100 |
|
812 |
AcDbSymbolTable |
|
813 |
70 |
|
814 |
0 |
|
815 |
100 |
|
816 |
AcDbDimStyleTable |
|
817 |
0 |
|
818 |
ENDTAB |
|
819 |
0 |
|
820 |
TABLE |
|
821 |
2 |
|
822 |
BLOCK_RECORD |
|
823 |
5 |
|
824 |
1 |
|
825 |
100 |
|
826 |
AcDbSymbolTable |
|
827 |
70 |
|
828 |
1 |
|
829 |
0 |
|
830 |
BLOCK_RECORD |
|
831 |
5 |
|
832 |
1F |
|
833 |
100 |
|
834 |
AcDbSymbolTableRecord |
|
835 |
100 |
|
836 |
AcDbBlockTableRecord |
|
837 |
2 |
|
838 |
*Model_Space |
|
839 |
340 |
|
840 |
22 |
|
841 |
0 |
|
842 |
BLOCK_RECORD |
|
843 |
5 |
|
844 |
1B |
|
845 |
100 |
|
846 |
AcDbSymbolTableRecord |
|
847 |
100 |
|
848 |
AcDbBlockTableRecord |
|
849 |
2 |
|
850 |
*Paper_Space |
|
851 |
340 |
|
852 |
1E |
|
853 |
0 |
|
854 |
BLOCK_RECORD |
|
855 |
5 |
|
856 |
23 |
|
857 |
100 |
|
858 |
AcDbSymbolTableRecord |
|
859 |
100 |
|
860 |
AcDbBlockTableRecord |
|
861 |
2 |
|
862 |
*Paper_Space0 |
|
863 |
340 |
|
864 |
26 |
|
865 |
0 |
|
866 |
ENDTAB |
|
867 |
0 |
|
868 |
ENDSEC |
|
869 |
0 |
|
870 |
SECTION |
|
871 |
2 |
|
872 |
BLOCKS |
|
873 |
0 |
|
874 |
BLOCK |
|
875 |
5 |
|
876 |
20 |
|
877 |
100 |
|
878 |
AcDbEntity |
|
879 |
8 |
|
880 |
0 |
|
881 |
100 |
|
882 |
AcDbBlockBegin |
|
883 |
2 |
|
884 |
*Model_Space |
|
885 |
70 |
|
886 |
0 |
|
887 |
10 |
|
888 |
0.0000 |
|
889 |
20 |
|
890 |
0.0000 |
|
891 |
30 |
|
892 |
0.0000 |
|
893 |
3 |
|
894 |
*Model_Space |
|
895 |
1 |
|
896 |
|
|
897 |
0 |
|
898 |
ENDBLK |
|
899 |
5 |
|
900 |
21 |
|
901 |
100 |
|
902 |
AcDbEntity |
|
903 |
8 |
|
904 |
0 |
|
905 |
100 |
|
906 |
AcDbBlockEnd |
|
907 |
0 |
|
908 |
BLOCK |
|
909 |
5 |
|
910 |
1C |
|
911 |
100 |
|
912 |
AcDbEntity |
|
913 |
67 |
|
914 |
1 |
|
915 |
8 |
|
916 |
0 |
|
917 |
100 |
|
918 |
AcDbBlockBegin |
|
919 |
2 |
|
920 |
*Paper_Space |
|
921 |
70 |
|
922 |
0 |
|
923 |
10 |
|
924 |
0.0000 |
|
925 |
20 |
|
926 |
0.0000 |
|
927 |
30 |
|
928 |
0.0000 |
|
929 |
3 |
|
930 |
*Paper_Space |
|
931 |
1 |
|
932 |
|
|
933 |
0 |
|
934 |
ENDBLK |
|
935 |
5 |
|
936 |
1D |
|
937 |
100 |
|
938 |
AcDbEntity |
|
939 |
67 |
|
940 |
1 |
|
941 |
8 |
|
942 |
0 |
|
943 |
100 |
|
944 |
AcDbBlockEnd |
|
945 |
0 |
|
946 |
BLOCK |
|
947 |
5 |
|
948 |
24 |
|
949 |
100 |
|
950 |
AcDbEntity |
|
951 |
8 |
|
952 |
0 |
|
953 |
100 |
|
954 |
AcDbBlockBegin |
|
955 |
2 |
|
956 |
*Paper_Space0 |
|
957 |
70 |
|
958 |
0 |
|
959 |
10 |
|
960 |
0.0000 |
|
961 |
20 |
|
962 |
0.0000 |
|
963 |
30 |
|
964 |
0.0000 |
|
965 |
3 |
|
966 |
*Paper_Space0 |
|
967 |
1 |
|
968 |
|
|
969 |
0 |
|
970 |
ENDBLK |
|
971 |
5 |
|
972 |
25 |
|
973 |
100 |
|
974 |
AcDbEntity |
|
975 |
8 |
|
976 |
0 |
|
977 |
100 |
|
978 |
AcDbBlockEnd |
|
979 |
0 |
|
980 |
ENDSEC |
|
981 |
0 |
|
982 |
SECTION |
|
983 |
2 |
|
984 |
ENTITIES |
|
985 |
0 |
|
986 |
LWPOLYLINE |
|
987 |
5 |
|
988 |
64 |
|
989 |
100 |
|
990 |
AcDbEntity |
|
991 |
8 |
|
992 |
Primera |
|
993 |
62 |
|
994 |
0 |
|
995 |
100 |
|
996 |
AcDbPolyline |
|
997 |
90 |
|
998 |
264 |
|
999 |
70 |
|
1000 |
1 |
|
1001 |
38 |
|
1002 |
0.000 |
|
1003 |
10 |
|
1004 |
759813.387949 |
|
1005 |
20 |
|
1006 |
4285413.854930 |
|
1007 |
42 |
|
1008 |
0.000000 |
|
1009 |
10 |
|
1010 |
759928.208938 |
|
1011 |
20 |
|
1012 |
4285445.379389 |
|
1013 |
42 |
|
1014 |
0.000000 |
|
1015 |
10 |
|
1016 |
759843.259737 |
|
1017 |
20 |
|
1018 |
4286127.104400 |
|
1019 |
42 |
|
1020 |
0.000000 |
|
1021 |
10 |
|
1022 |
760150.094222 |
|
1023 |
20 |
|
1024 |
4286866.064879 |
|
1025 |
42 |
|
1026 |
0.000000 |
|
1027 |
10 |
|
1028 |
760321.572745 |
|
1029 |
20 |
|
1030 |
4287295.035816 |
|
1031 |
42 |
|
1032 |
0.000000 |
|
1033 |
10 |
|
1034 |
760207.429775 |
|
1035 |
20 |
|
1036 |
4287403.536811 |
|
1037 |
42 |
|
1038 |
0.000000 |
|
1039 |
10 |
|
1040 |
760688.379159 |
|
1041 |
20 |
|
1042 |
4287848.192897 |
|
1043 |
42 |
|
1044 |
0.000000 |
|
1045 |
10 |
|
1046 |
760881.917934 |
|
1047 |
20 |
|
1048 |
4288213.452967 |
|
1049 |
42 |
|
1050 |
0.000000 |
|
1051 |
10 |
|
1052 |
761223.246293 |
|
1053 |
20 |
|
1054 |
4288691.355840 |
|
1055 |
42 |
|
1056 |
0.000000 |
|
1057 |
10 |
|
1058 |
761654.494636 |
|
1059 |
20 |
|
1060 |
4289557.827131 |
|
1061 |
42 |
|
1062 |
0.000000 |
|
1063 |
10 |
|
1064 |
762006.942991 |
|
1065 |
20 |
|
1066 |
4290170.597731 |
|
1067 |
42 |
|
1068 |
0.000000 |
|
1069 |
10 |
|
1070 |
762659.927564 |
|
1071 |
20 |
|
1072 |
4290353.257040 |
|
1073 |
42 |
|
1074 |
0.000000 |
|
1075 |
10 |
|
1076 |
762694.463857 |
|
1077 |
20 |
|
1078 |
4290625.539219 |
|
1079 |
42 |
|
1080 |
0.000000 |
|
1081 |
10 |
|
1082 |
762824.411740 |
|
1083 |
20 |
|
1084 |
4290670.947239 |
|
1085 |
42 |
|
1086 |
0.000000 |
|
1087 |
10 |
|
1088 |
762863.432079 |
|
1089 |
20 |
|
1090 |
4290675.570230 |
|
1091 |
42 |
|
1092 |
0.000000 |
|
1093 |
10 |
|
1094 |
763054.523149 |
|
1095 |
20 |
|
1096 |
4290925.248891 |
|
1097 |
42 |
|
1098 |
0.000000 |
|
1099 |
10 |
|
1100 |
763259.610879 |
|
1101 |
20 |
|
1102 |
4291514.326464 |
|
1103 |
42 |
|
1104 |
0.000000 |
|
1105 |
10 |
|
1106 |
763374.071202 |
|
1107 |
20 |
|
1108 |
4291711.473271 |
|
1109 |
42 |
|
1110 |
0.000000 |
|
1111 |
10 |
|
1112 |
763717.086405 |
|
1113 |
20 |
|
1114 |
4291761.734704 |
|
1115 |
42 |
|
1116 |
0.000000 |
|
1117 |
10 |
|
1118 |
763655.069443 |
|
1119 |
20 |
|
1120 |
4291400.744280 |
|
1121 |
42 |
|
1122 |
0.000000 |
|
1123 |
10 |
|
1124 |
763520.598486 |
|
1125 |
20 |
|
1126 |
4291229.600306 |
|
1127 |
42 |
|
1128 |
0.000000 |
|
1129 |
10 |
|
1130 |
763461.290238 |
|
1131 |
20 |
|
1132 |
4291154.293176 |
|
1133 |
42 |
|
1134 |
0.000000 |
|
1135 |
10 |
|
1136 |
763760.288693 |
|
1137 |
20 |
|
1138 |
4290616.356145 |
|
1139 |
42 |
|
1140 |
0.000000 |
|
1141 |
10 |
|
1142 |
764036.518934 |
|
1143 |
20 |
|
1144 |
4290634.409526 |
|
1145 |
42 |
|
1146 |
0.000000 |
|
1147 |
10 |
|
1148 |
764444.376722 |
|
1149 |
20 |
|
1150 |
4290542.387426 |
|
1151 |
42 |
|
1152 |
0.000000 |
|
1153 |
10 |
|
1154 |
764608.794704 |
|
1155 |
20 |
|
1156 |
4290441.173533 |
|
1157 |
42 |
|
1158 |
0.000000 |
|
1159 |
10 |
|
1160 |
764619.172558 |
|
1161 |
20 |
|
1162 |
4290417.070992 |
|
1163 |
42 |
|
1164 |
0.000000 |
|
1165 |
10 |
|
1166 |
764633.824644 |
|
1167 |
20 |
|
1168 |
4290395.333152 |
|
1169 |
42 |
|
1170 |
0.000000 |
|
1171 |
10 |
|
1172 |
764680.131687 |
|
1173 |
20 |
|
1174 |
4290337.976786 |
|
1175 |
42 |
|
1176 |
0.000000 |
|
1177 |
10 |
|
1178 |
764687.384009 |
|
1179 |
20 |
|
1180 |
4290329.327976 |
|
1181 |
42 |
|
1182 |
0.000000 |
|
1183 |
10 |
|
1184 |
764712.878054 |
|
1185 |
20 |
|
1186 |
4290295.727092 |
|
1187 |
42 |
|
1188 |
0.000000 |
|
1189 |
10 |
|
1190 |
764729.159025 |
|
1191 |
20 |
|
1192 |
4290277.377369 |
|
1193 |
42 |
|
1194 |
0.000000 |
|
1195 |
10 |
|
1196 |
765259.755103 |
|
1197 |
20 |
|
1198 |
4290421.734358 |
|
1199 |
42 |
|
1200 |
0.000000 |
|
1201 |
10 |
|
1202 |
765458.639993 |
|
1203 |
20 |
|
1204 |
4290279.457874 |
|
1205 |
42 |
|
1206 |
0.000000 |
|
1207 |
10 |
|
1208 |
765640.231714 |
|
1209 |
20 |
|
1210 |
4290498.882977 |
|
1211 |
42 |
|
1212 |
0.000000 |
|
1213 |
10 |
|
1214 |
765535.110260 |
|
1215 |
20 |
|
1216 |
4290753.188535 |
|
1217 |
42 |
|
1218 |
0.000000 |
|
1219 |
10 |
|
1220 |
765527.558546 |
|
1221 |
20 |
|
1222 |
4290822.946559 |
|
1223 |
42 |
|
1224 |
0.000000 |
Also available in: Unified diff