----- Weitergeleitete Mail ----
Von: Robert Buckley <robertdbuck...@yahoo.com>
An: christian.muel...@nvoe.at
Gesendet: Mittwoch, den 20. April 2011, 14:59:23 Uhr
Betreff: AW: [Geoserver-users] Publishing 1300 orthophotos with geoserver
Hi,
Output: ps -ef | grep java
1003 18054 12098 0 14:54 pts/0 00:00:00 grep --color=auto java
tomcat6 26379 1 0 Apr19 ? 00:02:14
/usr/lib/jvm/java-6-openjdk/bin/java
-Djava.util.logging.config.file=/var/lib/tomcat6/conf/logging.properties
-Djava.awt.headless=true -Xms256m -Xmx768m -Xrs
-XX:PerfDataSamplingInterval=500
-XX:MaxPermSize=128m
-Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager
-Djava.endorsed.dirs=/usr/share/tomcat6/endorsed -classpath
/usr/share/tomcat6/bin/bootstrap.jar -Dcatalina.base=/var/lib/tomcat6
-Dcatalina.home=/usr/share/tomcat6 -Djava.io.tmpdir=/tmp/tomcat6-tmp
org.apache.catalina.startup.Bootstrap start
In Geoserver:
Native JAI ImageIO and Native JAI are both false.
Have to read the docs to find out how to enable them.
Thanks for the documentation links...ill try to find time to read them through
Yours,
Robert
________________________________
Von: "christian.muel...@nvoe.at" <christian.muel...@nvoe.at>
An: Robert Buckley <robertdbuck...@yahoo.com>
CC: geoserver-users@lists.sourceforge.net
Gesendet: Mittwoch, den 20. April 2011, 14:34:35 Uhr
Betreff: Re: [Geoserver-users] Publishing 1300 orthophotos with geoserver
Answers inline
Quoting Robert Buckley <robertdbuck...@yahoo.com>:
> Hi,
>
> My vector daten are kept in postgresql.
> Until now I haven´t served any raster data.
>
> CPU = 1
> Memory = 2gb Ram / 25Gb space on the server
>
>
> Java:
>
> java version "1.6.0_20"
> OpenJDK Runtime Environment (IcedTea6 1.9.7) (6b20-1.9.7-0ubuntu1~10.04.1)
> OpenJDK Client VM (build 19.0-b09, mixed mode, sharing)
>
please check with
ps -ef | grep java
which java is used by tomcat, java-6-sun-1.6.0.22 should be your
choice. (faster)
>
>
> JAI: Under JAI I can find the following on the server...( so I guess it is
> installed!?!)
>
> /usr/lib/jvm/java-6-openjdk/jre/lib/amd64/libmlib_jai.so
> /usr/lib/jvm/java-6-sun-1.6.0.22/jre/lib/amd64/libmlib_jai.so
> /usr/share/doc/bastille/examples/bastille-makejail.py
> /usr/share/terminfo/j/jaixterm
> /usr/share/terminfo/j/jaixterm-m
> /var/cache/apt/archives/opengeo-jai_1.1.3_i386.deb
> /var/lib/tomcat6/webapps/ROOT1/WEB-INF/lib/jai_codec.jar
> /var/lib/tomcat6/webapps/ROOT1/WEB-INF/lib/jai_core.jar
> /var/lib/tomcat6/webapps/ROOT1/WEB-INF/lib/mlibwrapper_jai.jar
> /var/lib/tomcat6/webapps/catalogueManager/WEB-INF/lib/jai_core.jar
> /var/lib/tomcat6/webapps/deegree/WEB-INF/lib/jai-codec-1.1.3.jar
> /var/lib/tomcat6/webapps/deegree/WEB-INF/lib/jai-core-1.1.3.jar
> /var/lib/tomcat6/webapps/deegree/WEB-INF/lib/jai-imageio-1.1.3.jar
> /var/lib/tomcat6/webapps/deegree/WEB-INF/lib/jai-mlibwrapper-1.1.3.jar
> /var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/jai_codec-1.1.3.jar
> /var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/jai_core-1.1.3.jar
> /var/lib/tomcat6/webapps/geoserver/WEB-INF/lib/jai_imageio-1.1.jar
>
AFAIK, you can check in the geoserver admin GUI if native acceleration
is enabled.
Server Status --> Native JAI
>
> Yours,
>
Putting your raster into postgis/posgtres gives you the benefit of a
simpler backup/restore of all your gis data.
A tutorial for postgres is here
http://docs.geoserver.org/stable/en/user/tutorials/imagemosaic-jdbc/imagemosaic-jdbc_tutorial.html
I would like to recommend you this one
http://trac.osgeo.org/postgis/wiki/WKTRaster
but due to lack of time there is no support in the imagemosaicJDBC
module for the moment.
> Rob
Cheers
Christian
>
>
>
> ________________________________
> Von: "christian.muel...@nvoe.at" <christian.muel...@nvoe.at>
> An: Robert Buckley <robertdbuck...@yahoo.com>
> Gesendet: Mittwoch, den 20. April 2011, 9:46:51 Uhr
> Betreff: Re: AW: [Geoserver-users] Publishing 1300 orthophotos with geoserver
>
> Do you use a jdbc database ?
> Which one ?
> Where do you store your vector data ?
> How many CPUs ?
> How much memory ?
> Do you have native jai installed ?
>
>
> Quoting Robert Buckley <robertdbuck...@yahoo.com>:
>
>> Hi Christian,
>>
>> My environment is like this..
>>
>>
>> Linux Ubuntu Server 10.04 32bit
>> Tomcat6
>> Geoserver 2.1as deployed war.
>> (Apache2 is not installed) My Server Root is
>> http://domain:8080/geoserver/www
>> using jetty
>>
>>
>> Thanks,
>>
>> Robert
>>
>>
>>
>>
>> ________________________________
>> Von: "christian.muel...@nvoe.at" <christian.muel...@nvoe.at>
>> An: Robert Buckley <robertdbuck...@yahoo.com>
>> CC: geoserver-users@lists.sourceforge.net
>> Gesendet: Mittwoch, den 20. April 2011, 9:21:19 Uhr
>> Betreff: Re: [Geoserver-users] Publishing 1300 orthophotos with geoserver
>>
>> Robert, I had a similar problem, read below
>>
>> Quoting Robert Buckley <robertdbuck...@yahoo.com>:
>>
>>> Hi,
>>>
>>> There are many threads which explain how to create an imagemosaic
>>> or pyramid,
>>> but not so many regarding the preparation of the raw data.
>>>
>>> I have ~1300 orthophotos which have been bought for desktop use in ArcGIS.
>>>
>>> Resolution (X,Y) = 0,4m, 0,4m
>>> columngs/rows = 5003 x 5003
>>> total Area = 2km x 2km (4km²)
>>> Format = TIFF
>>> Size = ~70mb
>>>
>>>
>>> total size of region: 5000km²
>>
>> I had to serve orthophotos covering Austria, ~ 83000 km2
>>
>>>
>>> I have been asked if I can serve these with geoserver. The
>>> alternative seems
>>> to
>>> be the purchase of ArcServer which is a cop-out in my view!
>>
>> I developed the ImageMosaicJDBC plugin to kick out ArcServer at my customers
>> site.
>>
>>>
>>> My first problem is the preparation.
>>>
>>> 1. Transform all photos into wgs84
>>> 2. Convert to geoTIFFs
>> My photos had three different coordinate systems, GK28,GK31 undGK34
>> and I had to
>> transform them to Austria Lambert. I hope your photos have a common CS.
>>
>> 1) use gdal_merge to produce a big image (I produced an Erdas Image )
>> 2) use gdal_transform to transform to wgs84
>> 3) Decide file based/ jdbc based
>> 4) I did it jdbc based and used gdal_retile for tiling/pyramid building
>>
>>> and now i´m a bit lost! what are my choices to take this further?
>>> 1. Do I have to convert 1300 photos using the gdal_retile and upload them
>> into
>>> geoserver?
>>> I can´t image having to upload 1300 pyramid stores into geoserver!
>>
>> Not a good idea, one store should be fine :-)
>>>
>>> Any help would be great.
>>>
>>> Thanks,
>>>
>>> Robert
>>
>> If you decide for jdbc based, I need more details about your environment.
>>
>> Cheers
>> Christian
>>
>>
>>
>> ----------------------------------------------------------------
>> This message was sent using IMP, the Internet Messaging Program.
>
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
------------------------------------------------------------------------------
Benefiting from Server Virtualization: Beyond Initial Workload
Consolidation -- Increasing the use of server virtualization is a top
priority.Virtualization can reduce costs, simplify management, and improve
application availability and disaster protection. Learn more about boosting
the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users