Skip to content

Commit

Permalink
Initial version of the OGR MiramonVector driver (read/write)
Browse files Browse the repository at this point in the history
  • Loading branch information
AbelPau authored and rouault committed Apr 17, 2024
1 parent 03f30b1 commit fad106a
Show file tree
Hide file tree
Showing 83 changed files with 18,898 additions and 0 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
161 changes: 161 additions & 0 deletions autotest/ogr/data/miramon/Arcs/3dArcs/linies_3d_WGS84A.rel
Original file line number Diff line number Diff line change
@@ -0,0 +1,161 @@
[VERSIO]
Vers=4
SubVers=3
VersMetaDades=5
SubVersMetaDades=0

[TAULA_PRINCIPAL]
IdGrafic=ID_GRAFIC
TipusRelacio=RELACIO_1_N_DICC

[TAULA_PRINCIPAL:ID_GRAFIC]
visible=0
MostrarUnitats=0
descriptor=Identificador Gr�fic intern

[TAULA_PRINCIPAL:N_VERTEXS]
visible=0
MostrarUnitats=0
descriptor=Nombre de v�rtexs

[TAULA_PRINCIPAL:LONG_ARC]
visible=0
descriptor=Longitud de l'arc (projecci�)

[TAULA_PRINCIPAL:LONG_ARCE]
unitats=m
descriptor=Longitud de l'arc (el�lipsoide)

[TAULA_PRINCIPAL:NODE_INI]
visible=0
MostrarUnitats=0
descriptor=Node inicial

[TAULA_PRINCIPAL:NODE_FI]
visible=0
MostrarUnitats=0
descriptor=Node final

[METADADES]
language=cat
MDIdiom=cat
dateStamp=20240311 09500830
characterSet=006
nOrganismes=2
FileIdentifier=linies_3d_29042

[METADADES:ORGANISME_1]
role=009
OrganisationName=CREAF
IndividualName=Abel Pau
PositionName=T�cnic en SIG

[IDENTIFICATION]
code=linies_3d_29042
codeSpace=
DatasetTitle=Linies

[SPATIAL_REFERENCE_SYSTEM:HORIZONTAL]
HorizontalSystemIdentifier=lat/long-WGS84

[EXTENT]
MinX=1.28287097369422
MaxX=1.98292118178235
MinY=41.1902658152019
MaxY=41.6776900669325
toler_env=0

[OVERVIEW]
CreationDate=20240311 09500477

[OVERVIEW:ASPECTES_TECNICS]
comment1=Nombre d'arcs: 6
comment2=El fitxer era anteriorment en la projecci� UTM-31N-ETRS89

[METADADES:ORGANISME_2]
role=009
OrganisationName=Students and educational institutions

[QUALITY:LINEAGE:PROCESS1]
nOrganismes=1
history=C:\MiraMon\MM64.exe
date=20230912 16505195+0200

[QUALITY:LINEAGE:PROCESS1:ORGANISME_1]
OrganisationName=Students and educational institutions

[QUALITY:LINEAGE:PROCESS2]
nOrganismes=1
history=Vec3D.exe 1 C:\Mapes\ColleccionsPreferides\Catalunya-ETRS89\Altimetria30m\MDE30m_ICC_Aster_mar0.img D:\dades\GDAL_V\KML\multi\+\linies.arc D:\dades\GDAL_V\KML\multi\+\linies_3d.arc 0
purpose=Incorpora la 3a dimensi� en capes vectorials
date=20231031 13263780+0100

[QUALITY:LINEAGE:PROCESS2:ORGANISME_1]
OrganisationName=Students and educational institutions

[QUALITY:LINEAGE:PROCESS3]
nOrganismes=1
history=CanviPrj_64.exe D:\dades\GDAL_V\KML\multi\+\linies_3d.arc D:\dades\GDAL_V\KML\multi\+\linies_3d_WGS84.arc lat/long-WGS84
purpose=Permet fer la transformaci� per a vectors estructurats de punts (PNT), d'arcs (ARC) i pol�gons (POL). Per a transformar fitxers de nodes (NOD) cal transformar el fitxer d'arcs associat.
date=20231113 11502174+0100
NomFitxer=C:\miramon\CanviPrj_64.exe

