Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

With the help of this community I understood how to find country codes and query geoNames data based on that.

What I am stuck on now is understanding how to break things down by state where needed.

For example, take Canada. There are a few big Provinces like Ontario, Alberta.

I just happen to sort of know that. But how can I get to know such information about other countries like Mexico or Russia, etc.

Thanks, Alex

share|improve this question

It depends what do you define as a "code". An abbreviation?

The ISO breaks down the geopolitical world into only country codes. Beyond that, there are no international standards for a country's regions (e.g., State, Province, Territory, Region, District, etc.). Update: The ISO also defines principle subdivisions of countries with ISO 3166-2.

The US Federal Gov't has a Federal Information Processing Standard, which defines country codes and region codes. However, I've never heard Ontario being referred to as CA08, so I'm not convinced this would be helpful. Plus it appears there are some missing holes, like "Note: Tasman Region was not assigned a code for unknown reasons."

share|improve this answer
As a side note, the Wikipedia article about the Tasman Region mentions that the Tasman and Nelson regions are often grouped together. – Jaime Soto May 31 '11 at 15:35

For Canada and all details including Provinces ( & FIPS Code):


share|improve this answer

For Canada, you can use GeoBase : You can download a shapefile Administrative Boundary

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.