Forums Register Login

Select Particular Portion from JMapFrame in geotools using java

+Pie Number of slices to send: Send
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]
An elephant? An actual elephant. Into the apartment. How is the floor still here. Hold this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1743 times.
Similar Threads
Create and Save Image..
How do you crop an image in Java?
paint()
creating BufferedImage object in a servlet
BufferedImage OutOfMemoryError
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 10:02:16.