[QUALITY:LINEAGE:PROCESS3:ORGANISME_1]
OrganisationName=Students and educational institutions

[QUALITY:LINEAGE:PROCESS3:SOFTWARE_REFERENCE]
Titol=
Edition=
CollectiveTitle=
ISBN=
ISSN=

[QUALITY:LINEAGE:PROCESS3:INOUT1]
identifier=Param1
TypeValues=S
ResultUnits=
source=1

[QUALITY:LINEAGE:SOURCE1]
NomFitxer=linies_3d.arc
processes=4,5

[QUALITY:LINEAGE:PROCESS4]
nOrganismes=1
history=C:\MiraMon\MM64.exe
date=20230912 16505195+0200

[QUALITY:LINEAGE:PROCESS4:ORGANISME_1]
OrganisationName=Students and educational institutions

[QUALITY:LINEAGE:PROCESS5]
nOrganismes=1
history=Vec3D.exe 1 C:\Mapes\ColleccionsPreferides\Catalunya-ETRS89\Altimetria30m\MDE30m_ICC_Aster_mar0.img D:\dades\GDAL_V\KML\multi\+\linies.arc D:\dades\GDAL_V\KML\multi\+\linies_3d.arc 0
purpose=Incorpora la 3a dimensi� en capes vectorials
date=20231031 13263780+0100

[QUALITY:LINEAGE:PROCESS5:ORGANISME_1]
OrganisationName=Students and educational institutions

[QUALITY:LINEAGE:PROCESS3:INOUT2]
identifier=Param2
sentit=1
TypeValues=S
ResultUnits=
source=<Parent>

[QUALITY:LINEAGE:PROCESS3:INOUT3]
identifier=Param3
TypeValues=C
ResultValue=lat/long-WGS84
ResultUnits=

[QUALITY:LINEAGE]
processes=1,2,3

[GEOMETRIA_I_TOPOLOGIA]
NomCampNVertexs=N_VERTEXS
NomCampLongitudArc=LONG_ARC
NomCampLongitudArcEllipsoidal=LONG_ARCE
NomCampNodeIni=NODE_INI
NomCampNodeFi=NODE_FI
Binary file not shown.
83 changes: 83 additions & 0 deletions autotest/ogr/data/miramon/Arcs/3dArcs/linies_3d_WGS84N.rel
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
[VERSIO]
Vers=4
SubVers=3
VersMetaDades=5
SubVersMetaDades=0

[TAULA_PRINCIPAL]
IdGrafic=ID_GRAFIC
TipusRelacio=RELACIO_1_N_DICC

[TAULA_PRINCIPAL:ID_GRAFIC]
visible=0
MostrarUnitats=0
descriptor=Identificador Gr�fic intern

[TAULA_PRINCIPAL:ARCS_A_NOD]
MostrarUnitats=0
descriptor=Nombre d'arcs al node

[TAULA_PRINCIPAL:TIPUS_NODE]
MostrarUnitats=0
descriptor=Tipus de node

[METADADES]
language=cat
MDIdiom=cat
dateStamp=20240311 09500993
characterSet=006
nOrganismes=2
FileIdentifier=linies_3d_29042

[METADADES:ORGANISME_1]
role=009
OrganisationName=CREAF
IndividualName=Abel Pau
PositionName=T�cnic en SIG

[IDENTIFICATION]
code=linies_3d_29042
codeSpace=
DatasetTitle=Linies

[OVERVIEW:ASPECTES_TECNICS]
comment1=Nombre d'arcs: 6
comment2=El fitxer era anteriorment en la projecci� UTM-31N-ETRS89

[EXTENT]
MinX=1.28287097369422
MaxX=1.98292118178235
MinY=41.1902658152019
MaxY=41.6776900669325
toler_env=0

