.NET APIs to manipulate GIS files on the fly
Create, Read, Edit & Convert GIS files from within .NET applications.Download Free Trial
Aspose.GIS for .NET
Aspose.GIS for .NET enables you to access & manipulate geographic information from vector based geospatial data formats. You can read, write & convert most popular GIS file formats such as Shapefile, GeoJSON, FIleGDB, KML & OSM XML from within your .NET applications without requiring any additional tools or software.
Aspose.GIS for .NET is designed with simplicity, performance, usability & portability in mind. It contains APIs to be used with .NET Framework, .NET Core & Xamarin platforms, enabling you to build cross-platform applications with great ease.
At A Glance
An overview of Aspose.GIS for .NET API.
- Access Features from Shapefile
- Convert Polygon to LineString
- Iterate Features of a Layer
- Get Layer Attributes & Values
- Filter Features by Attribute
- Count Geometries in a Shape
- Access Points & Geometries
- Iterate Points in Geometry
- Create Points & MultiPoints
- Create Polygons with Holes
- Get Geometry Type Information
Aspose.GIS for .NET supports any .NET framework starting from 4.7, .NET Core & Xamarin platforms. Moreover, it can used with Mono 5.4 or later.
- Xamarin.Android (7.5 or above)
- Xamarin.iOS (10.14 or above)
- Xamarin.Mac (3.8 or above)
Supported File Formats
Aspose.GIS for .NET supports most popular GIS file formats.
- ESRI Shapefile: SHP, SHX, DBF
- GeoJSON: JSON, GEOJSON
- Google Earth: KML
- OpenStreetMap XML: OSM
- ESRI File Geodatabase: FIleGDB
- GPS Exchange Format: GPX
- Geography Markup Language: GML
Advanced .NET GIS Manipulation API Features
Inter-convert GIS file formats
Load existing GIS files from stream or file path
Write data in Shapefile, GeoJSON and KML formats
Creating & writing ESRI File Geodatabase FIleGDB
Read data in KML, GPX, GML and FIleGDB formats
Lightweight & standalone component
Convert GeoJSON files to Shapefile with attribute adjustments
Compare geometries for spatial relation like intersection or union
Find difference & symmetric difference between geometries
Find areas, lengths & distance between geometries
Compute geometries centroid and convex hull
Inter-convert Geo Formats
Aspose.GIS for .NET provides the capability to convert Geo file formats with just one line of code. This includes conversion of ESRI Shapefiles to GeoJSON format and vice versa.
Convert ESRI Shapefile to GeoJSON - C#
// load & convert Shapefile VectorLayer.Convert(dir + "template.shp", Drivers.Shapefile, dir + "output.json", Drivers.GeoJson);
Read or Create GIS Files
Aspose.GIS for .NET not only supports loading GIS file formats for manipulation & conversion but it also provides the capability to create GIS files from scratch. .NET developers can use the API to create basic geometries such as Point, MultiPoint, Line, MultiLine, Polygon and so on, which can be further used to generate complex features.
Format-Independent Object Model
Aspose.GIS for .NET lets you manage geometries and feature attributes of supported GIS file formats without worrying about the underlying format implementation. The uniform representation of feature attributes for both ESRI Shapefiles and GeoJSON frees you from writing separate code to manage both formats.
Support for Spatial Reference System
Aspose.GIS for .NET supports Spatial Reference System. .NET GIS API allows you to create spatial reference system from Well-known Text (WKT) as well as provides the ability to export the spatial reference system to WKT. Furthermore, you may also compare spatial reference systems or create one with custom parameters as per application requirements.