On Thu, Sep 6, 2012 at 8:17 AM, yasin motcu <yasinmo...@gmail.com> wrote:
> Sorry for my previous incomplete post, i am new to geoserver and i want to
> import dted raster map then query elevation data of a specific lat/lon
> position in the map. like a wfs getfeature, i want to make getheight
> restful query to get elevation data. How can i achieve this? could you
> please suggest me a method? i have searched through google but could not
> find valuable info about it so sorry if exist in somewhere. Thank you
>
The OGC standards provide no direct answer to your question.
I can think of two ways:
* one is to build a WCS request asking for a very small area of the raster,
close to a single pixel,
and then interpret the returned GeoTiff in your software
* the other one applies if you are using WMS, you can do a GetFeatureInfo
request and what you
will get back is the value of the bands in that pixel for the location
specified, in the case of a dted
it will be the elevation. Mind, this is GeoServer specific, it's not a
behavior mandated by the WMS
standard... as far as the latter is concerned if we returned the string
"this is a nice elevation model"
it would be compliant anyways
Cheers
Andrea
--
==
Our support, Your Success! Visit http://opensdi.geo-solutions.it for more
information.
==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 962313
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users