Skip to content

Commit 5fb9674

Browse files
committed
added shapefile example
1 parent 8f131a8 commit 5fb9674

8 files changed

+77
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,12 @@ Actually, the app includes an adapted copy of the [Leaflet-providers](https://gi
1212

1313
## Shapefiles (for testing)
1414

15+
There are some zipped shapefile examples in the 'shapefile-examples' folder in this repo:
16+
17+
- [World Borders](http://thematicmapping.org/downloads/world_borders.php) shapefile)
18+
19+
### Other online shapefile sources
20+
1521
USA: The US Census Bureau offers zipped shapefiles in the following page (contains many state-based and national congressional district cartographic boundary data):
1622

1723
https://www.census.gov/geographies/mapping-files/time-series/geo/carto-boundary-file.html

public/files/app-screenshot.jpg

-622 KB
Binary file not shown.

shapefile-examples/Readme.txt

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
TM_WORLD_BORDERS-0.1.ZIP
2+
3+
Provided by Bjorn Sandvik, thematicmapping.org
4+
5+
Use this dataset with care, as several of the borders are disputed.
6+
7+
The original shapefile (world_borders.zip, 3.2 MB) was downloaded from the Mapping Hacks website:
8+
http://www.mappinghacks.com/data/
9+
10+
The dataset was derived by Schuyler Erle from public domain sources.
11+
Sean Gilles did some clean up and made some enhancements.
12+
13+
14+
COLUMN TYPE DESCRIPTION
15+
16+
Shape Polygon Country/area border as polygon(s)
17+
FIPS String(2) FIPS 10-4 Country Code
18+
ISO2 String(2) ISO 3166-1 Alpha-2 Country Code
19+
ISO3 String(3) ISO 3166-1 Alpha-3 Country Code
20+
UN Short Integer(3) ISO 3166-1 Numeric-3 Country Code
21+
NAME String(50) Name of country/area
22+
AREA Long Integer(7) Land area, FAO Statistics (2002)
23+
POP2005 Double(10,0) Population, World Polulation Prospects (2005)
24+
REGION Short Integer(3) Macro geographical (continental region), UN Statistics
25+
SUBREGION Short Integer(3) Geogrpahical sub-region, UN Statistics
26+
LON FLOAT (7,3) Longitude
27+
LAT FLOAT (6,3) Latitude
28+
29+
30+
CHANGELOG VERSION 0.3 - 30 July 2008
31+
32+
- Corrected spelling mistake (United Arab Emirates)
33+
- Corrected population number for Japan
34+
- Adjusted long/lat values for India, Italy and United Kingdom
35+
36+
37+
CHANGELOG VERSION 0.2 - 1 April 2008
38+
39+
- Made new ZIP archieves. No change in dataset.
40+
41+
42+
CHANGELOG VERSION 0.1 - 13 March 2008
43+
44+
- Polygons representing each country were merged into one feature
45+
- �land Islands was extracted from Finland
46+
- Hong Kong was extracted from China
47+
- Holy See (Vatican City) was added
48+
- Gaza Strip and West Bank was merged into "Occupied Palestinean Territory"
49+
- Saint-Barthelemy was extracted from Netherlands Antilles
50+
- Saint-Martin (Frensh part) was extracted from Guadeloupe
51+
- Svalbard and Jan Mayen was merged into "Svalbard and Jan Mayen Islands"
52+
- Timor-Leste was extracted from Indonesia
53+
- Juan De Nova Island was merged with "French Southern & Antarctic Land"
54+
- Baker Island, Howland Island, Jarvis Island, Johnston Atoll, Midway Islands
55+
and Wake Island was merged into "United States Minor Outlying Islands"
56+
- Glorioso Islands, Parcel Islands, Spartly Islands was removed
57+
(almost uninhabited and missing ISO-3611-1 code)
58+
59+
- Added ISO-3166-1 codes (alpha-2, alpha-3, numeric-3). Source:
60+
https://www.cia.gov/library/publications/the-world-factbook/appendix/appendix-d.html
61+
http://unstats.un.org/unsd/methods/m49/m49alpha.htm
62+
http://www.fysh.org/~katie/development/geography.txt
63+
- AREA column has been replaced with data from UNdata:
64+
Land area, 1000 hectares, 2002, FAO Statistics
65+
- POPULATION column (POP2005) has been replaced with data from UNdata:
66+
Population, 2005, Medium variant, World Population Prospects: The 2006 Revision
67+
- Added region and sub-region codes from UN Statistics Division. Source:
68+
http://unstats.un.org/unsd/methods/m49/m49regin.htm
69+
- Added LAT, LONG values for each country
70+
24.2 KB
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]
6.18 MB
Binary file not shown.
2.02 KB
Binary file not shown.
3.3 MB
Binary file not shown.

0 commit comments

Comments
 (0)