Skip to content

Commit cf4a1c3

Browse files
committed
MIraMonVector tests improvements
Fixes ------ Delete of unused function (MMInitHeader) Use of CPLError() in some explicit return errors Test improvements --------------------- last_version added in -lco Version more corrupted files tested unexisting coordinates or unexpected polygon construction tested datefield added in tests code simplification multipolygon Z added in tests multigeometry added in tests ANSI DBFEncoding test added
1 parent 2b14d96 commit cf4a1c3

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+1390
-149
lines changed
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
[VERSIO]
2+
VersMetaDades=5
3+
SubVersMetaDades=0
4+
Vers=4
5+
SubVers=3
6+
7+
[METADADES]
8+
language=cat
9+
MDIdiom=cat
10+
dateStamp=20230628 16204654+0200
11+
characterSet=006
12+
nOrganismes=1
13+
FileIdentifier=0e09e6cf-0d31-499e-bcf0-bee4d3e9d87a_SimplePolFileA
14+
15+
[METADADES:ORGANISME_1]
16+
role=009
17+
IndividualName=Abel Pau
18+
PositionName=T�cnic SIG
19+
OrganisationName=Students and educational institutions
20+
21+
[IDENTIFICATION]
22+
code=0e09e6cf-0d31-499e-bcf0-bee4d3e9d87a_SimplePolFileA
23+
codeSpace=
24+
DatasetTitle=Simple Pol File [p�xels]
25+
26+
[SPATIAL_REFERENCE_SYSTEM:HORIZONTAL]
27+
HorizontalSystemDefinition=Local
28+
HorizontalSystemIdentifier=plane
29+
unitats=STB#T_pixels
30+
unitatsY=?
31+
32+
[EXTENT]
33+
toler_env=0
34+
MinX=335.3187440533326
35+
MaxX=1224.163653663228
36+
MinY=390.371075166458
37+
MaxY=856.814462416696
38+
39+
[OVERVIEW]
40+
CreationDate=20230628 16204653+0200
41+
42+
[TAULA_PRINCIPAL]
43+
IdGrafic=ID_GRAFIC
44+
TipusRelacio=RELACIO_1_N_DICC
45+
46+
[TAULA_PRINCIPAL:ID_GRAFIC]
47+
visible=0
48+
descriptor=Identificador Gr�fic intern
49+
MostrarUnitats=0
50+
51+
[TAULA_PRINCIPAL:N_VERTEXS]
52+
visible=0
53+
MostrarUnitats=0
54+
descriptor=Nombre de v�rtexs
55+
56+
[TAULA_PRINCIPAL:LONG_ARC]
57+
descriptor=Longitud de l'arc
58+
59+
[TAULA_PRINCIPAL:NODE_INI]
60+
visible=0
61+
MostrarUnitats=0
62+
descriptor=Node inicial
63+
64+
[TAULA_PRINCIPAL:NODE_FI]
65+
visible=0
66+
MostrarUnitats=0
67+
descriptor=Node final
68+
69+
[OVERVIEW:ASPECTES_TECNICS]
70+
Ciclat1=SimplePolFile.pol
71+
72+
[QUALITY:LINEAGE:PROCESS1]
73+
nOrganismes=1
74+
history=C:\MiraMon\MM64.exe
75+
date=20230628 16204654+0200
76+
77+
[QUALITY:LINEAGE:PROCESS1:ORGANISME_1]
78+
IndividualName=Abel Pau
79+
PositionName=T�cnic SIG
80+
OrganisationName=Students and educational institutions
81+
82+
[QUALITY:LINEAGE]
83+
processes=1
84+
85+
[GEOMETRIA_I_TOPOLOGIA]
86+
NomCampNVertexs=N_VERTEXS
87+
NomCampLongitudArc=LONG_ARC
88+
NomCampNodeIni=NODE_INI
89+
NomCampNodeFi=NODE_FI
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
[VERSIO]
2+
VersMetaDades=5
3+
SubVersMetaDades=0
4+
Vers=4
5+
SubVers=3
6+
7+
[METADADES]
8+
language=cat
9+
MDIdiom=cat
10+
dateStamp=20230628 16204653+0200
11+
characterSet=006
12+
nOrganismes=1
13+
FileIdentifier=701e2102-a0ba-4cb2-aeb5-bdb329c79868_SimplePolFileN
14+
15+
[METADADES:ORGANISME_1]
16+
role=009
17+
IndividualName=Abel Pau
18+
PositionName=T�cnic SIG
19+
OrganisationName=Students and educational institutions
20+
21+
[IDENTIFICATION]
22+
code=701e2102-a0ba-4cb2-aeb5-bdb329c79868_SimplePolFileN
23+
codeSpace=
24+
DatasetTitle=Simple Pol File [p�xels]
25+
26+
[EXTENT]
27+
toler_env=0
28+
29+
[OVERVIEW]
30+
CreationDate=20230628 16204652+0200
31+
32+
[TAULA_PRINCIPAL]
33+
IdGrafic=ID_GRAFIC
34+
TipusRelacio=RELACIO_1_N_DICC
35+
36+
[TAULA_PRINCIPAL:ID_GRAFIC]
37+
visible=0
38+
descriptor=Identificador Gr�fic intern
39+
MostrarUnitats=0
40+
41+
[TAULA_PRINCIPAL:ARCS_A_NOD]
42+
MostrarUnitats=0
43+
descriptor=Nombre d'arcs al node
44+
45+
[TAULA_PRINCIPAL:TIPUS_NODE]
46+
MostrarUnitats=0
47+
descriptor=Tipus de node
48+
49+
[QUALITY:LINEAGE:PROCESS1]
50+
nOrganismes=1
51+
history=C:\MiraMon\MM64.exe
52+
date=20230628 16204653+0200
53+
54+
[QUALITY:LINEAGE:PROCESS1:ORGANISME_1]
55+
IndividualName=Abel Pau
56+
PositionName=T�cnic SIG
57+
OrganisationName=Students and educational institutions
58+
59+
[QUALITY:LINEAGE]
60+
processes=1
61+
62+
[GEOMETRIA_I_TOPOLOGIA]
63+
NomCampArcsANode=ARCS_A_NOD
64+
NomCampTipusNode=TIPUS_NODE
Binary file not shown.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
[VERSIO]
2+
VersMetaDades=5
3+
SubVersMetaDades=0
4+
Vers=4
5+
SubVers=3
6+
7+
[METADADES]
8+
language=cat
9+
MDIdiom=cat
10+
dateStamp=20230628 16204988+0200
11+
characterSet=006
12+
nOrganismes=1
13+
FileIdentifier=00691677-6d15-40f8-9d62-e8df34876e80_SimplePolFileP
14+
15+
[METADADES:ORGANISME_1]
16+
role=009
17+
IndividualName=Abel Pau
18+
PositionName=T�cnic SIG
19+
OrganisationName=Students and educational institutions
20+
21+
[IDENTIFICATION]
22+
code=
23+
codeSpace=
24+
DatasetTitle=Simple Pol File
25+
26+
[OVERVIEW:ASPECTES_TECNICS]
27+
ArcSource=NoExistPolFile.arc
28+
29+
[QUALITY:LINEAGE:PROCESS1]
30+
nOrganismes=1
31+
history=C:\MiraMon\MM64.exe
32+
date=20230628 16204988+0200
33+
34+
[QUALITY:LINEAGE:PROCESS1:ORGANISME_1]
35+
IndividualName=Abel Pau
36+
PositionName=T�cnic SIG
37+
OrganisationName=Students and educational institutions
38+
39+
[QUALITY:LINEAGE]
40+
processes=1
41+
42+
[EXTENT]
43+
toler_env=0
44+
MinX=335.318744053333
45+
MaxX=1224.16365366323
46+
MinY=390.371075166458
47+
MaxY=856.814462416696
48+
49+
[OVERVIEW]
50+
CreationDate=20230628 16204986+0200
51+
52+
[TAULA_PRINCIPAL]
53+
IdGrafic=ID_GRAFIC
54+
TipusRelacio=RELACIO_1_N_DICC
55+
56+
[TAULA_PRINCIPAL:ID_GRAFIC]
57+
descriptor=Identificador Gr�fic intern
58+
visible=0
59+
TractamentVariable=Ordinal
60+
61+
[TAULA_PRINCIPAL:N_VERTEXS]
62+
descriptor=Nombre de v�rtexs
63+
visible=0
64+
MostrarUnitats=0
65+
66+
[TAULA_PRINCIPAL:PERIMETRE]
67+
descriptor=Per�metre del pol�gon
68+
69+
[TAULA_PRINCIPAL:AREA]
70+
descriptor=�rea del pol�gon
71+
72+
[TAULA_PRINCIPAL:N_ARCS]
73+
descriptor=Nombre d'arcs
74+
visible=0
75+
MostrarUnitats=0
76+
77+
[TAULA_PRINCIPAL:N_POLIG]
78+
descriptor=Nombre de pol�gons elementals
79+
visible=0
80+
MostrarUnitats=0
81+
82+
[GEOMETRIA_I_TOPOLOGIA]
83+
NomCampNVertexs=N_VERTEXS
84+
NomCampPerimetre=PERIMETRE
85+
NomCampArea=AREA
86+
NomCampNArcs=N_ARCS
87+
NomCampNPoligons=N_POLIG
88+
89+
[TAULA_PRINCIPAL:ATT1]
90+
descriptor=atribute1
91+
92+
[TAULA_PRINCIPAL:ATT2]
93+
descriptor=atribute2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
[VERSIO]
2+
VersMetaDades=5
3+
SubVersMetaDades=0
4+
Vers=4
5+
SubVers=3
6+
7+
[METADADES]
8+
language=cat
9+
MDIdiom=cat
10+
dateStamp=20230628 16204654+0200
11+
characterSet=006
12+
nOrganismes=1
13+
FileIdentifier=0e09e6cf-0d31-499e-bcf0-bee4d3e9d87a_CorruptedCoordinatesA
14+
15+
[METADADES:ORGANISME_1]
16+
role=009
17+
IndividualName=Abel Pau
18+
PositionName=T�cnic SIG
19+
OrganisationName=Students and educational institutions
20+
21+
[IDENTIFICATION]
22+
code=0e09e6cf-0d31-499e-bcf0-bee4d3e9d87a_CorruptedCoordinatesA
23+
codeSpace=
24+
DatasetTitle=Corruptes coordinates [p�xels]
25+
26+
[SPATIAL_REFERENCE_SYSTEM:HORIZONTAL]
27+
HorizontalSystemDefinition=Local
28+
HorizontalSystemIdentifier=plane
29+
unitats=STB#T_pixels
30+
unitatsY=?
31+
32+
[EXTENT]
33+
toler_env=0
34+
MinX=335.3187440533326
35+
MaxX=1224.163653663228
36+
MinY=390.371075166458
37+
MaxY=856.814462416696
38+
39+
[OVERVIEW]
40+
CreationDate=20230628 16204653+0200
41+
42+
[TAULA_PRINCIPAL]
43+
IdGrafic=ID_GRAFIC
44+
TipusRelacio=RELACIO_1_N_DICC
45+
46+
[TAULA_PRINCIPAL:ID_GRAFIC]
47+
visible=0
48+
descriptor=Identificador Gr�fic intern
49+
MostrarUnitats=0
50+
51+
[TAULA_PRINCIPAL:N_VERTEXS]
52+
visible=0
53+
MostrarUnitats=0
54+
descriptor=Nombre de v�rtexs
55+
56+
[TAULA_PRINCIPAL:LONG_ARC]
57+
descriptor=Longitud de l'arc
58+
59+
[TAULA_PRINCIPAL:NODE_INI]
60+
visible=0
61+
MostrarUnitats=0
62+
descriptor=Node inicial
63+
64+
[TAULA_PRINCIPAL:NODE_FI]
65+
visible=0
66+
MostrarUnitats=0
67+
descriptor=Node final
68+
69+
[OVERVIEW:ASPECTES_TECNICS]
70+
Ciclat1=CorruptedCoordinates.pol
71+
72+
[QUALITY:LINEAGE:PROCESS1]
73+
nOrganismes=1
74+
history=C:\MiraMon\MM64.exe
75+
date=20230628 16204654+0200
76+
77+
[QUALITY:LINEAGE:PROCESS1:ORGANISME_1]
78+
IndividualName=Abel Pau
79+
PositionName=T�cnic SIG
80+
OrganisationName=Students and educational institutions
81+
82+
[QUALITY:LINEAGE]
83+
processes=1
84+
85+
[GEOMETRIA_I_TOPOLOGIA]
86+
NomCampNVertexs=N_VERTEXS
87+
NomCampLongitudArc=LONG_ARC
88+
NomCampNodeIni=NODE_INI
89+
NomCampNodeFi=NODE_FI

0 commit comments

Comments
 (0)