Hot answers tagged

3

I've done similar work before, for rotation, there is rotate function for polygons. In your case, add following line before adding feature to the layer: var originPoint = new OpenLayers.Geometry.Point(xCent, yCent).transform(map.displayProjection, map.projection); //center point for rotation polygonFeature.geometry.rotate(rot, originPoint); You can find ...


2

I know this is an old post, but there is a loophole. While arcpy Geometry objects do not support true curves, at 10.3, Esri implemented True Curves in the REST API, and therefore had to implement JSON support for them in FeatureSets. So you can "trick" arcpy into doing this for you if you create a curve in a JSON structure. Here's an example: create a ...


2

In your table of content put empty polyline feature class on the very top. Place your layer with curves underneath and run script. Original: Mirror: Script: import arcpy, traceback, os, sys, time mxd = arcpy.mapping.MapDocument("CURRENT") mirror=arcpy.mapping.ListLayers(mxd)[0] original=arcpy.mapping.ListLayers(mxd)[1] try: def showPyMessage(): ...


1

I don't know how you would automatically create an ellipse that contains 75% of your point layer. I would approach this task in this way: Create a grid layer or a custom polygon layer to overlay your point layer perform spatial analysis in qgis by using Vector -> Analysis Tools -> Points in polygon The procedure is similar to what is described as "...


1

We ran into the same problem last year, when we had to draw hundreds of parcels from legal descriptions into a geodatabase. COGO tools were the only thing that would allow us to draw and retain true curves. Unfortunately, COGO tools are not scritable. However, we were able to convert legal descriptions to txt format whereby we could then load them into ...



Only top voted, non community-wiki answers of a minimum length are eligible