[postgis-users] postgre javascript connection

Nicolas Ribot nicolas.ribot at gmail.com
Mon Jan 28 08:39:40 PST 2013


The small usecase I tested:

A standalone java program receives its parameters from PgAdmin.
It then lists all layers in the given PgAdmin object (database, schema or
directly the table).
Opens a web browser with a page opening a WebSocket to the server.
The SocketServer send back GeoJSON representation, suitable to display in
Leaflet or other client mapping lib.

Nicolas


On 28 January 2013 17:27, tasha dewasi <tasneem.europe at gmail.com> wrote:

> Hey Nicolas,
>
> Thanks a lot for information
> it guess its really much useful
>
>
> On Mon, Jan 28, 2013 at 2:57 PM, Nicolas Ribot <nicolas.ribot at gmail.com>wrote:
>
>> Hi,
>>
>> I played a bit with WebSocket and Postgis to visualize data directly from
>> PgAdmin into a Web Client.
>> There are several pure Java implementations of WebSockets and I find the
>> Java-WebSocket lib to be lightweight, with no external dependency, and
>> really easy to play with.
>>
>> Nicolas
>>
>>
>> On 27 January 2013 14:58, Richard Greenwood <richard.greenwood at gmail.com>wrote:
>>
>>>
>>> On Fri, Jan 25, 2013 at 2:07 PM, tasha dewasi <tasneem.europe at gmail.com>wrote:
>>>
>>>> Hello,
>>>>
>>>> is it possible to directly connect postgresql with javacript.
>>>> right now i am giving connection through C#.net, but it is getting to
>>>> much complicated,
>>>> since i need to visualize lot of postgis data on google maps
>>>>
>>>> please do suggest with some examples
>>>>
>>>>
>>> You may find these discussions on stackoverflow helpful:
>>>
>>>
>>> http://stackoverflow.com/questions/5029358/is-there-a-possibility-of-connecting-postgresql-directly-to-javascript
>>>
>>>
>>> http://stackoverflow.com/questions/4187735/postgresql-sockets-from-javascript-html5
>>>
>>> --
>>> Richard Greenwood
>>> richard.greenwood at gmail.com
>>> www.greenwoodmap.com
>>>
>>> _______________________________________________
>>> postgis-users mailing list
>>> postgis-users at lists.osgeo.org
>>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>>>
>>>
>>
>> _______________________________________________
>> postgis-users mailing list
>> postgis-users at lists.osgeo.org
>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>>
>>
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20130128/70f88030/attachment.html>


More information about the postgis-users mailing list