Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

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

This question is about Natural earth 1:10 states and provinces.shp file. I'm using ogr2ogr and want to know the name of the id i need to pass . In purpose of pulling out the right states regions.

I've use couple of properties name that didn't work (-where "adm0_a3 IN ('MLI')" \ , -where "iso_a2 = 'ML'" \ ). Can anyone help me i'm running out of places to find the answer.

share|improve this question

I've just managed to compile the file with ogr2ogr for Germany.

My command was:

ogr2ogr -f GeoJSON -where "iso_a2 = 'DE'" provinces.json /path/to/naturalearth/10m_cultural/ne_10m_admin_1_states_provinces_shp.shp

I followed Mike Bostocks tutorial here.

I was curious about ML(I). So I chcked it out --- Mali, wow, maybe the file is corrupt according to Mali, because your command should actually be correct I guess.

Cheers, Joehannes

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.