Tag Info

New answers tagged

1

I modified the redistribute_selection() function above to make ~/.qgis2/python/mytools.py : from qgis.core import (QgsFeature, QgsGeometry, QgsVectorLayer, QgsMapLayerRegistry, QgsField) from PyQt4.QtCore import QVariant from qgis.utils import iface import math import numpy def ...


0

I'd make this a comment but wanted to post the below code that may help with the understanding of how to use a field info object, or at least add an example (from here: https://geonet.esri.com/message/287684#287684). The key happened to be (and obviously at that thread we were all struggling with it) the field info is modified as an object in memory and ...


1

Those are actually two different things. Geoprocessing tools don't honor the split policies of feature classes or tables as noted on most of help pages for the tools - this one for example (look for the yellow triangle exclamation point). Those are the policies set using domains, and where that third option of Default comes in. As far as I know, this ...


4

Reiterating the comments as an answer for the convenience of others: Always make sure that each layer has a unique shapefile associated with it, otherwise data losses will be likely if more than one layer is based on the same shapefile and you edit its attributes.


0

To register a feature service residing on ArcGIS for Server on ArcGIS Online, you need to: Go to My Content > Add Item Set The item is On the web Choose ArcGIS Server Web Service Set the URL feature service REST end point (i.e. http://myserver.net:6080/arcgis/rest/services/MyFeatureService/FeatureServer) At this point the feature is editable by anyone ...


2

If you comment out the Store call, you should be good: http://help.arcgis.com/en/sdk/10.0/arcobjects_net/componenthelp/index.html#//0025000007wv000000 Store should not be called inside of edit events, such as OnCreateFeature, OnChangeFeature or OnDeleteFeature. Even if you are modifying the geometry or other field values, Store will be called once the ...



Top 50 recent answers are included