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

I tried to use QGIS to transform shp files in kml and to translate the CRS to use in a google maps application. My problem is that I have a lot of shp files that i can open in a bulk manner by drag and drop but i can only export one layer at a time.

I have used the MMQGIS plugin to merge layers and export one that containes all. This works fine, except that the only way i can keep track of the shp files is by their file name (the objname is truncated to 10 chars), and when i merge the layes the order gets somehow scrambled and i cannot make sense of the what is which.

So, bottom line, how can i convert a lot of shp files (and also to change the CRS) in a more friendly format (kml, csv, json..) ?

Thank you!

share|improve this question
up vote 3 down vote accepted

With the command line ogr2ogr, you can bulk convert your shps and change the CRS into many different formats including kml, json, geojson, and csv.

share|improve this answer
thank you for your quick reply! I am looking into it and cannot find a way to change CRS , my shp files are in a romanian CRS called Stereo 70. – vlad Oct 14 '13 at 18:22
For the source CRS (SRS in this case or EPSG), I think it should be 3844 for Stereo 70. To transform to GoogleMaps, use -t_srs 4326 in your command. – Zach Oct 14 '13 at 18:35
Perfect, i didn't know that crs = srs , thank you so much ! – vlad Oct 14 '13 at 18:40
No problem! Welcome to GIS Stack Exchange. – Zach Oct 14 '13 at 18:50

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.