Wie man diese Methode noch weiterentwickeln könnte, schreibt Moritz Stefaner hier:
if your database is an image, you can apply image transformation techniques to modify your data! (Think enhance contrast, minimum/maximum, slicing, blurring,…) What can be very difficult numeric operations if only working with numbers, can be very simple operations in Photoshop, and, again, the result is immediately inspectable.Oder in einer anderen Anwendung:
Now here is an incredibly simple way to do it: Pick a unique color for each country. Go through all the polygons of a country and draw them on a simple map mapping lat and long to x and y coordinates in the desired precision.
Now, for any point on earth, you just need to look up the color of the pixel belonging to its map coordinate, and — there you have the code of the corresponding country. Very handy! Again, all the difficult data processing has been taken care of by the image processing algorithm..
No comments:
Post a Comment