GISupportICRC / ArcGIS2Mapbox

Transfer from shp with tippecanoe to mapbox
34 stars 7 forks source link

AttributeError: 'NoneType' object has no attribute 'Transform' #4

Open Mike-Honey opened 6 years ago

Mike-Honey commented 6 years ago

I'm trying to use this tool against the PRODES deforestation shapefile: http://data.globalforestwatch.org/datasets/prodes-deforestation (use Download link for Shapefile)

I keep getting the AttributeError.

Here's the full output:

Processing PRODES_deforestation -- Projecting shapefile to WGS-84 and converting to JSON Traceback (most recent call last): File "arc2mb.py", line 420, in main(shp_path, tileset_name, mb_token, max_zoom) File "arc2mb.py", line 378, in main json_path = shp_to_json(base_path, shp_path, name) File "arc2mb.py", line 327, in shp_to_json geom.Transform(coord_trans) AttributeError: 'NoneType' object has no attribute 'Transform'