GIS - Convert from one format to any formats.

Dani_S 4,836 Reputation points
2025-12-12T10:13:08.8933333+00:00

Hi,

1.In continue to: https://dori-uw-1.kuma-moon.com/en-us/answers/questions/5657151/gis-trycreateforinput

In this ticket the output was the selected converter.

Now the focus on the converter.

2.List of GIS converters:

EsriJson (.esrijson, .json)

GeoJson (.geojson,.json)

GeoJsonSeq (.json)

Kml (.kml)

Kmz (.kmz)

Shapefile (.shp, .shx, .dbf)

Osm (.osm)

Gpx (.gpx)

Gml (.gml)

Gdb (.gdb folder as a single file or .gdbtable and .gdbtablx as an archive file)

TopoJson (.json)

MapInfoInterchange (.mif)

MapInfoTab (.tab, .map, .dat, .id)

Csv (.csv)

GeoPackage (.gpkg)

3.All converters do the same aim: convert to all other formats include itself.

The method timestamp:

public ConversionResult Convert(string gisInputFilePath, string gisTargetFormatOption, string outputFolderPath, string tempFolderPath)

gisInputFilePath= input can be a single or an archive file.

I made converter to each format is it ok?

4.Can you please check the code and see if there are problem , or need refactor ?

5.I added ShapefileConverter and all its helper classes + tests(ShapefileConverterIntegrationTests.txt)??

6.Can you please check?

Thanks in advance,

The files:

ConversionResult.txt

AsposeLicenseManager.txt

Convert.txt

ConverterUtils.txt

FileExtension.txt

FileExtensionHelpers.txt

ShapefileConverter.txt

ShapefileConverterIntegrationTests.txt

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

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.