Questions tagged [geometry-conversion]

A change from a geometry type to another, e.g., points to lines, lines to polygons, polygons to points, and the like.

3
votes
1answer
411 views

Merging lines to make polygon

I've searched around but haven't find anything about this topic. I have several lines that represent the border between adjacent areas, so each area is delimited by several lines. How can I merge the ...
2
votes
1answer
220 views

When does Shapely's “polygonize_full” detect a dangle?

Shapely's polygonize_full operation, which merges line segments into polygons, returns four geometry collections: polygons, dangles, cuts and invalid ring lines. Dangles are defined in the ...
2
votes
0answers
346 views

converting shp to fileGDB with ogr2ogr changes geometry type?

I'm converting a shapefile to file geodatabase with GDAL 1.11.3 and the ESRI FileGDB driver. ogrinfo on the .shp gives: $ ogrinfo NED1_Index.shp INFO: Open of `NED1_Index.shp' using driver `ESRI ...
2
votes
0answers
642 views

ogr2ogr conversion error - Can't create fields of type Binary on shapefile layers

I'm having trouble using the ogr2ogr tool on the command line. My data is stored in SQL as binary, type is mixed polygons and multipolygons. I am using the following command for conversion from SQL to ...
2
votes
0answers
240 views

Progress Bar gets stuck converting Lines to Polygons using QGIS?

I'm trying to convert lines to polygon using QGIS 2.8.1. I use Vector > Geometry Tools > Polygons to Lines. I always get the progress bar stuck on 90%, it can't get to 100%. Could someone ...
2
votes
0answers
132 views

QGIS - line between ordered layer of points - take attributes of both points

I have a series of locations in time in a point layer. I want to make a line layer of lines between consecutive points that takes the attributes (in my case, a timestamp) of the 1 points it connects. ...
1
vote
0answers
64 views

Grid shift transformations based on GSD and GDX files (like cs2cs does)

My main goal is to achieve the same conversion as to the following command using geotools. cs2cs -f "%.7f" +init=epsg:23700 +nadgrids=etrs2eov_notowgs.gsb +geoidgrids=geoid_eht2014.gtx +to +init=...
1
vote
0answers
637 views

Converting table asset data type from 'Long' to 'String'

I am attempting to generate 50 random points per land use class through Google Earth Engine. I have performed this operation before on an earlier instance, where the inputs were the following (1) ...
1
vote
0answers
576 views

How to create geojson Polygons from Lines?

Given a series of overlapping lines (MultiLineString) in Geojson how can I create polygons for those portions that form an enclosed a space? Sample data - https://gist.github.com/maphew/...
1
vote
0answers
670 views

How to calculate tolerance for TopologyPreservingSimplifier in JTS?

I am trying to simplify some areal geometries (POLYGON\MULTIPOLYGON) using JTS's TopologyPreservingSimplifier.simplify(Geometry geom, double distanceTolerance) From the JavaDoc: void ...
1
vote
0answers
558 views

How to convert real altitude and longitude values to GeometryTransform.TransformBox values

I have a running program which has a point but its values are not dynamic . Current code for the point is var mathTransform = LayerTools.Wgs84toGoogleMercator.MathTransform; GeoAPI....
1
vote
0answers
384 views

Line features into polygon features

Can any one tell me how to convert line features into polygon features in ArcGIS. I am using ArcGIS 10. I searched the arc toolbox for any tools for this conversion, but I couldn't find any. Please ...
1
vote
0answers
315 views

Convert polygon feature to line feature

I have a polygon shapefile I need to extract the line segments where the polygon features intersect each other and also the segment where they don't. Can we automate this process or can scripting ...
0
votes
0answers
100 views

Covert XYZ data to 2D raster

I have a data from terrestrial scanning (3D) projected to 2D plane but still in XYZ format available here: http://ulozto.cz/xYkfywxY/xyz-to-2drst-txt. Finally, my data are all on same plane, but ...