All Projects → Terradue → DotNetGeoJson

Terradue / DotNetGeoJson

Licence: AGPL-3.0 license
GeoJson library for .Net

Programming Languages

C#
18002 projects

Projects that are alternatives of or similar to DotNetGeoJson

osm-geojson
🔰 Get GeoJSON of a OpenStreetMap's relation from the API.
Stars: ✭ 42 (+90.91%)
Mutual labels:  geojson
FB2Library
Cross-Platform .NET library for read .FB2 ebook files.
Stars: ✭ 23 (+4.55%)
Mutual labels:  xamarin
Xamarin.Android.Skobbler
C# bindings for the Skobbler Android SDK
Stars: ✭ 16 (-27.27%)
Mutual labels:  xamarin
MountainMobile
MountainMobile - A Xamarin.Forms UI Challenge
Stars: ✭ 43 (+95.45%)
Mutual labels:  xamarin
mapzap.github.io
Build custom responsive web mapping applications without any coding!
Stars: ✭ 22 (+0%)
Mutual labels:  geojson
SharpXMPP
XMPP library for .NET/Xamarin/.NET Core
Stars: ✭ 17 (-22.73%)
Mutual labels:  xamarin
vaguely-rude-places
The map of Vaguely Rude Place Names
Stars: ✭ 19 (-13.64%)
Mutual labels:  geojson
VersionTrackingPlugin
Version Tracking Plugin for Xamarin and Windows
Stars: ✭ 62 (+181.82%)
Mutual labels:  xamarin
xamarin-bugly
A bugly SDK for Xamarin Android Bindings
Stars: ✭ 22 (+0%)
Mutual labels:  xamarin
XamarinIoTWorkshop
A workshop that demonstrates how to collect IoT data from a mobile device using a Xamarin app, aggregating the data to the cloud using Azure IoT Hub
Stars: ✭ 13 (-40.91%)
Mutual labels:  xamarin
openelevationservice
🌄 A GeoJSON based service to query SRTM elevation for points/lines.
Stars: ✭ 44 (+100%)
Mutual labels:  geojson
XPlat-Windows-APIs
UWP style APIs cross-platform with .NET!
Stars: ✭ 31 (+40.91%)
Mutual labels:  xamarin
Xamarin.AzureCommunicationCalling
Xamarin iOS and Android binding libraries for Microsofts Azure Communication Services
Stars: ✭ 32 (+45.45%)
Mutual labels:  xamarin
Xamarin.Plugin.ImageEdit
Image Edit Plugin for Xamarin
Stars: ✭ 52 (+136.36%)
Mutual labels:  xamarin
ably-dotnet
.NET, Xamarin and Mono client library SDK for Ably realtime messaging service
Stars: ✭ 32 (+45.45%)
Mutual labels:  xamarin
turf-async
Demonstrating how to use Turf.js with web workers to run geoprocesses asynchronously
Stars: ✭ 50 (+127.27%)
Mutual labels:  geojson
TravellingApp
Xamarin.Forms goodlooking UI sample using the new CarouselView.
Stars: ✭ 52 (+136.36%)
Mutual labels:  xamarin
GpsPrune
GpsPrune is a map-based application for viewing, editing and converting coordinate data from GPS systems.
Stars: ✭ 46 (+109.09%)
Mutual labels:  geojson
Xamarin.BookReader
Xamarin.Android复刻实现的 📕 "任阅" 网络小说阅读器 https://github.com/JustWayward/BookReader
Stars: ✭ 74 (+236.36%)
Mutual labels:  xamarin
XamUI
Xamarin UI Challenges 🏆
Stars: ✭ 57 (+159.09%)
Mutual labels:  xamarin

Build Status

DotNetGeoJson - Geometry library for .Net

Terradue.GeoJson is a library targeting .NET 4.0 and above providing an easy way to manage GeoJson objects with serialization and deserialization functions based on Json.NET and transformation functions from GML and Well Known Text (WKT)

Usage examples

Serialize

var feature = GeometryFactory.WktToFeature("MULTIPOLYGON(((-35.8564 76.3201,-24.3168 86.6627,-35.8318 86.7731,-47.6561 86.7495,-58.8572 86.5946,-66.4273 86.4019,-75.1745 86.0612,-82.4096 85.6457,-88.3271 85.1747,-94.2379 84.5298,-98.0433 83.9814,-102.611 83.1211,-106.698 82.0776,-109.452 81.1601,-112.048 80.071,-114.95 78.4909,-117.401 76.7308,-119.334 74.9554,-120.913 73.1694,-122.124 71.539,-123.467 69.4122,-124.777 66.9507,-126.041 64.1534,-127.137 61.3499,-128.164 58.3761,-129.332 54.5695,-131.148 47.7685,-133.199 38.9534,-140.184 5.21524,-143.393 -9.14381,-145.178 -16.2998,-146.908 -22.6017,-148.621 -28.2163,-150.479 -33.6374,-152.391 -38.5343,-154.348 -42.9085,-156.51 -47.0827,-158.823 -50.8932,-161.17 -54.1839,-163.769 -57.269,-166.662 -60.1427,-169.7 -62.6524,-146.91 -66.483,-145.417 -63.0394,-143.765 -58.4344,-142.267 -53.4868,-140.824 -48.0312,-139.403 -42.0658,-137.976 -35.5891,-132.316 -8.07001,-129.522 4.79458,-128.027 11.1346,-126.549 16.963,-125.087 22.2781,-123.592 27.245,-121.827 32.5203,-119.965 37.4381,-118.139 41.672,-116.314 45.3893,-114.333 48.914,-112.169 52.2423,-109.92 55.2151,-107.466 57.9885,-105.12 60.2592,-102.436 62.4837,-99.3325 64.65,-96.4819 66.3306,-92.9457 68.0854,-89.5209 69.5039,-85.63 70.8476,-81.6291 71.9901,-76.6541 73.141,-72.0977 73.9842,-66.5 74.7977,-60.9886 75.4017,-55.0708 75.8679,-48.1172 76.2077,-41.6493 76.3417,-35.8564 76.3201)))");
var fc = new FeatureCollection(new Terradue.GeoJson.Feature.Feature[]{feature}.ToList());
JsonSerializer.SerializeToStream(fc, Console.OpenStandardOutput());

Supported Platforms

  • .NET 4.0 (Desktop / Server)
  • Xamarin.iOS / Xamarin.Android / Xamarin.Mac
  • Mono 2.10+

Getting Started

Terradue.GeoJson is available as NuGet package in releases.

Install-Package Terradue.GeoJson

Build

Terradue.GeoJson is a single assembly designed to be easily deployed anywhere.

To compile it yourself, you’ll need:

  • Visual Studio 2012 or later, or Xamarin Studio

To clone it locally, click the "Clone in Desktop" button above or run the following git commands.

git clone [email protected]:Terradue/Terradue.GeoJson.git Terradue.GeoJson

Copyright and License

Copyright (c) 2014 - 2019 Terradue

Licensed under the Affero GPL v3 License

Adapted from GeoJSON.Net / https://github.com/jbattermann/GeoJSON.Net

Copyright (c) Jörg Battermann 2011

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].