turf VS proj4js

Compare turf vs proj4js and see what are their differences.

turf

A modular geospatial engine written in JavaScript and TypeScript (by Turfjs)

proj4js

JavaScript library to transform coordinates from one coordinate system to another, including datum transformations (by proj4js)
Our great sponsors
  • SurveyJS - Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
turf proj4js
28 10
8,755 1,933
1.1% 1.5%
7.6 6.1
19 days ago 2 days ago
TypeScript JavaScript
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

turf

Posts with mentions or reviews of turf. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-12-09.

proj4js

Posts with mentions or reviews of proj4js. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-26.
  • How to Build a Choropleth Map in JavaScript
    2 projects | dev.to | 26 May 2023
    It is needed to link the required JS scripts in the section of the HTML page. These scripts include the Core and Geo Maps modules and the file that contains geodata for the world map, all of which are available on the CDN. I'll also use two more script files to connect the data to the choropleth map. One is the Data Adapter, which will help load the data, and the other is Proj4js, a JavaScript library that will transform the coordinates from one coordinate system to another so the data can be plotted on the map accurately.
  • [Excel] VBA vs. Office Scripts
    1 project | /r/vba | 13 Sep 2022
    E.G. if I wanted to use proj4js apart from copying the entire build file into my source code, there is no easy way for me to use this library. I.E. code reuse is a nightmare still.
  • How to Build a Connector Map in JS
    2 projects | dev.to | 16 Jul 2022
    We need the Core and Geo Map modules to take care of data visualization in the form of a connector map, geodata for a world map, and the Proj4js library to take care of geographic coordinates.
  • Creating a JS Connector Map to Visualize Tour de France 2021 Route
    1 project | dev.to | 22 Sep 2021
    One more script to wrap up the map-related additions is Proj4js, a JavaScript library that ensures the plotting of coordinates over the appropriate geographical area.
  • How to Build an Interactive Flow Map in JavaScript
    1 project | dev.to | 19 Jul 2021
    In addition, I will make use of another JavaScript library — Proj4js — which, in short, takes care of plotting the coordinates over the respective geographical areas.
  • We’re the Microsoft Office Scripts and Power Automate teams – Ask us Anything (and come celebrate Office Scripts GA with us)!
    2 projects | /r/excel | 11 Jun 2021
    In this way we can also still use javascript libraries to do complex tasks. E.G. Projection which is far too complicated to do in PowerAutomate. I've had this use case when trying to go from Latitude Longitude coords created by a phone to British National Grid coordinate system.
  • How to read moon projections
    1 project | /r/mapping | 21 Apr 2021
    Was hoping to make a mosaic of tiles. I used poj4js to convert data points, but it turned out to be very inaccurate for the moon (like off by 20 degrees or more).
  • Distance between points to polygon/polygon to polygon on a sphere (Earth)
    5 projects | /r/gis | 19 Apr 2021
    Then see in the doc here : https://github.com/proj4js/proj4js how to convert, it's easy once you have the definition.

What are some alternatives?

When comparing turf and proj4js you can also consider the following projects:

Cytoscape.js - Graph theory (network) library for visualisation and analysis

21S-191A - An upper-division course in UCLA's Asian American Studies Department designed to utilize web technologies and empower communities for social change.

Angular - Deliver web apps with confidence 🚀

Cesium - An open-source JavaScript library for world-class 3D globes and maps :earth_americas:

ipfs - IPFS implementation in JavaScript

h3-js - h3-js provides a JavaScript version of H3, a hexagon-based geospatial indexing system.

Leaflet - 🍃 JavaScript library for mobile-friendly interactive maps 🇺🇦

AnyChart - AnyChart is a lightweight and robust JavaScript charting solution with great API and documentation. The chart types and unique features are numerous, the library works easily with any development stack.

js-git - A JavaScript implementation of Git.

spectral - Awesome Spectral Indices for the Google Earth Engine JavaScript API (Code Editor).

peerflix - Streaming torrent client for node.js

kad