New answers tagged

1

Check attribute names for special characters and remove them! use the table manager plugin to edit attribute names. I stumbled across the same issues when parsing files and so on. Mostly the problem was a special character like ö, ü, ä, ß and so on. Additionally check your shapefiles for attributes with special characters and eliminate them. Also check ...


1

I'm afraid you are expecting too much. The point data has attributes for every point (coordinates, time, elevation, speed etc), one row for every point. The line file can only have one row of data for every line element. Since you only have one line, you can only have one row in the attribute table. You can not expect to have all point coordinates or ...


1

The typical GIS way of doing this is using a prebuilt tool or script to convert point layer data to a line layer. Some key web search phrases you may use to find these tools or scripts are "covert points to lines" or "connect the dots". Here is one plug-in you may try: https://plugins.qgis.org/plugins/pointstopaths_v02/ If you want to get the attribute ...


0

It sounds like you have a multipoint feature. You'll need to convert the multipoint feature (one feature, multiple points) into a point feature (multiple features, multiple points).


1

This works for shapefiles only! In windows Explorer use wildcard WATER*.shp or similar to locate them. Select them all in search result, drag and drop to your mxd


1

The good news is you can achieve this without 'learning' Python coding. The bad news is, you still need to use Python code! Open a fresh instance of ArcMap, go to the Geoprocessing menu and select Python. This will open the Python window. Since there are so many datasets to be added (and therefore drawn), I recommend pausing the data view before proceeding. ...


2

I don't do a lot of raster work with FME so this might not be entirely correct, but these are the general steps I would use: Use a RasterResampler to change the Cell Sizing of Raster B. You could extract this from Raster A first and feed it into the X/Y spacing. Or, just type it in manually if you know it. Feed the results of the above along with Raster ...


0

This is normal behaviour for a Join - ALL fields are returned from both the feature class and the joined table. You can now export that joined dataset to a new feature class In ArcMap from the Right-Click context menu: Or using the ArcToolbox tool Feature Class to Feature Class. With this new feature class created, you can now use the Delete Field tool ...


2

Check the options in the drop-down against a Text field rather than a Number field. They differ and may be why you don't see what you're expecting. Text field merge options: Number field merge options:


1

If I understand correct, your question consists of 2 parts: 1. How to get many linestring to merge to 1 2. How to get the point 1000 km further down the road from point 1 Part 1 needs some more explanation from you. It seems you already did a linemerge and that works for me as well with the data you give. Maybe you can post a new stackexchange question ...


2

If you have an Advanced license, you might try the Eliminate Tool, in Data Management, Generalization. Here is the tool description, "Eliminates polygons by merging them with neighboring polygons that have the largest area or the longest shared border."


3

If your 7000 files have the exact same number of columns you can easily do that without arcpy in a few steps: - Fetch a list with the name of your files - Open a first file as binary - Fetch the length of the header of this file (it will be used for each other files, assuming they have the same number of records/columns, as you say it is an output of ...


0

Edited I just realized something in your code about your print statements. Are you using Python 3 syntax for print with arcpy? Not sure if that has anything to do with the poor performance...since I believe arcpy is based on Python 2 only. I have not used this python library myself, but you might want to check it out and see if it serves your needs: ...


5

This is a pretty long standing problem with the gdal_merge tool accessed through the user interface. The easiest way to get around it is to first build a virtual raster (VRT) file and then (if necessary) convert this to a geotiff. If you have lots of files it is more stable and faster to use the OSGeo4W shell to build the VRT rather than using the tool ...


0

You could avoid the need for a recursive query by taking the following approach: From each input LineString, extract the endpoints into a two-point MultiPoint Run ST_ClusterWithin on the extracted endpoints Spatially join the endpoint clusters to the original geometries. Here's an example: CREATE TABLE test_lines (id serial, geom geometry); INSERT ...


0

To select a single feature class from a gdb, we query for all entities inside it: -sql "select * from FEATURE_CLASS_NAME" To generate a list of feature classes following your sample use nested FOR loops: @echo off for %%S in (01 02 03) do ( for %%F in (01 02 03) do ( echo ogr2ogr out.gdb in.gdb -sql "select * from Sec%%S_Frm%%F" ) ...



Top 50 recent answers are included