[Mapbender-commits] r4315 - branches/2.6/http/javascripts
svn_mapbender at osgeo.org
svn_mapbender at osgeo.org
Tue Jul 7 09:37:26 EDT 2009
Author: christoph
Date: 2009-07-07 09:37:26 -0400 (Tue, 07 Jul 2009)
New Revision: 4315
Modified:
branches/2.6/http/javascripts/mod_digitize_tab.php
Log:
wfs 1.1
Modified: branches/2.6/http/javascripts/mod_digitize_tab.php
===================================================================
--- branches/2.6/http/javascripts/mod_digitize_tab.php 2009-07-07 11:45:09 UTC (rev 4314)
+++ branches/2.6/http/javascripts/mod_digitize_tab.php 2009-07-07 13:37:26 UTC (rev 4315)
@@ -1445,6 +1445,7 @@
geom.geomType == parent.geomType.polygon &&
(
wfsConf[attr]['element'][elementIndex]['element_type'] == 'MultiPolygonPropertyType' ||
+ wfsConf[attr]['element'][elementIndex]['element_type'] == 'GeometryPropertyType' ||
wfsConf[attr]['element'][elementIndex]['element_type'] == 'MultiSurfacePropertyType'
)
);
@@ -1453,6 +1454,7 @@
geom.count() == 1 &&
(
wfsConf[attr]['element'][elementIndex]['element_type'] == 'PolygonPropertyType' ||
+ wfsConf[attr]['element'][elementIndex]['element_type'] == 'GeometryPropertyType' ||
wfsConf[attr]['element'][elementIndex]['element_type'] == 'SurfacePropertyType'
)
);
@@ -1460,6 +1462,7 @@
geom.geomType == parent.geomType.line &&
(
wfsConf[attr]['element'][elementIndex]['element_type'] == 'MultiLineStringPropertyType' ||
+ wfsConf[attr]['element'][elementIndex]['element_type'] == 'GeometryPropertyType' ||
wfsConf[attr]['element'][elementIndex]['element_type'] == 'MultiCurvePropertyType'
)
);
@@ -1468,12 +1471,13 @@
geom.count() == 1 &&
(
wfsConf[attr]['element'][elementIndex]['element_type'] == 'LineStringPropertyType' ||
+ wfsConf[attr]['element'][elementIndex]['element_type'] == 'GeometryPropertyType' ||
wfsConf[attr]['element'][elementIndex]['element_type'] == 'CurvePropertyType'
)
);
var isPoint = (geom.geomType == parent.geomType.point && wfsConf[attr]['element'][elementIndex]['element_type'] == 'PointPropertyType');
// alert(isMultiPolygon + " " + isPolygon + " " + isMultiLine + " " + isLine + " " + isPoint);
- if (isMultiPolygon || isPolygon || isMultiLine || isLine || isPoint || wfsConf[attr]['element'][elementIndex]['element_type'] == 'GeometryAssociationType') {
+ if (isMultiPolygon || isPolygon || isMultiLine || isLine || isPoint || wfsConf[attr]['element'][elementIndex]['element_type'] == 'GeometryPropertyType') {
wfsConfIndices.push(attr);
}
More information about the Mapbender_commits
mailing list