Professional Documents
Culture Documents
www.mapanet.eu
Thank you for evaluating Mapanet products, we appreciate your business. Hereafter
you will find technical information of our datasets and how to import the data in
your application.
The use Mapanet data is subject to our terms and conditions, by downloading any
data implies that you read and accepted the terms and conditions in the license
document.
DATASETS
ADMINISTRATIVE REGIONS
This file contains the primary four administrative divisions (province down to district
level) of every country and territory in the respective available languages.
It is .
Records are georeference with Latitude, Longitude and average Altitude of centroid
in decimal notation for WGS84.
This file is the base of our datasets, it can be used standalone to build filling forms
and keep user information aligned or as base for the next levels of data as: cities,
postal codes and streets datasets, and a perfect base for our polygons datasets to
display region boundaries on maps.
All administrative regions, localities, suburbs and postal codes including business and
administrative entities, streets when available, information of time zones and
georeference latitude, longitude (WGS84 datum) and altitude in meters.
This dataset can be easily imported into any software, database, format or GIS
system. The Administrative Regions/Divisions dataset is included as complement.
It is the perfect product if you need to update your contact list, validate forms, build a
store locator, find and display locations on a map, calculate distances between points,
create statistics, and more.
If you need data for certain world regions, we have bulk packages, a great opportunity
to get a complete region at great discounted price.
STREETS
Available for some countries, the Streets datasets are a comprehensive list of street
names, blocks segments enumeration, corporations and city administrative centers
for all mayor cities.
Perfect to build a geocoder, fill forms with standardized address, check and improve
the quality of your addresses or enhance your GIS system. The Administrative
Regions/Divisions dataset is included as complement.
POLYGONS
Available for some countries only, these datasets include a matrix of geographic
coordinates: latitude, longitude in WGS84 datum, and altitude in meters over sea
level to display contours of administrative regions, postal codes, cities and suburbs on
maps such as Google maps, Earth, Bing or any GIS software. Matrix of coordinates can
be used directly in JavaScript or easily converted to practically into any Geo format
such as SHP, Geo JSON, KML, etc., perfect boundaries complement.
Free data included in the Resources directory containing the complementary tables:
• Continents
• Countries
• Country Names in different languages
• Postal Codes Formats
• ISO 3166-2 codes
• American FIPS codes of countries and administrative regions
• NUTS codes
• Currencies
• Languages
• Tax ID formats
• Time Zones UTC / Olson
.SQL MS SQL Server bulk import Semicolon {none} No UTF-16 Big Endian
Import procedures for most databases and common applications is available in the
DATA IMPORT section of this document where you will find specific details for table
creation and scripts required to perform data import.
Non-Latin languages
Accents
All datasets have a US-ASCII non-accented 26 letters version with file extension: ASC.
Geo-XX-5-STD
↑ ↑ ↑ ↑
| | | STD if single country, PKG if a set of several countries or all world countries
| | |
| | Data layer 4: Adm. regions, 5: City and P.Code, 8: Streets, 9: Street+premise
| |
| Country ISO code, if package of countries:
|
| WE = Western Europe, EE = Eastern Europe, EU = All countries in the European Union
| ME = Middle East, AS = Asia, OC = Oceania
| NA = North America, CC = Central America and the Caribbean, SA = South America
|
GEO for data set with records, POL if data is boundaries polygons sets of coordinates
Continents resources/Continents.csv
Field Data type Description
Language varchar(3) Language code ISO 639-1
Countries resources/Countries.csv
hasZipCodes denotes if country have a postal codes system (true, false).
Field LanguagePC contains codes of language datasets available in the Postal Codes
and Streets files separated by comma, ie: EN,PT (English and Portuguese).
Currencies resources/Currencies.csv
Field Data type Description
Language varchar(3) Language code ISO 639-1
Languages resources/Languages.csv
Field Data type Description
Language varchar(3) Language code ISO 3166-1 (for name)
In this section you will find procedures to import a dataset to several different
applications and database management. If your application is not included in this
section let us know, we can help you with specific needs.
Note the names in red of database, table or data file are a visual example to guide
you, you must change them according to your system and file:
MS Excel
Follow the steps below to import the CSV data in Excel:
• Select all cells and format them as Text so data preserve leading zeroes in codes
• In import wizard, select Delimited type and 65001: Unicode (URF-8) encoding
• Click Next, select Semicolon (;) as delimiter and {none} as Text qualifier
• Select all columns and define them type: Text to preserve leading zeroes in codes
Note:
Access file limit is 2GB in size, all countries data need 3GB, so can’t be imported.
• Select Delimited, click on Advanced and select Unicode (UTF‐8) as Code Page
• Click Next, select Semicolon (;) as delimiter and {none} as Text qualifier
SET ANSI_NULLS ON
GO
SET QUOTED_IDENTIFIER ON
GO
SQL script to create the Administrative Regions table structure and indexes:
SQL script to create the Postal Codes table structure and indexes:
SQL script to create the Administrative Regions table structure and indexes:
ORGANIZATION EXTERNAL
( DEFAULT DIRECTORY xtern_data_dir
ACCESS PARAMETERS
( RECORDS DELIMITED BY NEWLINE
FIELDS TERMINATED BY ';'
)
LOCATION ('/path/Geo-XX-4-XXX.csv')
);