Tag Info

New answers tagged

0

As your data follows a pattern of A1 matches B1 and A2 matches B2, etc you can achieve your processing using a FOR iterator and inline substitution to pass the matching numeric part. The model would look as below: By selecting from each layer their matching counterparts (e.g. A100 and B100) the clip tool will honor these selections during the clip. Make ...


0

Without trying to understand everything that you have written, I suspect that your fishnet may have either an incorrect or an Undefined coordinate system. The Create Fishnet documentation says: The coordinate system of the output can be set either by entering a feature class or layer in the Template Extent parameter or by setting the Output ...


0

Try to add "Minimum Bounding Geometry(with Geometry Type of RECTANGLE_BY_AREA)" before "Create Fishnet" in your model. It works to me.


0

Do an OS walk to iterate all folders and sub folders. For each folder list all the feature class. Split the name of the feature class at your underscore and compose a list, then process that list so the names are unique. Use those unique names as a wild card while relisting all the feature class in the same folder. Lastly run it through the merge tool. I ...


0

You need a subtle change to your model. See the image below: Configure Expression parameter of Calculate Value like this: Set Output Dataset or FeatureClass parameter of Project tool to %output_value%


0

Have you tried creating a variable of the type 'Extent', and using that as a variable? Some additional string manipulation will likely be required to coerce your string into a format that ModelBuilder can recognize as an extent (ModelBuilder is misery for working with datatypes).


1

Yes, using a lapply, e.g.: x = c(0,1,1,0,0) y = c(0,0,1,1,0) bbox_matrix_sp = cbind(rep(x,13),rep(y,13)) require(sp) sp_re_alle = SpatialPolygons(lapply(1:13, function(x) Polygons(list(Polygon(bbox_matrix_sp[((x-1)*5+1):(x*5),])), paste0("reh",x)))) in case you are converting grids into polygons, there are direct conversion methods in sp, as in ...



Top 50 recent answers are included