misc/shp_normalizer.py in cartodb-importer-0.2.2 vs misc/shp_normalizer.py in cartodb-importer-0.2.3

- old
+ new

@@ -13,12 +13,10 @@ name = sys.argv[2] dbf_file = shp_file[0:-4] + '.dbf' prj_file = shp_file[0:-4] + '.prj' - -#Try detecting the SRID, by default we set to 4326 and hope the best -#srid=4326 +#Try detecting the SRID if os.path.isfile(prj_file): prj_filef = open(prj_file, 'r') prj_txt = prj_filef.read() prj_filef.close() srs = osr.SpatialReference()