Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Select Particular Portion from JMapFrame in geotools using java  RSS feed

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
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!