Share via

Convert specifix extensions to GeoJson format using Microsoft technologies.

G S 0 Reputation points
2026-02-13T06:45:17.2333333+00:00

Hi,

I have these extensions, and I need to convert the, to

I tried to find solution for all this without success.

Does Microsoft technologies can solve this task ?

I'm using .NET 10 on windows.

Thanks in advance,

The list of extension and there uses I found in Chat GPT:

.ifc

.ifc file is an Industry Foundation Classes file, used in BIM (Building Information Modeling).

Stores 3D building and construction data: geometry, materials, components, and metadata

An open standard maintained by buildingSMART International

Designed for interoperability between BIM software like:

Autodesk Revit

ArchiCAD

Tekla Structures

Vectorworks

.dwg

A .dwg file is a drawing file format used by AutoCAD and other CAD software.

Stores vector graphics, 2D/3D geometry, annotations, and metadata

Widely used in engineering, architecture, and construction

Binary format developed by Autodesk.

.atx

An .atx file is an attribute index file used by Esri File Geodatabases (.gdb).

Stores attribute index structures for a field in:

Feature classes

Tables

It is not gis format, it’s additional files for format.

.horizon

Typically used in geological software (e.g., Petrel) to represent horizon surfaces.

Not part of Esri’s formats; “not directly supported” in ArcGIS.

.lpkx

LPKX – Layer Package

A layer package (.lpkx file) in ArcGIS is a file that contains both the layer properties and the dataset referenced by the layer. It allows you to save and share everything about a layer, including its symbology, labeling, field properties, and associated data. Layer packages can include multiple layers and can be directly added to maps by other users without requiring access to the original database or manual configuration of layer properties.

It is not gis format, it’s additional files for format.

.lyrx

LYRX – Layer File

lyrx file is a type of layerfile used in ArcGIS Pro to save and share the properties of a layer, such as its symbology, labeling, and other settings. It is an updated format compared to the older .lyr file used in ArcGIS Desktop.

It is not gis format, it’s additional files for format.

.mpkx

MPKX – Map Package

An ArcGIS Pro map package is a compressed file that contains a map and its associated data. It is designed to facilitate the sharing of maps and data between users or to archive work. A map package can include layers, their symbolization, labeling, table properties, and data.

.cpg

A .cpg file is a code page file for a Shapefile.

It is not a mandatory file.

• Stores the character encoding for text fields in the .dbf attribute table

• Ensures non-ASCII characters (like accented letters, symbols, or non-Latin scripts) display correctly in GIS software

• Typically contains a single line specifying the encoding, e.g., UTF-8 or ISO-8859-1.

Developer technologies | C#
Developer technologies | C#

An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.

{count} votes

1 answer

Sort by: Most helpful
  1. Varsha Dundigalla(INFOSYS LIMITED) 4,780 Reputation points Microsoft External Staff
    2026-02-16T10:56:46.92+00:00

    Thank you for reaching out.
    A .NET console application can write GeoJSON, but it still needs a Microsoft‑supported way to read each source file format.

    From the formats mentioned, Microsoft provides a supported conversion path only for DWG files. DWG files can be converted by uploading them as a drawing package (ZIP containing DWG + manifest.json) to the Azure Maps Conversion service, where the converted data can then be queried and returned in GeoJSON format.

    For the other formats listed:no

    • IFC (BIM format) – Microsoft does not provide a built‑in .NET library or Azure service to convert IFC to GeoJSON.
    • Horizon and similar domain‑specific geology formats – Not supported by Microsoft for GeoJSON conversion.
    • LPKX / MPKX / LYRX / ATX / CPG – These are ArcGIS package, layer definition, or support files, not standalone GIS datasets. Microsoft does not provide a .NET API to read or convert these files directly to GeoJSON.

    Because of this, a Microsoft‑only .NET console app cannot convert all these formats to GeoJSON. The only supported scenario using Microsoft technologies is DWG → GeoJSON via Azure Maps Conversion.

    References:

    Please let us know if you require any further assistance, we’re happy to help. If you found this information useful, kindly mark this as "Accept Answer". So that others in the community facing similar issues can easily find the solution. Your contribution is highly appreciated.


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.