New answers tagged line
The simple way to do this, without writing any Python, would be to translate the start and end to a WKT version of the line: Open the csv in Excel or Open Office, or whatever you use Create a new column with the formula: ="LINESTRING(" & A1 & " " & B1 & "," & C1 & " " & D1 & ")" Replacing A1, etc, with your start and end ...
To my knowledge there is no MapBasic function returning the order of digitalization. You line direction have several direction, so I would it digitalization order instead. You could in MapBasic code a program checking if the end point of a line is north, west, east or south of the start point. And then update your column with the text north, west, east or ...
The XY to Line tool creates a new file (feature class or shapefile) which contains the lines. This means that what you are seeing in ArcMap isn't really coming from your Access file. You are looking at a file that was created from the original access file. You might be able to use model builder to recreate your lines and overwrite the previous line file. ...
This is a pure PHP polygon class that offers many geometric operations such as union and intersect. The library is released under GNU license. http://www.phpclasses.org/package/2544-PHP-Perform-geometric-operations-on-polygons.html
You may use GeoTools, which is an open source java toolkit, for doing your union/dissolve process, check out this Q/A: combine several polygon objects in one polygon object with geotools (is it possible)?
I'm not exactly sure what you mean by "point line" (line showing a generalized trend of points), however you may use the Vector menu>Geometry Tools>Simplify Geometries tool. You first need to either manually connect the dots from a new line shapefile or use the Points2One plugin Once you have the line feature you may run the Simplify Geometries tool on it ...
Simply create a text file with this content: id;wkt 1;LINESTRING(-180 -23, 180 -23) and use Layer -> Add delimited Text Menu entry with semicolon as delimiter and EPSG:4326 as CRS. For meridians, it is better to end the line at 89° when using EPSG:3857: id;wkt 1;LINESTRING(7 -89, 7 89)
Here's a Python function that creates a memory layer containing a line at the specified latitude. You call it using createLatitudeLayer(latitude=-23), for example. You can specify which CRS the layer should use by specifying targetCrsEPSG=<EPSG code>. You can also specify how many points to use for creating the line, by setting numpoints=<number ...
The QuickWKT plugin is very useful for putting temporary lines, points or polygons on the map; a trifle buggy but works. Install it and you'll get a new toolbar button 'WKT' - click it and you are given a dialogue with space to paste a WKT string, and a drop-down menu to load examples of WKT strings. I am having trouble with adding a LINESTRING when it ...
You can use Field Calculator and insert x and y coordinates into columns in attribute table. You'll find it under Geometry section of Field Calculator..
Best is to use Linear Referencing tool.
Top 50 recent answers are included