[postgis-users] Postgis rasters in OpenLayers?

2011-08-15 Thread Vishal Mehta
Can anyone tell me if Postgis rasters can be displayed in OpenLayers?

We are trying to develop a web-gis stack (so far Postggresql - Postgis - PhP 
-OpenLayers) on an external server. I'm wondering if we can have raster 
functionality as well as display with postgis alone as the map server...without 
using Geoserver of Mapserver.

Thank you,
Vishal

Vishal K. Mehtahttp://sei-us.org/about/staff_person/19, Ph.D.
Staff Scientist,
Stockholm Environment Institute-US
400 F St, Davis, CA 95616
http://sei-us.org/



___
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users


Re: [postgis-users] Postgis rasters in OpenLayers?

2011-08-15 Thread Pierre Racine
I don't think there is anything in OpenLayer able to speak directly with 
PostGIS... You need something in between able to deliver tiles. If your php 
code can do that... But why trying to reinvent a tile server other than 
MapServer or GeoServer?

Pierre

 -Original Message-
 From: postgis-users-boun...@postgis.refractions.net [mailto:postgis-users-
 boun...@postgis.refractions.net] On Behalf Of Vishal Mehta
 Sent: Monday, August 15, 2011 1:43 PM
 To: postgis-users@postgis.refractions.net
 Cc: Eric Kemp-Benedict; Douglas Wang
 Subject: [postgis-users] Postgis rasters in OpenLayers?
 
 Can anyone tell me if Postgis rasters can be displayed in OpenLayers?
 
 
 
 We are trying to develop a web-gis stack (so far Postggresql - Postgis - PhP -
 OpenLayers) on an external server. I'm wondering if we can have raster
 functionality as well as display with postgis alone as the map 
 server...without
 using Geoserver of Mapserver.
 
 
 
 Thank you,
 
 Vishal
 
 
 
 Vishal K. Mehta http://sei-us.org/about/staff_person/19 , Ph.D.
 
 Staff Scientist,
 
 Stockholm Environment Institute-US
 
 400 F St, Davis, CA 95616
 
 http://sei-us.org/
 
 
 
 
 
 

___
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users


Re: [postgis-users] Postgis rasters in OpenLayers?

2011-08-15 Thread Dave Potts
On 15/08/11 18:53, Pierre Racine wrote:

Use geoserver which can make a request to a postgis database and supply
data as  wfs or wms servers.  You can then use openlayers to access the
wfs/wms server
 I don't think there is anything in OpenLayer able to speak directly with 
 PostGIS... You need something in between able to deliver tiles. If your php 
 code can do that... But why trying to reinvent a tile server other than 
 MapServer or GeoServer?

 Pierre

 -Original Message-
 From: postgis-users-boun...@postgis.refractions.net [mailto:postgis-users-
 boun...@postgis.refractions.net] On Behalf Of Vishal Mehta
 Sent: Monday, August 15, 2011 1:43 PM
 To: postgis-users@postgis.refractions.net
 Cc: Eric Kemp-Benedict; Douglas Wang
 Subject: [postgis-users] Postgis rasters in OpenLayers?

 Can anyone tell me if Postgis rasters can be displayed in OpenLayers?



 We are trying to develop a web-gis stack (so far Postggresql - Postgis - PhP 
 -
 OpenLayers) on an external server. I'm wondering if we can have raster
 functionality as well as display with postgis alone as the map 
 server...without
 using Geoserver of Mapserver.



 Thank you,

 Vishal



 Vishal K. Mehta http://sei-us.org/about/staff_person/19 , Ph.D.

 Staff Scientist,

 Stockholm Environment Institute-US

 400 F St, Davis, CA 95616

 http://sei-us.org/






 ___
 postgis-users mailing list
 postgis-users@postgis.refractions.net
 http://postgis.refractions.net/mailman/listinfo/postgis-users

___
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users


Re: [postgis-users] Postgis rasters in OpenLayers?

2011-08-15 Thread Vishal Mehta
Thanks Dave, Pierre,

There were a couple of reasons for my qn: 

For an earlier application, we used postgis as a map repository and 
geoprocessor, php to interact dynamically with the map repository and perform 
gis operations, R to create graphs, and google earth as the visual frontend. 
http://108.195.205.37/kml/DataGrid.kmz

So I wanted to check if with OpenLayers instead of Google Earth as the client, 
I could do the same and just have a sparse geospatial stack. 

