Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Select Particular Portion from JMapFrame in geotools using java

Leo Nolan
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello guys I am building an app in java for GIS in which I am facing a problem while reading a particular section of Jmap contentpane.
in code shown below I have generated a rectangle and converted it into world coordinates to read the particular section of the jmapframe and then convert it to image and print it..
I have rectangle values handy.
libraries used are geotools api 8.0

what I want is to display the selected rectangular area.
please help me out, m totally exhausted on this.
[Thumbnail for ip.PNG]
Input given in terms of rectanlge selection
[Thumbnail for op.PNG]
output obtained
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic