Tag Info

Hot answers tagged

1

Looking at GDAL autotests, I see only the refresh token is defined. As far as I understand the code, the access token will be automatically got from the refresh token (since the access token is apparently renewed from the refresh token, so it is not practical setting its value directly). So try to undefine the access token ("GFT:" as connection string), and ...


1

I use fiona and shapely for that kind of tasks: import fiona from shapely.geometry import shape with fiona.open(r'd:\Projects\_00_Data\_USstates\fe_2007_us_state00.shp', 'r') as features: for i, feat in enumerate(features): geom = shape(feat['geometry']) name = feat['properties']['NAME00'] print ','.join((name,) + tuple([str(i) ...



Only top voted, non community-wiki answers of a minimum length are eligible