Hello All,
We have been working on a weighted overlay app. You can find the link here:
http://harita.citysurf.com.tr/weightedoverlay/There are a whole bunch of flaws that are easily noticable
1- Performance: So easily noticable. Every single tile takes whole seconds to load. I definitely would like that to be faster. Here is what we currently do:
- The code and the endpoints are very similar to geotrellis-chatta-demo. I have a few single band layers, I assign them weights -> sum up their values * weight -> render png using a color map.
- Tiles have 30 meters of resolution.
- Layers are stored on local file system
- App is working on a non-dedicated server with 4G java memory setting on a development server
What measures can I take in order to make the stuff run faster other than throwing money at it? Is the low amount of performance normal for this setup?
2- Tiles: Let me explain you the tile generation process first.
- Single band tiles that contain point information are obtained. The tiles are generated using a function: if there are points of interest in that pixel -> 1, else -> nodata.
- We used ArcMap to perform point density analysis on the raw tiles that are obtained in the previous step
- Cut the tiles and they are ready to be served.
No matter how hard we tried to make this thing work, the look is always the same: Circles on top of circles on top of circles. Did anyone else build such an application? If yes, what was the process of obtaining data? Also, what kind of an analysis can we perform over raw tiles so that they look smoother than this?
Another problem that doesn't exist in the link I provided:
When I tried adding an NDVI layer using landsat 8 images (same 30 meters of resolution), the app stopped being able to respond to tile requests and gave me the error "Configured registration timeout of 1 second expired, stopping" or something along that line. I tried increasing the registration timeout but making it 30 seconds did no good for me either. I didn't gdalwarp the landsat images with the extent of all other layers (which are the same) before generating a tile out of them, so that might be a problem. I'll try again with gdalwarp. Any other tips about how to do this?
Thank you all in advance.