I would like to be able to upload a map (jpeg or pdf) and do the following
-
Scale the map in the software, so if I measure any 2 points in the map, the app calculates the distance automatically.
-
Warp the map, so that if someone takes a photo of a map and uploads it, the app can correct for perspective and flatten the image.
-
Draw lines on the map that let’s me save distances in the map in my database. This should be automatically calculated since the map has been scaled
-
Draw rectangles that let’s me calculate area. Similar to #3.
Does anyone know what is the best way to achieve this?