create two connections about mysql and postgis,do what you want use sql . transport the result to OL according ajax -- View this message in context: http://osgeo-org.1560.n6.nabble.com/How-to-Load-data-with-Openlayers-By-User-Form-Input-tp5022987p5023664.html Sent from the OpenLayers Users mailing list archive at Nabble.com.