<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Hi Ahmad<div><br></div><div>You won't connect to the database directly. Depending on what the data is you can use a variety of methods. Simple REST style calls to a web server which runs code to query the database and return the data could be sufficient, but for anything more complex I suggest using a WMS server like geoserver or mapserver.</div><div><br></div><div>If you want your app to run on multiple platforms consider doing it in html 5.</div><div><br></div><div>hth</div><div>charles</div><div><br><div><div>On Jun 1, 2012, at 2:18 AM, Ahmad Aburizaiza wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="ltr">Hello all,<div><br></div><div>I am trying to build an iPhone app with a Google Map to display data stored on a remote PostGIS database. Anyone had such an experience. I need to know how to connect to the database so I can query the data.</div>

<div><br></div><div>Thanx in advance<br><div><div dir="ltr"><b style="color:rgb(51,51,153)"><font style="font-family:garamond,serif;color:rgb(51,102,255)" size="2"><span style="border-collapse:collapse">---------------------------------------------------------------------------<br>

Ahmad Aburizaiza<br>PhD student at George Mason University<br>Geography and Geoinformation Science Department<br>Fairfax, VA, USA<br>Tel : +1-703-981-0354</span></font></b></div><br>
</div></div></div>
_______________________________________________<br>postgis-users mailing list<br><a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a><br>http://postgis.refractions.net/mailman/listinfo/postgis-users<br></blockquote></div><br></div></body></html>