Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
taiwan-atlas
Advanced tools
Similar to the topojson/us-atlas project, this repository provides a topojson redistribution of the shapefiles provided by Taiwan's Ministry of the Interior. See the demo for usage example.
All of these files are provided at a scale of 1:10 thousand.
# villages-10t.json · Download
A TopoJSON file containing the geometry collections villages, towns, counties, and nation. The geometry is quantized and simplified, but not projected. This topology is derived from the Ministry of the Interior’s 村里界圖(TWD97經緯度). The town boundaries are computed by merging villages, the county boundaries by merging towns, and the nation boundary is computed by merging counties, ensuring a consistent topology.
# villages-mercator-10t.json · Download
A TopoJSON file containing the geometry collections villages, towns, counties, and nation. The geometry is quantized, simplified, and projected with the mercatorTw projection. This topology is derived from the Ministry of the Interior’s 村里界圖(TWD97經緯度). The town boundaries are computed by merging villages, the county boundaries by merging towns, and the nation boundary is computed by merging counties, ensuring a consistent topology. This file also contains a compBorders object for optionally drawing the borders of the composed areas.
A TopoJSON file containing the geometry collections towns, counties, and nation. The geometry is quantized and simplified, but not projected. This topology is derived from the Ministry of the Interior’s 鄉鎮市區界線(TWD97經緯度). The county boundaries are computed by merging towns and the nation boundaries by merging counties, ensuring a consistent topology.
# towns-mercator-10t.json · Download
A TopoJSON file containing the geometry collections towns, counties, and nation. The geometry is quantized, simplified, and projected with the mercatorTw projection. This topology is derived from the Ministry of the Interior’s 鄉鎮市區界線(TWD97經緯度). The county boundaries are computed by merging towns and the nation boundaries by merging counties, ensuring a consistent topology. This file also contains a compBorders object for optionally drawing the borders of the composed areas.
# districts-10t.json · Download
A TopoJSON file containing the geometry collections districts specifying legislative districts, counties, and nation. The geometry is quantized and simplified, but not projected. This topology is derived from the Ministry of the Interior’s 鄉鎮市區界線(TWD97經緯度) and combined via the districts specified in this json file. The county boundaries are computed by merging districts and the nation boundaries by merging counties, ensuring a consistent topology.
# districts-mercator-10t.json · Download
A TopoJSON file containing the geometry collections districts specifying legislative districts, counties, and nation. The geometry is quantized, simplified, and projected with the mercatorTw projection. This topology is derived from the Ministry of the Interior’s 鄉鎮市區界線(TWD97經緯度) and combined via the districts specified in this json file. The county boundaries are computed by merging districts and the nation boundaries by merging counties, ensuring a consistent topology. This file also contains a compBorders object for optionally drawing the borders of the composed areas.
# counties-10t.json · Download
A TopoJSON file containing the geometry collections counties, and nation. The geometry is quantized and simplified, but not projected. This topology is derived from the Ministry of the Interior’s 直轄市、縣市界線(TWD97經緯度). The nation boundaries are computed by merging counties, ensuring a consistent topology.
# counties-mercator-10t.json · Download
A TopoJSON file containing the geometry collections counties and nation. The geometry is quantized, simplified, and projected with the mercatorTw projection. This topology is derived from the Ministry of the Interior’s 直轄市、縣市界線(TWD97經緯度). The nation boundaries are computed by merging counties, ensuring a consistent topology. This file also contains a compBorders object for optionally drawing the borders of the composed areas.
A TopoJSON file containing the geometry collections nation. The geometry is quantized and simplified, but not projected. This topology is derived from the Ministry of the Interior’s 直轄市、縣市界線(TWD97經緯度).
# nation-mercator-10t.json · Download
A TopoJSON file containing the geometry collections nation. The geometry is quantized, simplified, and projected with the mercatorTw projection. This topology is derived from the Ministry of the Interior’s 直轄市、縣市界線(TWD97經緯度). This file also contains a compBorders object for optionally drawing the borders of the composed areas.
# tw.objects.nation
The nation object has two fields:
# tw.objects.counties
The county object has the following fields:
# tw.objects.towns
The town object has the following fields in addition to the county fields:
# tw.objects.districts
The district object has the following fields in addition to the county fields:
# tw.objects.villages
The village object has the following fields in addition to the town and county fields:
The compBorders object has the following fields:
mercatorTw.js
uses a Taiwan-centric composite projection of four d3.geoMercator projections: One for the main island, and one for each of Penghu, Kinmen, Lienchiang, and Wuqiu respectively.
mercatorTw.getCompositionBorders()
returns a svg path string of the borders, given the current scale and translation.
This package exports the mercatorTw projection and can be used in your own projects.
import mercatorTw from 'taiwan-atlas';
MIT
FAQs
Pre-built TopoJSON from the Ministry of the Interior.
The npm package taiwan-atlas receives a total of 13 weekly downloads. As such, taiwan-atlas popularity was classified as not popular.
We found that taiwan-atlas demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.