The Hottest City In The World

The hottest city in the world is located in Dallol, Ethiopia. Dallol is a very unique city becuse of it’s supernatural colours, mineral patterns, and the acidic fluids of hydrothermal springs. Dallol…

Smartphone

独家优惠奖金 100% 高达 1 BTC + 180 免费旋转




Everything about GeoJSON

As the name suggests, GeoJSON is a combination of two words, Geographical and JSON, but if we try to understand it in more depth, the simple definition can be A JSON object accomodating information about the specific geometry (e.g. Point, Line, Polygon, etc.) along with optional metadata (e.g. id, etc.)
In a world full of APIs, developers rely on information communicated mostly through JSON or XML most of the time. Thus to talk smoothly with existing logics and standards, GeoJSON was introduced.

GeoJSON file is written in the same way JSON is written. the extension for GeoJSON file is (well no surprise here! ) .geojson

GeoJSON file follows a pattern, which is pretty standard and if broken, might week the geojson file. A standard GeoJSON file looks like this

It is a Javascript Object or Python Dictionary, with certain keywords that must be there and certain optional

this must be available in the GeoJSON file as it indicated that the file contains features.

A typical example of GeoJSON Point feature is

A typical example of GeoJSON LineString feature is

A typical example of GeoJSON Polygon feature is

Apart from these standard geometries, we can also draw MultiPoint, MultiLineString, MultiPolygon, etc.

Apart from "type" and "features" , you can add certain metadata properties to GeoJSON which will be optional and will serve just the informational purpose. e.g.

An example of complete GeoJSON is as follow

Technically, Yes. GeoJSON is also at the end of the day JSON, you can save it as a .json file as well, given that you follow the standard mentioned earlier

GeoJSON can be created with variety of online tools or using the software as well. Coordinates for the geometry are coordinate reference systems (CRS), dependant. That means different CRS will have different coordinates.

This tool allows users to select the CRS of their choice (3857, 4326, 32643, etc.) and then draw geometry. GeoJSON for that geometry is created in realtime.

You can also use software such as QGIS, ArcMap, etc. for the same purpose

Geospatial Data can be stored in various ways, some of them are as follows:
1. ESRI Shapefile
2. KML/KMZ
3. GML

I write most of my post for the ‘Random GIS Talks’, which is dedicated to posts regarding GIS installations, inventions, technologies, etc. make sure to hit the subscribe button to stay updated for further posts 👉🏻 here 👈🏻

Adios!

Add a comment

Related posts:

My personal notes on the new Scrum Guide 2020

A new Scrum Guide was presented to the world earlier this week. I have never seen such a buzz around any of the previous releases, so I decided to take some time to read the guide while having a few…

Create a unified map of your data across hybrid sources

Azure Purview is a unified data governance service that helps you manage and govern your on-premises, multi-cloud, and software-as-a-service (SaaS) data. Easily create a holistic, up-to-date map of…

Coisas que nem eu sei explicar.

Tem algo nesse sentimento que eu não sei explicar, não sei se é uma dependência emocional ou algo que vai além, só sei dizer que sinto. Existem dias em que passo bem, não lembro, fico bem, fumo meus…