I have huge datasets on PostGIS. For example building table includes more than 100k features in POLYGON geometry. When i want to get all data in QGIS(2.1) or other GIS softwares by using direct DB connection i wait about 30 sec. But if use WFS connection (Geoserver) it takes more time (dont try)... In a webgis project (using openlayers) people down want to wait in front of the screen. And I think Openlayers cant handle with that huge data... So i use to serve data by using WMS. Its really to fast and maybe later i try tilecaching etc... Ok everything is so far so good. But I want to edit features (only insert maybe delete no update) on the browser. I have cheched Openlayers examples for WFS-T. These examples load all data to by WFS. I dont want loading data just inserting new features by drawing and than clicking save button. So new features sending to geoserver...
I tried with Openlayers WFS-transaction example link. Firstly modified data
map.addlayers([gpyh]); to load only googlemaps baselayer. There is no error during drawing but when saving i get error. I says
this.layer.map is null var local = this.layer.map.getProjectionObject();
Some info about the system which i want to build:
I want to serve buildings, roads, boundary etc. layers to people. Not only showing but also editing capabilities it should have.
I dont want to load features to OpenLayers, i just want to draw new features and put them into database. And I use WMS for serving layers.
The data is stored in Postgis. But i can use Spatialite.
Geoserver for WMS and WFS service.
I am not bad in Python and PHP. Maybe i can use FeatureServer. Also i can serve feature data with PHP or Python.