simplify-geojson - apply the ramer-douglas-peucker line simplification to geojson features or feature collections in JS or on the CLI

  •        6

Apply Ramer–Douglas–Peucker line simplification to GeoJSON features or feature collections in JS or on the CLI.This module uses https://github.com/seabre/simplify-geometry for the simplification and wraps it in a interface for easily simplifying GeoJSON.

https://github.com/maxogden/simplify-geojson

Dependencies:

concat-stream : ~1.4.1
minimist : 0.0.7
simplify-geometry : 0.0.2

Tags
Implementation
License
Platform

   




Related Projects

geojson-google-maps - A simple utility to convert GeoJSON objects to Google Maps vector objects (Marker, Polyline, Polygon)

  •    Javascript

Google Maps now has proper support for GeoJSON, so you should probably use that instead. GeoJSON is used to create Google Maps API v3 vectors (Marker, Polyline, Polygon) from GeoJSON objects (Point, LineString, Polygon, MultiPoint, MultiLineString, MultiPolygon, Feature, GeometryCollection, FeatureCollection). Specifically, I'm translating some GeoJSON types to arrays of Google Maps vectors as there aren't really Google Maps equivalents of MultiPoint, MultiLineString, etc.

MapShaper - Tools for editing Shapefile, GeoJSON, TopoJSON and CSV files

  •    MPL

Mapshaper is software for editing Shapefile, GeoJSON, TopoJSON, CSV and several other data formats, written in JavaScript. The mapshaper command line program supports essential map making tasks like simplifying shapes, editing attribute data, clipping, erasing, dissolving, filtering and more.

topojson - An extension of GeoJSON that encodes topology! 🌐

  •    Javascript

TopoJSON is an extension of GeoJSON that encodes topology. Rather than representing geometries discretely, geometries in TopoJSON files are stitched together from shared line segments called arcs. This technique is similar to Matt Bloch’s MapShaper and the Arc/Info Export format, .e00. TopoJSON eliminates redundancy, allowing related geometries to be stored efficiently in the same file. For example, the shared boundary between California and Nevada is represented only once, rather than being duplicated for both states. A single TopoJSON file can contain multiple feature collections without duplication, such as states and counties. Or, a TopoJSON file can efficiently represent both polygons (for fill) and boundaries (for stroke) as two feature collections that share the same arc mesh. See How To Infer Topology for a visual explanation of how TopoJSON works. See Command-Line Cartography for an introduction to TopoJSON and related tools. See TopoJSON Format Specification for the format specification.

turf - A modular geospatial engine written in JavaScript

  •    Javascript

Turf is a JavaScript library for spatial analysis. It includes traditional spatial operations, helper functions for creating GeoJSON data, and data classification and statistics tools. Turf can be added to your website as a client-side plugin, or you can run Turf server-side with Node.js (see below).Download the minified file, and include it in a script tag. This will expose a global variable named turf.

tippecanoe - Build vector tilesets from large collections of GeoJSON features.

  •    C++

Builds vector tilesets from large (or small) collections of GeoJSON, Geobuf, or CSV features, like these.The goal of Tippecanoe is to enable making a scale-independent view of your data, so that at any level from the entire world to a single building, you can see the density and texture of the data rather than a simplification from dropping supposedly unimportant features or clustering or aggregating them.


esri2open - this repo is an ESRI toolbox and tool(s) that export ESRI Feature Classes to open data formats, CSV, JSON, and GeoJSON

  •    Python

This repo is an ESRI toolbox and tool(s) that exports ESRI Feature Classes to open data formats, CSV, JSON, SQLite, and GeoJSON. Much of the data in government coffers is contained in spatial databases. A large percentage of government spatial data is created and managed using ESRI software. While the common interchange format, the ESRI Shapefile, is easily exported and imported by many other softwares, this data file format (the Shapefile) is not intrinsically part of the www ecology. Moreover, ESRI software does not provide an export of its generic 'feature class' (shapefile, file geodatabase, and personal geodatabase) to the most common open data file formats, CSV, JSON, and/or GeoJSON. Finally while open source tools easily transform ESRI shapefiles to open data, most government geospatial infrastructures only have ESRI tools. Lacking this basic export feature presented here, means the lion's share of government spatial data users cannot export their data to the most common open data formats.

