VIDA-NYU / tile2net

Automated mapping of pedestrian networks from aerial imagery tiles
BSD 3-Clause "New" or "Revised" License
146 stars 22 forks source link

Step by step of How implement Tile2Net in my own city ? #34

Closed ambarja closed 11 months ago

ambarja commented 11 months ago

This is fantastic software!!!! 🚀 I would like to implement it in my own image that was taken with a drone in my city. I would like to know how I can implement in my zone, I revised the issue #18, I understand that the first step is to have tiles of my drone images, rigth? Thank you very much in advance!

Characteristic of my drone image

Step 01

The first step is generate tiles of my drone image in QGIS using the Generate XYZ tiles (Directory) What valors I should put in the number 1, 2, 3 ,4, 5 Is correct to have always tiles of 256x256?

image

Mary-h86 commented 11 months ago

@ambarja Thank you! and great work collecting aerial images for your city. To convert your aerial imagery to tiles, first you need to orthorectify them. This is a key step to create any planimetric data from aerial / satellite imagery (you can use ArcGIS Pro for that). Once you have the orthorectified imagery, you can use the QGIS tool, and depending on the resolution of the imagery you collected, you can pass the minimum and maximum zoom levels (to learn more read: zoom_level)

In your case, you’r imagery has a pretty high resolution, so I recommend creating tiles at zoom level 20 and 21. So, for the values in yellow you asked about, you can pass 20 as minimum and 21 as maximum zoom level (1=20, 2=21). Leave DPI (3) at 96, change the background to be black, and leave 4,5 as they are. Don't forget to set it to be saved to a directory.

Next, you will have your images tiled up and saved in a folder. Lets say that you have your tiles on zoom level 20. To run the model, you should pass the path where your tiles are saved, as /20/x/y.png (do not replace x and y with any other values.)

Follow the instructions to generate results with your own data and we would love to see how it goes!

Good Luck

ambarja commented 11 months ago

@Mary-h86 Thanks you very much. I will follow the recommended instructions and I'll tell you the results.

Mary-h86 commented 11 months ago

@ambarja Happy to help! I am closing this issue. Feel free to re-open if you have any questions in this regard.