Tag Info

New answers tagged

1

If you know how to do a cross section with heights (using a DEM raster), then you know how to do it with any other variable. All you need to do is convert your data ( the buildings polygons) in raster using the desired field. And then use it in the profile plugin.


1

A rough and ready approach to this could utilise Excel (or any other spreadsheet package) for the graph component: Create a polygon buffer from a point inside the CBD, when I've done this kind of thing before I've used 100 meter increments; Update the lots data with the buffer value; Define a transect through the city - again, when I've done this before I ...


3

There are two ways (at least) to achieve this: Spatial Join the points to the lines, be sure to specify a distance. Even though you think the points are on the line in fact they're more likely to be just very close. Use Near (advanced license) to get the FID of the line that the point is nearest then attribute join by NEAR_FID and field calculate the ...


1

Add a new field called "class" of type string to your attribute table. Right-click on the "class" column header and choose "Field Calculator." Check "Python" instead of "VB Script," and check "Show code block." (I'm going to assume your gdp field is called "gdp", and your tweet-percent field is called "percent".) Enter this code in the code block: gdptag = ...


1

Choose Geoprocessing->Dissolve. Check "Building number" as the Dissolve Field. Add "North" "East" "West" "South" as Statistic Fields, and choose "MAX" as the statistic type for each. This will work if your entries are all positive.


1

From the table you posted, it looks like your data is in a spreadsheet. If it is, create a pivot table or crosstab to summarize it. In ArcGIS you could use Summarize on the building number field, and then get the Max value from the other fields.


1

The Tools Find Identical (Data Management) and Delete Identical (Data Management) should be able to assist. The tools find identical data based on the shape or attribute. The down side is that you need ArcGIS for Desktop Advanced to use the tools


3

You can specify a data-defined override using the button right next to the angle input In previous QGIS versions, this functionality was available through the data-defined properties button.


2

Create a new ASCII raster from your table. To do this, first save your table as a space-delimited file. Open the file in a text editor and add an ASCII raster header, like this: NCOLS 480 NROWS 450 XLLCORNER 378922 YLLCORNER 4072345 CELLSIZE 30 NODATA_VALUE -32768 43 2 45 7 3 56 2 5 23 65 34 6 32 54 57 34 35 45 65 34 2 6 78 4 2 6 89 3 2 7 45 23 5 ... You ...


3

Look at Using Vector Layers: Adding and Removing Fields res = layer.dataProvider().addAttributes([QgsField("STATUT", QVariant.Int)]) layer.updateFields()



Top 50 recent answers are included