11 reputation
5
bio website
location
age
visits member for 2 years, 3 months
seen Sep 12 at 7:20

Young GIS utopist


Sep
24
awarded  Autobiographer
Mar
22
awarded  Popular Question
Mar
22
awarded  Supporter
Jul
4
comment How to insert google maps lat/lng into postgis in geometry datatype
But I want to add values dynamicly which comes from form I've tried function saveData() { var name = escape(document.getElementById("name").value); var address = escape(document.getElementById("address").value); var type = document.getElementById("type").value; var latlng = marker.getPosition(); var lat_p = latlng.lat(); var lng_p = latlng.lng(); var url = "add_row_pg.php?name=" + name + "&address=" + address + "&type=" + type + "&lat="+ lat_p + "&lng=" + lng_p +"&loc="+ ST_SetSRID(ST_MakePoint(lat_p, lng_p), 4326)); and I've failed.
Jul
3
awarded  Student
Jul
3
awarded  Editor
Jul
3
revised How to insert google maps lat/lng into postgis in geometry datatype
added 1326 characters in body
Jul
3
asked How to insert google maps lat/lng into postgis in geometry datatype