Image for post
Image for post
GeoJson

GeoJSON is a format for encoding a variety of geographic data structures.

GeoJSON是一個專門處理地理資訊(GIS)結構的JSON標準格式,目前有越來越多library 或系統使用。

{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [125.6, 10.1]
},
"properties": {
"name": "Dinagat Islands"
}
}

GeoJSON supports the following geometry types: Point, LineString, Polygon, MultiPoint, MultiLineString, and MultiPolygon. Geometric objects with additional properties are Feature objects. Sets of features are contained by FeatureCollection objects.

Learn More

See the full specification for more detail.

GeoJSON 支持的類型 : 點、線、面、多點、多線、多面等等。詳細的可以請參考 http://geojson.org/geojson-spec.html

Example :

Written by

撰寫任何事情,O型水瓶混魔羯,咖啡愛好者,Full stack/blockchain developer,Founder of Blockchain&Dapps meetup and DeFi-Decentralized-Finance-SG meetup,Udemy teacher。

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store