Hello community,

Is it possible to use a (python) program as data source.

I will explain a bit: I do sensor measurements (temperature) at several
locations in a country. These are displayed on the web with OpenLayers by
sending them as points (with a list of all measurements done in a time
interval (x, y)). It would be nice if these can also be displayed as a
raster with (interpolated if needed) measurements for timestamp X. I
considered the following approaches for this:

1. Create an OpenLayers vector 'grid' (a layer with a lot of vector
rectangles), and give them appropriate colors. This however may be a very
time consuming job for the browser, and the result can not be stored.

2. Generate a GeoTiff with python and gdal, and add it as a new data source
to the map
However, since the region is quite large, and there are a lot of zoomlevels
involved, it would take a long time (generate the GTiff at a high
resolution, processing with Geoserver, sending it to the browser).

3. So my next idea was: give (pass) the python gtiff generator the WMS
request parameters, so it does not have to calculate a complete gtiff, but
only the 'needed' part. For example calling: "python gtifprep.py --width=...
--height=... --bbox=...."

I hope #3 can be done by GeoServer (currently some DEM maps are also
displayed with it).
If it's not possible, what would we be the best approach then? Is there a
WMS server/script which can call the gtiff creation by parameters sent by
OpenLayers?

Hope there can provide me with an answer?
Thanks in advance.

Remco
-- 
View this message in context: 
http://old.nabble.com/Geoserver---Data-source-from-live-script--tp30617838p30617838.html
Sent from the GeoServer - User mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to