Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jsp polygon problem

 
Harry Gupta
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need some help in coding. Actually i m working in Java Platform.
using jsp,servlet,hibernate and postgresSQL as Database in my
software.there is need of show area of land on graph in my software
for visualize area with respect to world standard WGS.

Coordinate of land area is in latitude n longitude degree(Geographical
measurement(x,y)) having minor difference between their coordinates
like ( -13.8626494,62.6205398),(-13.9355395,62.6800897) etc.this will
enter through jsp form by user and by clicking button submit it will
display a graph of land with showing all cordinates of point.

I have use Geotools n JTS topology also for it but not work properly.i
have use all version and their example but among them many methods got
depricated.

example of co-ordinate of polygon is:-
POLYGON (
-13.8626494 62.6205398,
-13.9355395 62.6800897,
-13.8589357 62.9625048,
-13.9562945 62.9625048,
-13.9562945 62.3724648,
-13.8626494 62.6205398
)

I tried my best bt unable to solve it till now. I m worried because I
have very short timeline to resolve this problem.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what is your question, do you want to find the area of the polygon?
Have you started with java.awt.Polygon?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!