Tag Info

New answers tagged

1

Here is a method using arcpy geometry objects. The script creates a rotated hull rectangle around each polygon, splits it into plots, and clips the plots to the original polygon. As Aaron mentions, you could likely achieve this with the fishnet tool, but I could not figure out how to (in Step #2) "use logic to find the ordinal coords" for rotated polygons. ...


0

I had an issue where the editor would not even select a certain point feature. I would have to select it with the "Select Feature" tool and then it could be moved but it would still not snap to the line feature. Not sure why this worked but I turned on a different point feature and was able to select it with the editor and could snap it. When I went back ...


5

The coordinates in the attribute table are numeric values that are not linked with the geometry. If you want to create a large number of points with exact coordinates, I suggest that you create a table with those coordinates, then use create an XY table event that you can merge with your existing shapefile. If you need to move just a few points, then ...


7

The location coordinates of your feature are stored in a geometry/shape field in the attribute table, not a text readable field you can adjust. You can store the coordinates as attributes, but they won't actually control where the point is. There are a few ways to address this: First, you could just make a table/spreadsheet/csv of your coordinate pairs. ...


3

Since you're not worried about simultaneous edits on features, I'd say that in theory you have nothing to worry about. The main danger w/ QGIS is that simultaneous editors can stomp on each other's edits without noticing ("last edit wins"). For data under active editing with multiple users you might want to at least keep track of history, which you can do ...


3

You could automate this approach with Python using the Create Fishnet (Data Management) tool. You can extract all of the pieces of the puzzle to do this analysis with python and then simply plug the pieces into the fishnet function. You need to start by iterating over all of the section polygons. Otherwise, you will get one large fishnet covering the ...


1

I believe this has been resolved very recently and will hopefully be included in the next major release (QGIS 2.6) in October: http://hub.qgis.org/issues/11123


0

I just usually quit the map I am working on, and then restart it and it typically works again. What I have noticed is it has trouble when the mxd has too many layers or grouped layers. I have not checked but I wonder is the cache being to full or needing a purge may help.


0

I fixed the issue! Just create a editscomplete event and refresh the feature layer and the attribute inspector! protected function myFeatureLayerstewardship_editsCompleteHandler(event:FeatureLayerEvent):void { myFeatureLayerstewardship.removeEventListener(FeatureLayerEvent.EDITS_STARTING, editsStartingHandler); ...


1

While not in Python, you can review the C++ code used by the Rotate Feature map tool. Note: The tool is interactive, so it uses the user input press and move events (e.g. like with a mouse) to calculate the degree of rotation to be applied. The QgsMapToolRotateFeature::canvasReleaseEvent, where the caluclated rotation is applied to the feature, is ...


1

You can use Lizmap to create/edit/delete features via WFS with QGIS Server. There is only a french documentation for this part though : documentation


1

Well i found a solution, i've just set the IFeatureLayer.Selectable = false for the ILayer Commune and it's working great.


2

Per the ArcGIS help pages here, you should still be able to delete selected features while in editing mode. You can either use the Delete key or CTRL + D in Show All Records mode.


1

If you're looking for the ability to overlay polygons on to a basemap you should look into geoserver. There is also a plugin that integrates geoserver management into QGIS.


2

Yes. You need to respond to the IEditEvents.OnCreateFeature which returns an object of type IFeature which has a property Class which will give you the feature class it belongs to. After you have the feature class belonging to the new feature you can iterate through your editable layers (using IEditLayers.IsEdtiable) and see if the (ILayer as ...



Top 50 recent answers are included