1. Products
  2.   Aspose.GIS
  3.   .NET
  4.   Conversion
  5.   geojson to topojson

geojson to topojson conversion API for net

Integrate geojson to topojson conversion with GIS API for net developers

Aspose.GIS for net is a GIS data manipulation and conversion API. It fully supports reading, writing and converting famous GIS data formats such as ESRI Shapefiles, GeoJSON, TopoJSON, ESRI Geodatabase, Geography Markup Language, Google Earth, GPS Exchange Format, MapInfo Formats and OpenStreetMap. It is a standalone net based API and does not require any GIS based softwares like ArcGIS / ArcMap, QGIS etc.

  Download Free Trial
Aspose.GIS for NET


Add Geojson to Topojson conversion into your cross-platform application or Net project using our API for Net.

The GIS conversion API uses the same method with many options for different formats, making it simple and intuitive to use for users. Our API provides fast and accurate conversions between Geojson and Topojson and retrieves the converted Topojson files losslessly at the original high resolution.

Conversion API has a several features:
  • Inter-conversion;
  • Supports setting object attributes during conversion;
  • Reprojection during conversion.
Get fully managed code to integrate the Geojson to Topojson conversion into any kind of Net application.
Build a powerful conversion application in C#, ASPNet, or other Net-related technologies.
You can use the conversion to Net to develop your application in any development environment that targets the Net platform. Compatible with all Net-based languages and supports popular operating systems (Windows, Linux, macOS) with Mono or the Net framework (including Net Core) installed.

Why Aspose.GIS.Conversion for Net?

Aspose.GIS.Conversion API for Net helps developers convert geographic information fetched from vector-based geospatial data formats without needing any other GIS software. Our API supports working with Shapefile, Geojson, ESRI File Geodatabase (FileGDB), Geography Markup Language (GML), Keyhole Markup Language (KML), Scalable Vector Graphics (SVG), and many others. Aspose’s customers are drawn from various industries, from software developers and consulting companies to banks, government agencies, and academic institutions. Whenever you need experience in GIS, you need an Aspose.GIS product.
Some of our 21,000+ customers around the world have shared their succhess stories already.
Code for integrating Geojson to Topojson Conversion into your application
Input file
Upload a file you want to convert
Output format
Select the target format from the list
// Convert GEOJSON GIS data to TOPOJSON data
VectorLayer.Convert(dir + "example.geojson", Drivers.GeoJson, dir + "output.topojson", Drivers.TopoJson);

How to convert Geojson to Topojson in C#

  1. A string type file path to the source Geojson file
  2. Source driver to let the API know about the input format. Set it to Drivers.Geojson
  3. The string type file path to the destination Topojson data file
  4. Destination driver to specify output format. Set it to Drivers.Topojson

C# Conversion library

There are a simple way to install Aspose.GIS for Net onto your system:

  • Install Package Aspose.GIS from Package Manager Console in Visual Studio to get the NuGet package;
  • Or you can download package from our site;
  • Update Package Aspose.GIS. to upgrade to the latest version;
  • Add Aspose.GIS for Net to your system by installing NuGet Package;
  • See Documentation.

System Requirements

Conversion API for Net is supported on most platforms and operating systems and it can be used to develop several different types of Net apps including ASP Net, WinForms and Windows Services. API for Net is easy to use and deploy, and provides the ideal solution to work with geospatial information with Net Framework 4.7, Net Standard 2.0 & Xamarin platforms. Before running the code, please make sure your system meets the appropriate requirements.

Geojson as Topojson Live Demos

Try the features of our library to see new opportunities. Live demos in C#

Key Features

No need to download Aspose GIS API.

Just Select SHP as output format and.

Upload your GPX file, it will be converted instantly to SHP.

You will get the download link.