Hi, I'm working for the OAM project to create an open aviation map.
One feature that is qute special for aviation maps is MORA grid heights. http://en.wikipedia.org/wiki/MORA_(aviation)
<http://en.wikipedia.org/wiki/MORA_(aviation)>
To calculate these I need to extract the biggest elevation within a lat lon
square.
Right now I've got the elevation data from the NASA SRTM set in Geoserver.
Anyone
know how to extract the largest height in a square from this using
Geoserver?
Hi, I’m working for the OAM project to create an open aviation map.
One feature that is qute special for aviation maps is MORA grid heights. http://en.wikipedia.org/wiki/MORA_(aviation)
<http://en.wikipedia.org/wiki/MORA_(aviation)>
To calculate these I need to extract the biggest elevation within a lat lon
square.
Right now I’ve got the elevation data from the NASA SRTM set in Geoserver.
Anyone
know how to extract the largest height in a square from this using
Geoserver?
You’ll have to write a WPS process, probably one wrapping the
Extrema operation, which should give you min and max,
and then chain it with the existing CropCoverage operation that will
allow you to restrict the operation to the desired area.
I see. but would this allow to generate the maximum value for each 1x1 degree grid somehow? basically the task is to ‘reduce’ the SRTM elevation grid into ‘one value per 1x1 degree area’ where that value is the max value of all pixels for that area. Akos
Hi, I’m working for the OAM project to create an open aviation map.
One feature that is qute special for aviation maps is MORA grid heights. http://en.wikipedia.org/wiki/MORA_(aviation)
<http://en.wikipedia.org/wiki/MORA_(aviation)>
To calculate these I need to extract the biggest elevation within a lat lon
square.
Right now I’ve got the elevation data from the NASA SRTM set in Geoserver.
Anyone
know how to extract the largest height in a square from this using
Geoserver?
You’ll have to write a WPS process, probably one wrapping the
Extrema operation, which should give you min and max,
and then chain it with the existing CropCoverage operation that will
allow you to restrict the operation to the desired area.
Hi, I’m working for the OAM project to create an open aviation map.
One feature that is qute special for aviation maps is MORA grid heights. http://en.wikipedia.org/wiki/MORA_(aviation)
<http://en.wikipedia.org/wiki/MORA_(aviation)>
To calculate these I need to extract the biggest elevation within a lat lon
square.
Right now I’ve got the elevation data from the NASA SRTM set in Geoserver.
Anyone
know how to extract the largest height in a square from this using
Geoserver?
You’ll have to write a WPS process, probably one wrapping the
Extrema operation, which should give you min and max,
and then chain it with the existing CropCoverage operation that will
allow you to restrict the operation to the desired area.
I see. but would this allow to generate the maximum value for each 1x1 degree grid somehow?
basically the task is to ‘reduce’ the SRTM elevation grid into ‘one value per 1x1 degree area’ where that value is the max value of all pixels for that area.
Ah, no it won’t, I thought you wanted something “interactive” with the user picking the
area of interest.
A WPS process is still probably the best option, but you’ll have to iterate the extrema
operation over the 1x1 degree squares and build another grid
Ah, no it won't, I thought you wanted something "interactive" with the
user picking the
area of interest.
A WPS process is still probably the best option, but you'll have to
iterate the extrema
operation over the 1x1 degree squares and build another grid
I see.
I have geoserver from the github sources in an eclipse dev environment
set up, but it seems that the WPS service / code would come from
somewhere else? how would I set up a dev environment which has the WPS
code in it? I looked at the geoserver dev documentation, but didn't
really find any pointers. the geoserver started from the github code way
doesn't seem to include WPS (well, at least WPS is not listed on the
right side on the admin page)
Ah, no it won’t, I thought you wanted something “interactive” with the
user picking the
area of interest.
A WPS process is still probably the best option, but you’ll have to
iterate the extrema
operation over the 1x1 degree squares and build another grid
I see.
I have geoserver from the github sources in an eclipse dev environment
set up, but it seems that the WPS service / code would come from
somewhere else? how would I set up a dev environment which has the WPS
code in it? I looked at the geoserver dev documentation, but didn’t
really find any pointers. the geoserver started from the github code way
doesn’t seem to include WPS (well, at least WPS is not listed on the
right side on the admin page)
From the root, mvn eclipse:eclipse -Pwps.
You can find several examples of processes back in geotools, process-feature
and process-raster community modules
From the root, mvn eclipse:eclipse -Pwps.
You can find several examples of processes back in geotools,
process-feature
and process-raster community modules
thanks for the tip - it worked, although I had to add the wps-core and
web-wps project manually for some reason. anyway, it works now fine,
thank you!
On Wed, Feb 6, 2013 at 7:54 PM, Andrea Aime
<andrea.aime@anonymised.com> wrote:
You'll have to write a WPS process, probably one wrapping the
Extrema operation, which should give you min and max,
and then chain it with the existing CropCoverage operation that will
allow you to restrict the operation to the desired area.
I've been trying to wrap my head around the WPS functionality. I've
tried to build requests
with the WPS request builder but i only get errors: "Content is not
allowed in prolog."
When i try to send the requests. I also can't find any trace of the
extrema operation in WPS.
Is this a operation in the same way as CropCoverage or something else?
You’ll have to write a WPS process, probably one wrapping the
Extrema operation, which should give you min and max,
and then chain it with the existing CropCoverage operation that will
allow you to restrict the operation to the desired area.
I’ve been trying to wrap my head around the WPS functionality. I’ve
tried to build requests
with the WPS request builder but i only get errors: “Content is not
allowed in prolog.”
It means the request is not well formed. There is a WPS request builder
in the demo section.
When i try to send the requests. I also can’t find any trace of the
extrema operation in WPS.
Because it’s not there, you have to write code in Java for it.
Is this a operation in the same way as CropCoverage or something else?
Nope, I just said CropCoverage code could have served as a template
to make an Extrema WPS process
Just tried it out, it works for me? I get 59.9070478491457 as a result.
I’m wondering if it’s browser specific. I’m using Chrome, and tested
with Firefox as well. By your screenshot it seems you’re using Chrome as well… weird.
I’ve also tested the WPS request builder, copying from your screenshot, and that worked as
well, same result.
Maybe I am missing something but at the bottom of the startup.sh script I see the following
if not told otherwise pump up the permgen
if [ -z “$JAVA_OPS” ]; then
set JAVA_OPS=-XX:MaxPermSize=128m
fi
cd “$GEOSERVER_HOME”
echo “GEOSERVER DATA DIR is $GEOSERVER_DATA_DIR” #added headless to true by default, if this messes anyone up let the list #know and we can change it back, but it seems like it won’t hurt -ch
exec “$_RUNJAVA” $JAVA_OPTS -DGEOSERVER_DATA_DIR=“$GEOSERVER_DATA_DIR” -Djava.awt.headless=true -DSTOP.PORT=8079 -DSTOP.KEY=geoserver -jar start.jar
Should this bit
if [ -z “$JAVA_OPS” ]; then
set JAVA_OPS=-XX:MaxPermSize=128m
fi
be
if [ -z “$JAVA_OPTS” ]; then
set JAVA_OPTS=-XX:MaxPermSize=128m
fi