Tag Info

New answers tagged

0

I assume that your railway lines are not already divided up into the 5m segments. If they were, you could just create centroids (Feature to Point with Advanced or adding two fields and using Calculate Geometry to get the coordinates, then converting that xy to a point) from your lines and that would give you the points you seek. You could theoretically find ...


0

If you already have or can create the line itself as a 3D entity (ie with z values), the Feature to Raster tool can use the z value in creating the raster. You could also use the points to create a raster via interpolation, and then use Extract by Mask to pull out just the cells along the line. Not sure if that will take a line as a mask, but if not you ...


1

Very long but working: # Tool assumes: # a) 1st layer in Table of Conternt is TARGET polylineZ feature # b) records in table sorted from upstream down # c) selected features maintain direction, i.e. upstream line END point equal downstream line START point # d) missing z value for vertex is 0 import arcpy, traceback, os, sys from arcpy import env ...


1

With some manual work and a Spatial Analyst extension. I assume you have access to Spatial Analyst since you are able to generate contours from DEM? I use a different approach - I show only major contours in areas with slope more that say 30 degrees but it will work the same for thinning contours with some tweaks. Create a slope raster and generalize if ...


4

ST_Polygonize will do the job: CREATE VIEW boundarypolygons AS SELECT g.path[1] as gid, g.geom::geometry(polygon, 31492) as geom FROM (SELECT (ST_Dump(ST_Polygonize(geom))).* FROM boundary ) as g;


1

Since you are using PostGIS and QGIS, you can try to convert them using both, to decide which one is best suited for your problem. To use PostGIS, the LINESTRING must be closed. You can check if they are closed with the query: select gid, st_isclosed(geom) from boundary; If the lines are closed, you can create another table to check the results, with: ...


5

Yes, very simple: Just use the Categorized Symbology. If you do not have any attributes, you can just use $id as your "Column". Result:


4

You can use the Snapper transformer, with End Point Snapping and a tolerance of 6.


0

The non-automatical way would be to use the snapping function. So select the feature and then drag the specific point of it to another with active snapping for sure. After that select both features and use the Merge Selected Features option. Now you should have one feature at the end. If this is not a solution for your please describe the issue a bit more ...



Top 50 recent answers are included