[Geoserver-users] Output large images

Hi,

I want to export large images with Geoserver, e.g. a 10.000x10.000 Tif. Is
that possible ? Using a WMS request results in an error ("
java.lang.OutOfMemoryError: Java heap space ")

Is there a Geoserver command line tool to generate images, similar like
Mapserver's shp2img ?

Thanks a lot for your help !

Harry Schmidt

--
View this message in context: http://www.nabble.com/Output-large-images-tp17340853p17340853.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

HarryS ha scritto:

Hi,

I want to export large images with Geoserver, e.g. a 10.000x10.000 Tif. Is
that possible ? Using a WMS request results in an error ("
java.lang.OutOfMemoryError: Java heap space ")

Possible it is, but you'll have to give GeoServer enough memory to
perform the operation. In particular, you need at least 10.000x10.000x4 = ~400MB, and to serve just one of those at a time.
Try starting GeoServer by giving its java virtual machine the -Xmx512m
parameter, that should allow you to generate that big image

Is there a Geoserver command line tool to generate images, similar like
Mapserver's shp2img ?

Nope, we don't have such a thing, nor one is planned afaik.
Cheers
Andrea

Thanks a lot Andrea,

-Xmx1024m

helped to generate a 10.000x10.000 image.

Regards,
Harry

aaime wrote:

HarryS ha scritto:

Hi,

I want to export large images with Geoserver, e.g. a 10.000x10.000 Tif.
Is
that possible ? Using a WMS request results in an error ("
java.lang.OutOfMemoryError: Java heap space ")

Possible it is, but you'll have to give GeoServer enough memory to
perform the operation. In particular, you need at least 10.000x10.000x4
= ~400MB, and to serve just one of those at a time.
Try starting GeoServer by giving its java virtual machine the -Xmx512m
parameter, that should allow you to generate that big image

Is there a Geoserver command line tool to generate images, similar like
Mapserver's shp2img ?

Nope, we don't have such a thing, nor one is planned afaik.
Cheers
Andrea

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
View this message in context: http://www.nabble.com/Output-large-images-tp17340853p17342989.html
Sent from the GeoServer - User mailing list archive at Nabble.com.

Hi Harry,

I just wanted to add, that I recently produced overall about 10000 images with different sizes from 4000x4000 to 6000x6000 px with Geoserver WMS without any problems. I have also produced up to 20000 px per side images. Actually I have a pdf plotter application from which I have plotted pdfs’ up to 2m x 2m with 300 dpi resolution. The origin is geoserver. Works nice.

mika

HarryS kirjoitti:

Thanks Mika,

that is good to know.

Harry

Lehtonen, Mika wrote:

Hi Harry,

I just wanted to add, that I recently produced overall about 10000
images with different sizes from 4000x4000 to 6000x6000 px with
Geoserver WMS without any problems. I have also produced up to 20000 px
per side images. Actually I have a pdf plotter application from which I
have plotted pdfs' up to 2m x 2m with 300 dpi resolution. The origin is
geoserver. Works nice.

mika

HarryS kirjoitti:

Thanks a lot Andrea,

-Xmx1024m

helped to generate a 10.000x10.000 image.

Regards,
Harry

aaime wrote:
  

HarryS ha scritto:
    

Hi,

I want to export large images with Geoserver, e.g. a 10.000x10.000 Tif.
Is
that possible ? Using a WMS request results in an error ("
java.lang.OutOfMemoryError: Java heap space ")
      

Possible it is, but you'll have to give GeoServer enough memory to
perform the operation. In particular, you need at least 10.000x10.000x4
= ~400MB, and to serve just one of those at a time.
Try starting GeoServer by giving its java virtual machine the -Xmx512m
parameter, that should allow you to generate that big image

Is there a Geoserver command line tool to generate images, similar like
Mapserver's shp2img ?
      

Nope, we don't have such a thing, nor one is planned afaik.
Cheers
Andrea

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

--
View this message in context: http://www.nabble.com/Output-large-images-tp17340853p17344735.html
Sent from the GeoServer - User mailing list archive at Nabble.com.