phpgeo - Simple Geo Library for PHP

  •    PHP

phpgeo provides abstractions to geographical coordinates (including support for different ellipsoids) and allows you to calculate geographical distances between coordinates with high precision. Minimum required PHP version is 7.0.

GeoJSON-to-Google-Maps

  •    Javascript

Just a simple utility to convert GeoJSON objects to Google Maps vector objects (Marker, Polyline, Polygon)

koop - Expose GeoJSON services as Feature Services

  •    Javascript

Expose GeoJSON services as Feature Services

python-geojson - Python bindings and utilities for GeoJSON

  •    Python

This library implements all the GeoJSON Objects described in The GeoJSON Format Specification. All object keys can also be used as attributes.

geojson-vt - Slice GeoJSON into vector tiles on the fly in the browser

  •    Javascript

A highly efficient JavaScript library for slicing GeoJSON data into vector tiles on the fly, primarily designed to enable rendering and interacting with large geospatial datasets on the browser side (without a server).Created to power GeoJSON in Mapbox GL JS, but can be useful in other visualization platforms like Leaflet and d3, as well as Node.js server applications.

geojson-js-utils - JavaScript helper functions for manipulating GeoJSON

  •    Javascript

Here you will find some functions to help you manipulate and work with GeoJSON objects.You now have an object named gju that contains all of the helper functions.

togeojson - convert KML and GPX to GeoJSON, without the fuss

  •    Javascript

This converts KML & GPX to GeoJSON, in a browser or with Node.js.Convert a KML document to GeoJSON. The first argument, doc, must be a KML document as an XML DOM - not as a string. You can get this using jQuery's default .ajax function or using a bare XMLHttpRequest with the .response property holding an XML DOM.

awesome-geojson - GeoJSON utilities that will make your life easier.

  •    

GeoJSON utilities that will make your life easier. To the extent possible under law, Tom MacWright has waived all copyright and related or neighboring rights to this work.

supercluster - A crazy fast geospatial point clustering library for browsers and Node.

  •    Javascript

A very fast JavaScript library for geospatial point clustering for browsers and Node.Loads an array of GeoJSON Feature objects. Each feature's geometry must be a GeoJSON Point. Once loaded, index is immutable.

shapefile - A cross-platform streaming parser for the ESRI Shapefile spatial data format.

  •    Javascript

For a live example, see bl.ocks.org/2dd741099154a4da55a7db31fd96a892. See also ndjson-cli for examples of manipulating GeoJSON using newline-delimited JSON streams. See Command-Line Cartography for a longer introduction. In-browser parsing of dBASE table files requires TextDecoder, part of the Encoding living standard, which is not supported in IE or Safari as of September, 2016. See text-encoding for a browser polyfill.

simplify-js - Simplify.js is a high-performance JavaScript 2D/3D polyline simplification library

  •    Javascript

Simplify.js is a high-performance JavaScript 2D/3D polyline simplification library

Geo-Maps - High Quality GeoJSON maps programmatically generated

  •    Javascript

The purpose of this project is to programmatically extract maps from open databases like OpenStreetMap providing you with a ready to use GeoJSON map that fits your needs.

osmtogeojson - convert osm to geojson

  •    Javascript

This code is used in and maintained by the overpass turbo project. Converts OSM data into GeoJSON.

Kotlin-Realm-Extensions - Kotlin extensions to simplify Realm API.

  •    Kotlin

Kotlin extensions to simplify Realm API. Simplify your code to its minimum expression with this set of Kotlin extensions for Realm. Forget all boilerplate related with Realm API and perform database operations in one line of code with this lightweight library. Full test coverage.