Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #71824
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!news2.arglkargh.de!news.albasani.net!rt.uk.eu.org!newsfeed.xs4all.nl!newsfeed2a.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <lcelati@latitude-geosystems.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.068 |
| X-Spam-Evidence | '*H*': 0.86; '*S*': 0.00; 'python.': 0.02; 'imported': 0.09; 'python': 0.11; 'coordinates': 0.16; 'layers.': 0.16; 'script,': 0.16; 'side.': 0.16; 'throw': 0.16; 'type)': 0.16; 'subject:python': 0.16; 'all,': 0.19; 'select': 0.22; 'coding': 0.22; 'header:User-Agent:1': 0.23; 'subject:Code': 0.24; 'script': 0.25; 'query': 0.26; 'subject:/': 0.26; 'appear': 0.29; 'code': 0.31; 'clicked': 0.31; 'layer': 0.31; 'operators': 0.31; 'interface': 0.32; 'received:fr': 0.33; 'could': 0.34; 'subject:with': 0.35; 'subject:service': 0.36; 'possible': 0.36; 'application': 0.37; 'thank': 0.38; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; '2nd': 0.60; 'from:no real name:2**0': 0.61; 'digital': 0.61; 'content-disposition:inline': 0.62; 'information': 0.63; 'connecting': 0.64; 'map': 0.64; 'dear': 0.65; 'land': 0.65; 'informations': 0.74; 'objectives': 0.83; '(depends': 0.84; 'received:(horde mime library)': 0.91; 'received:86': 0.91 |
| Date | Tue, 20 May 2014 20:10:05 +0200 |
| From | lcelati@latitude-geosystems.com |
| To | python-list@python.org |
| Subject | Code a web service with python/postgis |
| MIME-Version | 1.0 |
| Content-Type | text/plain; charset=ISO-8859-1; DelSp="Yes"; format="flowed" |
| Content-Disposition | inline |
| Content-Transfer-Encoding | quoted-printable |
| User-Agent | Internet Messaging Program (IMP) H3 (4.1.6) |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.10169.1400609848.18130.python-list@python.org> (permalink) |
| Lines | 37 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1400609848 news.xs4all.nl 2926 [2001:888:2000:d::a6]:48900 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:71824 |
Show key headers only | View raw
Dear all, I would like code a web service with python. I have already imported several vector data (land cover) and one Digital Elevation Model (raster layer) into my postgresql/postgis database (server side). I succeed in connecting to my pg db via psycopg2. Client side, operators use a client application (Developed with PHP / javascript / openlayers). Objectives : Client side, once the layer would be selected,and once the operators have clicked on the map , they would like that usefull informations appear on the interface of the client application(kind of land cover, z of the DEM). => Regarding my python script, i have to type a SQL query in order to select usefull informations of the db layers. And, of course, the information must depend on geographic coordinates (Latitude Y/Longitute X). In a 2nd time, my script must produce a result(JSon type) for the client side. It would be possible to help me regarding the coding in order to select usefull informations of the db layers. (depends on geographic coordinates x/y ? Could you throw light for me regarding the way to do this SQL query ? In advance, thank you to throw light for me.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Code a web service with python/postgis lcelati@latitude-geosystems.com - 2014-05-20 20:10 +0200
csiph-web