Hi Fawzy,

Off the top of my head I think that's going to be your best option, though others probably know better. It *might* be possible to do it via WPS, but you're still going to need something behind it that does the processing part.

> Another question, if I put the geotiff file in a PostGIS table (as a raster data type), can I publish this table as a layer in Geoserver, and use it normally like geotiff layer?

I believe it's possible (https://gis.stackexchange.com/questions/28423/publish-postgis-raster-to-geoserver ) but it's generally not good practice as PostGIS isn't really made for serving raw raster data. You'll get much more performance serving it up as a GeoTIFF.

Cheers,
Jonathan

On 2018-06-19 10:36, [email protected] wrote:
Hi,
I want to create an elevation profile using Geoserver. I have a large geotiff file that contains the elevations. I've Googled for this problem and found the following solution
https://gis.stackexchange.com/questions/110241/how-to-get-elevation-profile-from-tif-dsm-on-the-web-map
The solution requires to put the geotiff file in PostGIS table, then execute a query to get the profile.

Actually I do not want to put the geotiff in a DB, to not have duplicate data in my project, because I'm using this geotiff file as a layer in Geoserver for other purpose.

My question is, is there other methods to create elevation profile in Geoserver?
can I make a Geotools custom function that does that?

Another question, if I put the geotiff file in a PostGIS table (as a raster data type), can I publish this table as a layer in Geoserver, and use it normally like geotiff layer?

Regards,
Fawzy



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot


_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to