Drawing polygons from traverse information

From: Date: Mon, 08 Nov 2004 16:36:39 +0000
Subject: Drawing polygons from traverse information
Groups: php.general 
Request: Send a blank email to php-general+get-201547@lists.php.net to get a copy of this message
Sorry for the traffic I have created with this: I'm not very familiar with php's drawing abilities. I have found out how to get it to create multipoint polygons. What I am trying to do is implement something along the lines of LOGO. (You know, that old language that told a robotic turtle to draw on the floor) Seriously, I currently have an inherited Java program that takes traverse information (strings that look like this: BAS(L66D24R66U24)) and createds this: Left:66 Down:24 Right: 66 Up:24 and draws it out to the screen. These are building drawings made by field appraisers (for the local property appraisers office). I would really like to drop the Java stuff as I don't really use it. What I would really like to do is somehow turn these strings into coordinates so I can draw them using PHP's polygon function.

« previous php.general (#201547) next »