Tag Info

New answers tagged


You could try to use the move callback: var my_polygonhandler = OpenLayers.Handler.RegularPolygon; var polygonControl = new OpenLayers.Control.DrawFeature(circles, my_polygonhandler, { handlerOptions: { sides: 40 } }); polygonControl.handler.callbacks.move = function (e) { var linearRing = new ...


If you want to keep the features separate, you can use the Statistics window to find the sum of selected features. Select the features your want to measure, then open the attribute table, right click the SHAPE_length field, and click on statistics. Or... you can start an editing session and merge the 56 polylines into a single feature


The modules in your require are not matching with the variables in the function. You need to move the modules "dijit/layout/BorderContainer", "dijit/layout/ContentPane", and "dijit/TitlePane" to after "esri/symbols/SimpleFillSymbol"


QGIS does not colour individual vertices of a geometry, but the entire feature (in this case, one of the 10 or so rows in your table). Likewise you can't colour the individual line segments connecting the vertices. This is a problem on how your data is modeled. To colour the points, you'd need to work with a point layer. Since you generated your ...


Create a new LineStringM Column and use the addMeasure function. e.g. for your example: update TABLE set geom2 = ST_AddMeasure(geom,0,10) where id = 1; update TABLE set geom2 = ST_AddMeasure(geom,10,12) where id = 2; update TABLE set geom2 = ST_AddMeasure(geom,12,60) where id = 3; would result in id | geom | geom2 1 | ...

Top 50 recent answers are included