Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Select Particular Portion from JMapFrame in geotools using java

 
Leo Nolan
Greenhorn
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.
ip.PNG
Input given in terms of rectanlge selection
[Thumbnail for ip.PNG]
op.PNG
output obtained
[Thumbnail for op.PNG]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic