Tag Info

New answers tagged

2

I think another way of doing this is to just add the text file to ArcMap, display by x,y coordinates, and join to your to your original shapefile. You can then export the resulting shapefile (or just the table) as whatever you want.


3

This is a reasonably simple problem to solve in ArcGIS. Open the Shapefile (it's not a "raster shapefile" btw; there's no such thin). Add two fields to your shapefile. One for Lat, one for Lon. Both should be of type Float or double. Populate one of these fields with the X, and one with the Y value for the point. (Using "calculate geometry"). Now, create ...


0

Try this field calculator (Python) on a new text field: def CN(nCols,nRows,j): nR=divmod(j,nCols)[0] nC=divmod(j-nR*nCols,nRows)[1] theDiv = divmod(nC,26); SecondL = theDiv[1] FirstL = theDiv[0]; aLetter = chr(65 + FirstL) + chr(65 + SecondL) aLabel = aLetter + str(nR).zfill(2) return aLabel CN(42,47, !PageNumber! ) If you want to see this:


1

Below is some code extracted from one of my training courses that should be adaptable to your situation: # Add field to Map Grid to hold grid references created by concatenating # outputs from looping values 1 to 8 from North to South and A to H from # West to East e.g. 1A to 8H for each of 64 maps ...


1

If I understand your desired outcome correctly, you would like a count (richness) of species for each grid cell in the defined raster. I cannot speak to the differences between R and QGIS but I came up with a much more optimized and faster way to conduct your analysis. I leverage the raster package and use a raster stack to accumulate species. The workflow ...


0

I think I got this figured out. I used the Create Fishnet tool on a feature class of NAD83 State Plane CA 5 to create vertical and horizontal lines. Then I calculated the northing and easting values, in different fields, in NAD 83. After that I changed the dataframe to NAD27 and calculated the northing and easting in that system. After running a few field ...


3

Take a look at the raster function in the raster package. It will let you create a raster with a specified extent, number of rows/columns and resolution. Here I will use characteristics of your data summary to create a 100x100 raster within the specified extent. I am passing an extent object to define the x and y limits. You can also use the specific ...


2

You could update the attribute containing your ID via the Field Calculator and using the expression: $rownum This should reset your points to starting from 1. Remember to save the edits. Hope this helps!


3

180 degrees of latitude = 7200 0.025° sections from pole to pole 360 degrees of longitude = 14400 0.025° sections along the equator 7200 * 14400 = 1.0368 * 10^8 0.025°x0.025° squares (not actually squares)


2

You can create a custom CRS with these parameters: +proj=omerc +lat_0= -22.5 +lonc=25.09 +alpha=0.910238 +k=0.99977264 +x_0=0 +y_0=0 +gamma=0 +a=6378249.145 +b=6356514.966398753 +towgs84=-143,-90,-294,0,0,0,0 +no_defs +to_meter=10000 And you get the 10km-grid as described: I took the old ARC 1950 datum from EPSG:4209 as base, which was common in ...


-1

Not sure if it's exactly what you're looking for but I saw this recently put back in the HERE JS API: https://developer.here.com/javascript-apis/documentation/v3/maps/topics_api_nlp/h-map-overlay.html


0

Maybe the CDB_RectangleGrid would work for you? Info about this function at http://docs.cartodb.com/tips-and-tricks.html#grid-visualization-functions



Top 50 recent answers are included