[OVERVIEW]
CreationDate=20240311 09500616

[METADADES:ORGANISME_2]
role=009
OrganisationName=Students and educational institutions

[QUALITY:LINEAGE:PROCESS1]
nOrganismes=1
history=C:\MiraMon\MM64.exe
date=20230912 16505195+0200

[QUALITY:LINEAGE:PROCESS1:ORGANISME_1]
OrganisationName=Students and educational institutions

[QUALITY:LINEAGE:PROCESS2]
nOrganismes=1
history=Vec3D.exe 1 C:\Mapes\ColleccionsPreferides\Catalunya-ETRS89\Altimetria30m\MDE30m_ICC_Aster_mar0.img D:\dades\GDAL_V\KML\multi\+\linies.arc D:\dades\GDAL_V\KML\multi\+\linies_3d.arc 0
purpose=Incorpora la 3a dimensi� en capes vectorials
date=20231031 13263780+0100

[QUALITY:LINEAGE:PROCESS2:ORGANISME_1]
OrganisationName=Students and educational institutions

[QUALITY:LINEAGE]
processes=1,2

[GEOMETRIA_I_TOPOLOGIA]
NomCampArcsANode=ARCS_A_NOD
NomCampTipusNode=TIPUS_NODE
Binary file not shown.
Binary file not shown.
Binary file not shown.
41 changes: 41 additions & 0 deletions autotest/ogr/data/miramon/Arcs/EmptyArcs/Empty_ARCA.rel
Original file line number Diff line number Diff line change
@@ -0,0 +1,41 @@
[VERSIO]
VersMetaDades=5
SubVersMetaDades=0
Vers=4
SubVers=3

[SPATIAL_REFERENCE_SYSTEM:HORIZONTAL]
HorizontalSystemIdentifier=UTM-31N-ETRS89

[TAULA_PRINCIPAL]
IdGrafic=ID_GRAFIC
TipusRelacio=RELACIO_1_N_DICC

[TAULA_PRINCIPAL:ID_GRAFIC]
visible=0
descriptor=Identificador Gr�fic intern
MostrarUnitats=0

[TAULA_PRINCIPAL:N_VERTEXS]
visible=0
MostrarUnitats=0
descriptor=Nombre de v�rtexs

[TAULA_PRINCIPAL:LONG_ARC]
descriptor=Longitud de l'arc

[TAULA_PRINCIPAL:NODE_INI]
visible=0
MostrarUnitats=0
descriptor=Node inicial

[TAULA_PRINCIPAL:NODE_FI]
visible=0
MostrarUnitats=0
descriptor=Node final

[GEOMETRIA_I_TOPOLOGIA]
NomCampNVertexs=N_VERTEXS
NomCampLongitudArc=LONG_ARC
NomCampNodeIni=NODE_INI
NomCampNodeFi=NODE_FI
Binary file not shown.
26 changes: 26 additions & 0 deletions autotest/ogr/data/miramon/Arcs/EmptyArcs/Empty_ARCN.rel
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
[VERSIO]
VersMetaDades=5
SubVersMetaDades=0
Vers=4
SubVers=3

[TAULA_PRINCIPAL]
IdGrafic=ID_GRAFIC
TipusRelacio=RELACIO_1_N_DICC

[TAULA_PRINCIPAL:ID_GRAFIC]
visible=0
descriptor=Identificador Gr�fic intern
MostrarUnitats=0

[TAULA_PRINCIPAL:ARCS_A_NOD]
MostrarUnitats=0
descriptor=Nombre d'arcs al node

[TAULA_PRINCIPAL:TIPUS_NODE]
MostrarUnitats=0
descriptor=Tipus de node

[GEOMETRIA_I_TOPOLOGIA]
NomCampArcsANode=ARCS_A_NOD
NomCampTipusNode=TIPUS_NODE
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading

0 comments on commit fad106a

Please sign in to comment.