Another reason is that we'll need to find a hosting provider and are wondering 
if we can find one with all the capabilities or flexibility to put up 
experimental versions of software and have all these individual software hosted.

One other qn I had was : Can Geoserver 'speak' with Postgis 2.0 rasters?

Thanks again!
V

-Original Message-
From: postgis-users-boun...@postgis.refractions.net 
[mailto:postgis-users-boun...@postgis.refractions.net] On Behalf Of Dave Potts
Sent: Monday, August 15, 2011 10:59 AM
To: PostGIS Users Discussion
Subject: Re: [postgis-users] Postgis rasters in OpenLayers?

On 15/08/11 18:53, Pierre Racine wrote:

Use geoserver which can make a request to a postgis database and supply data as 
 wfs or wms servers.  You can then use openlayers to access the wfs/wms server
 I don't think there is anything in OpenLayer able to speak directly with 
 PostGIS... You need something in between able to deliver tiles. If your php 
 code can do that... But why trying to reinvent a tile server other than 
 MapServer or GeoServer?

 Pierre

 -Original Message-
 From: postgis-users-boun...@postgis.refractions.net 
 [mailto:postgis-users- boun...@postgis.refractions.net] On Behalf Of 
 Vishal Mehta
 Sent: Monday, August 15, 2011 1:43 PM
 To: postgis-users@postgis.refractions.net
 Cc: Eric Kemp-Benedict; Douglas Wang
 Subject: [postgis-users] Postgis rasters in OpenLayers?

 Can anyone tell me if Postgis rasters can be displayed in OpenLayers?



 We are trying to develop a web-gis stack (so far Postggresql - 
 Postgis - PhP -
 OpenLayers) on an external server. I'm wondering if we can have 
 raster functionality as well as display with postgis alone as the map 
 server...without using Geoserver of Mapserver.



 Thank you,

 Vishal



 Vishal K. Mehta http://sei-us.org/about/staff_person/19 , Ph.D.

 Staff Scientist,

 Stockholm Environment Institute-US

 400 F St, Davis, CA 95616

 http://sei-us.org/






 ___
 postgis-users mailing list
 postgis-users@postgis.refractions.net
 http://postgis.refractions.net/mailman/listinfo/postgis-users

___
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users
___
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users


Re: [postgis-users] Postgis rasters in OpenLayers?

2011-08-15 Thread Pierre Racine
 So I wanted to check if with OpenLayers instead of Google Earth as the 
 client, I
 could do the same and just have a sparse geospatial stack.

The answer is in your php server. You decide... Everything depends on what is 
supported by the client. You had to develop a server for Google Earth. There 
are plenty of server for OpenLayer. If you develop your own then there should 
be no problem. What you need is to serve JPEG and PostGIS raster ST_AsJPEG() 
will help you to do that. 

 One other qn I had was : Can Geoserver 'speak' with Postgis 2.0 rasters?

See this recent discussion:

http://osgeo-org.1803224.n2.nabble.com/Geoserver-WCS-amp-PostGIS2-0-Raster-support-td6602643.html

Pierre
___
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users


Re: [postgis-users] Postgis rasters in OpenLayers?

2011-08-15 Thread Vishal Mehta
Thank you again Pierre,
Vishal

-Original Message-
From: postgis-users-boun...@postgis.refractions.net 
[mailto:postgis-users-boun...@postgis.refractions.net] On Behalf Of Pierre 
Racine
Sent: Monday, August 15, 2011 11:54 AM
To: PostGIS Users Discussion; dave.po...@pinan.co.uk
Cc: Eric Kemp-Benedict; Douglas Wang
Subject: Re: [postgis-users] Postgis rasters in OpenLayers?

 So I wanted to check if with OpenLayers instead of Google Earth as the 
 client, I could do the same and just have a sparse geospatial stack.

The answer is in your php server. You decide... Everything depends on what is 
supported by the client. You had to develop a server for Google Earth. There 
are plenty of server for OpenLayer. If you develop your own then there should 
be no problem. What you need is to serve JPEG and PostGIS raster ST_AsJPEG() 
will help you to do that. 

 One other qn I had was : Can Geoserver 'speak' with Postgis 2.0 rasters?

See this recent discussion:

http://osgeo-org.1803224.n2.nabble.com/Geoserver-WCS-amp-PostGIS2-0-Raster-support-td6602643.html

Pierre
___
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users
___
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users