Link to home
Start Free TrialLog in
Avatar of trconsulting
trconsulting

asked on

My Sql SVG

I have a mysql database with ploygones in the Blod field. I want to know how to draw them in a web page relative to a query of info in the record using SVG.
Avatar of NetExpert_pl
NetExpert_pl
Flag of Poland image

It depends on a programming language you want to use to draw it. This blob data is just data.

Here is some information (quite old) about drawing in several languages - http://www.svgopen.org/2004/papers/ServerSideSurvey/
Avatar of trconsulting
trconsulting

ASKER

I would like to use PHP

This is the contents of the field. Doesn't it have to be parsed or something. I understand it is coordinates but have no idea where to go from here

POLYGON((7545792.28100903 472873.18993964, 7545792.19768608 472872.976457447, 7545792.43057574 472872.885559682, 7545792.47602463 472873.002004514, 7545794.18388217 472872.335420899, 7545791.7296425 472866.047399937, 7545790.02178495 472866.713983552, 7545791.24890479 472869.857994033, 7545791.01601512 472869.948891799, 7545789.78889529 472866.804881318, 7545782.99513744 472869.456512115, 7545781.71663323 472872.371915007, 7545783.21689233 472876.215737089, 7545785.72662572 472875.23617813, 7545785.87054718 472875.6049201, 7545792.28100903 472873.18993964))
ASKER CERTIFIED SOLUTION
Avatar of NetExpert_pl
NetExpert_pl
Flag of Poland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial