I have a massive shapefile with 200,000+ building polygons. I've loaded these up in ArcGIS. I need to convert this into a usable raster (GeoTIFF) that can then be tiled using MapTiler.

My current process is as follows:

  1. Click on the Full Extent icon in order to have all the polygons in my current view. The scale is at 1:261,289.
  2. Export this as raster using File > Export Map > TIFF > Write GeoTIFF tags (in Format tab). Set the dpi to 500.
  3. When zoomed all the way into this GeoTIFF image, the result looks too pixelated. You can barely tell they are polygons.

A small section of the file

I need to the scale to be at 1:26,261 (or 1:25,000 for simplicity) in order to get decent looking polygons.

How can I create a grid over this vector file with 200,000+ polygons and then save each section into a GeoTIFF file at 1:26,261 scale?

I also tried this in QGIS. Similar issues, though somewhat better results in ArcGIS.

  • 1
    Check my answer here gis.stackexchange.com/questions/190966/… – FelixIP Apr 30 '16 at 1:10
  • @FelixIP The code ran but am not seeing the results for some reason. – kaoscify May 2 '16 at 17:29
  • No files, or they blank? Try with 1 page manually. If it works read answer again – FelixIP May 2 '16 at 18:23
  • @FelixIP No files. I have specified my output folder as env.workspace = 'C:\Temp' – kaoscify May 2 '16 at 18:45
  • @FelixIP I didn't quite understand this part of your comment: What field are you using to store it in DDP index layer?. Is this field referenced in the code? – kaoscify May 2 '16 at 18:53

You could use Create Fishnet of 200,000+ polygons to create a grid over your vector file, then use this as the index layer for Data Driven Pages.

You can then export those 200,000+ pages to TIFF using the flag to create a world file for each.

I have not tested the above but I would expect it to work with no more than minor tweaking to the procedure as described.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.